Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006 
0007 title: Common properties for NVIDIA Tegra audio complexes
0008 
0009 maintainers:
0010   - Jon Hunter <jonathanh@nvidia.com>
0011   - Thierry Reding <thierry.reding@gmail.com>
0012 
0013 properties:
0014   clocks:
0015     items:
0016       - description: PLL A clock
0017       - description: PLL A OUT0 clock
0018       - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk
0019 
0020   clock-names:
0021     items:
0022       - const: pll_a
0023       - const: pll_a_out0
0024       - const: mclk
0025 
0026   nvidia,model:
0027     $ref: /schemas/types.yaml#/definitions/string
0028     description: The user-visible name of this sound complex.
0029 
0030   nvidia,audio-routing:
0031     $ref: /schemas/types.yaml#/definitions/non-unique-string-array
0032     description: |
0033       A list of the connections between audio components.
0034       Each entry is a pair of strings, the first being the connection's sink,
0035       the second being the connection's source. Valid names for sources and
0036       sinks are the pins (documented in the binding document),
0037       and the jacks on the board.
0038 
0039   nvidia,ac97-controller:
0040     $ref: /schemas/types.yaml#/definitions/phandle
0041     description: The phandle of the AC97 controller
0042 
0043   nvidia,i2s-controller:
0044     $ref: /schemas/types.yaml#/definitions/phandle
0045     description: The phandle of the Tegra I2S controller
0046 
0047   nvidia,audio-codec:
0048     $ref: /schemas/types.yaml#/definitions/phandle
0049     description: The phandle of audio codec
0050 
0051   nvidia,spkr-en-gpios:
0052     maxItems: 1
0053     description: The GPIO that enables the speakers
0054 
0055   nvidia,hp-mute-gpios:
0056     maxItems: 1
0057     description: The GPIO that mutes the headphones
0058 
0059   nvidia,hp-det-gpios:
0060     maxItems: 1
0061     description: The GPIO that detect headphones are plugged in
0062 
0063   nvidia,mic-det-gpios:
0064     maxItems: 1
0065     description: The GPIO that detect microphone is plugged in
0066 
0067   nvidia,ear-sel-gpios:
0068     maxItems: 1
0069     description: The GPIO that switch between the microphones
0070 
0071   nvidia,int-mic-en-gpios:
0072     maxItems: 1
0073     description: The GPIO that enables the internal microphone
0074 
0075   nvidia,ext-mic-en-gpios:
0076     maxItems: 1
0077     description: The GPIO that enables the external microphone
0078 
0079   nvidia,headset:
0080     type: boolean
0081     description: The Mic Jack represents state of the headset microphone pin
0082 
0083 additionalProperties: true