aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Chen <[email protected]>2021-08-19 19:52:18 +0800
committerUlf Hansson <[email protected]>2021-08-24 16:57:58 +0200
commit4bdda3db47db079b9b487ea05fd6ca7dbd71c4e7 (patch)
treeb22664e6085b3e15ed6578b973b4eea5e0994d0e
parent3f6e276270de935296caea6fb10a545f7388478b (diff)
dt-bindings: mmc: fsl-imx-esdhc: change the pinctrl-names rule
Change the pinctrl-names rule to cover all cases. Signed-off-by: Haibo Chen <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml17
1 files changed, 11 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index 17086f60f8a3..a3412f221104 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -116,12 +116,17 @@ properties:
- const: per
pinctrl-names:
- minItems: 1
- items:
- - const: default
- - const: state_100mhz
- - const: state_200mhz
- - const: sleep
+ oneOf:
+ - minItems: 3
+ items:
+ - const: default
+ - const: state_100mhz
+ - const: state_200mhz
+ - const: sleep
+ - minItems: 1
+ items:
+ - const: default
+ - const: sleep
required:
- compatible