mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
6f183e869e
After rework in lib/fdtdec.c, the function fdtdec_get_addr() doesn't work for nodes with #size-cells property set to 0. To get GPIO's 'reg' property, the code should use one of: fdtdec_get_addr_size_auto_no/parent() function. Fortunately dm core provides a function to get the property. This commit reworks function gpio_exynos_bind(), to properly use dev_get_addr() for GPIO device. This prevents setting a wrong base register for Exynos GPIOs. Tested on: Odroid U3/X2, Trats, Trats2, Odroid XU3, Snow (by Simon). Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
adi_gpio2.c | ||
altera_pio.c | ||
at91_gpio.c | ||
axp_gpio.c | ||
bcm2835_gpio.c | ||
da8xx_gpio.c | ||
db8500_gpio.c | ||
dwapb_gpio.c | ||
gpio-uclass.c | ||
hi6220_gpio.c | ||
intel_ich6_gpio.c | ||
Kconfig | ||
kona_gpio.c | ||
kw_gpio.c | ||
lpc32xx_gpio.c | ||
Makefile | ||
mpc83xx_gpio.c | ||
mvgpio.c | ||
mvgpio.h | ||
mvmfp.c | ||
mxc_gpio.c | ||
mxs_gpio.c | ||
omap_gpio.c | ||
pca953x.c | ||
pca9698.c | ||
rk_gpio.c | ||
s3c2440_gpio.c | ||
s5p_gpio.c | ||
sandbox.c | ||
sh_pfc.c | ||
spear_gpio.c | ||
stm32_gpio.c | ||
sunxi_gpio.c | ||
sx151x.c | ||
tca642x.c | ||
tegra_gpio.c | ||
vybrid_gpio.c | ||
xilinx_gpio.c | ||
zynq_gpio.c |