~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/twl6040.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/mfd/twl6040.txt (Architecture alpha) and /Documentation/devicetree/bindings/mfd/twl6040.txt (Architecture i386)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php