Skip to contentSkip to conversation

arm64: dts: r8a7795: update PFC node name to pin-controller

PATCH New Simon Horman 3 participants 3 messages Apr 24, 2017 – Apr 26, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: r8a7795: update PFC node name to pin-controller

The device trees for Renesas SoCs use either pfc or pin-controller as the node name for the PFC device. This patch is intended to take a step towards unifying the node name used as pin-controller which appears to be more the more generic of the two and thus more in keeping with the DT specs.

My analysis is that this is a user-visible change to the extent that kernel logs, and sysfs entries change from e6060000.pfc and pfc at e6060000 to e6060000.pin-controller and pin-controller at e6060000.

---
Before:
/sys/kernel/debug/pinctrl/e6060000.pfc
/sys/devices/platform/soc/e6060000.pfc
/sys/firmware/devicetree/base/soc/pfc at e6060000
/sys/bus/platform/devices/e6060000.pfc
/sys/bus/platform/drivers/sh-pfc
/sys/bus/platform/drivers/sh-pfc/e6060000.pfc

After:
/sys/kernel/debug/pinctrl/e6060000.pin-controller /sys/devices/platform/soc/e6060000.pin-controller /sys/firmware/devicetree/base/soc/pin-controller at e6060000 /sys/bus/platform/devices/e6060000.pin-controller /sys/bus/platform/drivers/sh-pfc /sys/bus/platform/drivers/sh-pfc/e6060000.pin-controller

---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +1 -1
index e99d6443b3e4..7d87dff70ac8 100644
@@ -398,7 +398,7 @@
 			#power-domain-cells = <1>;
 		};
 
-		pfc: pfc at e6060000 {
+		pfc: pin-controller at e6060000 {
 			compatible = "renesas,pfc-r8a7795";
 			reg = <0 0xe6060000 0 0x50c>;
 		};
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#1 lore raw

PATCH 1/1 arm64: dts: r8a7795: update PFC node name to pin-controller

Quoted 4 lines · Simon Horman

The device trees for Renesas SoCs use either pfc or pin-controller as the node name for the PFC device. This patch is intended to take a step towards unifying the node name used as pin-controller which appears to be more the more generic of the two and thus more in keeping with the DT

s/be more/be/

Quoted 7 lines

specs.

My analysis is that this is a user-visible change to the extent that kernel logs, and sysfs entries change from e6060000.pfc and pfc at e6060000 to e6060000.pin-controller and pin-controller at e6060000.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw

PATCH 1/1 arm64: dts: r8a7795: update PFC node name to pin-controller

Quoted 11 lines · Geert Uytterhoeven
Quoted 4 lines · Simon Horman

The device trees for Renesas SoCs use either pfc or pin-controller as the node name for the PFC device. This patch is intended to take a step towards unifying the node name used as pin-controller which appears to be more the more generic of the two and thus more in keeping with the DT

s/be more/be/

Quoted 2 lines

specs.

Quoted 7 lines
Quoted 5 lines

My analysis is that this is a user-visible change to the extent that kernel logs, and sysfs entries change from e6060000.pfc and pfc at e6060000 to e6060000.pin-controller and pin-controller at e6060000.

Thanks, I fixed the typo when queuing this up.