dt-bindings: arm: mediatek: convert audsys to yaml
Subsystems (2)
PATCH v2 1/1 dt-bindings: arm: mediatek: convert audsys to yaml
Convert the mediatek,audsys binding to YAML.
---
Changes in v2:
- remove comment reference to inexistent binding
.../bindings/arm/mediatek/mediatek,audsys.txt | 39 ----------- .../arm/mediatek/mediatek,audsys.yaml | 65 +++++++++++++++++++ 2 files changed, 65 insertions(+), 39 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.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 +65 -0
65 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 6 lines · Eugen Hristev
Convert the mediatek,audsys binding to YAML.
Signed-off-by Eugen Hristev <[email protected]>---
Changes in v2:
- remove comment reference to inexistent binding
This is a friendly reminder during the review process.
It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577
If a tag was not added on purpose, please state why and what changed.
...
Quoted 11 lines
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml new file +11
-0+ + audio-controller: + type: object + +required: + - compatible + - reg + +additionalProperties: false + +examples:
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml line 62
Quoted 10 lines
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml new file +10
-0+ - | + soc { + #address-cells = <2>; + #size-cells = <2>; + audsys: clock-controller@11220000 { + compatible = "mediatek,mt7622-audsys", "syscon"; + reg = <0 0x11220000 0 0x2000>; + #clock-cells = <1>; + + audio-controller {
The binding and example are incomplete. This should be sent together with the afe conversion.
Best regards,
Krzysztof