Skip to content

Commit eec8a45

Browse files
okiasdigetx
authored andcommitted
dt-bindings: sound: nvidia,tegra-audio: add RT5631 CODEC
Add dt-binding for RT5631 CODEC. Signed-off-by: David Heidelberg <[email protected]>
1 parent 9979902 commit eec8a45

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5631.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NVIDIA Tegra audio complex with RT5631 CODEC
8+
9+
maintainers:
10+
- Jon Hunter <[email protected]>
11+
- Thierry Reding <[email protected]>
12+
13+
allOf:
14+
- $ref: nvidia,tegra-audio-common.yaml#
15+
16+
properties:
17+
compatible:
18+
items:
19+
- pattern: '^[a-z0-9]+,tegra-audio-rt5631(-[a-z0-9]+)+$'
20+
- const: nvidia,tegra-audio-rt5631
21+
22+
nvidia,audio-routing:
23+
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
24+
description: |
25+
A list of the connections between audio components.
26+
Each entry is a pair of strings, the first being the connection's sink,
27+
the second being the connection's source. Valid names for sources and
28+
sinks are the pins (documented in the binding document),
29+
and the jacks on the board.
30+
minItems: 2
31+
items:
32+
enum:
33+
# Board Connectors
34+
- "Int Spk"
35+
- "Headphone Jack"
36+
- "Mic Jack"
37+
- "Int Mic"
38+
39+
# CODEC Pins
40+
- MIC1
41+
- MIC2
42+
- AXIL
43+
- AXIR
44+
- MONOIN_RXN
45+
- MONOIN_RXP
46+
- DMIC
47+
- MIC Bias1
48+
- MIC Bias2
49+
- MONO_IN
50+
- AUXO1
51+
- AUXO2
52+
- SPOL
53+
- SPOR
54+
- HPOL
55+
- HPOR
56+
- MONO
57+
58+
unevaluatedProperties: false
59+
60+
examples:
61+
- |
62+
sound {
63+
compatible = "asus,tegra-audio-rt5631-tf700t",
64+
"nvidia,tegra-audio-rt5631";
65+
nvidia,model = "Asus Transformer Infinity TF700T RT5631";
66+
67+
nvidia,audio-routing =
68+
"Headphone Jack", "HPOL",
69+
"Headphone Jack", "HPOR",
70+
"Int Spk", "SPOL",
71+
"Int Spk", "SPOR",
72+
"MIC1", "MIC Bias1",
73+
"MIC Bias1", "Mic Jack",
74+
"DMIC", "Int Mic";
75+
76+
nvidia,audio-codec = <&rt5631>;
77+
};

0 commit comments

Comments
 (0)