Skip to contentSkip to conversation

ARM: dts: imx6sl: Complete the dcp node

PATCH New Fabio Estevam 2 participants 2 messages Sep 2, 2015 – Sep 6, 2015

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/1 ARM: dts: imx6sl: Complete the dcp node

From: Fabio Estevam <[email protected]>

The DCP block present on MX6SL is compatible with the one on MX28, so add the compatible string and also complete the interrupt entries.

---
Changes since v1:
- Use compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp"; as suggested by Lucas Stach

 arch/arm/boot/dts/imx6sl.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6sl.dtsi +5 -1
index 320a27f..b105735 100644
@@ -670,8 +670,12 @@
 			};
 
 			dcp: dcp at 020fc000 {
+				compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp";
 				reg = <0x020fc000 0x4000>;
-				interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>,
+					     <0 100 IRQ_TYPE_LEVEL_HIGH>,
+					     <0 101 IRQ_TYPE_LEVEL_HIGH>;
+				status = "okay";
 			};
 		};
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 ARM: dts: imx6sl: Complete the dcp node

Quoted 19 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The DCP block present on MX6SL is compatible with the one on MX28, so add the compatible string and also complete the interrupt entries.

---
Changes since v1:
- Use compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp"; as suggested by Lucas Stach

 arch/arm/boot/dts/imx6sl.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6sl.dtsi +0 -0
index 320a27f..b105735 100644

arch/arm/boot/dts/imx6sl.dtsi line 678

Quoted 10 lines
arch/arm/boot/dts/imx6sl.dtsi +5 -1
@@ -670,8 +670,12 @@
 			};
 
 			dcp: dcp at 020fc000 {
+				compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp";
 				reg = <0x020fc000 0x4000>;
-				interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>,
+					     <0 100 IRQ_TYPE_LEVEL_HIGH>,
+					     <0 101 IRQ_TYPE_LEVEL_HIGH>;
+				status = "okay";

For devices we want to enable by default, omitting 'status' property will just do the job. Drop the line and applied the patch.

Shawn

Quoted 6 lines
arch/arm/boot/dts/imx6sl.dtsi +0 -0
 			};
 		};
 
Signature · 1 line
1.9.1