diff mbox series

[v3,02/15] dt-bindings: mmc: Add support for rk3562 eMMC

Message ID 20250227111913.2344207-3-kever.yang@rock-chips.com
State New
Headers show
Series None | expand

Commit Message

Kever Yang Feb. 27, 2025, 11:19 a.m. UTC
The eMMC core on Rockchip's RK3562 is the same as the one already
included in RK3588. Extend the binding accordingly to allow

	compatible = "rockchip,rk3562-dwcmshc", "rockchip,rk3588-dwcmshc";

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

Changes in v3:
- Updae to fix dt_binding_check fail

Changes in v2: None

 Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Rob Herring Feb. 28, 2025, 8:15 p.m. UTC | #1
On Thu, 27 Feb 2025 19:19:00 +0800, Kever Yang wrote:
> The eMMC core on Rockchip's RK3562 is the same as the one already
> included in RK3588. Extend the binding accordingly to allow
> 
> 	compatible = "rockchip,rk3562-dwcmshc", "rockchip,rk3588-dwcmshc";
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
> 
> Changes in v3:
> - Updae to fix dt_binding_check fail
> 
> Changes in v2: None
> 
>  Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
index c3d5e0230af1..2d5c9931f623 100644
--- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
@@ -14,7 +14,9 @@  properties:
   compatible:
     oneOf:
       - items:
-          - const: rockchip,rk3576-dwcmshc
+          - enum:
+              - rockchip,rk3562-dwcmshc
+              - rockchip,rk3576-dwcmshc
           - const: rockchip,rk3588-dwcmshc
       - enum:
           - rockchip,rk3568-dwcmshc