arm64: zynqmp: Add label property to all ina226 on g-a2197-00
authorMichal Simek <michal.simek@xilinx.com>
Mon, 26 Aug 2019 09:10:36 +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-g-a2197-00-revA.dts

index 56d23b2b0894f30e8f881cd7a1c0293efd5a5e46..3616ddc2a78cbf328c5d9c5306ea9522bd37c2b0 100644 (file)
                        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>;
                        };