diff mbox series

dt-bindings: net: renesas,ether: Add iommus property

Message ID 2ca890323477a21c22e13f6a1328288f4ee816f9.1729868894.git.geert+renesas@glider.be (mailing list archive)
State New
Delegated to: Netdev Maintainers
Headers show
Series dt-bindings: net: renesas,ether: Add iommus property | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Geert Uytterhoeven Oct. 25, 2024, 3:12 p.m. UTC
make dtbs_check:

    arch/arm64/boot/dts/renesas/r8a77980-condor.dtb: ethernet@e7400000: 'iommus' does not match any of the regexes: '@[0-9a-f]$', 'pinctrl-[0-9]+'
	    from schema $id: http://devicetree.org/schemas/net/renesas,ether.yaml#

Ethernet Controllers on R-Car Gen2/Gen3 SoCs can make use of the IOMMU,
so add the missing iommus property.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 Documentation/devicetree/bindings/net/renesas,ether.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Niklas Söderlund Oct. 25, 2024, 3:39 p.m. UTC | #1
Hi Geert,

Thanks for your work.

On 2024-10-25 17:12:24 +0200, Geert Uytterhoeven wrote:
> make dtbs_check:
> 
>     arch/arm64/boot/dts/renesas/r8a77980-condor.dtb: ethernet@e7400000: 'iommus' does not match any of the regexes: '@[0-9a-f]$', 'pinctrl-[0-9]+'
> 	    from schema $id: http://devicetree.org/schemas/net/renesas,ether.yaml#
> 
> Ethernet Controllers on R-Car Gen2/Gen3 SoCs can make use of the IOMMU,
> so add the missing iommus property.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
>  Documentation/devicetree/bindings/net/renesas,ether.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/renesas,ether.yaml b/Documentation/devicetree/bindings/net/renesas,ether.yaml
> index 29355ab98569daf6..d6c5983499b87d64 100644
> --- a/Documentation/devicetree/bindings/net/renesas,ether.yaml
> +++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml
> @@ -59,6 +59,9 @@ properties:
>    clocks:
>      maxItems: 1
>  
> +  iommus:
> +    maxItems: 1
> +
>    power-domains:
>      maxItems: 1
>  
> -- 
> 2.34.1
>
Sergei Shtylyov Oct. 25, 2024, 7:10 p.m. UTC | #2
On 10/25/24 6:12 PM, Geert Uytterhoeven wrote:

> make dtbs_check:
> 
>     arch/arm64/boot/dts/renesas/r8a77980-condor.dtb: ethernet@e7400000: 'iommus' does not match any of the regexes: '@[0-9a-f]$', 'pinctrl-[0-9]+'
> 	    from schema $id: http://devicetree.org/schemas/net/renesas,ether.yaml#
> 
> Ethernet Controllers on R-Car Gen2/Gen3 SoCs can make use of the IOMMU,
> so add the missing iommus property.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Sergei Shtylyov <sergei.shtylyov@gmail.com>

[...]

MBR, Sergey
Rob Herring Oct. 27, 2024, 10:58 p.m. UTC | #3
On Fri, 25 Oct 2024 17:12:24 +0200, Geert Uytterhoeven wrote:
> make dtbs_check:
> 
>     arch/arm64/boot/dts/renesas/r8a77980-condor.dtb: ethernet@e7400000: 'iommus' does not match any of the regexes: '@[0-9a-f]$', 'pinctrl-[0-9]+'
> 	    from schema $id: http://devicetree.org/schemas/net/renesas,ether.yaml#
> 
> Ethernet Controllers on R-Car Gen2/Gen3 SoCs can make use of the IOMMU,
> so add the missing iommus property.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  Documentation/devicetree/bindings/net/renesas,ether.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

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

Patch

diff --git a/Documentation/devicetree/bindings/net/renesas,ether.yaml b/Documentation/devicetree/bindings/net/renesas,ether.yaml
index 29355ab98569daf6..d6c5983499b87d64 100644
--- a/Documentation/devicetree/bindings/net/renesas,ether.yaml
+++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml
@@ -59,6 +59,9 @@  properties:
   clocks:
     maxItems: 1
 
+  iommus:
+    maxItems: 1
+
   power-domains:
     maxItems: 1