Based on kernel version 3.9. Page generated on 2013-05-02 22:59 EST.
1 Texas Instruments TWL6040 family 2 3 The TWL6040s are 8-channel high quality low-power audio codecs providing audio, 4 vibra and GPO functionality on OMAP4+ platforms. 5 They are connected ot the host processor via i2c for commands, McPDM for audio 6 data and commands. 7 8 Required properties: 9 - compatible : "ti,twl6040" for twl6040, "ti,twl6041" for twl6041 10 - reg: must be 0x4b for i2c address 11 - interrupts: twl6040 has one interrupt line connecteded to the main SoC 12 - interrupt-parent: The parent interrupt controller 13 - gpio-controller: 14 - #gpio-cells = <1>: twl6040 provides GPO lines. 15 - twl6040,audpwron-gpio: Power on GPIO line for the twl6040 16 17 - vio-supply: Regulator for the twl6040 VIO supply 18 - v2v1-supply: Regulator for the twl6040 V2V1 supply 19 20 Optional properties, nodes: 21 - enable-active-high: To power on the twl6040 during boot. 22 23 Vibra functionality 24 Required properties: 25 - vddvibl-supply: Regulator for the left vibra motor 26 - vddvibr-supply: Regulator for the right vibra motor 27 - vibra { }: Configuration section for vibra parameters containing the following 28 properties: 29 - ti,vibldrv-res: Resistance parameter for left driver 30 - ti,vibrdrv-res: Resistance parameter for right driver 31 - ti,viblmotor-res: Resistance parameter for left motor 32 - ti,viblmotor-res: Resistance parameter for right motor 33 34 Optional properties within vibra { } section: 35 - vddvibl_uV: If the vddvibl default voltage need to be changed 36 - vddvibr_uV: If the vddvibr default voltage need to be changed 37 38 Example: 39 &i2c1 { 40 twl6040: twl@4b { 41 compatible = "ti,twl6040"; 42 43 interrupts = <0 119 4>; 44 interrupt-parent = <&gic>; 45 twl6040,audpwron-gpio = <&gpio4 31 0>; 46 47 vio-supply = <&v1v8>; 48 v2v1-supply = <&v2v1>; 49 enable-active-high; 50 51 /* regulators for vibra motor */ 52 vddvibl-supply = <&vbat>; 53 vddvibr-supply = <&vbat>; 54 55 vibra { 56 /* Vibra driver, motor resistance parameters */ 57 ti,vibldrv-res = <8>; 58 ti,vibrdrv-res = <3>; 59 ti,viblmotor-res = <10>; 60 ti,vibrmotor-res = <10>; 61 }; 62 }; 63 }; 64 65 /include/ "twl6040.dtsi"