aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gpio
Commit message (Expand)AuthorAgeFilesLines
* Fix the use of plural in two cases that I missed on r285784.Luiz Otavio O Souza2015-08-181-2/+8
* gpioled(4) depends on gpiobus.Luiz Otavio O Souza2015-08-171-0/+1
* Fix a few bugs when gpiobus is detaching:Luiz Otavio O Souza2015-08-171-4/+14
* Add GPIO backlight driver compatible with Linux FDT bindings.Oleksandr Tymoshenko2015-07-301-0/+211
* Panic when a device is trying to recursively acquire rather than hangWarner Losh2015-07-241-2/+11
* Cosmetic change. When printing the child's mapped pins, use the pluralLuiz Otavio O Souza2015-07-221-3/+8
* Use ofw_bus_find_child_device_by_phandle to see if the child we'reWarner Losh2015-06-201-0/+8
* This implements default-state support as described in:Ganbold Tsagaankhuu2015-05-241-3/+24
* Provide the number of interrupt resources added to the listRuslan Bukin2015-05-151-1/+1
* Handle multiple "gpio-leds"-compatible nodesOleksandr Tymoshenko2015-04-021-8/+9
* Add a new ioctl to allow the setting of GPIO pin names.Luiz Otavio O Souza2015-03-085-11/+101
* Use the child device name here is lame because at the point that thisLuiz Otavio O Souza2015-03-053-8/+6
* Change ofw_gpiobus_destroy_devinfo() to unmap the GPIO pins and thenLuiz Otavio O Souza2015-03-051-15/+24
* Add a bus_probe_nomatch() method for gpiobus/ofw_gpiobus.Luiz Otavio O Souza2015-03-051-0/+16
* Move duplicate code to a new public function.Luiz Otavio O Souza2015-03-023-29/+29
* Add ofw_gpiobus_parse_gpios(), a new public function, to parse the gpiosLuiz Otavio O Souza2015-02-283-148/+211
* Rename and move gpiobus_alloc_ivars() and gpiobus_free_ivars() so they canLuiz Otavio O Souza2015-02-283-48/+47
* Register the GPIO controller device reference on xref table for FDT systems.Luiz Otavio O Souza2015-02-023-0/+27
* Implement GPIO_GET_BUS() method for all GPIO drivers.Luiz Otavio O Souza2015-01-312-0/+26
* Implement a new method to retrieve the gpiobus reference from a GPIOLuiz Otavio O Souza2015-01-311-0/+14
* Improves the GPIO API description a little bit.Luiz Otavio O Souza2014-12-241-2/+2
* Make gpio_default_map_gpios() static. No functional changes.Luiz Otavio O Souza2014-11-181-3/+1
* Moves all the duplicate code to a single function.Luiz Otavio O Souza2014-11-183-9/+35
* Fix gpiobus_child_location_str() to return a real string with the mappedLuiz Otavio O Souza2014-11-182-14/+30
* Remove unnecessary code.Luiz Otavio O Souza2014-11-181-18/+0
* Add basic interrupt management code to gpiobus and ofw_gpiobus.Luiz Otavio O Souza2014-11-183-2/+128
* Fix the build of non-FDT systems by moving the gpiobusvar.h header outsideLuiz Otavio O Souza2014-11-011-5/+3
* Fix the gpiobus locking by using a more sane model where it isn't necessaryLuiz Otavio O Souza2014-10-315-61/+44
* Move the duplicated code to a single function.Luiz Otavio O Souza2014-10-233-48/+38
* Provide a working GPIOBUS_IVAR() macro for FDT systems.Luiz Otavio O Souza2014-10-231-0/+5
* Rename OF_xref_phandle() to OF_node_from_xref() and add a new functionIan Lepore2014-09-011-2/+2
* Add a bounds verification to the SCL and SDA pin values.Luiz Otavio O Souza2014-05-311-9/+16
* Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with busLuiz Otavio O Souza2014-05-044-4/+49
* Really sort out the headers.Luiz Otavio O Souza2014-05-033-8/+3
* Remove unnecessary headers. Sort out the headers. Add a missing header onLuiz Otavio O Souza2014-05-012-15/+6
* Fix the gpio-specifier decoding by respecting the GPIO controller'sLuiz Otavio O Souza2014-04-272-34/+101
* Remove an unnecessary header.Luiz Otavio O Souza2014-02-181-1/+0
* Add OFW support to the in tree gpio compatible devices: gpioiic(4) andLuiz Otavio O Souza2014-02-132-0/+123
* Add an OFW GPIO compatible bus. This allows the use of the DTS files toLuiz Otavio O Souza2014-02-133-14/+361
* Move the GPIOBUS_SET_PINFLAGS(..., ..., pin, GPIO_PIN_OUTPUT) to led(4)Luiz Otavio O Souza2013-12-061-3/+2
* Remove unnecessary includes and an unused softc variable. While here applyLuiz Otavio O Souza2013-12-061-7/+2
* Fix gpiobus to return BUS_PROBE_GENERIC insted of BUS_PROBE_SPECIFIC (0) soLuiz Otavio O Souza2013-11-121-1/+4
* Move the KASSERT() check to the point before the increase of number of pins.Luiz Otavio O Souza2013-11-121-2/+2
* Minor printf nit to keep out cleanSean Bruno2013-09-051-1/+1
* Properly free gpiobus ivars when gpiobus_parse_pins() fails and also onLuiz Otavio O Souza2013-08-281-4/+18
* Style fixesOleksandr Tymoshenko2012-11-231-4/+3
* Remove extra semicolon which rendered condition uselessOleksandr Tymoshenko2012-04-021-1/+1
* Fix broken locking that I introduced in the previous commit.Adrian Chadd2011-12-201-0/+2
* Remove these locks - they aren't strictly needed and cause measurableAdrian Chadd2011-12-201-11/+0
* Modify the GPIO i2c bus code to allow for arbitrary data/clockAdrian Chadd2011-12-041-14/+22