Skip to content

Conversation

@nandojve
Copy link
Member

@nandojve nandojve commented Mar 13, 2022

This series implement Atmel sam/sam0 pinctrl. It update old version in favor of new API and groups devicetree. In addition it drops sam0 pinmux driver and sam boards pinmux. All drivers that somehow may use pins are converted to use pinctrl and not necessarily have entries right now at boards devicetree files.

This is Atmel sam/sam0 part of #39740.

Tested with:

  • atsamd20_xpro
  • atsamr21_xpro
  • sam4s_xplained
  • sam4e_xpro
  • sam4l_ek
  • sam_v71_xult

@github-actions
Copy link

github-actions bot commented Mar 13, 2022

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_atmel zephyrproject-rtos/hal_atmel@7c24242 zephyrproject-rtos/hal_atmel@78c5567 (master) zephyrproject-rtos/[email protected]

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@nandojve nandojve added the platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) label Mar 13, 2022
@nandojve nandojve added this to the v3.1.0 milestone Mar 13, 2022
@nandojve nandojve force-pushed the sam_pinctrl branch 2 times, most recently from e581979 to 9ecabd0 Compare March 13, 2022 21:53
@nandojve nandojve mentioned this pull request Mar 15, 2022
29 tasks
@nandojve nandojve force-pushed the sam_pinctrl branch 2 times, most recently from 55ede2f to 67445eb Compare March 17, 2022 20:16
@nandojve nandojve marked this pull request as ready for review March 17, 2022 20:56
nandojve added 22 commits March 24, 2022 14:26
This update Atmel sam i2c drivers to use pinctrl driver and API. It
updates all boards with new pinctrl groups format. This add missing
i2c-0 alias into sam4l_ek board.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam counter driver to use pinctrl driver and API. It
updates all boards with new pinctrl groups format.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam usb drivers to use pinctrl driver and API. It
updates all boards with new pinctrl groups format.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam afec driver to use pinctrl driver and API. It
updates all boards with new pinctrl groups format. In addition, it
add overlay files to allow run samples/drivers/adc example.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam ssc driver to use pinctrl driver and API. It
updates all boards with new pinctrl groups format. In addition this
remove DEV_NAME macro at sam xdma driver.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam canfd driver to use pinctrl driver and API. It
updates all boards with new pinctrl groups format. In addition this
add missing entries to run automated tests for can/canfd drivers.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam pwm driver to use pinctrl driver and API. It
updates all boards with new pinctrl groups format. In addition this
remove all remaining manual pinmux at board level.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam qdec sensor driver to use pinctrl driver and API.
It update board and sample with new pinctrl groups format.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam dac driver.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update current Atmel sam0 pinctrl initiative to current Zephyr
pinctrl API. It update current devicetree bindings and add the sam0
pinctrl driver.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam0 serial drivers to use pinctrl driver and API. It
updates all boards with new pinctrl groups format.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 spi driver. It updates all
boards with new pinctrl groups format and drop pinmux entries.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 i2c driver. It updates all
boards with new pinctrl groups format and drop pinmux entries.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 tcc pwm driver. It updates
all boards with new pinctrl groups format and drop pinmux entries.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 usb dc driver. It updates
all boards with new pinctrl groups format and drop pinmux entries.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 dac driver. It updates all
boards with new pinctrl groups format and drop pinmux entries.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 adc driver.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 timer tc32 driver.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This add support to pinctrl at Atmel sam0 rtc driver. It allows to
define pins to be used for tamper detection.

Signed-off-by: Gerson Fernando Budke <[email protected]>
This update Atmel sam and sam0 ethernet gmac and mdio drivers to use
pinctrl driver and API. It updates all boards with new pinctrl groups
format.

Signed-off-by: Gerson Fernando Budke <[email protected]>
Drop all old and obsolete atmel sam/sam0 pinctrl entries.

Signed-off-by: Gerson Fernando Budke <[email protected]>
Drop sam0 pinmux driver and all related entries in favor to use new
pinctrl API.

Signed-off-by: Gerson Fernando Budke <[email protected]>
@github-actions github-actions bot removed the DNM This PR should not be merged (Do Not Merge) label Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants