summaryrefslogtreecommitdiffstats
path: root/drivers/of/base.c
diff options
context:
space:
mode:
authorMichael Riesch <michael.riesch@wolfvision.net>2022-01-14 09:47:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-14 10:32:45 +0100
commit0fcc8c97ea073aac4ad1e1d8770f1ea2204e6487 (patch)
treed088f742f4f9cef2cddb139ed4b5793d4fa759e1 /drivers/of/base.c
parentdaafe431e65e65d98f388f77673810bed93b58f8 (diff)
downloadbarebox-0fcc8c97ea073aac4ad1e1d8770f1ea2204e6487.tar.gz
barebox-0fcc8c97ea073aac4ad1e1d8770f1ea2204e6487.tar.xz
pinctrl: rockchip: use alias rather than full of name
We've so far relied on GPIO controllers being named "gpioX", while the binding mandates gpio controllers being just called "gpio". This already broke rk3288 support and rk3568.dtsi upstream also differs from the version in barebox' arch/arm/dts in that regard. Instead, do like Linux does and use the alias to match the controllers to the GPIO banks with a fallback to probe order. Fixes: 3f2f5980d517 ("dts: update to v5.16-rc1") Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> [afa: drop strncmp in favor of id comparison, reword commit message] Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220114084757.311697-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/base.c')
0 files changed, 0 insertions, 0 deletions