Thread (1 message) 1 message, 1 author, 2023-02-14

Re: [RFC PATCH] dt-bindings: dma: apple,sio: Add schema

flat view

From: Rob Herring <robh@kernel.org>
Date: 2023-02-14 19:20:07
Also in: asahi, dmaengine, lkml

On Tue, Feb 14, 2023 at 10:12:34AM -0600, Rob Herring wrote:
On Tue, 14 Feb 2023 15:10:53 +0100, Martin Povišer wrote:
quoted
Describe the SIO coprocessor which serves as pretend DMA controller on
recent Apple platforms.

Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
---

Since the schema mentions a loader preparing the binding appropriately,
here's a PR with the relevant (WIP) loader code, if anyone wants to look:
https://github.com/AsahiLinux/m1n1/pull/286

 .../devicetree/bindings/dma/apple,sio.yaml    | 129 ++++++++++++++++++
 1 file changed, 129 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/apple,sio.yaml
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/dma/apple,sio.example.dts:24.35-27.11: Warning (node_name_vs_property_name): /example-0/interrupt-controller: node name and property name conflict
This is a quirk with how the examples are constructed. In any case, just 
drop the 'interrupt-controller' node. No need to show providers in an 
example.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help