summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-04-22 14:37:54 -0600
committerTom Warren <twarren@nvidia.com>2014-05-13 10:41:31 -0700
commitbb14469ae088682859411e45573d01ed11373960 (patch)
treefe8e32d6d1980309df19f0450fd099a59a4973aa /arch/arm/include
parenteceb3f26f407d65dae3902180b3c9f3128f0f349 (diff)
downloadu-boot-imx-bb14469ae088682859411e45573d01ed11373960.zip
u-boot-imx-bb14469ae088682859411e45573d01ed11373960.tar.gz
u-boot-imx-bb14469ae088682859411e45573d01ed11373960.tar.bz2
ARM: tegra: add function to enable input clamping on tristate
The HW-defined procedure for booting Tegra requires that CLAMP_INPUTS_WHEN_TRISTATED be enabled before programming the pinmux. Add a function to the pinmux driver to allow boards to do this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-tegra/pinmux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra/pinmux.h b/arch/arm/include/asm/arch-tegra/pinmux.h
index 035159d..da47769 100644
--- a/arch/arm/include/asm/arch-tegra/pinmux.h
+++ b/arch/arm/include/asm/arch-tegra/pinmux.h
@@ -80,6 +80,11 @@ struct pmux_pingrp_config {
#endif
};
+#if !defined(CONFIG_TEGRA20) && !defined(CONFIG_TEGRA30)
+/* Set the pinmux CLAMP_INPUTS_WHEN_TRISTATED bit */
+void pinmux_set_tristate_input_clamping(void);
+#endif
+
/* Set the mux function for a pin group */
void pinmux_set_func(enum pmux_pingrp pin, enum pmux_func func);