Skip to contentSkip to conversation

ARM: bcm2835: add missing #xxx-cells to I2C nodes

PATCH New Stephen Warren 2 participants 2 messages Nov 26, 2013

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

PATCH 1/1 ARM: bcm2835: add missing #xxx-cells to I2C nodes

The I2C controller node needs #address-cells and #size-cells properties, but these are currently missing. Add them. This allows child nodes to be parsed correctly.

Cc stable at vger.kernel.org

---
This is a patch for 3.13-rc.

 arch/arm/boot/dts/bcm2835.dtsi |    4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/bcm2835.dtsi +4 -0
index 1e12aef..aa537ed 100644
@@ -85,6 +85,8 @@
 			reg = <0x7e205000 0x1000>;
 			interrupts = <2 21>;
 			clocks = <&clk_i2c>;
+			#address-cells = <1>;
+			#size-cells = <0>;
 			status = "disabled";
 		};
 
@@ -93,6 +95,8 @@
 			reg = <0x7e804000 0x1000>;
 			interrupts = <2 21>;
 			clocks = <&clk_i2c>;
+			#address-cells = <1>;
+			#size-cells = <0>;
 			status = "disabled";
 		};
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 ARM: bcm2835: add missing #xxx-cells to I2C nodes

Quoted 8 lines · Stephen Warren

The I2C controller node needs #address-cells and #size-cells properties, but these are currently missing. Add them. This allows child nodes to be parsed correctly.

Cc stable at vger.kernel.org

---
This is a patch for 3.13-rc.

Applied.

-Olof