From: Michal Simek Date: Mon, 26 Aug 2019 09:10:36 +0000 (+0200) Subject: arm64: zynqmp: Add label property to all ina226 on g-a2197-00 X-Git-Tag: v2020.01-rc1~8^2~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=209c04e5a989fb7980bebf0d740d74c3b1de3b20;p=oweals%2Fu-boot.git arm64: zynqmp: Add label property to all ina226 on g-a2197-00 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-g-a2197-00-revA.dts b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts index 56d23b2b08..3616ddc2a7 100644 --- a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts +++ b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts @@ -226,36 +226,42 @@ u74: ina226@40 { /* u74 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u74"; reg = <0x40>; shunt-resistor = <1000>; }; u75: ina226@41 { /* u75 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u75"; reg = <0x41>; shunt-resistor = <1000>; }; u78: ina226@42 { /* u78 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u78"; reg = <0x42>; shunt-resistor = <5000>; }; u79: ina226@43 { /* u79 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u79"; reg = <0x43>; shunt-resistor = <1000>; }; u82: ina226@44 { /* u82 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u82"; reg = <0x44>; shunt-resistor = <1000>; }; u84: ina226@45 { /* u84 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u84"; reg = <0x45>; shunt-resistor = <5000>; };