"Exclusive" Resources That Are Not Exclusive - The Case of Shared GPIOs in DT Systems
Linux Plumbers Conference via YouTube
Coursera Plus Annual Nearly 45% Off
AI Engineer - Learn how to integrate AI into software applications
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the complexities of GPIO resource management in Linux kernel systems through this 19-minute conference talk that examines the fundamental contradiction between the exclusive nature of GPIO consumer APIs and real-world hardware designs where multiple devices share the same GPIO pins. Learn about the challenges kernel engineers face when device-tree models reference the same GPIO across different device nodes, creating conflicts between drivers that need to request the same line. Discover existing infrastructure solutions like the reset-gpios property handled by reset core, and understand why current workarounds involving driver "fights" over GPIOs lack proper concurrency protection. Examine complex scenarios such as the PERST# signal in PCI systems where logical behavior requires coordinated control across multiple users. Gain insights into the detailed problems, existing solutions, ongoing development efforts, and the limitations of C code solutions using device-tree information before requiring hardware-specific quirks.
Syllabus
"Exclusive" resources that are not exclusive - the case of shared GPIOs in... Mr Bartosz Golaszewski
Taught by
Linux Plumbers Conference