1 RT5668B audio CODEC 1 RT5668B 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,rt5668b" 7 - compatible : "realtek,rt5668b" 8 8 9 - reg : The I2C address of the device. 9 - reg : The I2C address of the device. 10 10 11 Optional properties: 11 Optional properties: 12 12 13 - interrupts : The CODEC's interrupt output. 13 - interrupts : The CODEC's interrupt output. 14 14 15 - realtek,dmic1-data-pin 15 - realtek,dmic1-data-pin 16 0: dmic1 is not used 16 0: dmic1 is not used 17 1: using GPIO2 pin as dmic1 data pin 17 1: using GPIO2 pin as dmic1 data pin 18 2: using GPIO5 pin as dmic1 data pin 18 2: using GPIO5 pin as dmic1 data pin 19 19 20 - realtek,dmic1-clk-pin 20 - realtek,dmic1-clk-pin 21 0: using GPIO1 pin as dmic1 clock pin 21 0: using GPIO1 pin as dmic1 clock pin 22 1: using GPIO3 pin as dmic1 clock pin 22 1: using GPIO3 pin as dmic1 clock pin 23 23 24 - realtek,jd-src 24 - realtek,jd-src 25 0: No JD is used 25 0: No JD is used 26 1: using JD1 as JD source 26 1: using JD1 as JD source 27 27 28 - realtek,ldo1-en-gpios : The GPIO that contro 28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 29 29 30 Pins on the device (for linking into audio rou 30 Pins on the device (for linking into audio routes) for RT5668B: 31 31 32 * DMIC L1 32 * DMIC L1 33 * DMIC R1 33 * DMIC R1 34 * IN1P 34 * IN1P 35 * HPOL 35 * HPOL 36 * HPOR 36 * HPOR 37 37 38 Example: 38 Example: 39 39 40 rt5668 { 40 rt5668 { 41 compatible = "realtek,rt5668b"; 41 compatible = "realtek,rt5668b"; 42 reg = <0x1a>; 42 reg = <0x1a>; 43 interrupt-parent = <&gpio>; 43 interrupt-parent = <&gpio>; 44 interrupts = <TEGRA_GPIO(U, 6) IRQ_TYP !! 44 interrupts = <TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>; 45 realtek,ldo1-en-gpios = 45 realtek,ldo1-en-gpios = 46 <&gpio TEGRA_GPIO(R, 2) GPIO_A 46 <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>; 47 realtek,dmic1-data-pin = <1>; 47 realtek,dmic1-data-pin = <1>; 48 realtek,dmic1-clk-pin = <1>; 48 realtek,dmic1-clk-pin = <1>; 49 realtek,jd-src = <1>; 49 realtek,jd-src = <1>; 50 }; 50 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.