All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6] arm64: dts: salvator-x: Add current sense amplifiers
@ 2017-05-02 18:46 Geert Uytterhoeven
  2017-05-03  7:03 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2017-05-02 18:46 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: linux-renesas-soc, Jacopo Mondi, Geert Uytterhoeven

From: Jacopo Mondi <jacopo+renesas@jmondi.org>

Add device nodes for two Maxim max961x current sense amplifiers
sensing VDD_08 and DVFS_08 lines.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
[geert: r8a7796-salvator-x.dts => salvator-x.dtsi]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v6:
  - r8a7796-salvator-x.dts => salvator-x.dtsi

 arch/arm64/boot/dts/renesas/salvator-x.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/salvator-x.dtsi b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
index 47a482f20c9d511f..d5eb022d247cad6e 100644
--- a/arch/arm64/boot/dts/renesas/salvator-x.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
@@ -283,6 +283,24 @@
 	};
 };
 
+&i2c4 {
+	status = "okay";
+
+	csa_vdd: adc@7c {
+		compatible = "maxim,max9611";
+		reg = <0x7c>;
+
+		shunt-resistor-micro-ohms = <5000>;
+	};
+
+	csa_dvfs: adc@7f {
+		compatible = "maxim,max9611";
+		reg = <0x7f>;
+
+		shunt-resistor-micro-ohms = <5000>;
+	};
+};
+
 &i2c_dvfs {
 	status = "okay";
 };
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v6] arm64: dts: salvator-x: Add current sense amplifiers
  2017-05-02 18:46 [PATCH v6] arm64: dts: salvator-x: Add current sense amplifiers Geert Uytterhoeven
@ 2017-05-03  7:03 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2017-05-03  7:03 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Magnus Damm, linux-renesas-soc, Jacopo Mondi

On Tue, May 02, 2017 at 08:46:13PM +0200, Geert Uytterhoeven wrote:
> From: Jacopo Mondi <jacopo+renesas@jmondi.org>
> 
> Add device nodes for two Maxim max961x current sense amplifiers
> sensing VDD_08 and DVFS_08 lines.
> 
> Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
> [geert: r8a7796-salvator-x.dts => salvator-x.dtsi]
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v6:
>   - r8a7796-salvator-x.dts => salvator-x.dtsi

Thanks, queued up for v4.13.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-03  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02 18:46 [PATCH v6] arm64: dts: salvator-x: Add current sense amplifiers Geert Uytterhoeven
2017-05-03  7:03 ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.