summary refs log tree commit diff
path: root/Documentation
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2021-08-19 19:52:18 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2021-08-24 16:57:58 +0200
commit4bdda3db47db079b9b487ea05fd6ca7dbd71c4e7 (patch)
treeb22664e6085b3e15ed6578b973b4eea5e0994d0e /Documentation
parent3f6e276270de935296caea6fb10a545f7388478b (diff)
downloadlinux-4bdda3db47db079b9b487ea05fd6ca7dbd71c4e7.tar.gz
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 <haibo.chen@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1629373938-9226-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation')
-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