dts: gpio: create gpio dt-bingings and inlude in stm32 dtsi files

Create a dt-bindings/gpio.h file.
Bindings definitions are extracted from existing gpio.h.
gpio dt-bindings file is required because existing gpio.h file could
not be parsed by dts parser.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2017-11-27 09:33:17 +01:00 committed by Kumar Gala
commit 4fe3a9776f
7 changed files with 187 additions and 164 deletions

View file

@ -9,6 +9,7 @@
#include <st/mem.h>
#include <dt-bindings/clock/stm32_clock.h>
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/gpio/gpio.h>
/ {
cpus {