From: Andre Przywara <andre.przywara@arm.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Ulf Hansson <ulf.hansson@linaro.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-mmc@vger.kernel.org
Subject: [PATCH 01/14] dt-bindings: mmc: sunxi: Simplify compatible string listing
Date: Mon, 11 Nov 2024 01:30:20 +0000 [thread overview]
Message-ID: <20241111013033.22793-2-andre.przywara@arm.com> (raw)
In-Reply-To: <20241111013033.22793-1-andre.przywara@arm.com>
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@arm.com>
---
.../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.2
next prev parent reply other threads:[~2024-11-11 1:34 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-11 1:30 [PATCH 00/14] arm64: dts: allwinner: Add basic Allwinner A523 support Andre Przywara
2024-11-11 1:30 ` Andre Przywara [this message]
2024-11-11 20:34 ` [PATCH 01/14] dt-bindings: mmc: sunxi: Simplify compatible string listing Conor Dooley
2024-11-11 1:30 ` [PATCH 02/14] dt-bindings: mmc: sunxi: add compatible strings for Allwinner A523 Andre Przywara
2024-11-11 20:35 ` Conor Dooley
2024-11-11 1:30 ` [PATCH 03/14] dt-bindings: watchdog: sunxi: add Allwinner A523 compatible string Andre Przywara
2024-11-11 20:35 ` Conor Dooley
2025-01-18 11:47 ` Jernej Škrabec
2024-11-11 1:30 ` [PATCH 04/14] watchdog: sunxi_wdt: Add support for Allwinner A523 Andre Przywara
2025-01-18 11:45 ` Jernej Škrabec
2024-11-11 1:30 ` [PATCH 05/14] dt-bindings: i2c: mv64xxx: Add Allwinner A523 compatible string Andre Przywara
2024-11-11 20:36 ` Conor Dooley
2024-11-18 23:07 ` Andi Shyti
2024-11-11 1:30 ` [PATCH 06/14] dt-bindings: irq: sun7i-nmi: document the Allwinner A523 NMI controller Andre Przywara
2025-01-18 13:17 ` Jernej Škrabec
2024-11-11 1:30 ` [PATCH 07/14] dt-bindings: phy: document Allwinner A523 USB-2.0 PHY Andre Przywara
2024-11-11 20:38 ` Conor Dooley
2024-11-11 1:30 ` [PATCH 08/14] dt-bindings: usb: sunxi-musb: add Allwinner A523 compatible string Andre Przywara
2024-11-11 20:38 ` Conor Dooley
2024-11-11 1:30 ` [PATCH 09/14] dt-bindings: usb: add A523 compatible string for EHCI and OCHI Andre Przywara
2024-11-11 20:38 ` Conor Dooley
2024-11-11 1:30 ` [PATCH 10/14] dt-bindings: rtc: sun6i: Add Allwinner A523 support Andre Przywara
2024-11-11 20:39 ` Conor Dooley
2024-11-11 20:49 ` (subset) " Alexandre Belloni
2024-11-11 1:30 ` [PATCH 11/14] arm64: dts: allwinner: Add Allwinner A523 .dtsi file Andre Przywara
2025-01-18 16:28 ` Jernej Škrabec
2024-11-11 1:30 ` [PATCH 12/14] dt-bindings: vendor-prefixes: Add YuzukiHD name Andre Przywara
2024-11-11 20:39 ` Conor Dooley
2024-11-11 1:30 ` [PATCH 13/14] dt-bindings: arm: sunxi: Add Avaota A1 board Andre Przywara
2024-11-11 20:39 ` Conor Dooley
2024-11-11 1:30 ` [PATCH 14/14] arm64: dts: allwinner: a523: add Avaota-A1 router support Andre Przywara
2024-11-11 15:32 ` [PATCH 00/14] arm64: dts: allwinner: Add basic Allwinner A523 support Rob Herring (Arm)
2024-11-11 17:42 ` Andre Przywara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241111013033.22793-2-andre.przywara@arm.com \
--to=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=ulf.hansson@linaro.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox