Skip to contentSkip to conversation

omap: Fix broken pbias device creation

PATCH In review Kishon Vijay Abraham I 4 participants 9 messages Jul 27, 2015 – Aug 7, 2015

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

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
#1 lore raw

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.

Fixes 72b10ac00eb1 ("ARM: dts: omap24xx: add minimal l4 bus

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
index 11a7963..2390f38 100644
@@ -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
#2 lore raw

PATCH 2/4 ARM: dts: OMAP4: Fix broken pbias device creation

In reply to Kishon Vijay Abraham I

commit <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.

Fixes 7415b0b4c645 ("ARM: dts: omap4: add minimal l4 bus layout

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
index 7d31c6f..abc4473 100644
@@ -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
#3 lore raw

PATCH 3/4 ARM: dts: OMAP5: Fix broken pbias device creation

In reply to Kishon Vijay Abraham I

commit <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.

Fixes ed8509edddeb ("ARM: dts: omap5: add minimal l4 bus

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
index c8fd648..b1a1263 100644
@@ -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
#4 lore raw

PATCH 4/4 ARM: dts: dra7: Fix broken pbias device creation

In reply to Kishon Vijay Abraham I

commit <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.

Fixes d919501feffa ("ARM: dts: dra7: add minimal l4 bus

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
index 8f1e25b..3062b1f 100644
@@ -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
Tested-by on the v1 series
#5 lore raw
In reply to Kishon Vijay Abraham I
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
#6 lore raw
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 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(-)
Quoted 2 lines

For dra7-evm:

Applying all into omap-for-v4.2fixes-v2 thanks.

Tony

#7 lore raw
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 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(-)
Quoted 4 lines
Quoted 2 lines

For dra7-evm:

Applying all into omap-for-v4.2fixes-v2 thanks.

Do we need the same for am33xx.dtsi too given commit e3bc5358e097 ?

Peter

#8 lore raw

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 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(-)
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

For dra7-evm:

Applying all into omap-for-v4.2fixes-v2 thanks.

Do we need the same for am33xx.dtsi too given commit e3bc5358e097 ?

PBIAS is not present in am33xx.

Thanks
Kishon