From: Michal Simek Date: Mon, 26 Aug 2019 09:10:48 +0000 (+0200) Subject: arm64: zynqmp: Add label property to all ina226 on m-a2197-01 X-Git-Tag: v2020.01-rc1~8^2~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=33aaa0932e615dc28c499fe2b4aa6f84e37313d5;p=oweals%2Fu-boot.git arm64: zynqmp: Add label property to all ina226 on m-a2197-01 Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts index bfa86afddb..4e41b6dfde 100644 --- a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts +++ b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts @@ -209,36 +209,42 @@ vcc_aux: ina226@42 { /* u86 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-vcc-aux"; reg = <0x42>; shunt-resistor = <5000>; }; vcc_ram: ina226@43 { /* u81 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-vcc-ram"; reg = <0x43>; shunt-resistor = <5000>; }; vcc1v1_lp4: ina226@46 { /* u96 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-vcc1v1-lp4"; reg = <0x46>; shunt-resistor = <5000>; }; vcc1v2_lp4: ina226@47 { /* u98 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-vcc1v2-lp4"; reg = <0x47>; shunt-resistor = <5000>; }; vdd1_1v8_lp4: ina226@48 { /* u100 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-vdd1-1v8-lp4"; reg = <0x48>; shunt-resistor = <5000>; }; vcc0v6_lp4: ina226@49 { /* u101 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-vcc0v6-lp4"; reg = <0x49>; shunt-resistor = <5000>; };