[PATCH] dt-bindings: arm: mediatek: audsys: fix formatting issues

From: Louis-Alexis Eyraud

Date: Tue Mar 03 2026 - 07:09:57 EST


Fix indentation and drop duplicate newline to resolve the following
'make dt_binding_check' warnings:
```
./Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml:52:2:
[warning] wrong indentation: expected 2 but found 1 (indentation)
./Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml:84:1:
[warning] too many blank lines (2 > 1) (empty-lines)
```

Fixes: a8e3d66ff5c0 ("dt-bindings: arm: mediatek: audsys: Support mt8192-audsys variant")
Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx>
---
.../bindings/arm/mediatek/mediatek,audsys.yaml | 63 +++++++++++-----------
1 file changed, 31 insertions(+), 32 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml
index 09a6c16e7e8299c5a271df24f18f7a585046a7c9..9aa39b002361d9f6fbaacae5823b3a811a0043ca 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.yaml
@@ -49,38 +49,37 @@ required:
- '#clock-cells'

allOf:
- - if:
- properties:
- compatible:
- contains:
- enum:
- - mediatek,mt2701-audsys
- - mediatek,mt7622-audsys
- then:
- properties:
- audio-controller:
- $ref: /schemas/sound/mediatek,mt2701-audio.yaml#
-
- - if:
- properties:
- compatible:
- contains:
- const: mediatek,mt8183-audiosys
- then:
- properties:
- audio-controller:
- $ref: /schemas/sound/mediatek,mt8183-audio.yaml#
-
- - if:
- properties:
- compatible:
- contains:
- const: mediatek,mt8192-audsys
- then:
- properties:
- audio-controller:
- $ref: /schemas/sound/mt8192-afe-pcm.yaml#
-
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - mediatek,mt2701-audsys
+ - mediatek,mt7622-audsys
+ then:
+ properties:
+ audio-controller:
+ $ref: /schemas/sound/mediatek,mt2701-audio.yaml#
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: mediatek,mt8183-audiosys
+ then:
+ properties:
+ audio-controller:
+ $ref: /schemas/sound/mediatek,mt8183-audio.yaml#
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: mediatek,mt8192-audsys
+ then:
+ properties:
+ audio-controller:
+ $ref: /schemas/sound/mt8192-afe-pcm.yaml#

additionalProperties: false


---
base-commit: 9fad1d148df6f36105159c2503d0ecb1397bc89a
change-id: 20260303-mtk-audsys-dtbinding-check-warnings-a1a92e0ba312

Best regards,
--
Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx>