Skip to contentSkip to conversation

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

PATCH Superseded Geert Uytterhoeven 2 participants 4 messages Apr 19, 2017 – Apr 20, 2017

Subsystems (2)

v1 of 6 Superseded Latest is v6 →

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.

---
Bindings and driver are now in staging-next.

v2:
- Use shunt-resistor-micro-ohms to match updated 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 ff68bac4cd7ed2f5..bd6cccb0d4a75561 100644
@@ -415,6 +415,24 @@
 	};
 };
 
+&i2c4 {
+	status = "okay";
+
+	csa_vdd: adc at 7c {
+		compatible = "maxim,max9611";
+		reg = <0x7c>;
+
+		shunt-resistor-micro-ohms = <5000>;
+	};
+
+	csa_dvfs: adc at 7f {
+		compatible = "maxim,max9611";
+		reg = <0x7f>;
+
+		shunt-resistor-micro-ohms = <5000>;
+	};
+};
+
 &rcar_sound {
 	pinctrl-0 = <&sound_pins &sound_clk_pins>;
 	pinctrl-names = "default";
Signature · 1 line
2.7.4
author maintainer
#1 lore raw

PATCH v2 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.

---
Bindings and driver are now in staging-next.

v2:
- Use shunt-resistor-micro-ohms to match updated 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 ff68bac4cd7ed2f5..bd6cccb0d4a75561 100644
@@ -415,6 +415,24 @@
 	};
 };
 
+&i2c4 {
+	status = "okay";
+
+	csa_vdd: adc at 7c {
+		compatible = "maxim,max9611";
+		reg = <0x7c>;
+
+		shunt-resistor-micro-ohms = <5000>;
+	};
+
+	csa_dvfs: adc at 7f {
+		compatible = "maxim,max9611";
+		reg = <0x7f>;
+
+		shunt-resistor-micro-ohms = <5000>;
+	};
+};
+
 &rcar_sound {
 	pinctrl-0 = <&sound_pins &sound_clk_pins>;
 	pinctrl-names = "default";
Signature · 1 line
2.7.4
#2 lore raw

PATCH v2 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.

---
Bindings and driver are now in staging-next.

Forgive my ignorance, what is the flow of changes from staging-next to a release?

#3 lore raw

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

Quoted 4 lines · Simon Horman
Quoted 3 lines · Geert Uytterhoeven

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

Quoted 8 lines
Quoted 5 lines

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

---
Bindings and driver are now in staging-next.

Forgive my ignorance, what is the flow of changes from staging-next to a release?

I now see that Jonathan Cameron says the bindings will make it into the next release[1], so I have queued up this patch.

[1] https://www.spinics.net/lists/linux-renesas-soc/msg13179.html