-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Currently the GPIO modules handle pin behaviour (pull-ups, inverting, etc.) and have a chardev interface. For correct pin modelling, we will need the chardev interface to connect to a padring representing the pads/pins of the chip rather than the GPIO block directly.
The pads should be routed through the pinmux which should handle attributes like opendrain, inverting, etc. then routed to a block, i.e. GPIO. We can consider adding special-purpose pins to the padring such as reset and possibly SPI CS.