linux/Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt
<<
>>
Prefs
   1* Texas Instruments OMAP4+ and twl6040 based audio setups
   2
   3Required properties:
   4- compatible: "ti,abe-twl6040"
   5- ti,model: Name of the sound card ( for example "SDP4430")
   6- ti,mclk-freq: MCLK frequency for HPPLL operation
   7- ti,mcpdm: phandle for the McPDM node
   8- ti,twl6040: phandle for the twl6040 core node
   9- ti,audio-routing: List of connections between audio components.
  10  Each entry is a pair of strings, the first being the connection's sink,
  11  the second being the connection's source.
  12
  13Optional properties:
  14- ti,dmic: phandle for the OMAP dmic node if the machine have it connected
  15- ti,jack_detection: Need to be present if the board capable to detect jack
  16  insertion, removal.
  17
  18Available audio endpoints for the audio-routing table:
  19
  20Board connectors:
  21 * Headset Stereophone
  22 * Earphone Spk
  23 * Ext Spk
  24 * Line Out
  25 * Vibrator
  26 * Headset Mic
  27 * Main Handset Mic
  28 * Sub Handset Mic
  29 * Line In
  30 * Digital Mic
  31
  32twl6040 pins:
  33 * HSOL
  34 * HSOR
  35 * EP
  36 * HFL
  37 * HFR
  38 * AUXL
  39 * AUXR
  40 * VIBRAL
  41 * VIBRAR
  42 * HSMIC
  43 * MAINMIC
  44 * SUBMIC
  45 * AFML
  46 * AFMR
  47
  48 * Headset Mic Bias
  49 * Main Mic Bias
  50 * Digital Mic1 Bias
  51 * Digital Mic2 Bias
  52
  53Digital mic pins:
  54 * DMic
  55
  56Example:
  57
  58sound {
  59        compatible = "ti,abe-twl6040";
  60        ti,model = "SDP4430";
  61
  62        ti,jack-detection;
  63        ti,mclk-freq = <38400000>;
  64
  65        ti,mcpdm = <&mcpdm>;
  66        ti,dmic = <&dmic>;
  67
  68        ti,twl6040 = <&twl6040>;
  69
  70        /* Audio routing */
  71        ti,audio-routing =
  72                "Headset Stereophone", "HSOL",
  73                "Headset Stereophone", "HSOR",
  74                "Earphone Spk", "EP",
  75                "Ext Spk", "HFL",
  76                "Ext Spk", "HFR",
  77                "Line Out", "AUXL",
  78                "Line Out", "AUXR",
  79                "Vibrator", "VIBRAL",
  80                "Vibrator", "VIBRAR",
  81                "HSMIC", "Headset Mic",
  82                "Headset Mic", "Headset Mic Bias",
  83                "MAINMIC", "Main Handset Mic",
  84                "Main Handset Mic", "Main Mic Bias",
  85                "SUBMIC", "Sub Handset Mic",
  86                "Sub Handset Mic", "Main Mic Bias",
  87                "AFML", "Line In",
  88                "AFMR", "Line In",
  89                "DMic", "Digital Mic",
  90                "Digital Mic", "Digital Mic1 Bias";
  91};
  92