summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/pinmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/pinmux.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/pinmux.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/pinmux.h b/arch/arm/mach-tegra/include/mach/pinmux.h
index 47056ace13ca..cb14802be2c6 100644
--- a/arch/arm/mach-tegra/include/mach/pinmux.h
+++ b/arch/arm/mach-tegra/include/mach/pinmux.h
@@ -163,6 +163,24 @@ enum tegra_pin_io {
TEGRA_PIN_INPUT = 1,
};
+enum tegra_pin_lock {
+ TEGRA_PIN_LOCK_DEFAULT = 0,
+ TEGRA_PIN_LOCK_DISABLE,
+ TEGRA_PIN_LOCK_ENABLE,
+};
+
+enum tegra_pin_od {
+ TEGRA_PIN_OD_DEFAULT = 0,
+ TEGRA_PIN_OD_DISABLE,
+ TEGRA_PIN_OD_ENABLE,
+};
+
+enum tegra_pin_ioreset {
+ TEGRA_PIN_IO_RESET_DEFAULT = 0,
+ TEGRA_PIN_IO_RESET_DISABLE,
+ TEGRA_PIN_IO_RESET_ENABLE,
+};
+
enum tegra_vddio {
TEGRA_VDDIO_BB = 0,
TEGRA_VDDIO_LCD,
@@ -189,6 +207,9 @@ struct tegra_pingroup_config {
enum tegra_pullupdown pupd;
enum tegra_tristate tristate;
enum tegra_pin_io io;
+ enum tegra_pin_lock lock;
+ enum tegra_pin_od od;
+ enum tegra_pin_ioreset ioreset;
};
enum tegra_slew {
@@ -280,6 +301,9 @@ struct tegra_pingroup_desc {
s8 tri_bit; /* offset into the TRISTATE_REG_* register bit */
s8 mux_bit; /* offset into the PIN_MUX_CTL_* register bit */
s8 pupd_bit; /* offset into the PULL_UPDOWN_REG_* register bit */
+ s8 lock_bit; /* offser of the LOCK bit into mux register bit */
+ s8 od_bit; /* offset of the OD bit into mux register bit */
+ s8 ioreset_bit; /* offset of the IO_RESET bit into mux register bit */
s8 io_default;
};