summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-romulus/recipes-phosphor/sensors
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-2/+2
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-11meta-ibm: prep for new override syntaxAdriana Kobylak1-4/+4
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2019-05-13meta-ibm: romulus: override variable assignmentsBrad Bishop1-3/+3
Add overrides to variable assignments as described in "Modify Variables to Support a Different Machine" in the yocto development tasks manual: https://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#best-practices-to-follow-when-creating-layers In a nutshell this allows multiple BSP layers to be included simultaneously in bblayers.conf, which increases the potential for meta data sharing between layers. (From meta-ibm rev: 0ccb228f770fe8688fd926ad822244fab6926298) Change-Id: I4f648d1c2232a6f246b63b8e46731b7ef1af13ac Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-ibm: romulus: Update I2C hwmon paths for the 5.0 kernelPatrick Venture2-1/+1
In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 (From meta-ibm rev: 3de23010065c681179a508af1cda2daee31f2725) Tested: Verified paths visually, but not tested on hardware. Change-Id: Ia5474cf5c0b952cc765582a59868d0138570b2ef Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-04meta-ibm: romulus: rename phosphor-hwmonPatrick Venture6-0/+0
Rename phosphor-hwmon%.bbappend to phosphor-hwmon_%.bbappend. Tested: Built romulus and verified hwmon confs were in rootfs. (From meta-ibm rev: 1b03bd798e93438e60d16ea7ada0917a658f798a) Change-Id: Ic248bd7a7e17da96e813c665f76ed1767f792d9f Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-27meta-romulus: Add GPIOCHIP in iio-hwmon-battery.confLei YU1-0/+1
phosphor-hwmon requires GPIOCHIP to be set for GPIO gating. Add this config for Romulus to make it work. Tested: Verify the rtc voltage is read correctly. (From meta-ibm rev: c7ec794a9542fbce0899f7ed272df835567eb3e1) Change-Id: I8f52c17d4459d04c966b1c20c2d10a2d216c038d Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-13meta-romulus: Add iio-hwmon-battery configLei YU2-0/+10
Romulus has RTC battery monitored by aspeed adc, add the config for hwmon to create /xyz/openbmc_project/sensors/voltage/vbat dbus object. Tested: With romulus dts enabled iio-hwmon-battery, verify the above vbat dbus object is created and the value is expected. (From meta-ibm rev: 72cab616d3ba7ecb777e6e53d1d0f602ea25da58) Change-Id: I1acb4890aa68cb87f145d28e3fbcac1264ed4285 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley5-0/+182
The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>