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:
parent
b331613773
commit
cb201430cf
8 changed files with 305 additions and 11 deletions
11
drivers/pinctrl/Kconfig.sam
Normal file
11
drivers/pinctrl/Kconfig.sam
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue