.../bindings/arm/mediatek/mediatek,audsys.yaml | 63 +++++++++++----------- 1 file changed, 31 insertions(+), 32 deletions(-)
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@collabora.com>
---
.../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@collabora.com>
On Tue, 03 Mar 2026 12:58:05 +0100, Louis-Alexis Eyraud wrote:
> 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)
> ```
>
> [...]
Applied to v7.0-next/dts64, thanks!
[1/1] dt-bindings: arm: mediatek: audsys: fix formatting issues
commit: 67549df87fff2a3dc7639439e4aff128b814f109
Cheers,
Angelo
Acked-by: Conor Dooley <conor.dooley@microchip.com> pw-bot: not-applicable
Il 03/03/26 12:58, Louis-Alexis Eyraud ha scritto:
> 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@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
© 2016 - 2026 Red Hat, Inc.