From: Jacopo Mondi Date: Tue, 2 May 2017 18:46:13 +0000 (+0200) Subject: arm64: dts: salvator-x: Add current sense amplifiers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c3dc4604131940908b922e3b3c36c3ea3ee4df55;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: dts: salvator-x: Add current sense amplifiers Add device nodes for two Maxim max961x current sense amplifiers sensing VDD_08 and DVFS_08 lines. Signed-off-by: Jacopo Mondi [geert: r8a7796-salvator-x.dts => salvator-x.dtsi] Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- diff --git a/arch/arm64/boot/dts/renesas/salvator-x.dtsi b/arch/arm64/boot/dts/renesas/salvator-x.dtsi index 47a482f20c9d..d5eb022d247c 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"; };