* [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
@ 2017-03-28 9:44 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2017-03-28 9:44 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Jacopo Mondi, linux-renesas-soc, linux-arm-kernel, 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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Pending acceptance of the maxim,max9611 DT bindings.
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index f25241921067dcef..dca1c180757a2b68 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -400,6 +400,24 @@
};
};
+&i2c4 {
+ status = "okay";
+
+ csa_vdd: adc@7c {
+ compatible = "maxim,max9611";
+ reg = <0x7c>;
+
+ shunt-resistor-uohm = <5000>;
+ };
+
+ csa_dvfs: adc@7f {
+ compatible = "maxim,max9611";
+ reg = <0x7f>;
+
+ shunt-resistor-uohm = <5000>;
+ };
+};
+
&rcar_sound {
pinctrl-0 = <&sound_pins &sound_clk_pins>;
pinctrl-names = "default";
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
@ 2017-03-28 9:44 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2017-03-28 9:44 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Pending acceptance of the maxim,max9611 DT bindings.
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index f25241921067dcef..dca1c180757a2b68 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -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";
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
2017-03-28 9:44 ` Geert Uytterhoeven
@ 2017-03-28 12:16 ` Simon Horman
-1 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2017-03-28 12:16 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, Jacopo Mondi, linux-renesas-soc, linux-arm-kernel
On Tue, Mar 28, 2017 at 11:44:42AM +0200, Geert Uytterhoeven wrote:
> 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.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Pending acceptance of the maxim,max9611 DT bindings.
I have marked this as deferred accordingly.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
@ 2017-03-28 12:16 ` Simon Horman
0 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2017-03-28 12:16 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Mar 28, 2017 at 11:44:42AM +0200, Geert Uytterhoeven wrote:
> 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.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Pending acceptance of the maxim,max9611 DT bindings.
I have marked this as deferred accordingly.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
2017-03-28 12:16 ` Simon Horman
@ 2017-04-06 14:31 ` jmondi
-1 siblings, 0 replies; 8+ messages in thread
From: jmondi @ 2017-04-06 14:31 UTC (permalink / raw)
To: Simon Horman
Cc: Geert Uytterhoeven, Magnus Damm, linux-renesas-soc, linux-arm-kernel
Hi Geert, Simon,
On Tue, Mar 28, 2017 at 02:16:38PM +0200, Simon Horman wrote:
> On Tue, Mar 28, 2017 at 11:44:42AM +0200, Geert Uytterhoeven wrote:
> > 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.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
@ 2017-04-06 14:31 ` jmondi
0 siblings, 0 replies; 8+ messages in thread
From: jmondi @ 2017-04-06 14:31 UTC (permalink / raw)
To: linux-arm-kernel
Hi Geert, Simon,
On Tue, Mar 28, 2017 at 02:16:38PM +0200, Simon Horman wrote:
> On Tue, Mar 28, 2017 at 11:44:42AM +0200, Geert Uytterhoeven wrote:
> > 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.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
@ 2017-04-19 8:35 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2017-04-19 8:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Jacopo Mondi, linux-renesas-soc, linux-arm-kernel, 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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
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(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index ff68bac4cd7ed2f5..bd6cccb0d4a75561 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -415,6 +415,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>;
+ };
+};
+
&rcar_sound {
pinctrl-0 = <&sound_pins &sound_clk_pins>;
pinctrl-names = "default";
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers
@ 2017-04-19 8:35 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2017-04-19 8:35 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
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(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index ff68bac4cd7ed2f5..bd6cccb0d4a75561 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -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";
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-04-19 8:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28 9:44 [PATCH] arm64: dts: r8a7795: salvator-x: Add current sense amplifiers Geert Uytterhoeven
2017-03-28 9:44 ` Geert Uytterhoeven
2017-03-28 12:16 ` Simon Horman
2017-03-28 12:16 ` Simon Horman
2017-04-06 14:31 ` jmondi
2017-04-06 14:31 ` jmondi
2017-04-19 8:35 Geert Uytterhoeven
2017-04-19 8:35 ` Geert Uytterhoeven
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.