~/talk

Sharing Reset GPIOs in the Linux Kernel

Talkat LinuxCon @ OSS NA 2024 · 2024-04-16..04-18· [linux-and-operating-systems]
slides:none on file

Shared reset GPIOs cause drivers to accidentally toggle each other because GPIOs lack enable counting and probing is asynchronous. The kernel adds a concrete fix: since Linux 6.9 a reset controller can be instantiated for GPIO reset lines so drivers call Reset controller framework instead of raw gpiolib, and two drivers already use it; it handles shared asserts but not varied reset pulses. Other practical options shown are using the regulator path or a GPIO aggregator and adding enable counting for ownership.

AI-written summary · about

  1. 0:00Shared reset GPIOs problem
  2. 1:03Sharing reset GPIOs issues
  3. 4:13Kernel limitations for shared GPIOs
  4. 6:39Non-exclusive GPIOs not a solution
  5. 8:06Reset controller for shared resets
  6. 10:12Reset pulses handling
  7. 11:39Alternative solutions like GPIO aggregator
  8. 13:47Unresolved problems and future work
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.