Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
Atmel ASoC driver with wm8904 audio codec complex
|
|
|
|
Required properties:
|
|
- compatible: "atmel,asoc-wm8904"
|
|
- atmel,model: The user-visible name of this sound complex.
|
|
- atmel,audio-routing: 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 WM8904's pins, and the jacks on the board:
|
|
|
|
WM8904 pins:
|
|
|
|
* IN1L
|
|
* IN1R
|
|
* IN2L
|
|
* IN2R
|
|
* IN3L
|
|
* IN3R
|
|
* HPOUTL
|
|
* HPOUTR
|
|
* LINEOUTL
|
|
* LINEOUTR
|
|
* MICBIAS
|
|
|
|
Board connectors:
|
|
|
|
* Headphone Jack
|
|
* Line In Jack
|
|
* Mic
|
|
|
|
- atmel,ssc-controller: The phandle of the SSC controller
|
|
- atmel,audio-codec: The phandle of the WM8904 audio codec
|
|
|
|
Optional properties:
|
|
- pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
|
|
|
|
Example:
|
|
sound {
|
|
compatible = "atmel,asoc-wm8904";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_pck0_as_mck>;
|
|
|
|
atmel,model = "wm8904 @ AT91SAM9N12EK";
|
|
|
|
atmel,audio-routing =
|
|
"Headphone Jack", "HPOUTL",
|
|
"Headphone Jack", "HPOUTR",
|
|
"IN2L", "Line In Jack",
|
|
"IN2R", "Line In Jack",
|
|
"Mic", "MICBIAS",
|
|
"IN1L", "Mic";
|
|
|
|
atmel,ssc-controller = <&ssc0>;
|
|
atmel,audio-codec = <&wm8904>;
|
|
};
|