ARM: dts: OMAP: Add hwlock-base-id property to hwspinlock nodes
PATCH 1/1 ARM: dts: OMAP: Add hwlock-base-id property to hwspinlock nodes
Add the generic property "hwlock-base-id" to the hwspinlock DT nodes on all applicable OMAP SoCS (OMAP4, OMAP5, DRA7, AM33xx and AM43xx). This common property is required by the hwspinlock core to be able to translate client locks properly. All the current OMAP SoCs only have a single instance of the IP, and so will use a common value of 0.
---
This is required for the OMAP Hwspinlock driver with the latest DT series,
http://marc.info/?l=linux-omap&m=142126914027417&w=2
arch/arm/boot/dts/am33xx.dtsi | 1 + arch/arm/boot/dts/am4372.dtsi | 1 + arch/arm/boot/dts/dra7.dtsi | 1 + arch/arm/boot/dts/omap4.dtsi | 1 + arch/arm/boot/dts/omap5.dtsi | 1 + 5 files changed, 5 insertions(+)
arch/arm/boot/dts/am33xx.dtsi +1 -0
@@ -334,6 +334,7 @@ compatible = "ti,omap4-hwspinlock"; reg = <0x480ca000 0x1000>; ti,hwmods = "spinlock"; + hwlock-base-id = <0>; #hwlock-cells = <1>; };
arch/arm/boot/dts/am4372.dtsi +1 -0
@@ -371,6 +371,7 @@ compatible = "ti,omap4-hwspinlock"; reg = <0x480ca000 0x1000>; ti,hwmods = "spinlock"; + hwlock-base-id = <0>; #hwlock-cells = <1>; };
arch/arm/boot/dts/dra7.dtsi +1 -0
@@ -752,6 +752,7 @@ compatible = "ti,omap4-hwspinlock"; reg = <0x4a0f6000 0x1000>; ti,hwmods = "spinlock"; + hwlock-base-id = <0>; #hwlock-cells = <1>; };
arch/arm/boot/dts/omap4.dtsi +1 -0
@@ -344,6 +344,7 @@ compatible = "ti,omap4-hwspinlock"; reg = <0x4a0f6000 0x1000>; ti,hwmods = "spinlock"; + hwlock-base-id = <0>; #hwlock-cells = <1>; };
arch/arm/boot/dts/omap5.dtsi +1 -0
@@ -393,6 +393,7 @@ compatible = "ti,omap4-hwspinlock"; reg = <0x4a0f6000 0x1000>; ti,hwmods = "spinlock"; + hwlock-base-id = <0>; #hwlock-cells = <1>; };
Signature · 1 line
2.2.1
PATCH 1/1 ARM: dts: OMAP: Add hwlock-base-id property to hwspinlock nodes
Quoted 5 lines · Suman Anna
Add the generic property "hwlock-base-id" to the hwspinlock DT nodes on all applicable OMAP SoCS (OMAP4, OMAP5, DRA7, AM33xx and AM43xx). This common property is required by the hwspinlock core to be able to translate client locks properly. All the current OMAP SoCs only have a single instance of the IP, and so will use a common value of 0.
As it seems the base-id binding is still under a discussion, I'll untag this one. Suman, please resend once the related spinlock changes are queued.
Thanks,
Tony