2 * Copyright (c) 2011, NVIDIA CORPORATION. All rights reserved.
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
15 #ifndef __MACH_TEGRA_BOARD_PINMUX_H
16 #define __MACH_TEGRA_BOARD_PINMUX_H
18 #define GPIO_DEV "tegra-gpio"
19 #define PINMUX_DEV "tegra-pinmux"
21 struct tegra_pingroup_config;
22 struct tegra_gpio_table;
24 struct tegra_board_pinmux_conf {
25 struct tegra_pingroup_config *pgs;
28 struct tegra_drive_pingroup_config *drives;
31 struct tegra_gpio_table *gpios;
35 void tegra_board_pinmux_init(struct tegra_board_pinmux_conf *conf_a,
36 struct tegra_board_pinmux_conf *conf_b);