brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 5eb6f58 Raw
112 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale i.MX audio complex with ES8328 codec8 9maintainers:10  - Shawn Guo <shawnguo@kernel.org>11  - Sascha Hauer <s.hauer@pengutronix.de>12 13allOf:14  - $ref: sound-card-common.yaml#15 16properties:17  compatible:18    const: fsl,imx-audio-es832819 20  model:21    $ref: /schemas/types.yaml#/definitions/string22    description: The user-visible name of this sound complex23 24  ssi-controller:25    $ref: /schemas/types.yaml#/definitions/phandle26    description: The phandle of the i.MX SSI controller27 28  jack-gpio:29    description: Optional GPIO for headphone jack30    maxItems: 131 32  audio-amp-supply:33    description: Power regulator for speaker amps34 35  audio-codec:36    $ref: /schemas/types.yaml#/definitions/phandle37    description: The phandle to the ES8328 audio codec38 39  audio-routing:40    $ref: /schemas/types.yaml#/definitions/non-unique-string-array41    description: |42      A list of the connections between audio components. Each entry43      is a pair of strings, the first being the connection's sink, the second44      being the connection's source. Valid names could be power supplies,45      ES8328 pins, and the jacks on the board:46 47      Power supplies:48        * audio-amp49 50      ES8328 pins:51        * LOUT152        * LOUT253        * ROUT154        * ROUT255        * LINPUT156        * LINPUT257        * RINPUT158        * RINPUT259        * Mic PGA60 61      Board connectors:62        * Headphone63        * Speaker64        * Mic Jack65 66  mux-int-port:67    $ref: /schemas/types.yaml#/definitions/uint3268    description: The internal port of the i.MX audio muxer (AUDMUX)69    enum: [1, 2, 7]70    default: 171 72  mux-ext-port:73    $ref: /schemas/types.yaml#/definitions/uint3274    description: The external port of the i.MX audio muxer (AUDMIX)75    enum: [3, 4, 5, 6]76    default: 377 78required:79  - compatible80  - model81  - ssi-controller82  - jack-gpio83  - audio-amp-supply84  - audio-codec85  - audio-routing86  - mux-int-port87  - mux-ext-port88 89unevaluatedProperties: false90 91examples:92  - |93    sound {94        compatible = "fsl,imx-audio-es8328";95        model = "imx-audio-es8328";96        ssi-controller = <&ssi1>;97        audio-codec = <&codec>;98        jack-gpio = <&gpio5 15 0>;99        audio-amp-supply = <&reg_audio_amp>;100        audio-routing =101            "Speaker", "LOUT2",102            "Speaker", "ROUT2",103            "Speaker", "audio-amp",104            "Headphone", "ROUT1",105            "Headphone", "LOUT1",106            "LINPUT1", "Mic Jack",107            "RINPUT1", "Mic Jack",108            "Mic Jack", "Mic Bias";109        mux-int-port = <1>;110        mux-ext-port = <3>;111    };112