From e9c366c88bf149b4507b27e9773312360483e3a8 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 22 Sep 2016 14:25:02 +0200 Subject: 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 Acked-by: Max Krummenacher --- board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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), -- cgit v1.2.3