Message ID | 20240221184602.3639619-1-m.felsch@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: mmc: fsl-imx-esdhc: add default and 100mhz state | expand |
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
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 --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
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(+)