1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/fsl,mxs-audio-sgtl5000.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Freescale MXS audio complex with SGTL5000 codec 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Frank Li <Frank.Li@nxp.com> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotproperties: 13*833e5d42SEmmanuel Vadot compatible: 14*833e5d42SEmmanuel Vadot items: 15*833e5d42SEmmanuel Vadot - enum: 16*833e5d42SEmmanuel Vadot - bluegiga,apx4devkit-sgtl5000 17*833e5d42SEmmanuel Vadot - denx,m28evk-sgtl5000 18*833e5d42SEmmanuel Vadot - fsl,imx28-evk-sgtl5000 19*833e5d42SEmmanuel Vadot - fsl,imx28-mbmx28lc-sgtl5000 20*833e5d42SEmmanuel Vadot - fsl,imx28-tx28-sgtl5000 21*833e5d42SEmmanuel Vadot - const: fsl,mxs-audio-sgtl5000 22*833e5d42SEmmanuel Vadot 23*833e5d42SEmmanuel Vadot model: 24*833e5d42SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string 25*833e5d42SEmmanuel Vadot description: The user-visible name of this sound complex 26*833e5d42SEmmanuel Vadot 27*833e5d42SEmmanuel Vadot saif-controllers: 28*833e5d42SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle-array 29*833e5d42SEmmanuel Vadot description: The phandle list of the MXS SAIF controller 30*833e5d42SEmmanuel Vadot 31*833e5d42SEmmanuel Vadot audio-codec: 32*833e5d42SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 33*833e5d42SEmmanuel Vadot description: The phandle of the SGTL5000 audio codec 34*833e5d42SEmmanuel Vadot 35*833e5d42SEmmanuel Vadot audio-routing: 36*833e5d42SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/non-unique-string-array 37*833e5d42SEmmanuel Vadot description: | 38*833e5d42SEmmanuel Vadot A list of the connections between audio components. 39*833e5d42SEmmanuel Vadot Each entry is a pair of strings, the first being the 40*833e5d42SEmmanuel Vadot connection's sink, the second being the connection's 41*833e5d42SEmmanuel Vadot source. Valid names could be power supplies, SGTL5000 42*833e5d42SEmmanuel Vadot pins, and the jacks on the board: 43*833e5d42SEmmanuel Vadot 44*833e5d42SEmmanuel Vadot Power supplies: 45*833e5d42SEmmanuel Vadot * Mic Bias 46*833e5d42SEmmanuel Vadot 47*833e5d42SEmmanuel Vadot SGTL5000 pins: 48*833e5d42SEmmanuel Vadot * MIC_IN 49*833e5d42SEmmanuel Vadot * LINE_IN 50*833e5d42SEmmanuel Vadot * HP_OUT 51*833e5d42SEmmanuel Vadot * LINE_OUT 52*833e5d42SEmmanuel Vadot 53*833e5d42SEmmanuel Vadot Board connectors: 54*833e5d42SEmmanuel Vadot * Mic Jack 55*833e5d42SEmmanuel Vadot * Line In Jack 56*833e5d42SEmmanuel Vadot * Headphone Jack 57*833e5d42SEmmanuel Vadot * Line Out Jack 58*833e5d42SEmmanuel Vadot * Ext Spk 59*833e5d42SEmmanuel Vadot 60*833e5d42SEmmanuel Vadotrequired: 61*833e5d42SEmmanuel Vadot - compatible 62*833e5d42SEmmanuel Vadot - saif-controllers 63*833e5d42SEmmanuel Vadot - audio-codec 64*833e5d42SEmmanuel Vadot 65*833e5d42SEmmanuel VadotallOf: 66*833e5d42SEmmanuel Vadot - $ref: dai-common.yaml# 67*833e5d42SEmmanuel Vadot 68*833e5d42SEmmanuel VadotunevaluatedProperties: false 69*833e5d42SEmmanuel Vadot 70*833e5d42SEmmanuel Vadotexamples: 71*833e5d42SEmmanuel Vadot - | 72*833e5d42SEmmanuel Vadot sound { 73*833e5d42SEmmanuel Vadot compatible = "fsl,imx28-evk-sgtl5000", "fsl,mxs-audio-sgtl5000"; 74*833e5d42SEmmanuel Vadot model = "imx28-evk-sgtl5000"; 75*833e5d42SEmmanuel Vadot saif-controllers = <&saif0 &saif1>; 76*833e5d42SEmmanuel Vadot audio-codec = <&sgtl5000>; 77*833e5d42SEmmanuel Vadot audio-routing = 78*833e5d42SEmmanuel Vadot "MIC_IN", "Mic Jack", 79*833e5d42SEmmanuel Vadot "Mic Jack", "Mic Bias", 80*833e5d42SEmmanuel Vadot "Headphone Jack", "HP_OUT"; 81*833e5d42SEmmanuel Vadot }; 82