Skip to content
Commit 49c7d87f authored by Claudiu Beznea's avatar Claudiu Beznea Committed by Greg Kroah-Hartman
Browse files

ARM: dts: at91: fix pinctrl phandles

[ Upstream commit 0c640d95 ]

Commit bf781869 ("ARM: dts: at91: add pinctrl-{names, 0} for all
gpios") introduces pinctrl phandles for pins used by individual
controllers to avoid failures due to commit 2ab73c6d ("gpio:
Support GPIO controllers without pin-ranges"). For SPI controllers
available on SAMA5D4 and SAMA5D3 some of the pins are defined in
SoC specific dtsi on behalf of pinctrl-0. Adding extra pinctrl phandles
on board specific dts also on behalf of pinctrl-0 overwrite the pinctrl-0
phandle specified in SoC specific dtsi. Thus add the board specific
pinctrl to pinctrl-1.

Fixes: bf781869 ("ARM: dts: at91: add pinctrl-{names, 0} for all gpios")
Depends-on: 5c8b4985

 ("ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name")
Reported-by: default avatarAjay Kathat <ajay.kathat@microchip.com>
Co-developed-by: default avatarAjay Kathat <ajay.kathat@microchip.com>
Signed-off-by: default avatarAjay Kathat <ajay.kathat@microchip.com>
Tested-by: default avatarAjay Kathat <ajay.kathat@microchip.com>
Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220331141323.194355-2-claudiu.beznea@microchip.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7ecb2639
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment