aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/amdgpio
Commit message (Collapse)AuthorAgeFilesLines
* amdgpio: Mask and service interruptsAymeric Wibo2025-08-252-23/+122
| | | | | | | | | | | Mask all interrupts coming from the AMD GPIO controller and service any potential interrupts. Unserviced interrupts can block entry to S0i3 on certain AMD CPUs. Reviewed by: aokblast, mckusick (mentor) Approved by: aokblast, mckusick (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51588
* 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/
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-122-2/+2
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* dev/amd*: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin2022-05-091-2/+1
|
* amd*: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-2/+0
| | | | Notes: svn path=/head/; revision=365110
* amdgpio: small formatting cleanupAndriy Gapon2019-05-241-3/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=348229
* amdgpio: fix reading status of input pinsAndriy Gapon2019-05-241-4/+11
| | | | | | | | | | AMD FCH GPIO controller uses different bits for setting the output level and for reporting the input level. MFC after: 2 weeks Notes: svn path=/head/; revision=348228
* amdgpio: remove new line symbols from pin namesAndriy Gapon2019-05-241-4/+5
| | | | | | | | | | | That made, for example, gpioc -l output quite hard to read and parse. Also, fix formatting of a nearby statement with too long lines. MFC after: 2 weeks Notes: svn path=/head/; revision=348227
* Distinguish _CID match and _HID match and make lower priority probeTakanori Watanabe2018-10-261-7/+10
| | | | | | | | | | when _CID match. Reviewed by: jhb, imp Differential Revision:https://reviews.freebsd.org/D16468 Notes: svn path=/head/; revision=339754
* Add amdgpio, driver for GPIO controller on AMD-based x86_64 platformsOleksandr Tymoshenko2018-10-212-0/+800
Submitted by: Rajesh Kumar <rajbsd@gmail.com> Differential Revision: https://reviews.freebsd.org/D16865 Notes: svn path=/head/; revision=339523