diff options
author | George Hung <george.hung@quantatw.com> | 2020-09-10 16:15:54 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-09-23 01:24:49 +0300 |
commit | 24be2dfa81d083ab315c2cf290b3b32a2d9e18d1 (patch) | |
tree | 9461227fe90684f75b1ddeb4c35aa85d4a20bbd8 /meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon | |
parent | 3ab8923abb02d07d7586af54369962dfe23acf15 (diff) | |
download | openbmc-24be2dfa81d083ab315c2cf290b3b32a2d9e18d1.tar.xz |
meta-quanta: gbs: add VR/adm1272 temperature sensors
VR temperature sensor names:
vddcr_cpu
vddcr_soc
vddio_abcd
vddio_efgh
p12v_mobo
p12v_fan
adm1272 temperature sensor name:
hotswap
Note:
Since adm1272 PMON_CONFIG didn't enable temperature monitoring by
default, add the driver patch to support it
(From meta-quanta rev: c680ebe0310ff72dd0811616830d22f5d5bfa108)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Icb39c0827fe66faaa91d24b3fc93e15f53d21782
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon')
7 files changed, 62 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf index 25172e08b..41a53c052 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf @@ -33,3 +33,11 @@ MINVALUE_power1 = "0" MAXVALUE_power1 = "2200" # READ_Pout is direct value*0.98 GAIN_power1 = "0.98" + +LABEL_temp1= "hotswap" +WARNLO_temp1= "0" +WARNHI_temp1= "125000" +CRITHI_temp1 = "125000" +CRITLO_temp1 = "0" +MINVALUE_temp1 = "-128" +MAXVALUE_temp1 = "127" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf index cc77194ee..4f5ac3f67 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf @@ -35,3 +35,12 @@ WARNLO_curr2 = "0" MINVALUE_curr2 = "0" MAXVALUE_curr2 = "256" PWRONMON_curr2 = "ON" + +LABEL_temp1= "vddcr_cpu" +WARNLO_temp1= "0" +WARNHI_temp1= "125000" +CRITHI_temp1 = "125000" +CRITLO_temp1 = "0" +MINVALUE_temp1 = "-128" +MAXVALUE_temp1 = "127" +PWRONMON_temp1 = "ON" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf index c1c3d3e08..de3ba4d0b 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf @@ -35,3 +35,12 @@ WARNLO_curr2 = "0" MINVALUE_curr2 = "0" MAXVALUE_curr2 = "88" PWRONMON_curr2 = "ON" + +LABEL_temp1= "vddcr_soc" +WARNLO_temp1= "0" +WARNHI_temp1= "125000" +CRITHI_temp1 = "125000" +CRITLO_temp1 = "0" +MINVALUE_temp1 = "-128" +MAXVALUE_temp1 = "127" +PWRONMON_temp1 = "ON" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf index 6fb856335..80be07d42 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf @@ -35,3 +35,12 @@ WARNLO_curr2 = "0" MINVALUE_curr2 = "0" MAXVALUE_curr2 = "88" PWRONMON_curr2 = "ON" + +LABEL_temp1= "vddio_efgh" +WARNLO_temp1= "0" +WARNHI_temp1= "125000" +CRITHI_temp1 = "125000" +CRITLO_temp1 = "0" +MINVALUE_temp1 = "-128" +MAXVALUE_temp1 = "127" +PWRONMON_temp1 = "ON" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf index 5c484c53d..2ae8f21f2 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf @@ -35,3 +35,12 @@ WARNLO_curr2 = "0" MINVALUE_curr2 = "0" MAXVALUE_curr2 = "88" PWRONMON_curr2 = "ON" + +LABEL_temp1= "vddio_abcd" +WARNLO_temp1= "0" +WARNHI_temp1= "125000" +CRITHI_temp1 = "125000" +CRITLO_temp1 = "0" +MINVALUE_temp1 = "-128" +MAXVALUE_temp1 = "127" +PWRONMON_temp1 = "ON" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf index 2cd0ad6fc..0ef7d600a 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf @@ -39,3 +39,12 @@ WARNLO_curr2 = "0" MINVALUE_curr2 = "0" MAXVALUE_curr2 = "150" PWRONMON_curr2 = "ON" + +LABEL_temp1= "p12v_fan" +WARNLO_temp1= "0" +WARNHI_temp1= "125000" +CRITHI_temp1 = "125000" +CRITLO_temp1 = "0" +MINVALUE_temp1 = "-128" +MAXVALUE_temp1 = "127" +PWRONMON_temp1 = "ON" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf index 81d056d2f..a795a743e 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf @@ -39,3 +39,12 @@ WARNLO_curr2 = "0" MINVALUE_curr2 = "0" MAXVALUE_curr2 = "150" PWRONMON_curr2 = "ON" + +LABEL_temp1= "p12v_mobo" +WARNLO_temp1= "0" +WARNHI_temp1= "125000" +CRITHI_temp1 = "125000" +CRITLO_temp1 = "0" +MINVALUE_temp1 = "-128" +MAXVALUE_temp1 = "127" +PWRONMON_temp1 = "ON" |