dt-bindings: arm: mediatek: convert audsys and mt2701-afe-pcm to yaml
Subsystems (3)
PATCH v5 1/1 dt-bindings: arm: mediatek: convert audsys and mt2701-afe-pcm to yaml
Convert the mediatek,audsys binding to YAML, together with the associated binding bindings/sound/mt2701-afe-pcm.yaml .
---
Changes in v5:
- removed example for mt2701-audio
- renamed mt2701-afe-pcm to mt2701-audio
- added clock cells as required, removed reg from required, in audsys binding
- removed reference comment in mt2701-audio
- removed assigned clocks from mt2701-audio
Changes in v4:
- fix error reported by Rob's bot :./Documentation/devicetree/bindings/sound/mt2701-afe-pcm.yaml:11:4: [error] missing starting space in comment (comments)
Changes in v3:
- not added Rb Conor Dooley since the patch was changed in a big essence
- As per review by Krzysztof, also convert the mt2701-afe-pcm and reference the correct schema in the audsys binding.
Changes in v2:
- remove comment reference to inexistent binding
.../bindings/arm/mediatek/mediatek,audsys.txt | 39 ----- .../arm/mediatek/mediatek,audsys.yaml | 153 ++++++++++++++++++ .../bindings/sound/mt2701-afe-pcm.txt | 146 ----------------- .../bindings/sound/mt2701-audio.yaml | 117 ++++++++++++++ 4 files changed, 270 insertions(+), 185 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml delete mode 100644 Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt create mode 100644 Documentation/devicetree/bindings/sound/mt2701-audio.yaml
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt deleted +0 -39
@@ -1,39 +0,0 @@ -MediaTek AUDSYS controller -============================ - -The MediaTek AUDSYS controller provides various clocks to the system. - -Required Properties: - -- compatible: Should be one of: - - "mediatek,mt2701-audsys", "syscon" - - "mediatek,mt6765-audsys", "syscon" - - "mediatek,mt6779-audio", "syscon" - - "mediatek,mt7622-audsys", "syscon" - - "mediatek,mt7623-audsys", "mediatek,mt2701-audsys", "syscon" - - "mediatek,mt8167-audiosys", "syscon" - - "mediatek,mt8183-audiosys", "syscon" - - "mediatek,mt8192-audsys", "syscon" - - "mediatek,mt8516-audsys", "syscon" -- #clock-cells: Must be 1 - -The AUDSYS controller uses the common clk binding from -Documentation/devicetree/bindings/clock/clock-bindings.txt -The available clocks are defined in dt-bindings/clock/mt*-clk.h. - -Required sub-nodes: -------- -For common binding part and usage, refer to -../sonud/mt2701-afe-pcm.txt. - -Example: - - audsys: clock-controller@11220000 { - compatible = "mediatek,mt7622-audsys", "syscon"; - reg = <0 0x11220000 0 0x2000>; - #clock-cells = <1>; - - afe: audio-controller { - ... - }; - };
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml new file +153 -0
153 lines not on this page · raw message
Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt deleted +0 -146
146 lines not on this page · raw message
Documentation/devicetree/bindings/sound/mt2701-audio.yaml new file +117 -0
117 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 21 lines · Eugen Hristev
Convert the mediatek,audsys binding to YAML, together with the associated binding
bindings/sound/mt2701-afe-pcm.yaml.Signed-off-by Eugen Hristev <[email protected]>---
Changes in v5:
- removed example for mt2701-audio
- renamed mt2701-afe-pcm to mt2701-audio
- added clock cells as required, removed reg from required, in audsys binding
- removed reference comment in mt2701-audio
- removed assigned clocks from mt2701-audioChanges in v4:
- fix error reported by Rob's bot :./Documentation/devicetree/bindings/sound/mt2701-afe-pcm.yaml:11:4: [error] missing starting space in comment (comments)Changes in v3:
- not added Rb Conor Dooley since the patch was changed in a big essence
- As per review by Krzysztof, also convert the mt2701-afe-pcm and reference the correct schema in the audsys binding.
Quoted 8 lines
Changes in v2:
- remove comment reference to inexistent binding.../bindings/arm/mediatek/mediatek,audsys.txt | 39 ----- .../arm/mediatek/mediatek,audsys.yaml | 153 ++++++++++++++++++ .../bindings/sound/mt2701-afe-pcm.txt | 146 ----------------- .../bindings/sound/mt2701-audio.yaml | 117 ++++++++++++++
mediatek,mt2701-audio.yaml
With that,