Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: mediatek,mt7986-wm8960: add mt7986-wm8960 document

Add document for mt7986 board with wm8960.

Signed-off-by: Maso Huang <maso.huang@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230817101338.18782-6-maso.huang@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Maso Huang and committed by
Mark Brown
af835f0b 9873277f

+67
+67
Documentation/devicetree/bindings/sound/mediatek,mt7986-wm8960.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/mediatek,mt7986-wm8960.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: MediaTek MT7986 sound card with WM8960 codec 8 + 9 + maintainers: 10 + - Maso Huang <maso.huang@mediatek.com> 11 + 12 + allOf: 13 + - $ref: sound-card-common.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: mediatek,mt7986-wm8960-sound 18 + 19 + platform: 20 + type: object 21 + additionalProperties: false 22 + properties: 23 + sound-dai: 24 + description: The phandle of MT7986 platform. 25 + maxItems: 1 26 + required: 27 + - sound-dai 28 + 29 + codec: 30 + type: object 31 + additionalProperties: false 32 + properties: 33 + sound-dai: 34 + description: The phandle of wm8960 codec. 35 + maxItems: 1 36 + required: 37 + - sound-dai 38 + 39 + unevaluatedProperties: false 40 + 41 + required: 42 + - compatible 43 + - audio-routing 44 + - platform 45 + - codec 46 + 47 + examples: 48 + - | 49 + sound { 50 + compatible = "mediatek,mt7986-wm8960-sound"; 51 + model = "mt7986-wm8960"; 52 + audio-routing = 53 + "Headphone", "HP_L", 54 + "Headphone", "HP_R", 55 + "LINPUT1", "AMIC", 56 + "RINPUT1", "AMIC"; 57 + 58 + platform { 59 + sound-dai = <&afe>; 60 + }; 61 + 62 + codec { 63 + sound-dai = <&wm8960>; 64 + }; 65 + }; 66 + 67 + ...