Skip to contentSkip to conversation

ARM: dts: aspeed: p10bmc: Update battery node name

PATCH New Eddie James 1 participant 2 messages Feb 23, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: aspeed: p10bmc: Update battery node name

The ADC sensor for the battery needs to be named "iio-hwmon" for compatibility with user space applications.

---
 arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts | 2 +-
 arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 2 +-
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts +1 -1
index 0f9a4f0a5571..a5be0ee048ec 100644
@@ -124,7 +124,7 @@ fan1-presence {
 		};
 	};
 
-	iio-hwmon-battery {
+	iio-hwmon {
 		compatible = "iio-hwmon";
 		io-channels = <&adc1 7>;
 	};
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +1 -1
index 456ca2830a31..c3b0cd61ac85 100644
@@ -244,7 +244,7 @@ led-pcieslot-power {
 		};
 	};
 
-	iio-hwmon-battery {
+	iio-hwmon {
 		compatible = "iio-hwmon";
 		io-channels = <&adc1 7>;
 	};
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +1 -1
index e1b5d44308fe..7162e65b8115 100644
@@ -220,7 +220,7 @@ event-fan5-presence {
 		};
 	};
 
-	iio-hwmon-battery {
+	iio-hwmon {
 		compatible = "iio-hwmon";
 		io-channels = <&adc1 7>;
 	};
Signature · 1 line
2.31.1
#1 lore raw

PATCH 2/2 ARM: dts: aspeed: bonnell: Update eeprom size

An eeprom had an incorrect size.

---
 arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts +1 -1
index a5be0ee048ec..a96feb42cbc2 100644
@@ -686,7 +686,7 @@ tmp275 at 48 {
 	};
 
 	eeprom at 50 {
-		compatible = "atmel,24c64";
+		compatible = "atmel,24c128";
 		reg = <0x50>;
 	};
 
Signature · 1 line
2.31.1