]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: pinctrl: stm32: Fix missing 'clocks' property in examples
authorRob Herring <robh@kernel.org>
Tue, 16 Jul 2019 21:34:40 +0000 (15:34 -0600)
committerRob Herring <robh@kernel.org>
Sun, 21 Jul 2019 02:28:53 +0000 (20:28 -0600)
commit1f88c247097c42688cc07d361666d17403bb6bb3
treebb28e8976ee7920ccc8670b5372dc9cafc6ecd07
parent28e1305aae634f07a20684d0edfe625eb11ce4bb
dt-bindings: pinctrl: stm32: Fix missing 'clocks' property in examples

Now that examples are validated against the DT schema, an error with
required 'clocks' property missing is exposed:

Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.example.dt.yaml: \
pinctrl@40020000: gpio@0: 'clocks' is a required property
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.example.dt.yaml: \
pinctrl@50020000: gpio@1000: 'clocks' is a required property
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.example.dt.yaml: \
pinctrl@50020000: gpio@2000: 'clocks' is a required property

Add the missing 'clocks' properties to the examples to fix the errors.

Fixes: 6a57bdad275c ("dt-bindings: pinctrl: Convert stm32 pinctrl bindings to json-schema")
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml