devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property
@ 2024-06-28 21:37 Frank Li
  2024-06-28 21:37 ` [PATCH 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property Frank Li
  2024-07-01 17:26 ` [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Frank Li @ 2024-06-28 21:37 UTC (permalink / raw)
  To: Madalin Bucur, Sean Anderson, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, open list:FREESCALE QORIQ DPAA FMAN DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list
  Cc: imx

Add dma-coherence property to fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: dma-controller@8380000: '#dma-cells' is a required property
        from schema $id: http://devicetree.org/schemas/dma/fsl-qdma.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/net/fsl,fman.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/fsl,fman.yaml b/Documentation/devicetree/bindings/net/fsl,fman.yaml
index 7908f67413dea..f0261861f3cb2 100644
--- a/Documentation/devicetree/bindings/net/fsl,fman.yaml
+++ b/Documentation/devicetree/bindings/net/fsl,fman.yaml
@@ -78,6 +78,8 @@ properties:
       - description: The first element is associated with the event interrupts.
       - description: the second element is associated with the error interrupts.
 
+  dma-coherent: true
+
   fsl,qman-channel-range:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     description:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property
  2024-06-28 21:37 [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property Frank Li
@ 2024-06-28 21:37 ` Frank Li
  2024-07-01 17:27   ` Rob Herring (Arm)
  2024-07-01 17:26 ` [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property Rob Herring
  1 sibling, 1 reply; 4+ messages in thread
From: Frank Li @ 2024-06-28 21:37 UTC (permalink / raw)
  To: Madalin Bucur, Sean Anderson, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Richard Cochran,
	open list:FREESCALE QORIQ DPAA FMAN DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list
  Cc: imx

Add ptimer-handle property to link to ptp-timer node handle.
Fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: fman@1a00000: 'ptimer-handle' do not match any of the regexes: '^ethernet@[a-f0-9]+$', '^mdio@[a-f0-9]+$', '^muram@[a-f0-9]+$', '^phc@[a-f0-9]+$', '^port@[a-f0-9]+$', 'pinctrl-[0-9]+'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/net/fsl,fman.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/fsl,fman.yaml b/Documentation/devicetree/bindings/net/fsl,fman.yaml
index f0261861f3cb2..9bbf39ef31a25 100644
--- a/Documentation/devicetree/bindings/net/fsl,fman.yaml
+++ b/Documentation/devicetree/bindings/net/fsl,fman.yaml
@@ -80,6 +80,10 @@ properties:
 
   dma-coherent: true
 
+  ptimer-handle:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description: see ptp/fsl,ptp.yaml
+
   fsl,qman-channel-range:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     description:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property
  2024-06-28 21:37 [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property Frank Li
  2024-06-28 21:37 ` [PATCH 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property Frank Li
@ 2024-07-01 17:26 ` Rob Herring
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2024-07-01 17:26 UTC (permalink / raw)
  To: Frank Li
  Cc: Madalin Bucur, Sean Anderson, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Krzysztof Kozlowski, Conor Dooley,
	open list:FREESCALE QORIQ DPAA FMAN DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx

On Fri, Jun 28, 2024 at 05:37:10PM -0400, Frank Li wrote:
> Add dma-coherence property to fix below warning.

'dma-coherent property' or 'DMA coherence property'.

> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: dma-controller@8380000: '#dma-cells' is a required property

That doesn't look related...

>         from schema $id: http://devicetree.org/schemas/dma/fsl-qdma.yaml#
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/net/fsl,fman.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/fsl,fman.yaml b/Documentation/devicetree/bindings/net/fsl,fman.yaml
> index 7908f67413dea..f0261861f3cb2 100644
> --- a/Documentation/devicetree/bindings/net/fsl,fman.yaml
> +++ b/Documentation/devicetree/bindings/net/fsl,fman.yaml
> @@ -78,6 +78,8 @@ properties:
>        - description: The first element is associated with the event interrupts.
>        - description: the second element is associated with the error interrupts.
>  
> +  dma-coherent: true
> +
>    fsl,qman-channel-range:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
>      description:
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property
  2024-06-28 21:37 ` [PATCH 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property Frank Li
@ 2024-07-01 17:27   ` Rob Herring (Arm)
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2024-07-01 17:27 UTC (permalink / raw)
  To: Frank Li
  Cc: Conor Dooley, Jakub Kicinski, Madalin Bucur, Sean Anderson,
	netdev, Krzysztof Kozlowski, linux-kernel, Richard Cochran,
	David S. Miller, devicetree, imx, Paolo Abeni, Eric Dumazet


On Fri, 28 Jun 2024 17:37:11 -0400, Frank Li wrote:
> Add ptimer-handle property to link to ptp-timer node handle.
> Fix below warning:
> arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: fman@1a00000: 'ptimer-handle' do not match any of the regexes: '^ethernet@[a-f0-9]+$', '^mdio@[a-f0-9]+$', '^muram@[a-f0-9]+$', '^phc@[a-f0-9]+$', '^port@[a-f0-9]+$', 'pinctrl-[0-9]+'
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/net/fsl,fman.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-01 17:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28 21:37 [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property Frank Li
2024-06-28 21:37 ` [PATCH 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property Frank Li
2024-07-01 17:27   ` Rob Herring (Arm)
2024-07-01 17:26 ` [PATCH 1/2] dt-bindings: net: fsl,fman: allow dma-coherence property Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).