Skip to content
Commit fa6c9905 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

soc: arm: atmel_sam: Add helper macros to init array of pins



Added ATMEL_SAM_DT_NUM_PINS macro which will return the number of pins
to initialize for "pinctrl-0" devicetree property.

Added ATMEL_SAM_DT_PINS macro which will create an array initializer
with all the pins associated with "pinctrl-0" devicetree property.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent e9e868be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment