28 lines · plain
1* Nokia N900 audio setup2 3Required properties:4- compatible: Should contain "nokia,n900-audio"5- nokia,cpu-dai: phandle for the McBSP node6- nokia,audio-codec: phandles for the main TLV320AIC3X node and the7 auxiliary TLV320AIC3X node (in this order)8- nokia,headphone-amplifier: phandle for the TPA6130A2 node9- tvout-selection-gpios: GPIO for tvout selection10- jack-detection-gpios: GPIO for jack detection11- eci-switch-gpios: GPIO for ECI (Enhancement Control Interface) switch12- speaker-amplifier-gpios: GPIO for speaker amplifier13 14Example:15 16sound {17 compatible = "nokia,n900-audio";18 19 nokia,cpu-dai = <&mcbsp2>;20 nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>;21 nokia,headphone-amplifier = <&tpa6130a2>;22 23 tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */24 jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */25 eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */26 speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;27};28