84 lines
2.4 KiB
YAML
84 lines
2.4 KiB
YAML
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||
|
%YAML 1.2
|
||
|
---
|
||
|
$id: "http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml#"
|
||
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||
|
|
||
|
title: Common properties for NVIDIA Tegra audio complexes
|
||
|
|
||
|
maintainers:
|
||
|
- Jon Hunter <jonathanh@nvidia.com>
|
||
|
- Thierry Reding <thierry.reding@gmail.com>
|
||
|
|
||
|
properties:
|
||
|
clocks:
|
||
|
items:
|
||
|
- description: PLL A clock
|
||
|
- description: PLL A OUT0 clock
|
||
|
- description: The Tegra cdev1/extern1 clock, which feeds the card's mclk
|
||
|
|
||
|
clock-names:
|
||
|
items:
|
||
|
- const: pll_a
|
||
|
- const: pll_a_out0
|
||
|
- const: mclk
|
||
|
|
||
|
nvidia,model:
|
||
|
$ref: /schemas/types.yaml#/definitions/string
|
||
|
description: The user-visible name of this sound complex.
|
||
|
|
||
|
nvidia,audio-routing:
|
||
|
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
|
||
|
description: |
|
||
|
A list of the connections between audio components.
|
||
|
Each entry is a pair of strings, the first being the connection's sink,
|
||
|
the second being the connection's source. Valid names for sources and
|
||
|
sinks are the pins (documented in the binding document),
|
||
|
and the jacks on the board.
|
||
|
|
||
|
nvidia,ac97-controller:
|
||
|
$ref: /schemas/types.yaml#/definitions/phandle
|
||
|
description: The phandle of the AC97 controller
|
||
|
|
||
|
nvidia,i2s-controller:
|
||
|
$ref: /schemas/types.yaml#/definitions/phandle
|
||
|
description: The phandle of the Tegra I2S controller
|
||
|
|
||
|
nvidia,audio-codec:
|
||
|
$ref: /schemas/types.yaml#/definitions/phandle
|
||
|
description: The phandle of audio codec
|
||
|
|
||
|
nvidia,spkr-en-gpios:
|
||
|
maxItems: 1
|
||
|
description: The GPIO that enables the speakers
|
||
|
|
||
|
nvidia,hp-mute-gpios:
|
||
|
maxItems: 1
|
||
|
description: The GPIO that mutes the headphones
|
||
|
|
||
|
nvidia,hp-det-gpios:
|
||
|
maxItems: 1
|
||
|
description: The GPIO that detect headphones are plugged in
|
||
|
|
||
|
nvidia,mic-det-gpios:
|
||
|
maxItems: 1
|
||
|
description: The GPIO that detect microphone is plugged in
|
||
|
|
||
|
nvidia,ear-sel-gpios:
|
||
|
maxItems: 1
|
||
|
description: The GPIO that switch between the microphones
|
||
|
|
||
|
nvidia,int-mic-en-gpios:
|
||
|
maxItems: 1
|
||
|
description: The GPIO that enables the internal microphone
|
||
|
|
||
|
nvidia,ext-mic-en-gpios:
|
||
|
maxItems: 1
|
||
|
description: The GPIO that enables the external microphone
|
||
|
|
||
|
nvidia,headset:
|
||
|
type: boolean
|
||
|
description: The Mic Jack represents state of the headset microphone pin
|
||
|
|
||
|
additionalProperties: true
|