2022-08-31 23:04:19

by Prabhakar Mahadev Lad

[permalink] [raw]
Subject: [PATCH v2] dt-bindings: mmc: renesas,sdhi: Add iommus property

The SDHI blocks on Renesas R-Car and RZ/G2 SoCs make use of IOMMU.

This patch fixes the below dtbs_check warnings:
arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-idk-1110wr.dtb: mmc@ee100000: Unevaluated properties are not allowed ('iommus' was unexpected)
From schema: Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml

Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
---
v1->v2
* Moved the iommus property after dma-names
* Updated commit message
* Included RB tag from Geert

v1: https://lore.kernel.org/lkml/[email protected]/T/
---
Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
index 3ea94d842c33..79dcd5f16a42 100644
--- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
+++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
@@ -89,6 +89,9 @@ properties:
- tx
- rx

+ iommus:
+ maxItems: 1
+
power-domains:
maxItems: 1

--
2.25.1


2022-09-01 08:15:20

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: mmc: renesas,sdhi: Add iommus property

On 01/09/2022 00:43, Lad Prabhakar wrote:
> The SDHI blocks on Renesas R-Car and RZ/G2 SoCs make use of IOMMU.
>
> This patch fixes the below dtbs_check warnings:
> arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-idk-1110wr.dtb: mmc@ee100000: Unevaluated properties are not allowed ('iommus' was unexpected)
> From schema: Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
>
> Signed-off-by: Lad Prabhakar <[email protected]>
> Reviewed-by: Geert Uytterhoeven <[email protected]>
> ---


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


Best regards,
Krzysztof

2022-09-01 11:32:39

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: mmc: renesas,sdhi: Add iommus property

On Wed, 31 Aug 2022 at 23:43, Lad Prabhakar
<[email protected]> wrote:
>
> The SDHI blocks on Renesas R-Car and RZ/G2 SoCs make use of IOMMU.
>
> This patch fixes the below dtbs_check warnings:
> arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-idk-1110wr.dtb: mmc@ee100000: Unevaluated properties are not allowed ('iommus' was unexpected)
> From schema: Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
>
> Signed-off-by: Lad Prabhakar <[email protected]>
> Reviewed-by: Geert Uytterhoeven <[email protected]>

Applied for next, thanks!

Kind regards
Uffe


> ---
> v1->v2
> * Moved the iommus property after dma-names
> * Updated commit message
> * Included RB tag from Geert
>
> v1: https://lore.kernel.org/lkml/[email protected]/T/
> ---
> Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
> index 3ea94d842c33..79dcd5f16a42 100644
> --- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
> +++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
> @@ -89,6 +89,9 @@ properties:
> - tx
> - rx
>
> + iommus:
> + maxItems: 1
> +
> power-domains:
> maxItems: 1
>
> --
> 2.25.1
>