[PATCH linux dev-4.10 v2 5/5] aspeed: update power9 dts and defconfigs for OCC
Eddie James
eajames at linux.vnet.ibm.com
Sat Jun 10 04:01:05 AEST 2017
From: "Edward A. James" <eajames at us.ibm.com>
Signed-off-by: Edward A. James <eajames at us.ibm.com>
---
arch/arm/boot/dts/ibm-power9-cfam.dtsi | 9 +++++++++
arch/arm/configs/aspeed_g4_defconfig | 2 ++
arch/arm/configs/aspeed_g5_defconfig | 1 +
3 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/ibm-power9-cfam.dtsi b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
index 5beb978..f29c6e3 100644
--- a/arch/arm/boot/dts/ibm-power9-cfam.dtsi
+++ b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
@@ -13,6 +13,10 @@
occ at 1 {
compatible = "ibm,p9-occ";
reg = <1>;
+
+ occ-hwmon at 1 {
+ compatible = "ibm,p9-occ-hwmon";
+ };
};
};
@@ -37,6 +41,11 @@
compatible =
"ibm,p9-occ";
reg = <2>;
+
+ occ-hwmon at 2 {
+ compatible =
+ "ibm,p9-occ-hwmon";
+ };
};
};
};
diff --git a/arch/arm/configs/aspeed_g4_defconfig b/arch/arm/configs/aspeed_g4_defconfig
index 1dbea59..4766919 100644
--- a/arch/arm/configs/aspeed_g4_defconfig
+++ b/arch/arm/configs/aspeed_g4_defconfig
@@ -141,6 +141,8 @@ CONFIG_SENSORS_IIO_HWMON=y
CONFIG_SENSORS_MAX31785=y
CONFIG_SENSORS_LM75=y
CONFIG_SENSORS_NCT7904=y
+CONFIG_SENSORS_OCC=y
+CONFIG_SENSORS_OCC_P8_I2C=y
CONFIG_PMBUS=y
# CONFIG_SENSORS_PMBUS is not set
CONFIG_SENSORS_ADM1275=y
diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig
index 64e3aed..a8a34bc 100644
--- a/arch/arm/configs/aspeed_g5_defconfig
+++ b/arch/arm/configs/aspeed_g5_defconfig
@@ -140,6 +140,7 @@ CONFIG_SENSORS_IIO_HWMON=y
CONFIG_SENSORS_MAX31785=y
CONFIG_SENSORS_LM75=y
CONFIG_SENSORS_NCT7904=y
+CONFIG_SENSORS_OCC=y
CONFIG_SENSORS_OCC_P9_SBE=y
CONFIG_PMBUS=y
CONFIG_SENSORS_ADM1275=y
--
1.8.3.1
More information about the openbmc
mailing list