提交 4aba5dc7 编写于 作者: B Biju Das 提交者: Ulf Hansson

dt-bindings: mmc: renesas,sdhi: Fix dtbs-check warning

Fix dtbs-check warning pinctrl-names:0:'default' was expected
for r8a77470-iwg23s-sbc.dts file.
Signed-off-by: NBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: NLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210817090313.31858-2-biju.das.jz@bp.renesas.comSigned-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 291ee9d5
...@@ -9,9 +9,6 @@ title: Renesas SDHI SD/MMC controller ...@@ -9,9 +9,6 @@ title: Renesas SDHI SD/MMC controller
maintainers: maintainers:
- Wolfram Sang <wsa+renesas@sang-engineering.com> - Wolfram Sang <wsa+renesas@sang-engineering.com>
allOf:
- $ref: "mmc-controller.yaml"
properties: properties:
compatible: compatible:
oneOf: oneOf:
...@@ -104,29 +101,39 @@ properties: ...@@ -104,29 +101,39 @@ properties:
pinctrl-1: pinctrl-1:
maxItems: 1 maxItems: 1
pinctrl-names: true
max-frequency: true
allOf:
- $ref: "mmc-controller.yaml"
- if:
properties:
compatible:
contains:
const: renesas,sdhi-mmc-r8a77470
then:
properties:
pinctrl-names:
items:
- const: state_uhs
else:
properties:
pinctrl-names: pinctrl-names:
minItems: 1 minItems: 1
items: items:
- const: default - const: default
- const: state_uhs - const: state_uhs
max-frequency: true - if:
required:
- compatible
- reg
- interrupts
- clocks
- power-domains
if:
properties: properties:
compatible: compatible:
contains: contains:
enum: enum:
- renesas,sdhi-r7s72100 - renesas,sdhi-r7s72100
- renesas,sdhi-r7s9210 - renesas,sdhi-r7s9210
then: then:
required: required:
- clock-names - clock-names
description: description:
...@@ -134,6 +141,13 @@ then: ...@@ -134,6 +141,13 @@ then:
sectioned off to be run by a separate second clock source to allow sectioned off to be run by a separate second clock source to allow
the main core clock to be turned off to save power. the main core clock to be turned off to save power.
required:
- compatible
- reg
- interrupts
- clocks
- power-domains
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册