arm64: zynqmp: Add label property to all ina226 on m-a2197-01
authorMichal Simek <michal.simek@xilinx.com>
Mon, 26 Aug 2019 09:10:48 +0000 (11:10 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Oct 2019 11:37:01 +0000 (13:37 +0200)
Label property is adding capability to distiguish chips from each other
when iio framework is used.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-m-a2197-01-revA.dts

index bfa86afddb28c47bdad8d7f76169f727e4af343e..4e41b6dfde16dbdebc3558d828f83de0fd9b2d9e 100644 (file)
                        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>;
                        };