Re: [PATCH v2 07/12] dt-bindings: mmc: Add support for rk3576 eMMC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH v2 07/12] dt-bindings: mmc: Add support for rk3576 eMMC
- From: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
- Date: Sat, 24 Aug 2024 09:49:42 +0200
- Cc: linux-kernel@xxxxxxxxxxxxxxx, Rob Herring <robh@xxxxxxxxxx>, Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>, Conor Dooley <conor+dt@xxxxxxxxxx>, Heiko Stuebner <heiko@xxxxxxxxx>, Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>, Maxime Ripard <mripard@xxxxxxxxxx>, Thomas Zimmermann <tzimmermann@xxxxxxx>, David Airlie <airlied@xxxxxxxxx>, Daniel Vetter <daniel@xxxxxxxx>, Andi Shyti <andi.shyti@xxxxxxxxxx>, Jonathan Cameron <jic23@xxxxxxxxxx>, Lars-Peter Clausen <lars@xxxxxxxxxx>, Lee Jones <lee@xxxxxxxxxx>, Ulf Hansson <ulf.hansson@xxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Jiri Slaby <jirislaby@xxxxxxxxxx>, Mark Brown <broonie@xxxxxxxxxx>, Wim Van Sebroeck <wim@xxxxxxxxxxxxxxxxxx>, Guenter Roeck <linux@xxxxxxxxxxxx>, Chris Morgan <macromorgan@xxxxxxxxxxx>, Jonas Karlman <jonas@xxxxxxxxx>, Tim Lunn <tim@xxxxxxxxxxxxxx>, Chukun Pan <amadeus@xxxxxxxxxx>, Andy Yan <andyshrk@xxxxxxx>, Muhammed Efe Cetin <efectn@xxxxxxxxxxxxxx>, Jagan Teki <jagan@xxxxxxxxxx>, Dragan Simic <dsimic@xxxxxxxxxxx>, Ondrej Jirman <megi@xxxxxx>, Michael Riesch <michael.riesch@xxxxxxxxxxxxxx>, Jimmy Hon <honyuenkwun@xxxxxxxxx>, Alexey Charkov <alchark@xxxxxxxxx>, Elon Zhang <zhangzj@xxxxxxxxxxxxxx>, Elaine Zhang <zhangqing@xxxxxxxxxxxxxx>, Yifeng Zhao <yifeng.zhao@xxxxxxxxxxxxxx>, Finley Xiao <finley.xiao@xxxxxxxxxxxxxx>, Liang Chen <cl@xxxxxxxxxxxxxx>, Jisheng Zhang <jszhang@xxxxxxxxxx>, Jamie Iles <jamie@xxxxxxxxxxxxx>, devicetree@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-rockchip@xxxxxxxxxxxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, linux-i2c@xxxxxxxxxxxxxxx, linux-iio@xxxxxxxxxxxxxxx, linux-mmc@xxxxxxxxxxxxxxx, linux-serial@xxxxxxxxxxxxxxx, linux-spi@xxxxxxxxxxxxxxx, linux-watchdog@xxxxxxxxxxxxxxx, kernel@xxxxxxxxxxxxx
- In-reply-to: <20240823150057.56141-8-detlev.casanova@collabora.com>
- References: <20240823150057.56141-1-detlev.casanova@collabora.com> <20240823150057.56141-8-detlev.casanova@collabora.com>
On Fri, Aug 23, 2024 at 10:52:34AM -0400, Detlev Casanova wrote:
> The device is compatible with rk3588, so add an entry for the 2
> compatibles together.
>
> The rk3576 device has a power-domain that needs to be on for the eMMC to
> be used. Add it as a requirement.
>
> Signed-off-by: Detlev Casanova <detlev.casanova@xxxxxxxxxxxxx>
> ---
> .../bindings/mmc/snps,dwcmshc-sdhci.yaml | 32 +++++++++++++------
> 1 file changed, 23 insertions(+), 9 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
> index 4d3031d9965f3..7d5e388587027 100644
> --- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
> +++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
> @@ -12,16 +12,29 @@ maintainers:
>
> allOf:
> - $ref: mmc-controller.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: rockchip,rk3576-dwcmshc
> + then:
> + properties:
> + power-domains:
> + minItems: 1
Plaese move the allOf: after the required: block. It grows too much with
such if:then: and that's not the most important part of binding we need
to see first.
With above change:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof
[Index of Archives]
[Linux Kernel]
[Linux ARM (vger)]
[Linux ARM MSM]
[Linux Omap]
[Linux Arm]
[Linux Tegra]
[Fedora ARM]
[Linux for Samsung SOC]
[eCos]
[Linux Fastboot]
[Gcc Help]
[Git]
[DCCP]
[IETF Announce]
[Security]
[Linux MIPS]
[Yosemite Campsites]
|