summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-09-22 14:25:02 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 18:58:16 +0200
commite9c366c88bf149b4507b27e9773312360483e3a8 (patch)
tree42930d345e4e3caad211b187cd0eae657dab5eb3
parent8a496ecceccca66a15b3b6f57260a2b752543f81 (diff)
apalis-tk1: add note about non-working gpio inits
Add a note about the non-working apalis_tk1_gpio_inits table caused by a reservation failure. If it wouldn't be run in SPL without anything ever getting printed one would see the following: A: dir_input: error: gpio A1 not reserved Please note: The current workaround is to configure pull-up/downs in the apalis_tk1_pingrps table further below. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h b/board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h
index 666ead8ee2..f17c539647 100644
--- a/board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h
+++ b/board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h
@@ -13,6 +13,14 @@
.init = TEGRA_GPIO_INIT_##_init, \
}
+/*
+ * Please note: This table does not actually work!
+ * If it wouldn't be run in SPL without anything ever getting printed
+ * one would see the following:
+ * A: dir_input: error: gpio A1 not reserved
+ * ...
+ * The current workaround is to configure pull-up/downs further below.
+ */
static const struct tegra_gpio_config apalis_tk1_gpio_inits[] = {
/* gpio, init_val */
GPIO_INIT(A1, IN),