In the previous chapter, we dealt with GPIO lines. Those lines are exposed to the system by means of a special device called the GPIO controller. This chapter will explain step by step how to write drivers for such devices, thus covering the following topics:
- GPIO controller driver architecture and data structures
- Sysfs interface for GPIO controllers
- GPIO controllers representation in DT