drivers: pinctrl: Update atmel sam driver to new api

This update current Atmel sam pinctrl initiative to current Zephyr
pinctrl API. It update current devicetree bindings and add the sam
pinctrl driver.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2022-03-10 21:56:45 -03:00 committed by Marti Bolivar
commit cb201430cf
8 changed files with 305 additions and 11 deletions

View file

@ -0,0 +1,11 @@
# Copyright (c) 2022, Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_ATMEL_SAM_PINCTRL := atmel,sam-pinctrl
config PINCTRL_SAM
bool "Atmel SAM pin controller driver"
depends on SOC_FAMILY_SAM
default $(dt_compat_enabled,$(DT_COMPAT_ATMEL_SAM_PINCTRL))
help
Atmel pin controller driver is used on SAM and SAM4L SoC series