ARM: dts: aspeed: Use new occ-hwmon driver for P8 systems
Subsystems (2)
PATCH 1/1 ARM: dts: aspeed: Use new occ-hwmon driver for P8 systems
Use the new occ-hwmon driver and compatible name for Barreleye and Garrison.
--- arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 8 ++++---- arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +4 -4
@@ -124,13 +124,13 @@ &i2c3 { status = "okay"; - occ@50 { - compatible = "ibm,occ-i2c"; + occ-hwmon@50 { + compatible = "ibm,p8-occ-hwmon"; reg = <0x50>; }; - occ@51 { - compatible = "ibm,occ-i2c"; + occ-hwmon@51 { + compatible = "ibm,p8-occ-hwmon"; reg = <0x51>; }; };
arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +5 -5
@@ -156,8 +156,8 @@ &i2c4 { status = "okay"; - occ@50 { - compatible = "ibm,occ-i2c"; + occ-hwmon@50 { + compatible = "ibm,p8-occ-hwmon"; reg = <0x50>; }; };
@@ -165,9 +165,9 @@ &i2c5 { status = "okay"; - occ@50 { - compatible = "ibm,occ-i2c"; - reg = <0x50>; + occ-hwmon@51 { + compatible = "ibm,p8-occ-hwmon"; + reg = <0x51>; }; };
Signature · 1 line
1.9.1
Quoted 17 lines · Lei YU
Use the new occ-hwmon driver and compatible name for Barreleye and Garrison.
Signed-off-by Lei YU <[email protected]>---
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 8 ++++---- arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts | 10 +++++-----2 files changed, 9 insertions(+), 9 deletions(-)arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +0
-0@@ -124,13 +124,13 @@ &i2c3 { status = "okay";
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts line 127
Quoted 3 lines
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +1
-2- occ@50 { - compatible = "ibm,occ-i2c"; + occ-hwmon@50 {
I tend to disagree with the node name. 'occ-hwmon' reflects the hardware *and* a Linux subsystem, which is not what a node name should represent. My alternative would be 'occ-sensors', and maybe we can bikeshed that. However, the patch is consistent with what we have in other devicetrees. We should fix what we have, but I think that's a job for another day.
Quoted 39 lines
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +1
-0+ compatible = "ibm,p8-occ-hwmon";reg = <
0x50>;
};arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +2
-2- occ@51 { - compatible = "ibm,occ-i2c"; + occ-hwmon@51 { + compatible = "ibm,p8-occ-hwmon";reg = <
0x51>;
};
};arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +0
-0@@ -156,8 +156,8 @@ &i2c4 { status = "okay";arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +2
-2- occ@50 { - compatible = "ibm,occ-i2c"; + occ-hwmon@50 { + compatible = "ibm,p8-occ-hwmon";reg = <
0x50>;
};
};arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +0
-0@@ -165,9 +165,9 @@ &i2c5 { status = "okay";arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +3
-3- occ@50 { - compatible = "ibm,occ-i2c"; - reg = <0x50>; + occ-hwmon@51 { + compatible = "ibm,p8-occ-hwmon"; + reg = <0x51>;};
};
Andrew Jeffery
AppliedQuoted 4 lines · Lei YU
Use the new occ-hwmon driver and compatible name for Barreleye and Garrison.
Signed-off-by Lei YU <[email protected]>
Thanks, applied to dev-4.10.
Andrew
Quoted 57 lines
---
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 8 ++++---- arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts | 10 +++++-----2 files changed, 9 insertions(+), 9 deletions(-)arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +0
-0@@ -124,13 +124,13 @@ &i2c3 { status = "okay";arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +2
-2- occ@50 { - compatible = "ibm,occ-i2c"; + occ-hwmon@50 { + compatible = "ibm,p8-occ-hwmon";reg = <
0x50>;
};arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +2
-2- occ@51 { - compatible = "ibm,occ-i2c"; + occ-hwmon@51 { + compatible = "ibm,p8-occ-hwmon";reg = <
0x51>;
};
};arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +0
-0@@ -156,8 +156,8 @@ &i2c4 { status = "okay";arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +2
-2- occ@50 { - compatible = "ibm,occ-i2c"; + occ-hwmon@50 { + compatible = "ibm,p8-occ-hwmon";reg = <
0x50>;
};
};arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +0
-0@@ -165,9 +165,9 @@ &i2c5 { status = "okay";arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts +3
-3- occ@50 { - compatible = "ibm,occ-i2c"; - reg = <0x50>; + occ-hwmon@51 { + compatible = "ibm,p8-occ-hwmon"; + reg = <0x51>;};
};