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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/rt5682.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/sound/rt5682.txt (Architecture i386) and /Documentation/devicetree/bindings/sound/rt5682.txt (Architecture m68k)


  1 RT5682 audio CODEC                                  1 RT5682 audio CODEC
  2                                                     2 
  3 This device supports I2C only.                      3 This device supports I2C only.
  4                                                     4 
  5 Required properties:                                5 Required properties:
  6                                                     6 
  7 - compatible : "realtek,rt5682" or "realtek,rt      7 - compatible : "realtek,rt5682" or "realtek,rt5682i"
  8                                                     8 
  9 - reg : The I2C address of the device.              9 - reg : The I2C address of the device.
 10                                                    10 
 11 - AVDD-supply: phandle to the regulator supply     11 - AVDD-supply: phandle to the regulator supplying analog power through the
 12   AVDD pin                                         12   AVDD pin
 13                                                    13 
 14 - MICVDD-supply: phandle to the regulator supp     14 - MICVDD-supply: phandle to the regulator supplying power for the microphone
 15   bias through the MICVDD pin. Either MICVDD o     15   bias through the MICVDD pin. Either MICVDD or VBAT should be present.
 16                                                    16 
 17 - VBAT-supply: phandle to the regulator supply     17 - VBAT-supply: phandle to the regulator supplying battery power through the
 18   VBAT pin. Either MICVDD or VBAT should be pr     18   VBAT pin. Either MICVDD or VBAT should be present.
 19                                                    19 
 20 - DBVDD-supply: phandle to the regulator suppl     20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD
 21   pin.                                             21   pin.
 22                                                    22 
 23 - LDO1-IN-supply: phandle to the regulator sup     23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core
 24   and charge pump through the LDO1_IN pin.         24   and charge pump through the LDO1_IN pin.
 25                                                    25 
 26 Optional properties:                               26 Optional properties:
 27                                                    27 
 28 - interrupts : The CODEC's interrupt output.       28 - interrupts : The CODEC's interrupt output.
 29                                                    29 
 30 - realtek,dmic1-data-pin                           30 - realtek,dmic1-data-pin
 31   0: dmic1 is not used                             31   0: dmic1 is not used
 32   1: using GPIO2 pin as dmic1 data pin             32   1: using GPIO2 pin as dmic1 data pin
 33   2: using GPIO5 pin as dmic1 data pin             33   2: using GPIO5 pin as dmic1 data pin
 34                                                    34 
 35 - realtek,dmic1-clk-pin                            35 - realtek,dmic1-clk-pin
 36   0: using GPIO1 pin as dmic1 clock pin            36   0: using GPIO1 pin as dmic1 clock pin
 37   1: using GPIO3 pin as dmic1 clock pin            37   1: using GPIO3 pin as dmic1 clock pin
 38                                                    38 
 39 - realtek,jd-src                                   39 - realtek,jd-src
 40   0: No JD is used                                 40   0: No JD is used
 41   1: using JD1 as JD source                        41   1: using JD1 as JD source
 42                                                    42 
 43 - realtek,ldo1-en-gpios : The GPIO that contro     43 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
 44                                                    44 
 45 - realtek,btndet-delay                             45 - realtek,btndet-delay
 46   The debounce delay for push button.              46   The debounce delay for push button.
 47   The delay time is realtek,btndet-delay value     47   The delay time is realtek,btndet-delay value multiple of 8.192 ms.
 48   If absent, the default is 16.                    48   If absent, the default is 16.
 49                                                    49 
 50 - #clock-cells : Should be set to '<1>',  wclk     50 - #clock-cells : Should be set to '<1>',  wclk and bclk sources provided.
 51 - clock-output-names : Name given for DAI cloc     51 - clock-output-names : Name given for DAI clocks output.
 52                                                    52 
 53 - clocks : phandle and clock specifier for cod     53 - clocks : phandle and clock specifier for codec MCLK.
 54 - clock-names : Clock name string for 'clocks'     54 - clock-names : Clock name string for 'clocks' attribute, should be "mclk".
 55                                                    55 
 56 - realtek,dmic-clk-rate-hz : Set the clock rat     56 - realtek,dmic-clk-rate-hz : Set the clock rate (hz) for the requirement of
 57   the particular DMIC.                             57   the particular DMIC.
 58                                                    58 
 59 - realtek,dmic-delay-ms : Set the delay time (     59 - realtek,dmic-delay-ms : Set the delay time (ms) for the requirement of
 60   the particular DMIC.                             60   the particular DMIC.
 61                                                    61 
 62 - realtek,dmic-clk-driving-high : Set the high     62 - realtek,dmic-clk-driving-high : Set the high driving of the DMIC clock out.
 63                                                    63 
 64 - #sound-dai-cells: Should be set to '<1>'.        64 - #sound-dai-cells: Should be set to '<1>'.
 65                                                    65 
 66 Pins on the device (for linking into audio rou     66 Pins on the device (for linking into audio routes) for RT5682:
 67                                                    67 
 68   * DMIC L1                                        68   * DMIC L1
 69   * DMIC R1                                        69   * DMIC R1
 70   * IN1P                                           70   * IN1P
 71   * HPOL                                           71   * HPOL
 72   * HPOR                                           72   * HPOR
 73                                                    73 
 74 Example:                                           74 Example:
 75                                                    75 
 76 rt5682 {                                           76 rt5682 {
 77         compatible = "realtek,rt5682i";            77         compatible = "realtek,rt5682i";
 78         reg = <0x1a>;                              78         reg = <0x1a>;
 79         interrupt-parent = <&gpio>;                79         interrupt-parent = <&gpio>;
 80         interrupts = <TEGRA_GPIO(U, 6) IRQ_TYP     80         interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_LEVEL_HIGH>;
 81         realtek,ldo1-en-gpios =                    81         realtek,ldo1-en-gpios =
 82                 <&gpio TEGRA_GPIO(R, 2) GPIO_A     82                 <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
 83         realtek,dmic1-data-pin = <1>;              83         realtek,dmic1-data-pin = <1>;
 84         realtek,dmic1-clk-pin = <1>;               84         realtek,dmic1-clk-pin = <1>;
 85         realtek,jd-src = <1>;                      85         realtek,jd-src = <1>;
 86         realtek,btndet-delay = <16>;               86         realtek,btndet-delay = <16>;
 87                                                    87 
 88         #clock-cells = <1>;                        88         #clock-cells = <1>;
 89         clock-output-names = "rt5682-dai-wclk"     89         clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
 90                                                    90 
 91         clocks = <&osc>;                           91         clocks = <&osc>;
 92         clock-names = "mclk";                      92         clock-names = "mclk";
 93                                                    93 
 94         AVDD-supply = <&avdd_reg>;                 94         AVDD-supply = <&avdd_reg>;
 95         MICVDD-supply = <&micvdd_reg>;             95         MICVDD-supply = <&micvdd_reg>;
 96         DBVDD-supply = <&dbvdd_reg>;               96         DBVDD-supply = <&dbvdd_reg>;
 97         LDO1-IN-supply = <&ldo1_in_reg>;           97         LDO1-IN-supply = <&ldo1_in_reg>;
 98 };                                                 98 };
                                                      

~ [ 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