public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property
@ 2024-07-08 18:09 Frank Li
  2024-07-08 18:09 ` [PATCH v4 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property Frank Li
  2024-07-09 19:02 ` [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Li @ 2024-07-08 18:09 UTC (permalink / raw)
  To: robh
  Cc: Frank.Li, conor+dt, davem, devicetree, edumazet, imx, krzk+dt,
	kuba, linux-kernel, madalin.bucur, netdev, pabeni, sean.anderson

Add dma-coherent property to fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb: fman@1a00000: 'dma-coherent', '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]+'
	from schema $id: http://devicetree.org/schemas/net/fsl,fman.yaml#

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change from v3 to v4
- Fix title with dma-coherent
- Add rob's review tag
Change from v2 to v3
- Fix missed one rob's comments about 'dma-coherent property' in commit
message.
Change from v1 to v2
- Fix paste wrong warning mesg.
---
 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] 3+ messages in thread

* [PATCH v4 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property
  2024-07-08 18:09 [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property Frank Li
@ 2024-07-08 18:09 ` Frank Li
  2024-07-09 19:02 ` [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Li @ 2024-07-08 18:09 UTC (permalink / raw)
  To: robh
  Cc: Frank.Li, conor+dt, davem, devicetree, edumazet, imx, krzk+dt,
	kuba, linux-kernel, madalin.bucur, netdev, pabeni, sean.anderson

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]+'

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change from v2 to v4
- none
Change from v1 to v2
- Add Rob's review tag
---
 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] 3+ messages in thread

* Re: [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property
  2024-07-08 18:09 [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property Frank Li
  2024-07-08 18:09 ` [PATCH v4 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property Frank Li
@ 2024-07-09 19:02 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-07-09 19:02 UTC (permalink / raw)
  To: Frank Li
  Cc: robh, conor+dt, davem, devicetree, edumazet, imx, krzk+dt, kuba,
	linux-kernel, madalin.bucur, netdev, pabeni, sean.anderson

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon,  8 Jul 2024 14:09:48 -0400 you wrote:
> Add dma-coherent property to fix below warning.
> arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb: fman@1a00000: 'dma-coherent', '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]+'
> 	from schema $id: http://devicetree.org/schemas/net/fsl,fman.yaml#
> 
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> 
> [...]

Here is the summary with links:
  - [v4,1/2] dt-bindings: net: fsl,fman: allow dma-coherent property
    https://git.kernel.org/netdev/net-next/c/dd84d831ef27
  - [v4,2/2] dt-bindings: net: fsl,fman: add ptimer-handle property
    https://git.kernel.org/netdev/net-next/c/5618ced01979

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2024-07-09 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-08 18:09 [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property Frank Li
2024-07-08 18:09 ` [PATCH v4 2/2] dt-bindings: net: fsl,fman: add ptimer-handle property Frank Li
2024-07-09 19:02 ` [PATCH v4 1/2] dt-bindings: net: fsl,fman: allow dma-coherent property patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox