1 * Nokia N900 audio setup 1 * Nokia N900 audio setup 2 2 3 Required properties: 3 Required properties: 4 - compatible: Should contain "nokia,n900-audio 4 - compatible: Should contain "nokia,n900-audio" 5 - nokia,cpu-dai: phandle for the McBSP node 5 - nokia,cpu-dai: phandle for the McBSP node 6 - nokia,audio-codec: phandles for the main TLV 6 - nokia,audio-codec: phandles for the main TLV320AIC3X node and the 7 auxiliary TLV320AIC3X nod 7 auxiliary TLV320AIC3X node (in this order) 8 - nokia,headphone-amplifier: phandle for the T 8 - nokia,headphone-amplifier: phandle for the TPA6130A2 node 9 - tvout-selection-gpios: GPIO for tvout select 9 - tvout-selection-gpios: GPIO for tvout selection 10 - jack-detection-gpios: GPIO for jack detectio 10 - jack-detection-gpios: GPIO for jack detection 11 - eci-switch-gpios: GPIO for ECI (Enhancement 11 - eci-switch-gpios: GPIO for ECI (Enhancement Control Interface) switch 12 - speaker-amplifier-gpios: GPIO for speaker am 12 - speaker-amplifier-gpios: GPIO for speaker amplifier 13 13 14 Example: 14 Example: 15 15 16 sound { 16 sound { 17 compatible = "nokia,n900-audio"; 17 compatible = "nokia,n900-audio"; 18 18 19 nokia,cpu-dai = <&mcbsp2>; 19 nokia,cpu-dai = <&mcbsp2>; 20 nokia,audio-codec = <&tlv320aic3x>, <& 20 nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>; 21 nokia,headphone-amplifier = <&tpa6130a 21 nokia,headphone-amplifier = <&tpa6130a2>; 22 22 23 tvout-selection-gpios = <&gpio2 8 GPIO 23 tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */ 24 jack-detection-gpios = <&gpio6 17 GPIO 24 jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */ 25 eci-switch-gpios = <&gpio6 22 GPIO_ACT 25 eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */ 26 speaker-amplifier-gpios = <&twl_gpio 7 26 speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>; 27 }; 27 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.