Skip to content
Commit 155f3c5e authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Carles Cufí
Browse files

soc/arm: stm32: Provide node label based pinctrl devicetree helpers



As an alternative to ST_STM32_DT_INST_PINCTRL, provide
ST_STM32_DT_PINCTRL macro and set of matching internal macros.

This could be used by device drivers that can't use directly
device instances but rather the node label identifier. For instance:
ST_STM32_DT_PINCTRL(0, i2c1);

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 2d3cda76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment