Commit Graph

4 Commits

Author SHA1 Message Date
Gerson Fernando Budke add80d4bf5 pinctrl: Add wake-up sources generation
The SAM SoC requires that SUPC be configured to enable specific pins
to be used as wake-up sources. This add a new section denominated as
wakeup. In that section the pinmux will be used to store the correct
wkupX input to be used by the pinctrl driver to configure the gpio
and supc accordingly.

This update all pinconfigs, the pinctrl definitions, update the
documentation  and expand the current test to cover the changes.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-10-23 19:06:43 +02:00
Gerson Fernando Budke c1c4410389 docs: Improve documentation
The repository do not have a documentation entry point. This add
the missing documentation entry point with general guidelines. In
addition links the documentation on scripts and pinconfigs with
the main page.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-03-18 08:41:41 -03:00
Gerson Fernando Budke 527de70432 pinctrl: Add pinctrl tests
This add pinctrl script tests to validate auto generated files and add
GH workflow which will perform CI tests.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2022-03-24 14:11:18 -03:00
Gerson Fernando Budke 9597144ca1 pinctrl: Add pinctrl script
Add initial version of pinctrl script. It creates pinctrl definitions
from a well defined pinconfig yaml file. This file is filled with all
I/O multiplexing and considerations for all Atmel SAM SoCs. The auto
generated files produced by this script should be used inside a
<board>-pinctrl.dtsi file to define the pinctrl groups.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2022-03-24 14:11:18 -03:00