summaryrefslogtreecommitdiffstats
path: root/libopenbmc_intf/gpio.c
Commit message (Collapse)AuthorAgeFilesLines
* Add lseek to support GPIO read/writeYong Li2017-12-041-0/+17
| | | | | | | | | GPIO api does not support repeat read(read multi times after one open). A workaround is close and reopen the device before the second read. The root cause is that the file descriptor is not moved to beginning of the file, this patch can fix this issue Change-Id: I40e5602669c9ab6f0dddf5aa77040466cbfa3738 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
* gpio: Avoid glitching 'out'-direction GPIOsPatrick Williams2016-08-241-3/+21
| | | | | Change-Id: I42dafd3235d13ec57f7b15e043bc3fe82fdb4665 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* gpio: Fix sprintf to uninitialized pointerPatrick Williams2016-08-241-1/+3
| | | | | Change-Id: Ife1759b1533b37e0a8c94748334ea2c5f02ba873 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* gpio: Clean trailing whitespacePatrick Williams2016-08-241-6/+6
| | | | | Change-Id: I359e5bab739e3b029a3331b0acfbf54e8db1120c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* libopenbmc_intf include path updateBrad Bishop2016-06-271-1/+1
| | | | | | | | | Remove the interfaces prefix from applications including openbmc_intf.h. Use brackets rather than quotes in prep for a libopenbmc_intf SDK package. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Reorganize directory structureBrad Bishop2016-06-101-0/+232
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications satisfy different OpenBMC build requirements. A number of issues are also addressed: - All applications were pulling in libsystemd and the gdbus libs irrespective of whether or not they were needed. - gpio.o duplicated in every application - moved to libopenbmc_intf - Added install target Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud