~/talk

Pinctrl and GPIO - Interactions and Footguns

links:none on file
slides:none on file

Explains that Linux has two subsystems, pinctrl and GPIO, and demonstrates concrete failure modes: strict GPIO pin muxing is rarely enabled so a userspace request can claim an MMC clock pin and break the bus, some SoC drivers map pin config output/input enable to GPIO direction instead of muxing so settings do nothing, and pin config readback often reports bogus state. Shows fixes applied to Mediatek and Raspberry Pi drivers and urges implementing strict mode and tightening pin config definitions.

AI-written summary · about

  1. 0:00Pin control and GPIO intro
  2. 1:08Strict mode and pinmux
  3. 3:40GPIO core and API limits
  4. 6:30GPIO and pin control hardware
  5. 9:08GPIO overriding risks
  6. 10:11Pin config output issues
  7. 12:31Pin config readback issues
  8. 14:38Improving pin control and GPIO
  9. 15:49Q&A
~/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.