summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb
AgeCommit message (Collapse)AuthorFilesLines
2021-06-02meta-quanta: gbs: update p12v_fan input/output current thresholdGeorge Hung1-4/+4
Since the VR may report negative current to BMC with light loading, fine tune p12v_fan input/output current lower threshold to -1 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I90c133d8ca5b9e399337fbe82472e5ed78e457a6
2021-05-17meta-quanta: gbs: Lower pwm-fan-controller CRITLOBrandon Kim1-5/+5
Lower CRITLO parameter to 1500. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I34383068cf1a3469a4f946bac862a60398634f62
2021-03-30meta-quanta: gbs: revert back the pwm/tach for fb_fan1 and fb_fan2George Hung1-2/+2
Change to work-round for the kernel dts, so revert back the following commit: https://gerrit.openbmc-project.xyz/c/openbmc/meta-quanta/+/38877 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I21af8da577f2554b55886fc0133f94be77bc3520
2021-02-18meta-quanta: gbs: change to set CRITILO fan speed to 1800 RPMGeorge Hung1-5/+5
Change to set CRITILO fan speed to 1800 RPM for fan failsafe consideration according to the thermal team suggestion Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I2fef191d53b095bce6518583dea072700ff9a0e7
2021-01-27meta-quanta: gbs: set CRITILO fan speed to 600 RPMGeorge Hung1-5/+5
Set CRITILO fan speed to 600 RPM for host tool fan pwm calculation (From meta-quanta rev: 3bee1ba439c56ccb37ee1465a7d4209f757db015) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ica5a0e030f32425f74c30ad5c2dd80b875227b87 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2021-01-22meta-quanta: gbs: add i2cool temperature calibrationGeorge Hung3-15/+3
Do i2cool temperature calibration by phosphor-virtual-sensor Also, as the phosphor-virtual-sensor generate the same D-Bus path, chage the sensor name in hwmon to avoid the duplicate D-Bus path (From meta-quanta rev: e1562d81de2b88bfee04cd2440133caa334b726f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I31f000c8ab3cdcef100e95a2fd4de5ecb19ad14a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-22meta-quanta: gbs: adjust the IOUT/POUT GAIN for ADM1272George Hung1-4/+4
Adjust the IOUT/POUT GAIN for ADM1272 since main source changed for DVT/PVT HW (From meta-quanta rev: 1c42eb58913bf5d2af803a774e623ebcc64ec252) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iae21f6ff4b840019b1b3e6dbf470212d71ff2514 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-10meta-quanta: gbs: exchange the pwm/tach for fb_fan1 and fb_fan2George Hung1-2/+2
Since their pwm/tach are inverted physically, so work-round to exchange the pwm/tach for fb_fan1 and fb_fan2 (From meta-quanta rev: b673c1f821cf041b4cb178ea09cd0fdb5095d421) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If148239ed199000b20d1782579f344a3e3bd72ee Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-10meta-quanta: gbs: adjust VR/Hotswap sensors threshold and M valueGeorge Hung5-18/+18
1. adjust VR/Hotswap sensors threshold: hotswap_iout current vddcr_cpu_out voltage vddcr_cpu_in current vddcr_soc_out voltage vddio_abcd/efgh_out voltage 2. adjust M value in sensors.yaml: hotswap_iout current vddcr_cpu_in current (From meta-quanta rev: 2297095f43ad8bdff5bdfc2031acfa878ae4250b) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I46310ec035c8294ee7147bc2d6f4b8e3b14e2828 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-10meta-quanta: gbs: update thermal config to R03George Hung1-10/+10
1. Fan LCT = 3330 RPM 2. Minimum fan duty = 15% 3. NVMe Kp=1250,Ki=12 (From meta-quanta rev: b6ba0ea2d0007b1db640ea9d15d171ab7d79938e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I541dce79aab0b6dc48964cfb0657c19f13f9520f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-09meta-quanta: gbs: filter out vddcr_cpu_in/out current noise valueGeorge Hung1-4/+4
Set threshold to filter out the negative noise value reported from the VR sometimes (From meta-quanta rev: 6a7ec660d02d63631a71b0bb1a13f00a55e93603) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id9f88bae0af56c99ab9528f7dd7d69cb4baa4a44 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-07meta-quanta: gbs: update thermal config to R01George Hung11-28/+28
1. update fine tuned PID parameters 2. update sensors threshold (From meta-quanta rev: 52b5953cf0c8c16d34bb8fa7b676316335dbf06e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Icf6f74543552cf511d64fb6bb35bec279f7d0846 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-26meta-quanta: gbs: adjust max34451/p3v_bat_adc threshold/GAINGeorge Hung1-15/+18
max34451: adjust pwrgd_pvpp/pwrgd_pvddio/pwrgd_cpuvr GAIN/threshold to show normal value p3v_bat_adc: adjust GAIN to meet the deviation requirement (From meta-quanta rev: 47decce839819001140663ed8eed71ffb31efa2b) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ia30c6abe2f95490d52d01052289ed86178b7cdce Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23meta-quanta: gbs: add VR/adm1272 temperature sensorsGeorge Hung7-0/+62
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>
2020-09-04meta-gbs: update some sensors m value/threshold/GAIN/sensor typeGeorge Hung8-24/+32
1. update max31725 temperature threshold 2. add adm1272 power GAIN 3. update vddcr_cpu_in/out current threshold 4. update pwrgd_pvpp/pwrgd_pvddio/pwrgd_cpuvr voltage threshold 5. update p12v_fan_in/out current threshold 6. add p12v_mobo_in/p12v_fan_in current GAIN 7. update p1v8_stby voltage m value 8. update vddcr_cpu_in current m value 9. update hotswap_iout current m value 10.nvme pwr_dis/en sensor type 0x00 -> 0xC0 (From meta-quanta rev: 444a37116b4902b0efffc1c013fc5f6ebf60aa69) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iac993f356a7b3fa8647973479477e5a5ce82655f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-27meta-quanta: gbs: change VR and NVMe presence sensors nameGeorge Hung4-16/+16
Change VR and NVMe presence sensors name to make them more readable VR: vddq_abcd_in => vddio_abcd_in vddq_abcd_out => vddio_abcd_out vddq_efgh_in => vddio_efgh_in vddq_efgh_out => vddio_efgh_out p12v_1_in => p12v_mobo_in p12v_1_out => p12v_mobo_out p12v_2_in => p12v_fan_in p12v_2_out => p12v_fan_out (From meta-quanta rev: dfef06ba145eb60e59de7d74310489a6c467a75a) Signed-off-by: George Hung <george.hung@quantatw.com> Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ie40b6eda8eb72b29a015884ec7bfe4fdd5734979 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-07meta-quanta: gbs: fix p12v voltage GAIN and current thresholdGeorge Hung2-6/+10
1. fix p12v_1/2 input/output voltages GAIN to get the correct value 2. fix p12v_1 output current threshold (From meta-quanta rev: 58c91e5e8ad4e3c916bebbe76c958eafe0254e9e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3394a2d33e22068509818e36b9dfd89e553703c5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18meta-quanta: gbs: rename fan2/3/4 to fb_fan0/1/2George Hung1-3/+3
Change the sensor name of fans: fan2 -> fb_fan0 fan3 -> fb_fan1 fan4 -> fb_fan2 (From meta-quanta rev: 43bbb292c0d151841db415802849df965f6151ce) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If81cf92c50da512986344b31ba20d93af6dcf061 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: add hwmon sensorsGeorge Hung13-0/+446
Define the configuration files of the related sensors and test pass 0001-lev-add-poweron-monitor-feature.patch In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/28181 0002-lev-add-sensors-slow-readings.patch In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/24337 (From meta-quanta rev: a66f2b941cede5fc15fe0d6d56ca2ac9352fdf77) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If7f767cbd952cde593e03d30c45572a21cc7c960 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>