omap: Fix broken pbias device creation
Subsystems (2)
cover omap: Fix broken pbias device creation
pbias device creation got broken once SCM cleanup got merged. This patch series re-enables device creation by adding "simple-bus" in the compatible property of the syscon dt node.
validated this series in DRA72, OMAP4 PANDA and OMAP5 UEVM boards.
Kishon Vijay Abraham I (4):
ARM: dts: omap24xx: Fix broken pbias device creation
ARM: dts: OMAP4: Fix broken pbias device creation
ARM: dts: OMAP5: Fix broken pbias device creation
ARM: dts: dra7: Fix broken pbias device creation
arch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm/boot/dts/omap2430.dtsi | 3 ++- arch/arm/boot/dts/omap4.dtsi | 3 ++- arch/arm/boot/dts/omap5.dtsi | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/4 ARM: dts: omap24xx: Fix broken pbias device creation
commit <72b10ac00eb1> ("ARM: dts: omap24xx: add minimal l4 bus layout with control module support") moved pbias_regulator dt node from being a child node of ocp to be the child node of scm_conf. After this device for pbias_regulator is
not created.
Fix it by adding "simple-bus" compatible property to scm_conf dt node.
layout with control module support")
--- arch/arm/boot/dts/omap2430.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/omap2430.dtsi +2 -1
@@ -51,7 +51,8 @@ }; scm_conf: scm_conf at 270 { - compatible = "syscon"; + compatible = "syscon", + "simple-bus"; reg = <0x270 0x240>; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
1.7.9.5
PATCH 2/4 ARM: dts: OMAP4: Fix broken pbias device creation
In reply to Kishon Vijay Abraham Icommit <7415b0b4c645> ("ARM: dts: omap4: add minimal l4 bus layout with control module support") moved pbias_regulator dt node from being a child node of ocp to be the child node of omap4_padconf_global. After this device for pbias_regulator is not created.
Fix it by adding "simple-bus" compatible property to omap4_padconf_global dt node.
with control module support")
--- arch/arm/boot/dts/omap4.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/omap4.dtsi +2 -1
@@ -191,7 +191,8 @@ }; omap4_padconf_global: omap4_padconf_global at 5a0 { - compatible = "syscon"; + compatible = "syscon", + "simple-bus"; reg = <0x5a0 0x170>; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
1.7.9.5
PATCH 3/4 ARM: dts: OMAP5: Fix broken pbias device creation
In reply to Kishon Vijay Abraham Icommit <ed8509edddeb> ("ARM: dts: omap5: add minimal l4 bus layout with control module support") moved pbias_regulator dt node from being a child node of ocp to be the child node of omap5_padconf_global. After this device for pbias_regulator is not created.
Fix it by adding "simple-bus" compatible property to omap5_padconf_global dt node.
layout with control module support")
--- arch/arm/boot/dts/omap5.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/omap5.dtsi +2 -1
@@ -180,7 +180,8 @@ }; omap5_padconf_global: omap5_padconf_global at 5a0 { - compatible = "syscon"; + compatible = "syscon", + "simple-bus"; reg = <0x5a0 0xec>; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
1.7.9.5
PATCH 4/4 ARM: dts: dra7: Fix broken pbias device creation
In reply to Kishon Vijay Abraham Icommit <d919501feffa> ("ARM: dts: dra7: add minimal l4 bus layout with control module support") moved pbias_regulator dt node from being a child node of ocp to be the child node of scm_conf. After this device for pbias_regulator is
not created.
Fix it by adding "simple-bus" compatible property to scm_conf dt node.
layout with control module support")
--- arch/arm/boot/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/dra7.dtsi +1 -1
@@ -116,7 +116,7 @@ ranges = <0 0x2000 0x2000>; scm_conf: scm_conf at 0 { - compatible = "syscon"; + compatible = "syscon", "simple-bus"; reg = <0x0 0x1400>; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
1.7.9.5
Quoted 14 lines · Kishon Vijay Abraham I
pbias device creation got broken once SCM cleanup got merged. This patch series re-enables device creation by adding "simple-bus" in the compatible property of the syscon dt node.
validated this series in DRA72, OMAP4 PANDA and OMAP5 UEVM boards.
Kishon Vijay Abraham I (4):
ARM: dts: omap24xx: Fix broken pbias device creation
ARM: dts: OMAP4: Fix broken pbias device creation
ARM: dts: OMAP5: Fix broken pbias device creation
ARM: dts: dra7: Fix broken pbias device creation
Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm/boot/dts/omap2430.dtsi | 3 ++- arch/arm/boot/dts/omap4.dtsi | 3 ++- arch/arm/boot/dts/omap5.dtsi | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-)
For dra7-evm:
Signature · 2 lines
regards, -grygorii
Quoted 22 lines · Grygorii Strashko
Quoted 14 lines · Kishon Vijay Abraham I
pbias device creation got broken once SCM cleanup got merged. This patch series re-enables device creation by adding "simple-bus" in the compatible property of the syscon dt node.
validated this series in DRA72, OMAP4 PANDA and OMAP5 UEVM boards.
Kishon Vijay Abraham I (4):
ARM: dts: omap24xx: Fix broken pbias device creation
ARM: dts: OMAP4: Fix broken pbias device creation
ARM: dts: OMAP5: Fix broken pbias device creation
ARM: dts: dra7: Fix broken pbias device creationQuoted 6 lines
arch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm/boot/dts/omap2430.dtsi | 3 ++- arch/arm/boot/dts/omap4.dtsi | 3 ++- arch/arm/boot/dts/omap5.dtsi | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-)
Quoted 2 lines
For dra7-evm:
Tested-by Grygorii Strashko <[email protected]>
Applying all into omap-for-v4.2fixes-v2 thanks.
Tony
Quoted 23 lines · Tony Lindgren
Quoted 22 lines · Grygorii Strashko
Quoted 20 lines · Kishon Vijay Abraham I
pbias device creation got broken once SCM cleanup got merged. This patch series re-enables device creation by adding "simple-bus" in the compatible property of the syscon dt node.
validated this series in DRA72, OMAP4 PANDA and OMAP5 UEVM boards.
Kishon Vijay Abraham I (4):
ARM: dts: omap24xx: Fix broken pbias device creation
ARM: dts: OMAP4: Fix broken pbias device creation
ARM: dts: OMAP5: Fix broken pbias device creation
ARM: dts: dra7: Fix broken pbias device creationarch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm/boot/dts/omap2430.dtsi | 3 ++- arch/arm/boot/dts/omap4.dtsi | 3 ++- arch/arm/boot/dts/omap5.dtsi | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-)
Quoted 4 lines
Quoted 2 lines
For dra7-evm:
Tested-by Grygorii Strashko <[email protected]>Applying all into omap-for-v4.2fixes-v2 thanks.
Do we need the same for am33xx.dtsi too given commit e3bc5358e097 ?
Peter
Hi Peter,
Quoted 24 lines · Peter Robinson
Quoted 23 lines · Tony Lindgren
Quoted 22 lines · Grygorii Strashko
Quoted 20 lines · Kishon Vijay Abraham I
pbias device creation got broken once SCM cleanup got merged. This patch series re-enables device creation by adding "simple-bus" in the compatible property of the syscon dt node.
validated this series in DRA72, OMAP4 PANDA and OMAP5 UEVM boards.
Kishon Vijay Abraham I (4):
ARM: dts: omap24xx: Fix broken pbias device creation
ARM: dts: OMAP4: Fix broken pbias device creation
ARM: dts: OMAP5: Fix broken pbias device creation
ARM: dts: dra7: Fix broken pbias device creationarch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm/boot/dts/omap2430.dtsi | 3 ++- arch/arm/boot/dts/omap4.dtsi | 3 ++- arch/arm/boot/dts/omap5.dtsi | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-)
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
For dra7-evm:
Tested-by Grygorii Strashko <[email protected]>Applying all into omap-for-v4.2fixes-v2 thanks.
Do we need the same for
am33xx.dtsitoo given commite3bc5358e097?
PBIAS is not present in am33xx.
Thanks
Kishon