123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- From 72469f950b629e57e60fbcbefed45e083619b986 Mon Sep 17 00:00:00 2001
- From: Maso Huang <[email protected]>
- Date: Thu, 17 Aug 2023 18:13:37 +0800
- Subject: [PATCH 5/9] ASoC: dt-bindings: mediatek,mt7986-wm8960: add
- mt7986-wm8960 document
- Add document for mt7986 board with wm8960.
- Signed-off-by: Maso Huang <[email protected]>
- Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
- Link: https://lore.kernel.org/r/[email protected]
- Signed-off-by: Mark Brown <[email protected]>
- ---
- .../sound/mediatek,mt7986-wm8960.yaml | 67 +++++++++++++++++++
- 1 file changed, 67 insertions(+)
- create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt7986-wm8960.yaml
- --- /dev/null
- +++ b/Documentation/devicetree/bindings/sound/mediatek,mt7986-wm8960.yaml
- @@ -0,0 +1,67 @@
- +# 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 <[email protected]>
- +
- +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
- +
- +unevaluatedProperties: false
- +
- +required:
- + - compatible
- + - audio-routing
- + - platform
- + - codec
- +
- +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>;
- + };
- + };
- +
- +...
|