commit | 76f1849431b2dcafbe96ca4ece33841ba66e0fd9 | [log] [tgz] |
---|---|---|
author | John Wang <wangzhiqiang.bj@bytedance.com> | Sat Oct 10 12:57:09 2020 +0800 |
committer | John Wang <wangzhiqiang.bj@bytedance.com> | Fri Dec 18 10:58:55 2020 +0800 |
tree | f664b36ffa49eb2c0ef080097675b1cbef521a25 | |
parent | 1f40f6da4fc2e00fc06128ae6ba7dd1f045c8a84 [diff] [blame] |
bytedance: g220a: Enable peci Tested: boot the host, and see cpu/dimm sensors under /sys/class/hwmon Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I6e1df5c0bd33c3f77992822c16692efd2715cc99
diff --git a/meta-g220a/recipes-kernel/linux/linux-aspeed/g220a.cfg b/meta-g220a/recipes-kernel/linux/linux-aspeed/g220a.cfg index cc97a4e..479d751 100644 --- a/meta-g220a/recipes-kernel/linux/linux-aspeed/g220a.cfg +++ b/meta-g220a/recipes-kernel/linux/linux-aspeed/g220a.cfg
@@ -1,2 +1,9 @@ CONFIG_SENSORS_EMC1403=y CONFIG_ASPEED_UART_ROUTING=y +CONFIG_PECI=y +CONFIG_PECI_CHARDEV=y +CONFIG_PECI_ASPEED=y +CONFIG_SENSORS_PECI_CPUTEMP=y +CONFIG_SENSORS_PECI_DIMMTEMP=y +CONFIG_SENSORS_PECI_CPUPOWER=y +CONFIG_SENSORS_PECI_DIMMPOWER=y