summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc
AgeCommit message (Collapse)AuthorFilesLines
2019-11-20meta-ibm: Fix issue: fanx_1 can't get the correct pwmBen_Pai1-7/+1
Mihawk Every fan has two rotors but one of the rotors gets the wrong fan pwm via REST command, so remove fanx_1 target. Tested: Use command "curl -k -X GET https://root:0penBmc@<ip>/xyz/ openbmc_project/sensors/fan_tach/fan0_0" This can show the correct pwm. (From meta-ibm rev: 31a8e8430b5f2629249f80de7eb91b598fa6caca) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: I68e40fefdc15a7580ca819084929813dae5d43a5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-07meta-ibm: Adjust mihawk's power sensorBen_Pai1-2/+1
1.Correct the channel of mihawk total power sensor 2.The current mihawk is not used to external gpu power. Avoid confusing users so delete this sensor. (From meta-ibm rev: e65b464ca953a0d1a7db93598956db6aa2d306b9) Change-Id: Ib4dee8181376d848364c9e92b2b5d2e67ec1fc17 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-15meta-ibm: Fix OCC hwmon paths for the 5.3 kernelMatt Spinler2-0/+0
The 5.3 kernel adds an 'fsi-master' directory in front of the fsi0 and fsi1 directories in the OCC device tree paths. Update the OCC hwmon file paths accordingly as those are based on that path. (From meta-ibm rev: 696d1d3438499f974390c2c9c77fe4879509d9d1) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I62b00664f2ebc18ed291d23faaf310fd15ce3e90 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19meta-ibm: Add mihawk total power sensorBen_Pai1-0/+1
Get total power from occ. (From meta-ibm rev: 5f74841d980f274383dd0bf1c16b1c3df18142e2) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: I97bf6b2229890dca1a0bda421b85b10392c2a814 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-22Add mihawk sensor, fan control and d-bus monitorBen_Pai29-0/+682
Most of mihawk's sensors are different from witherspoon, so I temporarily added the mihawk part and did not change the witherspoon. Add mihawk version of fan control and d-bus monitor. Mihawk does not have a water cooled mode, so another independent folder is added. Tested: 1.Shut down the system if more than three cores have a temperature greater than 100 degrees Celcius. 2.Fan control support cpu core, dimm, Onboard. 3.Confirm that sensor is able to return normally via REST. (From meta-ibm rev: 949f91431bba2f0139cc823d674a741f9590c885) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Icc401f32c67b622f0f1448e1166112e02c135a8f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>