From faa800980f6db44d51a16f57fb854786b703c2fb Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Tue, 27 Jul 2021 13:58:04 +0300 Subject: meta-ethanolx: Support voltage regulators Populate voltage regulator sensors to the system. This change make voltage regulator data accessible over DBus, IPMI, Redfish and webui-vue. AMD EthanolX CRB has 4 voltage regulators per each of its CPUs (P0/P1): -ISL69147 - Px VDD core regulator -ISL69144 - Px VDD SoC regulator -ISL68127 - Px VDD Mem / VPP ABCD regulator -ISL68127 - Px VDD Mem / VPP EFGH regulator All of these voltage regulators are 1st generation multiphase devices. They can be covered with a ISL68137 Linux driver initialized with a "isl68137" parameter, which would bring the necessary "raa_dmpvr1_2rail" initialization. The threshold values were spoofed from the original voltage regulators configuration in the AMD EthanolX CRB. The "PowerState: On" entity-manager parameter is used to make thresholds active only when the board is powered on. Signed-off-by: Konstantin Aladyshev Change-Id: I123db2e356f525e0d269aef780d34d218209592a --- meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg') diff --git a/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg b/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg index e20cd22d6..ae03229e8 100644 --- a/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg +++ b/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg @@ -1,3 +1,4 @@ CONFIG_SENSORS_LM75=y CONFIG_SENSORS_SBTSI=y CONFIG_I2C_ASPEED=y +CONFIG_SENSORS_ISL68137=y -- cgit v1.2.3 From ac568e75cc8e194f52a7d7ed2e596f3b9d7e7418 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Tue, 27 Jul 2021 14:16:32 +0300 Subject: meta-ethanolx: Add driver for the FRU EEPROM AMD EthanolX CRB uses 24LC128 EEPROM as a device that is supposed to store FRU information. Add necessary Linux driver that adds support for this chip. Signed-off-by: Konstantin Aladyshev Change-Id: Iaf54bfd5bfbc3266d2a18861ee47339df78c777b --- meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg') diff --git a/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg b/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg index ae03229e8..00454a400 100644 --- a/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg +++ b/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg @@ -2,3 +2,4 @@ CONFIG_SENSORS_LM75=y CONFIG_SENSORS_SBTSI=y CONFIG_I2C_ASPEED=y CONFIG_SENSORS_ISL68137=y +CONFIG_EEPROM_AT24=y -- cgit v1.2.3