[PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

Linus Walleij linus.walleij at linaro.org
Tue Nov 17 03:00:06 PST 2015


On Fri, Nov 6, 2015 at 1:57 PM, Maxime Coquelin
<mcoquelin.stm32 at gmail.com> wrote:

> Thinking again at it, I persist to believe have the defines makes it
> easier to use.
> With auto-completion, it makes it faster and less error prone to
> select the right
> alternate function without parsing the datasheet.

Auto-completion ... should we design our source code to
fit certain editors?

> But as these defines are not actually used on driver side, maybe I
> could just move
> them to the dts directory?

No strong opinion there. include/dt-bindings is part of the bindings
documentation actually so I guess it goes there.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list