ASoC: dt-bindings: cdns: Convert xtfpga I2S to dt-schema
Subsystems (3)
PATCH v2 1/1 ASoC: dt-bindings: cdns: Convert xtfpga I2S to dt-schema
Convert the xtfpga I2S controller plain-text binding documentation to standard dt-schema (YAML).
The hardware requires exactly one memory region, one interrupt line, and one phandle to the master clock. Verified these constraints against the driver source in sound/soc/xtensa/xtfpga-i2s.c.
--- .../bindings/sound/cdns,xtfpga-i2s.txt | 18 ------- .../bindings/sound/cdns,xtfpga-i2s.yaml | 48 +++++++++++++++++++ 2 files changed, 48 insertions(+), 18 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt create mode 100644 Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.yaml
Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt deleted +0 -18
@@ -1,18 +0,0 @@ -Bindings for I2S controller built into xtfpga Xtensa bitstreams. - -Required properties: -- compatible: shall be "cdns,xtfpga-i2s". -- reg: memory region (address and length) with device registers. -- interrupts: interrupt for the device. -- clocks: phandle to the clk used as master clock. I2S bus clock - is derived from it. - -Examples: - - i2s0: xtfpga-i2s@d080000 { - #sound-dai-cells = <0>; - compatible = "cdns,xtfpga-i2s"; - reg = <0x0d080000 0x40>; - interrupts = <2 1>; - clocks = <&cdce706 4>; - };
Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.yaml new file +48 -0
48 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 2 lines · Chaitanya Sabnis
Convert the xtfpga I2S controller plain-text binding documentation to standard dt-schema (YAML).
Drop YAML references.
Quoted 4 lines
The hardware requires exactly one memory region, one interrupt line, and one phandle to the master clock. Verified these constraints against the driver source in
sound/soc/xtensa/xtfpga-i2s.c.
You changed the binding - added sound-dai-cells. This needs short explanation in the commit msg.
Quoted 3 lines
Reviewed-by Max Filippov <[email protected]>
There is no blank line between tags. Please use b4 to collect tags.
Quoted 1 line
Signed-off-by Chaitanya Sabnis <[email protected]>
Subject - s/cdns/cdns,xtfpga-i2s/. And then drop redundant parts. You are not changing here the cdns (cdns is a company), but a specific ONE file.
Best regards,
Krzysztof