summaryrefslogtreecommitdiff
path: root/meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2021-07-27 13:58:04 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2021-08-30 16:28:22 +0300
commitfaa800980f6db44d51a16f57fb854786b703c2fb (patch)
treed9b1dd3b89cc0b08c87a3b0740dd680d879d87d8 /meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg
parent775975496da2c0fcb0d6e5de19577c4daa019859 (diff)
downloadopenbmc-faa800980f6db44d51a16f57fb854786b703c2fb.tar.xz
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 <aladyshev22@gmail.com> Change-Id: I123db2e356f525e0d269aef780d34d218209592a
Diffstat (limited to 'meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg')
-rw-r--r--meta-amd/meta-ethanolx/recipes-kernel/linux/linux-aspeed/ethanolx.cfg1
1 files changed, 1 insertions, 0 deletions
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