dt-bindings: arm: mediatek: convert audsys to yaml
Subsystems (2)
PATCH 1/1 dt-bindings: arm: mediatek: convert audsys to yaml
Convert the mediatek,audsys binding to YAML.
---
Ref to /schemas/sound/mt2701-afe-pcm.yaml added as informative only because that schema has not been converted yet
.../bindings/arm/mediatek/mediatek,audsys.txt | 39 ----------- .../arm/mediatek/mediatek,audsys.yaml | 66 +++++++++++++++++++ 2 files changed, 66 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 +66 -0
66 lines not on this page · raw message
Signature · 1 line
2.34.1
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml line 45
Quoted 3 lines · Eugen Hristev
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml new file +3
-0+ audio-controller: + # $ref: /schemas/sound/mt2701-afe-pcm.yaml# + type: object
Other than this "informative" reference, which really feels like it should be a second patch in a series with this one, this looks good to me. You can add a
when the reference is a real one.
Quoted 10 lines · Conor Dooley
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml line 45
Quoted 3 lines · Eugen Hristev
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml new file +3
-0+ audio-controller: + # $ref: /schemas/sound/mt2701-afe-pcm.yaml# + type: objectOther than this "informative" reference, which really feels like it should be a second patch in a series with this one, this looks good to me. You can add a
Reviewed-by Conor Dooley <[email protected]>when the reference is a real one.
For the record - this wasn't tested, so even though patch was reviewed, should not be applied till it is tested.
Best regards,
Krzysztof
Quoted 7 lines · Eugen Hristev
Convert the mediatek,audsys binding to YAML.
Signed-off-by Eugen Hristev <[email protected]>---
Ref to /schemas/sound/mt2701-afe-pcm.yaml added as informative only because that schema has not been converted yet
Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.
You missed at least DT list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time, thus I will skip this patch entirely till you follow the process allowing the patch to be tested.
Please kindly resend and include all necessary To/Cc entries.
Best regards,
Krzysztof