1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*7d0873ebSEmmanuel Vadot%YAML 1.2 3*7d0873ebSEmmanuel Vadot--- 4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/mediatek,mt2701-wm8960.yaml# 5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7d0873ebSEmmanuel Vadot 7*7d0873ebSEmmanuel Vadottitle: MediaTek MT2701 with WM8960 CODEC 8*7d0873ebSEmmanuel Vadot 9*7d0873ebSEmmanuel Vadotmaintainers: 10*7d0873ebSEmmanuel Vadot - Kartik Agarwala <agarwala.kartik@gmail.com> 11*7d0873ebSEmmanuel Vadot 12*7d0873ebSEmmanuel Vadotproperties: 13*7d0873ebSEmmanuel Vadot compatible: 14*7d0873ebSEmmanuel Vadot const: mediatek,mt2701-wm8960-machine 15*7d0873ebSEmmanuel Vadot 16*7d0873ebSEmmanuel Vadot mediatek,platform: 17*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 18*7d0873ebSEmmanuel Vadot description: The phandle of MT2701 ASoC platform. 19*7d0873ebSEmmanuel Vadot 20*7d0873ebSEmmanuel Vadot audio-routing: 21*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/non-unique-string-array 22*7d0873ebSEmmanuel Vadot description: 23*7d0873ebSEmmanuel Vadot A list of the connections between audio components. Each entry is a 24*7d0873ebSEmmanuel Vadot pair of strings, the first being the connection's sink, the second 25*7d0873ebSEmmanuel Vadot being the connection's source. 26*7d0873ebSEmmanuel Vadot 27*7d0873ebSEmmanuel Vadot mediatek,audio-codec: 28*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 29*7d0873ebSEmmanuel Vadot description: The phandle of the WM8960 audio codec. 30*7d0873ebSEmmanuel Vadot 31*7d0873ebSEmmanuel VadotunevaluatedProperties: false 32*7d0873ebSEmmanuel Vadot 33*7d0873ebSEmmanuel Vadotrequired: 34*7d0873ebSEmmanuel Vadot - compatible 35*7d0873ebSEmmanuel Vadot - mediatek,platform 36*7d0873ebSEmmanuel Vadot - audio-routing 37*7d0873ebSEmmanuel Vadot - mediatek,audio-codec 38*7d0873ebSEmmanuel Vadot - pinctrl-names 39*7d0873ebSEmmanuel Vadot - pinctrl-0 40*7d0873ebSEmmanuel Vadot 41*7d0873ebSEmmanuel Vadotexamples: 42*7d0873ebSEmmanuel Vadot - | 43*7d0873ebSEmmanuel Vadot sound { 44*7d0873ebSEmmanuel Vadot compatible = "mediatek,mt2701-wm8960-machine"; 45*7d0873ebSEmmanuel Vadot mediatek,platform = <&afe>; 46*7d0873ebSEmmanuel Vadot audio-routing = 47*7d0873ebSEmmanuel Vadot "Headphone", "HP_L", 48*7d0873ebSEmmanuel Vadot "Headphone", "HP_R", 49*7d0873ebSEmmanuel Vadot "LINPUT1", "AMIC", 50*7d0873ebSEmmanuel Vadot "RINPUT1", "AMIC"; 51*7d0873ebSEmmanuel Vadot mediatek,audio-codec = <&wm8960>; 52*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 53*7d0873ebSEmmanuel Vadot pinctrl-0 = <&aud_pins_default>; 54*7d0873ebSEmmanuel Vadot }; 55