mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
dcaee813a6
This patch add the mclk property for the CODEC driver, since sometime the CODEC driver needs the clock enabled. The system clock of ALC5616 can be selected from MCLK, That's also make as the codec master clock provider, Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
33 lines
470 B
Plaintext
33 lines
470 B
Plaintext
RT5616 audio CODEC
|
|
|
|
This device supports I2C only.
|
|
|
|
Required properties:
|
|
|
|
- compatible : "realtek,rt5616".
|
|
|
|
- reg : The I2C address of the device.
|
|
|
|
Optional properties:
|
|
|
|
- clocks: The phandle of the master clock to the CODEC.
|
|
|
|
- clock-names: Should be "mclk".
|
|
|
|
Pins on the device (for linking into audio routes) for RT5616:
|
|
|
|
* IN1P
|
|
* IN2P
|
|
* IN2N
|
|
* LOUTL
|
|
* LOUTR
|
|
* HPOL
|
|
* HPOR
|
|
|
|
Example:
|
|
|
|
codec: rt5616@1b {
|
|
compatible = "realtek,rt5616";
|
|
reg = <0x1b>;
|
|
};
|