2024-01-03 17:28:32

by Elad Nachman

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: mmc: add Marvell ac5

From: Elad Nachman <[email protected]>

Add dt bindings for Marvell AC5/X/IM eMMC controller.
This compatibility string covers the differences in the
AC5/X version of the driver: 31-bit bus limitation and
DDR memory starting at address 0x2_0000_0000, which are handled
by usage of a bounce buffer plus a different DMA mask.

Signed-off-by: Elad Nachman <[email protected]>
---
.../devicetree/bindings/mmc/marvell,xenon-sdhci.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
index 3a8e74894ae0..cfe6237716f4 100644
--- a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
@@ -27,7 +27,9 @@ properties:
- marvell,armada-ap806-sdhci

- items:
- - const: marvell,armada-ap807-sdhci
+ - enum:
+ - marvell,armada-ap807-sdhci
+ - marvell,ac5-sdhci
- const: marvell,armada-ap806-sdhci

- items:
--
2.25.1



2024-01-04 07:38:01

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: mmc: add Marvell ac5

On 03/01/2024 18:28, Elad Nachman wrote:
> From: Elad Nachman <[email protected]>
>
> Add dt bindings for Marvell AC5/X/IM eMMC controller.
> This compatibility string covers the differences in the
> AC5/X version of the driver: 31-bit bus limitation and
> DDR memory starting at address 0x2_0000_0000, which are handled
> by usage of a bounce buffer plus a different DMA mask.
>
> Signed-off-by: Elad Nachman <[email protected]>
> ---
> .../devicetree/bindings/mmc/marvell,xenon-sdhci.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
> index 3a8e74894ae0..cfe6237716f4 100644
> --- a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
> +++ b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
> @@ -27,7 +27,9 @@ properties:
> - marvell,armada-ap806-sdhci
>
> - items:
> - - const: marvell,armada-ap807-sdhci
> + - enum:
> + - marvell,armada-ap807-sdhci
> + - marvell,ac5-sdhci

Order entries alphabetically if there is going to be resend/new version.

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof


2024-01-05 10:20:05

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: mmc: add Marvell ac5

On Wed, 3 Jan 2024 at 18:28, Elad Nachman <[email protected]> wrote:
>
> From: Elad Nachman <[email protected]>
>
> Add dt bindings for Marvell AC5/X/IM eMMC controller.
> This compatibility string covers the differences in the
> AC5/X version of the driver: 31-bit bus limitation and
> DDR memory starting at address 0x2_0000_0000, which are handled
> by usage of a bounce buffer plus a different DMA mask.
>
> Signed-off-by: Elad Nachman <[email protected]>

Applied for next, thanks!

Kind regards
Uffe




> ---
> .../devicetree/bindings/mmc/marvell,xenon-sdhci.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
> index 3a8e74894ae0..cfe6237716f4 100644
> --- a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
> +++ b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
> @@ -27,7 +27,9 @@ properties:
> - marvell,armada-ap806-sdhci
>
> - items:
> - - const: marvell,armada-ap807-sdhci
> + - enum:
> + - marvell,armada-ap807-sdhci
> + - marvell,ac5-sdhci
> - const: marvell,armada-ap806-sdhci
>
> - items:
> --
> 2.25.1
>