summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Fix Makefile.am formatGunnar Mills2017-07-281-14/+16
| | | | | Change-Id: Ia1cd28328a95f8c9ab7672ee2eab200be7829631 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Refactor GPIO Monitor classGunnar Mills2017-07-281-0/+3
| | | | | | | | Refactor the GPIO Monitor class to use a common class, Evdev, to inherit from. Evdev does the basic libevdev handling. Change-Id: I427aa9720b0bbbea0284c0babcc03ece92e55f5e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add base support for GPIO presenceGunnar Mills2017-07-251-1/+1
| | | | | | | This is the starting code needed to build the application. Change-Id: I46112a222afbc057ac4fc4f8fb2b4c83822023df Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Create phosphor-gpio-util frameworkMatt Spinler2017-05-251-1/+1
| | | | | | | | | | | | This application can write GPIOs. Read support may be added in the future. Aside from just setting a GPIO low or high, it can also do: 0 -> <delay> -> 1 or 1 -> <delay> -> 0. All functionality will be added in future commits Change-Id: I2d3c761eb909ddce3952bfb3173ce271f03544ba Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Use libevdev for monitoring GPIO state changeVishwanatha Subbanna2017-04-271-4/+7
| | | | | Change-Id: I962af3034586f027e6ba74387dcda6ef0cf3672e Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add gtest cases to test callback handlerVishwanatha Subbanna2017-04-271-0/+2
| | | | | Change-Id: If6c1e1616bcf73441648c8e0cb20017a4b218f70 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Call defined target when GPIO line is assertedVishwanatha Subbanna2017-04-271-2/+6
| | | | | Change-Id: Ia5445a8d6585acfec69783ba158c8d866d526e97 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add sd_event loop and callback handlerVishwanatha Subbanna2017-04-271-2/+2
| | | | | Change-Id: I032d1156be2b8082fdf347a60ec883a9bc0038ae Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Populate the file descriptor for the deviceVishwanatha Subbanna2017-04-261-0/+6
| | | | | | | | | | | On a GPIO chip, there could be many gpio lines and for each line, there would be a corresponding input device event file. To know the assertion state of a GPIO line, a descriptor is needed. This descriptor will later be plugged into sd_event so that the GPIO state changes can be caught and handled. Change-Id: Idc8c2b429688fea2a5124b96677085b1be48128b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add code to accept command line argumentsVishwanatha Subbanna2017-04-261-0/+5
Accepts command line arguments for path, interested GPIO transition and an optional systemd unit file to be called into when the GPIO transitions per expectation. Change-Id: I98d967d36cfbb768bc9d0dd04517575fa7e408fe Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud