Skip to contentSkip to conversation

arm64: dts: r8a7795: salvator-x: Add current sense amplifiers

PATCH New Geert Uytterhoeven 3 participants 3 messages Mar 28, 2017 – Apr 6, 2017

Subsystems (2)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: r8a7795: salvator-x: Add current sense amplifiers

Add device nodes for two Maxim max961x current sense amplifiers sensing the VDD_0.8V and DVFS_0.8V lines.

Based on a patch for r8a7796-salvator-x.dts by Jacopo Mondi.

---
Pending acceptance of the maxim,max9611 DT bindings.

 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +18 -0
index f25241921067dcef..dca1c180757a2b68 100644
@@ -400,6 +400,24 @@
 	};
 };
 
+&i2c4 {
+	status = "okay";
+
+	csa_vdd: adc at 7c {
+		compatible = "maxim,max9611";
+		reg = <0x7c>;
+
+		shunt-resistor-uohm = <5000>;
+	};
+
+	csa_dvfs: adc at 7f {
+		compatible = "maxim,max9611";
+		reg = <0x7f>;
+
+		shunt-resistor-uohm = <5000>;
+	};
+};
+
 &rcar_sound {
 	pinctrl-0 = <&sound_pins &sound_clk_pins>;
 	pinctrl-names = "default";
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 arm64: dts: r8a7795: salvator-x: Add current sense amplifiers

Quoted 8 lines · Geert Uytterhoeven

Add device nodes for two Maxim max961x current sense amplifiers sensing the VDD_0.8V and DVFS_0.8V lines.

Based on a patch for r8a7796-salvator-x.dts by Jacopo Mondi.

---
Pending acceptance of the maxim,max9611 DT bindings.

I have marked this as deferred accordingly.

#2 lore raw

PATCH 1/1 arm64: dts: r8a7795: salvator-x: Add current sense amplifiers

Hi Geert, Simon,

Quoted 11 lines · Simon Horman
Quoted 8 lines · Geert Uytterhoeven

Add device nodes for two Maxim max961x current sense amplifiers sensing the VDD_0.8V and DVFS_0.8V lines.

Based on a patch for r8a7796-salvator-x.dts by Jacopo Mondi.

---
Pending acceptance of the maxim,max9611 DT bindings.

I have marked this as deferred accordingly.

Just to point out that in v5 I just sent out, bindings are different and this patch needs an update.

Thanks
j