summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2018-11-21 10:35:18 +0100
committerSekhar Nori <nsekhar@ti.com>2018-11-26 16:45:10 +0530
commit45ed94b9e2d2e310fa7fb884b26080dfd4f0e31d (patch)
tree5c762157db8821f2ecf53ea65639c0cc9546dca7
parent786a9ab1330169f2602238822b4df5d5c4c98f6c (diff)
downloadlinux-stable-45ed94b9e2d2e310fa7fb884b26080dfd4f0e31d.tar.gz
linux-stable-45ed94b9e2d2e310fa7fb884b26080dfd4f0e31d.tar.bz2
linux-stable-45ed94b9e2d2e310fa7fb884b26080dfd4f0e31d.zip
ARM: davinci: da850: set the GPIO base to 0
Commit 587f7a694f01 ("gpio: davinci: Use dev name for label and automatic base selection") broke the network support in legacy boot mode for da850-evm since we can no longer request the MDIO clock GPIO. We now have the option to specify the GPIO base manually for davinci, so add the relevant fields to platform data. Fixes: 587f7a694f01 ("gpio: davinci: Use dev name for label and automatic base selection") Cc: stable@vger.kernel.org Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/mach-davinci/da850.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 4528bbf0c861..e7b78df2bfef 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -719,7 +719,9 @@ int __init da850_register_vpif_capture(struct vpif_capture_config
}
static struct davinci_gpio_platform_data da850_gpio_platform_data = {
- .ngpio = 144,
+ .no_auto_base = true,
+ .base = 0,
+ .ngpio = 144,
};
int __init da850_register_gpio(void)