aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gpio/gpiobus.c
Commit message (Expand)AuthorAgeFilesLines
* gpio: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin2022-05-091-3/+1
* newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,loca...Warner Losh2021-06-231-47/+25
* Provide userland notification of gpio pin changes ("userland gpio interrupts").Ian Lepore2020-12-121-0/+9
* gpiobus_release_pin: remove incorrect prefix from error messagesAndriy Gapon2020-06-221-2/+2
* Implement bus_rescan for gpiobus(4). This allows on-the-fly reconfigurationIan Lepore2019-12-061-0/+20
* Do not initialize the flags field in struct gpiobus_pin from the flags inIan Lepore2019-12-021-2/+12
* Move most of the gpio_pin_* functions from ofw_gpiobus.c to gpiobus.c soIan Lepore2019-12-011-4/+110
* gpiobus: provide a new hint, pin_listAndriy Gapon2019-06-271-25/+160
* Revert r327828, r327949, r327953, r328016-r328026, r328041:Pedro F. Giffuni2018-01-211-3/+3
* dev: make some use of mallocarray(9).Pedro F. Giffuni2018-01-131-3/+3
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Remove a too strict test and instead, just filter the passed flags with theLuiz Otavio O Souza2016-12-131-3/+3
* Make gpiobus early driver at BUS_PAS_BUS.Ruslan Bukin2016-11-171-1/+2
* INTRNG: Rework handling with resources. Partially revert r301453.Michal Meloun2016-08-191-21/+6
* INTRNG: As follow up of r301451, implement mapping and configurationMichal Meloun2016-06-071-10/+35
* Don't wrap the declaration of gpio_alloc_intr_resource() in #ifdef INTRNG,Ian Lepore2016-05-271-0/+8
* Rename gpiobus_map_pin() to gpiobus_acquire_pin(), to better reflect theIan Lepore2016-05-261-4/+4
* Add gpiobus_release_pin function to release mapped pinOleksandr Tymoshenko2016-05-121-0/+24
* INTRNG: Define 'INTR_IRQ_INVALID' constant and use it consistentlyMichal Meloun2016-04-281-1/+1
* GPIO: Add support for gpio pin interrupts.Michal Meloun2016-04-281-0/+26
* Fix the resource_list_print_type() calls to use uintmax_t.Justin Hibbits2016-03-221-2/+2
* Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it.Justin Hibbits2016-02-201-1/+1
* Convert rman to use rman_res_t instead of u_longJustin Hibbits2016-01-271-2/+2
* [gpiobus] handle the case of there being a single GPIO pin available.Adrian Chadd2016-01-141-1/+1
* Fix the use of plural in two cases that I missed on r285784.Luiz Otavio O Souza2015-08-181-2/+8
* Fix a few bugs when gpiobus is detaching:Luiz Otavio O Souza2015-08-171-4/+14
* 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
* Add a new ioctl to allow the setting of GPIO pin names.Luiz Otavio O Souza2015-03-081-8/+54
* Use the child device name here is lame because at the point that thisLuiz Otavio O Souza2015-03-051-5/+4
* 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-021-14/+25
* Rename and move gpiobus_alloc_ivars() and gpiobus_free_ivars() so they canLuiz Otavio O Souza2015-02-281-16/+40
* Register the GPIO controller device reference on xref table for FDT systems.Luiz Otavio O Souza2015-02-021-0/+7
* Implement GPIO_GET_BUS() method for all GPIO drivers.Luiz Otavio O Souza2015-01-311-0/+24
* Moves all the duplicate code to a single function.Luiz Otavio O Souza2014-11-181-1/+24
* Fix gpiobus_child_location_str() to return a real string with the mappedLuiz Otavio O Souza2014-11-181-13/+30
* Add basic interrupt management code to gpiobus and ofw_gpiobus.Luiz Otavio O Souza2014-11-181-2/+115
* Fix the gpiobus locking by using a more sane model where it isn't necessaryLuiz Otavio O Souza2014-10-311-32/+18
* Move the duplicated code to a single function.Luiz Otavio O Souza2014-10-231-23/+32
* Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with busLuiz Otavio O Souza2014-05-041-1/+0
* Really sort out the headers.Luiz Otavio O Souza2014-05-031-3/+1
* Remove unnecessary headers. Sort out the headers. Add a missing header onLuiz Otavio O Souza2014-05-011-10/+5
* Add an OFW GPIO compatible bus. This allows the use of the DTS files toLuiz Otavio O Souza2014-02-131-12/+1
* 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
* Rename device_delete_all_children() into device_delete_children().Hans Petter Selasky2011-11-221-1/+1