Skip to contentSkip to conversation

dt-bindings: net: fsl,fman: allow dma-coherence property

PATCH Superseded Frank Li 2 participants 3 messages Jul 1, 2024 – Jul 3, 2024

Subsystems (5)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH v2 1/2 dt-bindings: net: fsl,fman: allow dma-coherence property

Add dma-coherence 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#

---
Change from v1 to v2
- Fix paste wrong warning mesg.

---
 Documentation/devicetree/bindings/net/fsl,fman.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/net/fsl,fman.yaml +2 -0
index 7908f67413dea..f0261861f3cb2 100644
@@ -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:
Signature · 1 line
2.34.1
author maintainer
#1 lore raw

PATCH v2 2/2 dt-bindings: net: fsl,fman: add ptimer-handle property

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

---
Change from v1 to v2
- Add Rob's review tag

---
 Documentation/devicetree/bindings/net/fsl,fman.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/net/fsl,fman.yaml +4 -0
index f0261861f3cb2..9bbf39ef31a25 100644
@@ -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:
Signature · 1 line
2.34.1
maintainer
#2 lore raw
In reply to Frank Li
Quoted 1 line · On Mon, 1 Jul 2024 16:14:47 -0400 Frank Li wrote:

- Fix paste wrong warning mesg.

Pretty sure Rob had another comment.

Signature · 2 lines
pv-bot: feedback
pw-bot: cr