diff mbox series

dt-bindings: mmc: fsl-imx-esdhc: add default and 100mhz state

Message ID 20240221184602.3639619-1-m.felsch@pengutronix.de
State New
Headers show
Series dt-bindings: mmc: fsl-imx-esdhc: add default and 100mhz state | expand

Commit Message

Marco Felsch Feb. 21, 2024, 6:46 p.m. UTC
Some devices support only the default and the 100MHz case, add the
support for this to the binding to avoid warnings.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Krzysztof Kozlowski Feb. 26, 2024, 9 a.m. UTC | #1
On 21/02/2024 19:46, Marco Felsch wrote:
> Some devices support only the default and the 100MHz case, add the
> support for this to the binding to avoid warnings.
> 
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Ulf Hansson Feb. 28, 2024, 1:03 p.m. UTC | #2
On Wed, 21 Feb 2024 at 19:46, Marco Felsch <m.felsch@pengutronix.de> wrote:
>
> Some devices support only the default and the 100MHz case, add the
> support for this to the binding to avoid warnings.
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> index 82eb7a24c857..e47253e4eac4 100644
> --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> @@ -173,6 +173,11 @@ properties:
>            - const: state_100mhz
>            - const: state_200mhz
>            - const: sleep
> +      - minItems: 2
> +        items:
> +          - const: default
> +          - const: state_100mhz
> +          - const: sleep
>        - minItems: 1
>          items:
>            - const: default
> --
> 2.39.2
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index 82eb7a24c857..e47253e4eac4 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -173,6 +173,11 @@  properties:
           - const: state_100mhz
           - const: state_200mhz
           - const: sleep
+      - minItems: 2
+        items:
+          - const: default
+          - const: state_100mhz
+          - const: sleep
       - minItems: 1
         items:
           - const: default