summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2019-08-26 11:10:36 +0200
committerMichal Simek <[email protected]>2019-10-24 13:37:01 +0200
commit209c04e5a989fb7980bebf0d740d74c3b1de3b20 (patch)
tree8e07a73a3dd478aea04516a76b0ba1088f5ce1d7
parentae7677edb713f030daeab9a96ce07cb8664d49f3 (diff)
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 <[email protected]>
-rw-r--r--arch/arm/dts/zynqmp-g-a2197-00-revA.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
index 56d23b2b089..3616ddc2a78 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>;
};