[PATCH] pinctrl: single: Fix probe failure getting register area size

Tom Rini trini at konsulko.com
Thu May 27 13:41:54 CEST 2021

On Fri, May 07, 2021 at 02:40:34PM +0530, Vignesh Raghavendra wrote:

> If reg property of pinctrl-single node requires address translation then
> probe fails with following message:
> single-pinctrl pinctrl at 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 at ti.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210527/01cd9da8/attachment.sig>

More information about the U-Boot mailing list