xref: /freebsd/sys/contrib/device-tree/Bindings/sound/cs42xx8.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1CS42448/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};
35