blob: bbfe39347c206e791268ffdbd0d2fe22a3ea8092 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001CS42448/CS42888 audio CODEC
2
3Required properties:
4
5 - compatible : must contain one of "cirrus,cs42448" and "cirrus,cs42888"
6
7 - reg : the I2C address of the device for I2C
8
9 - clocks : a list of phandles + clock-specifiers, one for each entry in
10 clock-names
11
12 - clock-names : must contain "mclk"
13
14 - VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device,
15 as covered in Documentation/devicetree/bindings/regulator/regulator.txt
16
17Optional properties:
18
19 - reset-gpios : a GPIO spec to define which pin is connected to the chip's
20 !RESET pin
21
22Example:
23
24cs42888: codec@48 {
25 compatible = "cirrus,cs42888";
26 reg = <0x48>;
27 clocks = <&codec_mclk 0>;
28 clock-names = "mclk";
29 VA-supply = <&reg_audio>;
30 VD-supply = <&reg_audio>;
31 VLS-supply = <&reg_audio>;
32 VLC-supply = <&reg_audio>;
33 reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>;
34};