diff options
Diffstat (limited to 'meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon')
5 files changed, 96 insertions, 0 deletions
diff --git a/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp75@49.conf b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp75@49.conf new file mode 100644 index 000000000..1dcd8cbfb --- /dev/null +++ b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp75@49.conf @@ -0,0 +1,8 @@ +#"Copyright (c) 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + +LABEL_temp1 = "Outlet_Temp" +WARNHI_temp1 = "60000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "70000" +CRITLO_temp1 = "0" diff --git a/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp75@4d.conf b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp75@4d.conf new file mode 100644 index 000000000..31e44e6db --- /dev/null +++ b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp75@4d.conf @@ -0,0 +1,9 @@ +#"Copyright (c) 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + + +LABEL_temp1 = "Ambient_Temp" +WARNHI_temp1 = "35000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "37000" +CRITLO_temp1 = "0" diff --git a/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf new file mode 100644 index 000000000..e84c0162a --- /dev/null +++ b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf @@ -0,0 +1,40 @@ +#"Copyright (c) 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + + +# hr855xg2 has 14 fan ports +LABEL_fan1 = "FAN0_Speed" +LABEL_fan2 = "FAN1_Speed" +LABEL_fan3 = "FAN2_Speed" +LABEL_fan4 = "FAN3_Speed" +LABEL_fan5 = "FAN4_Speed" +LABEL_fan6 = "FAN5_Speed" +LABEL_fan7 = "FAN6_Speed" +LABEL_fan8 = "FAN7_Speed" +LABEL_fan9 = "FAN8_Speed" +LABEL_fan10 = "FAN9_Speed" +LABEL_fan11 = "FAN10_Speed" +LABEL_fan12 = "FAN11_Speed" +LABEL_fan13 = "FAN12_Speed" +LABEL_fan14 = "FAN13_Speed" +LABEL_fan15 = "PDB_FAN0_Speed" +LABEL_fan16 = "PDB_FAN1_Speed" +LABEL_fan16 = "PDB_FAN2_Speed" + +PWM_TARGET_fan1 = "1" +PWM_TARGET_fan2 = "1" +PWM_TARGET_fan3 = "2" +PWM_TARGET_fan4 = "2" +PWM_TARGET_fan5 = "3" +PWM_TARGET_fan6 = "3" +PWM_TARGET_fan7 = "4" +PWM_TARGET_fan8 = "4" +PWM_TARGET_fan9 = "5" +PWM_TARGET_fan10 = "5" +PWM_TARGET_fan11 = "6" +PWM_TARGET_fan12 = "6" +PWM_TARGET_fan13 = "7" +PWM_TARGET_fan14 = "7" +PWM_TARGET_fan15 = "8" +PWM_TARGET_fan16 = "8" + diff --git a/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf new file mode 100644 index 000000000..8c69aa5d1 --- /dev/null +++ b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf @@ -0,0 +1,12 @@ +#"Copyright (c) 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + +LABEL_in1=P3V_BAT +GAIN_in1=2.00 + +# GPIOS4 needs to be pulled high for battery voltage reading +GPIOCHIP_in1=0 +GPIO_in1=148 + +# Read it every day so it does not impact battery life +INTERVAL=10 diff --git a/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf new file mode 100644 index 000000000..f96313837 --- /dev/null +++ b/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf @@ -0,0 +1,27 @@ +#"Copyright (c) 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + +LABEL_in1=P12V_AUX_1 +GAIN_in1=8.90 +LABEL_in2=P5V_AUX +GAIN_in2=3.68 +LABEL_in3=P3V3_AUX +GAIN_in3=2.435 +LABEL_in4=P1V8_PCH_AUX +GAIN_in4=1.50 +LABEL_in5=PVNN_PCH_AUX +LABEL_in6=P1V05_PCH_AUX +LABEL_in7=P1V2_AUX +LABEL_in8=P1V15_BMC_AUX +LABEL_in9=P12V_AUX_2 +GAIN_in9=8.90 +LABEL_in10=PVCCIO_CPU1 +LABEL_in11=P12V_AUX_3 +GAIN_in11=8.90 +LABEL_in12=PVDDQ_CPU1 +LABEL_in13=P12V +GAIN_in13=8.90 +LABEL_in14=P5V +GAIN_in14=3.68 +LABEL_in15=P3V3 +GAIN_in15=2.435 |