[U-Boot] [PATCH 04/27] arm64: zynqmp: Add label property to all ina226 on g-a2197-00
Michal Simek
michal.simek at xilinx.com
Mon Oct 14 10:16:07 UTC 2019
Label property is adding capability to distiguish chips from each other
when iio framework is used.
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
index 56d23b2b0894..3616ddc2a78c 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 at 40 { /* u74 */
compatible = "ti,ina226";
#io-channel-cells = <1>;
+ label = "ina226-u74";
reg = <0x40>;
shunt-resistor = <1000>;
};
u75: ina226 at 41 { /* u75 */
compatible = "ti,ina226";
#io-channel-cells = <1>;
+ label = "ina226-u75";
reg = <0x41>;
shunt-resistor = <1000>;
};
u78: ina226 at 42 { /* u78 */
compatible = "ti,ina226";
#io-channel-cells = <1>;
+ label = "ina226-u78";
reg = <0x42>;
shunt-resistor = <5000>;
};
u79: ina226 at 43 { /* u79 */
compatible = "ti,ina226";
#io-channel-cells = <1>;
+ label = "ina226-u79";
reg = <0x43>;
shunt-resistor = <1000>;
};
u82: ina226 at 44 { /* u82 */
compatible = "ti,ina226";
#io-channel-cells = <1>;
+ label = "ina226-u82";
reg = <0x44>;
shunt-resistor = <1000>;
};
u84: ina226 at 45 { /* u84 */
compatible = "ti,ina226";
#io-channel-cells = <1>;
+ label = "ina226-u84";
reg = <0x45>;
shunt-resistor = <5000>;
};
--
2.17.1
More information about the U-Boot
mailing list