xref: /freebsd/sys/contrib/device-tree/Bindings/sound/cs53l30.txt (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1CS53L30 audio CODEC
2
3Required properties:
4
5  - compatible : "cirrus,cs53l30"
6
7  - reg : the I2C address of the device
8
9  - VA-supply, VP-supply : power supplies for the device,
10    as covered in Documentation/devicetree/bindings/regulator/regulator.txt.
11
12Optional properties:
13
14  - reset-gpios : a GPIO spec for the reset pin.
15
16  - mute-gpios : a GPIO spec for the MUTE pin. The active state can be either
17		 GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW, which would be handled
18		 by the driver automatically.
19
20  - cirrus,micbias-lvl : Set the output voltage level on the MICBIAS Pin.
21			 0 = Hi-Z
22			 1 = 1.80 V
23			 2 = 2.75 V
24
25  - cirrus,use-sdout2 : This is a boolean property. If present, it indicates
26			the hardware design connects both SDOUT1 and SDOUT2
27			pins to output data. Otherwise, it indicates that
28			only SDOUT1 is connected for data output.
29			* CS53l30 supports 4-channel data output in the same
30			* frame using two different ways:
31			* 1) Normal I2S mode on two data pins -- each SDOUT
32			*    carries 2-channel data in the same time.
33			* 2) TDM mode on one signle data pin -- SDOUT1 carries
34			*    4-channel data per frame.
35
36Example:
37
38codec: cs53l30@48 {
39	compatible = "cirrus,cs53l30";
40	reg = <0x48>;
41	reset-gpios = <&gpio 54 0>;
42	VA-supply = <&cs53l30_va>;
43	VP-supply = <&cs53l30_vp>;
44};
45