Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210817090313.31858-2-biju.das.jz@bp.renesas.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Biju Das and committed by
Ulf Hansson
4aba5dc7 291ee9d5

+37 -23
+37 -23
Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
··· 9 9 maintainers: 10 10 - Wolfram Sang <wsa+renesas@sang-engineering.com> 11 11 12 - allOf: 13 - - $ref: "mmc-controller.yaml" 14 - 15 12 properties: 16 13 compatible: 17 14 oneOf: ··· 101 104 pinctrl-1: 102 105 maxItems: 1 103 106 104 - pinctrl-names: 105 - minItems: 1 106 - items: 107 - - const: default 108 - - const: state_uhs 107 + pinctrl-names: true 109 108 110 109 max-frequency: true 110 + 111 + allOf: 112 + - $ref: "mmc-controller.yaml" 113 + 114 + - if: 115 + properties: 116 + compatible: 117 + contains: 118 + const: renesas,sdhi-mmc-r8a77470 119 + then: 120 + properties: 121 + pinctrl-names: 122 + items: 123 + - const: state_uhs 124 + else: 125 + properties: 126 + pinctrl-names: 127 + minItems: 1 128 + items: 129 + - const: default 130 + - const: state_uhs 131 + 132 + - if: 133 + properties: 134 + compatible: 135 + contains: 136 + enum: 137 + - renesas,sdhi-r7s72100 138 + - renesas,sdhi-r7s9210 139 + then: 140 + required: 141 + - clock-names 142 + description: 143 + The internal card detection logic that exists in these controllers is 144 + sectioned off to be run by a separate second clock source to allow 145 + the main core clock to be turned off to save power. 111 146 112 147 required: 113 148 - compatible ··· 147 118 - interrupts 148 119 - clocks 149 120 - power-domains 150 - 151 - if: 152 - properties: 153 - compatible: 154 - contains: 155 - enum: 156 - - renesas,sdhi-r7s72100 157 - - renesas,sdhi-r7s9210 158 - then: 159 - required: 160 - - clock-names 161 - description: 162 - The internal card detection logic that exists in these controllers is 163 - sectioned off to be run by a separate second clock source to allow 164 - the main core clock to be turned off to save power. 165 121 166 122 unevaluatedProperties: false 167 123