Files
linux/Documentation/devicetree/bindings/sound/mediatek,mt7986-wm8960.yaml
Krzysztof Kozlowski 6256628ee8 ASoC: dt-bindings: mediatek: Adjust style of blocks placement
Convention expressed in example-schema.yaml is to place
"unevaluatedProperties" part just before example.  No functional change.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260325110849.127051-4-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-03-25 12:26:15 +00:00

68 lines
1.3 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/mediatek,mt7986-wm8960.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: MediaTek MT7986 sound card with WM8960 codec
maintainers:
- Maso Huang <maso.huang@mediatek.com>
allOf:
- $ref: sound-card-common.yaml#
properties:
compatible:
const: mediatek,mt7986-wm8960-sound
platform:
type: object
additionalProperties: false
properties:
sound-dai:
description: The phandle of MT7986 platform.
maxItems: 1
required:
- sound-dai
codec:
type: object
additionalProperties: false
properties:
sound-dai:
description: The phandle of wm8960 codec.
maxItems: 1
required:
- sound-dai
required:
- compatible
- audio-routing
- platform
- codec
unevaluatedProperties: false
examples:
- |
sound {
compatible = "mediatek,mt7986-wm8960-sound";
model = "mt7986-wm8960";
audio-routing =
"Headphone", "HP_L",
"Headphone", "HP_R",
"LINPUT1", "AMIC",
"RINPUT1", "AMIC";
platform {
sound-dai = <&afe>;
};
codec {
sound-dai = <&wm8960>;
};
};
...