[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPDyKFpFgNjy+Tu7ZKB05m55HAf5RQ+AFPgk+6Q8_g1xu0akng@mail.gmail.com>
Date: Wed, 12 Mar 2025 12:24:59 +0100
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Andre Przywara <andre.przywara@....com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>, Samuel Holland <samuel@...lland.org>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-mmc@...r.kernel.org, Conor Dooley <conor.dooley@...rochip.com>
Subject: Re: [PATCH v3 01/15] dt-bindings: mmc: sunxi: Simplify compatible
string listing
On Fri, 7 Mar 2025 at 01:57, Andre Przywara <andre.przywara@....com> wrote:
>
> New Allwinner SoCs only occasionally update their MMC IP, leading to many
> pairs of compatible strings, though there are sometimes a number of them
> being compatible with one particular SoC.
>
> Collate the compatible string listing in the binding, to group those
> being compatible together. This makes the list more readable, and allows
> for easier addition of new SoC's MMC devices.
>
> Signed-off-by: Andre Przywara <andre.przywara@....com>
> Acked-by: Conor Dooley <conor.dooley@...rochip.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> .../bindings/mmc/allwinner,sun4i-a10-mmc.yaml | 36 ++++++++-----------
> 1 file changed, 14 insertions(+), 22 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
> index 0ccd632d56200..8e4c77b7e4ab9 100644
> --- a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
> @@ -30,38 +30,30 @@ properties:
> - const: allwinner,sun50i-a100-emmc
> - const: allwinner,sun50i-a100-mmc
> - items:
> - - const: allwinner,sun8i-a83t-mmc
> + - enum:
> + - allwinner,sun8i-a83t-mmc
> + - allwinner,suniv-f1c100s-mmc
> - const: allwinner,sun7i-a20-mmc
> - items:
> - - const: allwinner,sun8i-r40-emmc
> + - enum:
> + - allwinner,sun8i-r40-emmc
> + - allwinner,sun50i-h5-emmc
> + - allwinner,sun50i-h6-emmc
> - const: allwinner,sun50i-a64-emmc
> - items:
> - - const: allwinner,sun8i-r40-mmc
> + - enum:
> + - allwinner,sun8i-r40-mmc
> + - allwinner,sun50i-h5-mmc
> + - allwinner,sun50i-h6-mmc
> - const: allwinner,sun50i-a64-mmc
> - items:
> - - const: allwinner,sun50i-h5-emmc
> - - const: allwinner,sun50i-a64-emmc
> - - items:
> - - const: allwinner,sun50i-h5-mmc
> - - const: allwinner,sun50i-a64-mmc
> - - items:
> - - const: allwinner,sun50i-h6-emmc
> - - const: allwinner,sun50i-a64-emmc
> - - items:
> - - const: allwinner,sun50i-h6-mmc
> - - const: allwinner,sun50i-a64-mmc
> - - items:
> - - const: allwinner,sun20i-d1-emmc
> - - const: allwinner,sun50i-a100-emmc
> - - items:
> - - const: allwinner,sun50i-h616-emmc
> + - enum:
> + - allwinner,sun20i-d1-emmc
> + - allwinner,sun50i-h616-emmc
> - const: allwinner,sun50i-a100-emmc
> - items:
> - const: allwinner,sun50i-h616-mmc
> - const: allwinner,sun50i-a100-mmc
> - - items:
> - - const: allwinner,suniv-f1c100s-mmc
> - - const: allwinner,sun7i-a20-mmc
>
> reg:
> maxItems: 1
> --
> 2.46.3
>
Powered by blists - more mailing lists