summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/gpio
AgeCommit message (Collapse)AuthorFilesLines
2019-11-07Rainier power supply presence detectsBrandon Wyman5-0/+26
Update rainier.conf to indicate the four power supply instances. Update bbappend for Rainier SYSTEMD_LINK and SYSTEMD_ENVIRONMENT_FILE. Add in subdirectory and power supply configuration files for GPIO presence detect of the Rainier power supplies. Use aspeed-gpio.sh from https://github.com/bradbishop/gpio-keys to determine gpio-key values. Use 7-bit I2C addresses on BMC. +-----+--------+----------+----+ | PSU | GPIO | gpio-key | AA | +-----+--------+----------+----+ | ps0 | GPIOS0 | 144 | 68 | +-----+--------+----------+----+ | ps1 | GPIOS1 | 145 | 69 | +-----+--------+----------+----+ | ps2 | GPIOS2 | 146 | 6a | +-----+--------+----------+----+ | ps3 | GPIOS3 | 147 | 6b | +-----+--------+----------+----+ (From meta-ibm rev: 3e8f174546cf440fda56ce47523030d4d403edbd) Change-Id: Ia55f80e4d857e7a477385d73c12f9719e3065f95 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-18meta-ibm: Remove references to IBMBASEBrad Bishop1-1/+1
IBMBASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-ibm rev: cbbb0e5b4e44d831fce5daafd13272d401440f40) Change-Id: Ib214f92b2c384e3eb2a1f53ecf4b21034438d001 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14Add mihawk platform to meta-ibmBen_Pai7-0/+85
The contents of this up-stream include the following items 1.Basic function 2.Led settings 3.GPIO monitor (id button and power supply) 4.Linux dts patch. (From meta-ibm rev: c53430a2234917b71f29d7e61d6aea749c45a2fc) Change-Id: Id0e47fd9197c8b2a70cbc94888bd572255664cdd Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-24meta-ibm: use ibm-ac-server MACHINEOVERRIDEBrad Bishop1-2/+2
Use an override in bbappends in meta-witherspoon as described and recommended in the "following best practices when creating layers" section of the the Yocto development tasks manual. ibm-ac-server represents common machine configuration shared by all of IBMs "Accelerated Compute" class of servers. Apply it wherever any variables are un-bounded by any override. This enables more flexible use of meta-witherspoon in build configurations, and easy addition of machines to the layer. (From meta-ibm rev: bb0e1d0699a4b9905c053c94af7d882cd71779fc) Change-Id: I82f7338b0d7a64b5e7a67e19bcdff07f48a332d4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15Add EXTRA_IFACES to power supply configurationsAnthony Wilson3-0/+3
Adding support for multiple interface associtions for inventory items. Testing: Verifed that the interface was associated properly. (From meta-ibm rev: d77ba6c270497a25c0eff607741bed9bac7a8a4c) Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com> Change-Id: Ia3d83b58681f1ebf7befef1eb3f65f19fb8dc03a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-14meta-ibm: witherspoon: fix file search pathsBrad Bishop1-1/+1
Typically it does not make any sense to append to FILESEXTRAPATHS. FILESEXTRAPATHS is set in a bbappend when overriding something from another layer. The typical desire will be to make bitbake search for files in the layer with the bbappend and not some other layer earlier in the priority list. Further, appending to FILESEXTRAPATHS will introduce unexpected behavior when multiple layers append the same recipe - layers with higher layer priorities that append to FILESEXTRAPATHS will find their files overriden by files in layers with lower priorities. (From meta-ibm rev: a588016cb556b425a00286ace2c8324590aac98b) Change-Id: I7672219fdab5e2c9cc03423d7f507ef2e6a842c2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-10meta-ibm: phosphor-gpio-monitor: Remove MACHINE from pathAdriana Kobylak1-1/+1
Yocto already adds MACHINE as part of the file path. Tested: Verified witherspoon and swift still had the correct phosphor-power-supply-1.conf file. (From meta-ibm rev: 4335b77ce985117765c1b673ba6a1f5ed1183ea2) Change-Id: Icbfd31f5ba2f8191cf01fac2c0747e948e01b5ba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26Swift power supply presence detectsMatt Spinler3-1/+6
PS0 uses the same GPIO that witherspoon uses, but PS1 uses GPIOR7 (143). Tested: Built both images, made sure the correct conf files showed up in rootfs. (From meta-ibm rev: c4daa64b614ff35fcefcd6eabcc45f2ac3e54776) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia89e9dbe32db84b265087b775716488da0d48b43 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-ibm: move all services to multi-user.targetPatrick Venture1-1/+1
Instead of obmc-standby.target, use multi-user.target. (From meta-ibm rev: 85cff8cc9e66049d8ac26271c13f82d894ac572f) Change-Id: I03c3d41c031343fa584511889c70e3def92cb83d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-21meta-ibm: witherspoon: gpio-monitor: drop symlinkPatrick Venture2-13/+12
Drop symlink and rename bbappend for phosphor-gpio-monitor. (From meta-ibm rev: c8aebc7a296fdf6f358de03bc3a416964fe9f057) Change-Id: I95fa5e8f4756ab1ef0526714e237ea0fa81d7e8a Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-09meta-ibm: witherspoon: gpio-monitor: set version wildcardPatrick Venture1-0/+1
Set the wildcard for version for phosphor-gpio-monitor.bbappend. (From meta-ibm rev: f894a447caf703b5955932bd2f04eda441ab64a5) Change-Id: I7b1355a514dc2b17b5d24c7fe429b3eefade8f9c Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley3-0/+22
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>