summaryrefslogtreecommitdiff
path: root/meta-quanta
AgeCommit message (Collapse)AuthorFilesLines
2020-09-26meta-quanta: gbs: add sensors associations for RedfishGeorge Hung5-0/+532
1. add GBS sensors associations for Redfish 2. enable DBUS log service transactions through Redfish option (From meta-quanta rev: a271b5e4d39d8d57a453f7ea2e500d309241e250) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If71fc9e9ec4f47b7dc78bb0940588e801e6e8c45 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-26meta-quanta: gbs: adjust max34451/p3v_bat_adc threshold/GAINGeorge Hung3-19/+22
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 Hung10-2/+145
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-15meta-quanta: gbs: expose model number for NVMe FRUGeorge Hung1-6/+5
1. add model number for NVMe FRU 2. modify to use product info area for NVMe FRU (From meta-quanta rev: 691ae3703604d9d9dcac72247c8e92e4a4e73fb2) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I63df753614fd53819494891667476e6e5a58820d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04meta-gbs: update some sensors m value/threshold/GAIN/sensor typeGeorge Hung9-30/+38
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-09-04meta-quanta: gbs: fix only detect POST done state onceGeorge Hung2-14/+29
Fix the boot status LED behavior: 1. turn off boot status LED when system power off 2. keep monitoring POST done state GPIO to blink or turn on LED (From meta-quanta rev: d967cf675b25186828187c32e39ac29e70088c26) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I74c13a88a8c52cb430261653a99501841d634106 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-03meta-quanta: gbs: fix BMC can't record gpio present SEL logsGeorge Hung15-40/+41
It needs to set the correct sensor type in sensor DBus path and then records the gpio present SEL logs successfully cable sensors -> set sensor type 'cable' Non-cable sensors -> set sensor type 'entity presence' (From meta-quanta rev: c144969b7fc813610fa55a24629ead297ff24cfe) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I454d87439141b1b55d995a3276384429ad10d9a9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-03MAINTAINERS: update email addresses to match GerritPatrick Williams1-3/+3
3 of the email addresses listed in the MAINTAINERS file do not match their registered email addresses with Gerrit. Update to match by changing the cases (all lower-case). (From meta-quanta rev: e2b4748bdc808ebeed465cb9d3991930b37e8507) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I659b78e3fd735422489c8e048fcf29230d6c468d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-03read-margin-temp: remove unnecessary -native dependencyPatrick Williams1-1/+0
sdbusplus-native should no longer be used as a dependency. In cases where the `sdbus++` processing tools are needed, `${PYTHON_PN}-sdbus++-native` can be added as a dependency, but this repository is not one of those cases. (From meta-quanta rev: 76ebf4149ea84981135b3e3bf19acf14155335e7) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5b08a0d8910f47d0a591dac9d5a8bdabb87d9bb6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-30meta-quanta: gbs: fix non-cable presence sensor type and sata/pe_slot entity idGeorge Hung1-13/+47
1. nvme/sata/pe_slot presence sensor type -> entity presence (0x25) 2. sata0_prsnt entity id -> Disk Drive Bay (26) 3. pe_slot0/1_prsnt entity id -> Add-in Card (11) (From meta-quanta rev: a2d6c58e23c3a0c985530a5cf8ae2e861a842141) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id450a85dbf1a1f0ea3b22380af6face47c6821a5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-28meta-quanta: gbs: add updating nvme config scriptGeorge Hung4-0/+424
Update Present/Pwrgood GPIOs number to nvme json config and export them before running phosphor-nvme daemon (From meta-quanta rev: 30cafdc73528c95d7658feb060f2552b65afb16a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3662fa44b65883ec46d61e693ed4b8804059f927 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-27meta-quanta: gbs: change VR and NVMe presence sensors nameGeorge Hung5-32/+32
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-21meta-gsj: opt out of obmc-user-mgmt-ldapBrad Bishop2-1/+1
Upstream is in the process of reworking how ldap user management is included (or not) - moving from a distro feature to an image feature. Opt out from the new image feature to avoid picking up the ldap user management packages when upstream makes the switch. There is no longer any need to remove ldap from DISTRO_FEATURES, so remove that. (From meta-quanta rev: a6a05a72f7a39af65a5fa28c56650e774fe12e6d) Change-Id: Ica159c232dad540246166d571e5e3e7bc1824c01 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-20meta-quanta: gbs: phosphor-ipmi-host srcrev bump 675d587...1670af5George Hung1-1/+1
This includes the commits from openbmc/phosphor-ipmi-host, add new sensor types for IPMI SEL log William A. Kennington III (1): ipmi_fru_info_area: Fix Model Number name jayaprakash Mutyala (1): transporthandler: Fix for invalid VLAN id Johnathan Mantey (1): Modify Get Lan Configuration IP Address Source to use correct DBus DHCPEnabled type SpencerKu (1): Add Sensor Types into Config Samuel Jiang (1): sensor type: add watchdog sensor type (From meta-quanta rev: 27e1d94b3769bd16017324e047b02a542d2ee58f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id04dd26b7105f5f0c901df94939ef4a93deb98d3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-17meta-quanta: gbs: Add tray_powercycle.shBrandon Kim3-7/+32
Fix hotswap-power-cycle.service as well. (From meta-quanta rev: f27143480d654623b6e576b2ce236af3b6f0950d) Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I63e105c27a61475ffc84565a933c7c98bd3d268c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14meta-quanta: add Fran Hsu and Buddy Hunag to MAINTAINERSSamuel Jiang1-1/+3
Fran and George have done the review and improves many meta-quanta patches good for becoming a maintainer. Buddy has been handle many projects in meta-quanta good for becoming a reviewer. (From meta-quanta rev: 34988a2084c3553936b2659c07b19a0d9a25b78c) Change-Id: Ia80762167320beb033163e97e1f05b233a558508 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14meta-quanta: gbs: fix the sensor value type of Fan PWM sensorsGeorge Hung1-1/+1
Correct the sensor value type of Fan PWM sensors as uint64_t (From meta-quanta rev: 0f43ced28fd640d132770aa9149664213edef485) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I9bc72eb2b984bb3b28dceb5d62744c469f3e1154 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14meta-quanta: olympus-nuvoton: change machine configurationStanley Chu1-1/+1
1. specify uboot dtb 2. remove unsupported image type (From meta-quanta rev: 3d624b165aa52925b7b67506f2489bcf686ed20c) Change-Id: I48c77859213ca37688223e23c04401e4a96619ed Signed-off-by: Stanley Chu <yschu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-11meta-quanta: olympus-nuvoton: add packagegroupStanley Chu2-0/+53
specify the packages for openbmc chassis/fan/flash/system management (From meta-quanta rev: 09e8ff20ac73bf1f62dd6d4765ff4de73f853486) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I4ac45184159175b44a4e10cd60362d6fb800bbfa Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.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-08-07meta-quanta: gbs: fix nvme power control service name issueGeorge Hung1-2/+2
The nvme power control service name for mapper wait should be all lower case (From meta-quanta rev: e2d7195cab61bca8bbc1cfe9f03bb73b5bc97fa9) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id7bcfa0a1024efd4dff39c58cedd7ccc6b5fd3b0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-06meta-quanta: gbs: add GBS read-margin-temp configGeorge Hung4-37/+16
Since read-margin-temp_git.bb will move to meta-quanta/meta-common, add read-margin-temp bbappend file and move read-margin-temp folder from meta-gbs/recipes-phosphor/fans to meta-gbs/recipes-quanta/fans read-margin-temp_git.bb move to meta-quanta/meta-common: https://gerrit.openbmc-project.xyz/c/openbmc/meta-quanta/+/35277 (From meta-quanta rev: 410c3e900f09aa1f2fee6b155d9987b5510859c6) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I79ff42570dc9422e3c2e90dd95c5d29b01ec1133 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-06meta-quanta: common: add "read-margin-temp" serviceGeorge Hung1-0/+26
Add "read-margin-temp" service to meta-quanta/meta-common This daemon will read the temperatures of various sensors and calculate the worst thermal margin (From meta-quanta rev: a8f1a52fbaf2075f54e4cc8e2b3619172148e54f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I79623132d6dbf84ef1646e61a5c2374db132ea48 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-05meta-quanta: gbs: add xml for igps and patch/dts for u-bootGeorge Hung6-4/+518
1.XML: change the SPI speed to 19Mhz 2.U-boot: dts/pinctrl: add GBS dts/pinctrl support Nuvoton u-boot srcrev bump adb4ac1af3...6870e66f6b: https://gerrit.openbmc-project.xyz/c/openbmc/meta-nuvoton/+/34756 3.modify u-boot environment partiions offset for GBS (From meta-quanta rev: 705d71a8a0ee00f89f06c95601aa1375a440611a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I47960d63b557f6de1c9d84b290094253f4ffba58 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-04meta-quanta: olympus-nuvoton: ipmi sensor: revise sensor valueStanley Chu1-24/+11
The type of sensor value has been changed to double. https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739 we should chnage the sensor value type from int64 to double and remove the scale parameter. (From meta-quanta rev: e7db32d0846987bb087d7e0597ec0f3c78d25cf6) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I10d11b376aedf18c881c14b4c9d205f2034f9682 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-04meta-quanta: gbs: add kernel config and driversGeorge Hung6-0/+1013
1. set kernel config for GBS machine 2. add AMD CPU temperature hwmon driver 3. add seven segment display drivers (From meta-quanta rev: d9f9d7eb3809821b07887c2adf4e45103582eefa) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If2f42e43e043ea277a455a208968927b7053d2c0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-04meta-quanta: gbs: fix sensor value type and hwmon patch issuesGeorge Hung3-67/+73
Since the sensor value type had been changed to double, we have to modify the sensor value type to double and remove the scale in sensor YAML config and also update the patch for hwmon fix for this changing Change sensor type to double: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739 hwmon fixes for the sensor type changing: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34481 https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34983 (From meta-quanta rev: a661c1683e19abf70429fd263dde8f63f1b188b0) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ifdfe45c1119e0cc5d0e0fb180a91aada87631405 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-31meta-quanta: gbs: add sel-loggerGeorge Hung1-0/+5
Add sel-logger for IPMI SEL log (From meta-quanta rev: 382efcfa85932abce877e6a7e268dac7f5362246) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iadc7cd5edef57aa0875c146935ad85129525f668 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-30meta-quanta: olympus-nuvoton: iptable: save rules while bmc rebootingTim Lee2-0/+29
The iptable needs to be preserved in order keep the rules. Tested: Verified for Olympus platform (From meta-quanta rev: ae01a4669bc1653ed81998573f25b8dc62a4794b) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ic9b226f21a2526994bdf353701d0ca7b7d053d8a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-30meta-quanta: olympus-nuvoton: network: add mac-address packageTim Lee2-0/+15
1. Set eth1 mac address from bmc fru. 2. This package is using to replace first-boot-set-mac Tested: Verified for Olympus platform (From meta-quanta rev: bb7b7e368e39044dc09831c4da75fbcd320dd99f) Signed-off-by: kwliu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I8a328d8cb365b5652cad10d4c6edbd10b287a603 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-29meta-quanta: olympus-nuvoton: power: update psu inventory over pmbusTim Lee3-0/+97
According to PMBUS spec, there is an Inventory Information we can update to PSU inventory. MFR_ID - Manufacturer MFR_MODEL - Model MFR_SERIAL - SerialNumber IC_DEVICE_ID - PartNumber redfish/v1/Chassis/chassis/Power "PowerSupplies": [{ "@odata.id": "/redfish/v1/Chassis/chassis/Power#/PowerSupplies/0", "Manufacturer": "FlexPower", "MemberId": "powersupply0", "Model": "MIS-S-1020", "Name": "powersupply0", "PartNumber": "FPS-213-D0000293-101", "PowerInputWatts": 104.0, "PowerOutputWatts": 61.5, "SerialNumber": "MISPS1839A0A0RW", "Status": { "Health": "OK", "State": "Enabled" }}], Tested: Verified for Olympus platform (From meta-quanta rev: cbb46b95df93a6102ebf18c0bf6105f8f6482451) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I2714293957919193b36effdaa2c07cb8e6eabda4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-28meta-quanta: gbs: add GBS IPMI configGeorge Hung3-0/+31
Set GBS IPMI configurations: 1. device id 2. entity-map (From meta-quanta rev: c2cff3602441072e98da8127edf55a6364001746) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Idf3062bd78844590ea5f5b9830887728086e2b36 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-24meta-quanta: gbs: install the essential packages to the imageGeorge Hung1-0/+23
Install the essential packages to the image for GBS machine (From meta-quanta rev: fc79982f61df69521191243df81340466f6c28fc) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I64fd08ecbf83fe8cacc3ae06e01642638ee8f2ac Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-23meta-quanta: gbs: expose more GPIO signals as IPMI SDRGeorge Hung18-102/+174
1. monitor more GPIO signals gpio_net_name / gpio_number: ['SATA0_PRSNT_N']=5 ['HSBP_CABLE_PRSNT_BUF_N']=57 ['FAN_BRD_CABLE_PRSNT_BUF']=58 ['HSBP_P12V_STBY_CABLE_PRSNT']=69 ['PE_SLOT0_PRSNT_N']=120 ['PE_SLOT1_PRSNT_N']=121 2. add these GPIO signals to the sensor YAML config (From meta-quanta rev: de864a90b91c72a9d31a36688d744a12926a57b3) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ie39512763757e222ca386349a4c45af135500d65 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-23meta-quanta: gbs: add GBS system initial scriptGeorge Hung4-0/+506
system initial script: 1. get MB/HSBP/Fan boards REV/SKU ID 2. read FRUs on PE slots 3. reset PHY 4. SATA power enable 5. check HSBP/Fan board cables present 5. verfiy BIOS image 6. Host power on 7. gpio persistence (From meta-quanta rev: 3a9aa27f5ba286922f4d93470f30ac66cd9ff2d6) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib15171e1828b08b159ff835150ceb4a577fe1a01 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22meta-quanta: gbs: add YAML paths/whitelist config/watchdog patchGeorge Hung3-0/+235
1. set gbs YAML config paths for sensors and FRUs 2. add gbs IPMI whitelist config 3. add pre-timeout interrupt patch for IPMI watchdog commands (From meta-quanta rev: fee51df037779d09b18d2ae0e7c864182d40c43c) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I06decf7f95ebd25153cefa7a12be45bbde63aee6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22meta-quanta: gbs: add the option for setting locally administered bitGeorge Hung1-0/+1
Add USBLAA setting to make users decide if it needs to set locally administered bit to usb-network (From meta-quanta rev: efd879105a917315abc9ab26c7eff45b6f8ca66f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3a6afd88d053a26699a10d3afe841dc8aba70286 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22meta-quanta: common: set locally administered bit to usb-networkGeorge Hung1-4/+32
We hope the MAC address of the usb-network is locally administered address, so it needs to set locally administered bit (0x02) to the first octet of the MAC address. (From meta-quanta rev: ebe01d25bbb5b139feb7c9b089f322e45a28a68e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I9bd0702359479514b385daf447a9747fd270e351 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18Add mac-address config fileHank Liou2-1/+15
Make EEPROM location of mac address data to be changeable. (From meta-quanta rev: 0e9942ee044566f398a33fb42fb100e10d19a7a5) Signed-off-by: Hank Liou <Hank.Liou@quantatw.com> Change-Id: I2585b7471ae1db6d852f0d2721c8f8f81b81810b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18meta-quanta: olympus-nuvoton: add ipmi yaml configStanley Chu6-2/+1627
add configuration yaml files for fru and sensors (From meta-quanta rev: 8327e2c69649eb91175b5e12002e57662411730e) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I0571b349ad77df5d773f8547a0effabddd568dca Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18meta-quanta: gbs: rename fan2/3/4 to fb_fan0/1/2George Hung6-31/+31
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-15meta-quanta: gbs: add detect fan fail serviceGeorge Hung3-0/+106
When detecting fan fail, set other fans full speed (From meta-quanta rev: fe75a9e492d94088d5d70b9cf5bce24e47898b2f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I764c9d90f551475de773dfc563763112127bde73 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add x86-power-control supportGeorge Hung1-0/+4
system power control change to use x86-power-control (From meta-quanta rev: ccd3f9d0a83d372df01076d53e5f7ba656d370bb) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I46acde7ef48394e742f371d09a28a16e1154c38a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add pid controller with configGeorge Hung9-0/+696
1. add pid control with fan table config 2. add reboot control service to set fan duty to expected default value before pid control up 3. initial read-margin-temp with json file and the script waits related hwmon sensor could monitor (From meta-quanta rev: b67a01a728b268b9aa61ebde63354ad1a6f46bdd) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5ae6f5d163dbaee8839bf5222bb650483531e68a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add sensors and fru yaml configGeorge Hung4-0/+1562
Create configuration layer to store sensors and fru yaml (From meta-quanta rev: 79846fd70d9056dfb1582f6d571b72cca3cbbfab) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id0a2bd5931ee6761e59497be6ff7af62f42995f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add ipmi watchdogGeorge Hung6-0/+437
the upstream watchdog lose some command parameters and implementation we reference Intel-BMC repo[*1] apply patches for normal execute with x86-power-control [*1]: https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog (From meta-quanta rev: 230aee7e93f0e4873dc1e76a929e794559155cb5) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib4e94948210d6d2948ab5983c962220810db45e8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: NVMe SSD power control for GBSGeorge Hung1-0/+19
add NVMe SSD power enable/disable DBus for sensors and allow host to set SSD power Note: Need to set gpio-line-names in kernel dts for SSD power enable/disable (From meta-quanta rev: 41dd1473c5fc9eef12366ad13c36461010860f5f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iab1fefc7c51176cf62b7d238e2de3837148eaebd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: add GBS Entity Association MapGeorge Hung2-0/+45
Add entity association map for Google OEM IPMI command (get entity name) Tested: For example, get entity name, "fan0": ~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x06 0x1d 0x00 79 2b 00 06 05 2f 66 61 6e 30 (From meta-quanta rev: 52ce287bfcb8c7a4cdeb07fcd80903af5a0dd26b) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I173da270c29745518293133597a5a389d17bf1ce Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: add hwmon sensorsGeorge Hung17-0/+1036
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>
2020-07-08meta-quanta: add Brandon Kim to MAINTAINERSBenjamin Fair1-0/+1
Brandon has done high quality reviews of many recent meta-quanta patches. (From meta-quanta rev: fc15e6cd74245f0af5e2ddc9d977a4cef78d21bf) Change-Id: I5db86aa1e87cf770a2a1556665b1b06afb79267d Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>