summaryrefslogtreecommitdiff
path: root/sys/dev/gpio/gpio.c
AgeCommit message (Expand)Author
2022-12-13Never fib about pin count in GPIOINFO ioctl results. The number of pinsjakllsch
2022-04-27I have been using this for a while and forgot to commit it. This addbrad
2022-03-31For device modules that provide both auto-config and /dev/xxxpgoyette
2022-01-17When initializing pins, try to get the default pin name from thethorpej
2021-09-21use l->l_cred since it is available.christos
2021-08-09fix various typos in compatibility, mainly in comments.andvar
2021-08-07Merge thorpej-cfargs2.thorpej
2021-04-24Merge thorpej-cfargs branch:thorpej
2019-10-20gpio: make GPIOREAD return also the symbolic name of the pin, if it is settnn
2019-10-15convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.chs
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-05-19Overhaul of GPIO interrupt support (that wasn't even used by anything).thorpej
2017-10-28Kill some more extern struct cfdriver declarations.riastradh
2017-07-06Let the controller provide a default name for pins. This makes pins easierjmcneill
2016-05-11As proposed inbouyer
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
2014-06-29make implementation match gpio(4) man entry. do no change configurationkardel
2014-05-23Add aprint_naive("\n") for boot -qmsaitoh
2014-04-04PR/48701: Timo Buhrmester: spurious messages while booting silently (gpio,christos
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
2013-05-20When returning the old value, use the value read from the device.mbalmer
2012-10-17Quiet down autoconfiguration by changing some printf() calls todyoung
2011-11-25Don't ignore the gpiobus_close() return value. Found by joerg@ using clang.mbalmer
2011-11-14Initialize ga.ga_dvname in gpio_search to prevent a stack fault in config_matchmbalmer
2011-11-13Remove an unused variable.mbalmer
2011-11-13Remove software pulsing in gpio(4), this functionality is now providedmbalmer
2011-10-03Fix non-COMPAT_50 compilation.mbalmer
2011-10-03Unbreak and move the list of child devices to COMPAT_50.mbalmer
2011-10-03Remove the GPIODETACH gpio(4) ioctl (it is still available in COMPAT_50) andmbalmer
2011-10-03Don't cast void pointers.mbalmer
2011-10-02Add a ga_flags field to the gpio_attach structure to hand drivermbalmer
2011-09-02Make sure error is not used unitialized when sc->sc_attach_busy is 0.mbalmer
2011-08-31Remove what I committed accidentally...mbalmer
2011-08-31gpio(4) keeps track of child devices attached using the GPIOATTACH ioctl(),mbalmer
2011-08-30Unconditionally include <sys/modules.h>.mbalmer
2011-08-29Register as built-in module when compiled wo/ _MODULE.mbalmer
2011-08-28Add a new ioctl, GPIOPULSE to gpio(4) to allow for pulsing a pin.mbalmer
2011-08-12gpio(4) and gpiosim(4) can now be built and used as modules. While here,mbalmer
2011-06-09Annotate that gpiobus_close's return value is undesired herejoerg
2010-04-25console spamad
2010-02-24A pointer typedef entails trading too much flexibility to declare constdyoung
2010-01-24Unfold, bump copyright.mbalmer
2010-01-08Expand PMF_FN_* macros.dyoung
2009-11-05Delete the useless activation hook. Add a child-detached hook anddyoung
2009-08-23Prevent the creation of duplicate pin names in GPIOSET.mbalmer
2009-08-21Before trying to attach a child device driver, make sure the GPIO pins canmbalmer
2009-08-17unfold short lines, fold long line.mbalmer
2009-08-07Fold long line.mbalmer
2009-08-03Be more careful when attaching drivers at runtime, call the drivers matchmbalmer
2009-07-26Fold long line, add comment to fix possible creation of duplicates.mbalmer