Bring in libgpiod 1.0 from upstream to use gpio debugging tools.
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/bcac04b82ff50b2f9fee06f2d1a1d0f8dcd84379 commit bcac04b82ff50b2f9fee06f2d1a1d0f8dcd84379 Author: Stephen Boyd <swboyd@chromium.org> Date: Tue May 08 03:45:32 2018 libgpiod: upgraded package to upstream Upgraded dev-libs/libgpiod to version 1.0 on x86 BUG= chromium:839019 TEST=Verify `for i in {amd64,arm,x86}-generic; do emerge-$i dev-libs/libgpiod; done` succeeds CQ-DEPEND=CL:1040667 Change-Id: I833d59a188d7b5a78bdf45a105c1cf7f8fd63af0 Reviewed-on: https://chromium-review.googlesource.com/1040650 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org> [add] https://crrev.com/bcac04b82ff50b2f9fee06f2d1a1d0f8dcd84379/dev-libs/libgpiod/Manifest [add] https://crrev.com/bcac04b82ff50b2f9fee06f2d1a1d0f8dcd84379/metadata/md5-cache/dev-libs/libgpiod-1.0 [add] https://crrev.com/bcac04b82ff50b2f9fee06f2d1a1d0f8dcd84379/dev-libs/libgpiod/libgpiod-1.0.ebuild [add] https://crrev.com/bcac04b82ff50b2f9fee06f2d1a1d0f8dcd84379/dev-libs/libgpiod/metadata.xml
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/4ab97f47470793e626e35aa75ea0a64de07a57cd commit 4ab97f47470793e626e35aa75ea0a64de07a57cd Author: Stephen Boyd <swboyd@chromium.org> Date: Tue May 08 03:45:31 2018 linux-headers: Add linux/gpio.h Copy the linux kernel's gpio.h header file from v4.14 and export it into the UAPI (which happened in v4.6) as one squashed patch so we don't have to stack the 6 incremental updates to this header as more patch files. This is used to compile libgpiod and use the userspace gpiodev interface. BUG= chromium:839019 TEST=emerge linux-headers Change-Id: Ie5baf010ec522ff93c519ef0582ba0d2f6bdcade Reviewed-on: https://chromium-review.googlesource.com/1040667 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Alexandru M Stan <amstan@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [add] https://crrev.com/4ab97f47470793e626e35aa75ea0a64de07a57cd/sys-kernel/linux-headers/files/0028-BACKPORT-add-gpio-header-file.patch [modify] https://crrev.com/4ab97f47470793e626e35aa75ea0a64de07a57cd/sys-kernel/linux-headers/linux-headers-4.4.ebuild [rename] https://crrev.com/4ab97f47470793e626e35aa75ea0a64de07a57cd/sys-kernel/linux-headers/linux-headers-4.4-r19.ebuild
Issue 839018 has been merged into this issue.
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/1c9f11277bc2381f8b0b35d6eab77ef21ceb5554 commit 1c9f11277bc2381f8b0b35d6eab77ef21ceb5554 Author: Stephen Boyd <swboyd@chromium.org> Date: Wed May 09 00:44:30 2018 target-chromium-os-dev: Add libgpiod This library and associated programs are useful to test gpios and quickly prototype userspace code on top of gpios. BUG= chromium:839019 TEST=emerge-cheza libgpiod CQ-DEPEND=CL:1040650 Change-Id: I10766a574f0ec5c81288562cdee813e952c63309 Reviewed-on: https://chromium-review.googlesource.com/1040668 Commit-Ready: Stephen Boyd <swboyd@chromium.org> Tested-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org> [rename] https://crrev.com/1c9f11277bc2381f8b0b35d6eab77ef21ceb5554/virtual/target-chromium-os-dev/target-chromium-os-dev-1-r31.ebuild [modify] https://crrev.com/1c9f11277bc2381f8b0b35d6eab77ef21ceb5554/virtual/target-chromium-os-dev/target-chromium-os-dev-1.ebuild
Comment 1 by swboyd@chromium.org
, May 2 2018