Label property is adding capability to distiguish chips from each other
when iio framework is used.

Signed-off-by: Michal Simek <michal.si...@xilinx.com>
---

 arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts 
b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
index bfa86afddb28..4e41b6dfde16 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>;
                        };
-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to