mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 03:22:23 +07:00
0c516b4ff8
This patch adds support for the Cirrus Logic CS42448/CS42888 Audio CODEC that has six/four 24-bit AD and eight 24-bit DA converters. [ CS42448/CS42888 supports both I2C and SPI control ports. As initial patch, this patch only adds the support for I2C. ] Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> Acked-by: Brian Austin <brian.austin@cirrus.com> Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
29 lines
704 B
Plaintext
29 lines
704 B
Plaintext
CS42448/CS42888 audio CODEC
|
|
|
|
Required properties:
|
|
|
|
- compatible : must contain one of "cirrus,cs42448" and "cirrus,cs42888"
|
|
|
|
- reg : the I2C address of the device for I2C
|
|
|
|
- clocks : a list of phandles + clock-specifiers, one for each entry in
|
|
clock-names
|
|
|
|
- clock-names : must contain "mclk"
|
|
|
|
- VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device,
|
|
as covered in Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
Example:
|
|
|
|
codec: cs42888@48 {
|
|
compatible = "cirrus,cs42888";
|
|
reg = <0x48>;
|
|
clocks = <&codec_mclk 0>;
|
|
clock-names = "mclk";
|
|
VA-supply = <®_audio>;
|
|
VD-supply = <®_audio>;
|
|
VLS-supply = <®_audio>;
|
|
VLC-supply = <®_audio>;
|
|
};
|