-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: dt-bindings: sound: nvidia,tegra-audio: add WM8994 CODEC
- Loading branch information
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8994.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8994.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NVIDIA Tegra audio complex with WM8994 CODEC | ||
|
||
maintainers: | ||
- Jon Hunter <[email protected]> | ||
- Thierry Reding <[email protected]> | ||
|
||
allOf: | ||
- $ref: nvidia,tegra-audio-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- items: | ||
- pattern: '^[a-z0-9]+,tegra-audio-wm8994(-[a-z0-9]+)+$' | ||
- const: nvidia,tegra-audio-wm8994 | ||
|
||
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. | ||
minItems: 2 | ||
items: | ||
enum: | ||
# Board Connectors | ||
- "Headphone Jack" | ||
- "Int Spk" | ||
- "Mic Jack" | ||
- "Int Mic" | ||
|
||
# CODEC Pins TODO | ||
- FIXME | ||
|
||
nvidia,ear-sel-gpios: | ||
maxItems: 1 | ||
description: The GPIO that switch between the microphones | ||
|
||
required: | ||
- nvidia,i2s-controller | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
sound { | ||
compatible = "samsung,tegra-audio-wm8994-p4wifi", "nvidia,tegra-audio-wm8994"; | ||
nvidia,model = "Samsung Galaxy Tab 10.1 WM8994"; | ||
nvidia,i2s-controller = <&tegra_i2s1>; | ||
nvidia,audio-codec = <&wm8994>; | ||
clocks = <&clk 211>, <&clk 153>, <&clk 200>; | ||
clock-names = "pll_a", "pll_a_out0", "mclk"; | ||
}; |