aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rccgpio
Commit message (Collapse)AuthorAgeFilesLines
* gpio: remove gpiobus_attach_busAhmad Khalifa2025-08-131-1/+2
| | | | | | | | | | | | Since gpiobus_attach_bus can attach the gpiobus child along with its children in the same bus pass, the parent controller's reference to gpiobus might not be set by the time the children need it. Instead, drivers should use gpiobus_add_bus and explicitly call bus_attach_children. Reviewed by: mmel, imp (older version) Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D51578
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* gpio: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin2022-05-091-3/+1
|
* Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0.Luiz Otavio O Souza2016-12-311-8/+8
| | | | | | | | Pointy hat to: loos MFC after: 3 days Notes: svn path=/head/; revision=310887
* Fix off-by-one bugs.Luiz Otavio O Souza2015-09-071-7/+13
| | | | | | | | | | While here, only set the GPIO pin state for output pins. Pointy hat to: loos Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=287542
* Add the GPIO driver for the ADI Engineering RCC-VE and RCC-DFF/DFFv2.Luiz Otavio O Souza2015-08-181-0/+368
This driver allows read the software reset switch state and control the status LEDs. The GPIO pins have their direction (input/output) locked down to prevent possible short circuits. Note that most people get a reset button that is a hardware reset. The software reset button is available on boards from Netgate. Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=286908