[PATCH v4] ARM: dts: stm32: change pinctrl bindings definition

Rob Herring robh at kernel.org
Mon Sep 11 14:07:21 PDT 2017


On Wed, Aug 30, 2017 at 04:50:53PM +0200, Alexandre Torgue wrote:
> Initially each pin was declared in "include/dt-bindings/stm32<SOC>-pinfunc.h"
> and each definition contained SOC names (ex: STM32F429_PA9_FUNC_USART1_TX).
> Since this approach was approved, the number of supported MCU has
> increased (STM32F429/STM32F469/STM32f746/STM32H743). To avoid to add a new
> file in "include/dt-bindings" each time a new STM32 SOC arrives I propose
> a new approach which consist to use a macro to define pin muxing in device
> tree. All STM32 will use the common macro to define pinmux. Furthermore, it
> will make STM32 maintenance and integration of new SOC easier .
> 
> Signed-off-by: Alexandre TORGUE <alexandre.torgue at st.com>
> Reviewed-by: Vikas MANOCHA <vikas.manocha at st.com>
> Reviewed-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>

Acked-by: Rob Herring <robh at kernel.org>



More information about the linux-arm-kernel mailing list