u-boot/drivers/pinctrl
Vignesh Raghavendra 1e7879045f pinctrl: single: Fix probe failure getting register area size
If reg property of pinctrl-single node requires address translation then
probe fails with following message:

single-pinctrl pinctrl@4301c000: failed to get base register size

This is because driver uses dev_read_addr_size() to get size which also
tries to fetch untranslated addr and fails.
Fix this by using dev_read_addr_size_index() which takes care of address
translation and also makes following dev_read_addr() call redundant.

This fixes Ethernet failures on TI's AM654 based EVMs due to lack of
pinmux configuration.

Fixes: 9fd8a430f3 ("pinctrl: single: get register area size by device API")
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2021-05-26 17:26:07 -04:00
..
aspeed dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ath79 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
broadcom dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
exynos common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
intel x86: apl: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
mediatek pinctrl: mt7629: add jtag function and pin group 2021-03-20 16:24:27 -04:00
meson common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mscc dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mtmips common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mvebu common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
nexell common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
nxp treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
renesas pinctrl: renesas: Implement unlock register masks 2021-05-21 15:00:17 +02:00
rockchip common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
uniphier dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
Makefile pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
pinctrl-at91-pio4.c pinctrl: at91-pio4: add support for slew-rate 2021-03-02 09:28:33 +02:00
pinctrl-at91.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl-generic.c pinctrl: Add pinmux property support to pinctrl-generic 2020-10-08 11:42:36 -04:00
pinctrl-kendryte.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-qe-io.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
pinctrl-sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-single.c pinctrl: single: Fix probe failure getting register area size 2021-05-26 17:26:07 -04:00
pinctrl-sti.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl-stmfx.c dm: gpio: Add a way to update flags 2021-03-03 15:40:10 -05:00
pinctrl-uclass.c pinctrl: Return -ENOSYS when system call is not available 2021-04-06 16:33:19 +12:00
pinctrl_pic32.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl_stm32.c pinctrl: stm32: bind only the enabled GPIO subnode 2021-02-09 10:31:04 +01:00