Skip to contentSkip to conversation

ARM: dts: NSP: disable i2c DT entry by default

PATCH New Jon Mason 2 participants 2 messages Mar 7, 2017 – Mar 15, 2017

Subsystems (2)
lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 ARM: dts: NSP: disable i2c DT entry by default

The i2c device tree entry should be disabled by default to match the current convention in other device tree files. Similarily, enable it on the XMC board, where it is being used.

---
 arch/arm/boot/dts/bcm-nsp.dtsi     | 1 +
 arch/arm/boot/dts/bcm958525xmc.dts | 2 ++
 2 files changed, 3 insertions(+)
arch/arm/boot/dts/bcm-nsp.dtsi +1 -0
index 832795b..3c6a34a6 100644
@@ -347,6 +347,7 @@
 			#size-cells = <0>;
 			interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
 			clock-frequency = <100000>;
+			status = "disabled";
 		};
 
 		watchdog at 39000 {
arch/arm/boot/dts/bcm958525xmc.dts +2 -0
index 41e7fd3..5081cd1 100644
@@ -66,6 +66,8 @@
 };
 
 &i2c0 {
+	status = "okay";
+
 	temperature-sensor at 4c {
 		compatible = "adi,adt7461a";
 		reg = <0x4c>;
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ARM: dts: NSP: disable i2c DT entry by default

Quoted 6 lines · Jon Mason

The i2c device tree entry should be disabled by default to match the current convention in other device tree files. Similarily, enable it on the XMC board, where it is being used.

---

Applied, thanks!
--
Florian