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