xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/nokia,rx51.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Nokia N900 audio setup
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should contain "nokia,n900-audio"
5*4882a593Smuzhiyun- nokia,cpu-dai: phandle for the McBSP node
6*4882a593Smuzhiyun- nokia,audio-codec: phandles for the main TLV320AIC3X node and the
7*4882a593Smuzhiyun                     auxiliary TLV320AIC3X node (in this order)
8*4882a593Smuzhiyun- nokia,headphone-amplifier: phandle for the TPA6130A2 node
9*4882a593Smuzhiyun- tvout-selection-gpios: GPIO for tvout selection
10*4882a593Smuzhiyun- jack-detection-gpios: GPIO for jack detection
11*4882a593Smuzhiyun- eci-switch-gpios: GPIO for ECI (Enhancement Control Interface) switch
12*4882a593Smuzhiyun- speaker-amplifier-gpios: GPIO for speaker amplifier
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunsound {
17*4882a593Smuzhiyun	compatible = "nokia,n900-audio";
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	nokia,cpu-dai = <&mcbsp2>;
20*4882a593Smuzhiyun	nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>;
21*4882a593Smuzhiyun	nokia,headphone-amplifier = <&tpa6130a2>;
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */
24*4882a593Smuzhiyun	jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
25*4882a593Smuzhiyun	eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */
26*4882a593Smuzhiyun	speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;
27*4882a593Smuzhiyun};
28