xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/rt3261.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1rt3261 audio CODEC
2
3This device supports I2C only.
4
5Required properties:
6
7  - compatible : "rt3261"
8
9  - reg : the I2C address of the device.
10
11  - codec-en-gpio : the enable gpio of codec.
12
13  - spk-num : the number of speaker.
14
15  - modem-input-mode : modem input mode (DIFFERENTIAL/SINGLE_END).
16
17  - lout-to-modem_mode : line out mode.
18
19  - spk-amplify : Gain control for speaker.
20
21Example:
22
23rt3261: rt3261@1c {
24	compatible = "rt3261";
25	reg = <0x1c>;
26	codec-en-gpio = <&gpio3 GPIO_D7 GPIO_ACTIVE_HIGH>;
27	spk-num= <2>;
28	modem-input-mode = <1>;
29	lout-to-modem_mode = <1>;
30	spk-amplify = <2>;
31};
32