1 RT5665/RT5666 audio CODEC 1 RT5665/RT5666 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 : One of "realtek,rt5665", "realt 7 - compatible : One of "realtek,rt5665", "realtek,rt5666". 8 8 9 - reg : The I2C address of the device. 9 - reg : The I2C address of the device. 10 10 11 - interrupts : The CODEC's interrupt output. 11 - interrupts : The CODEC's interrupt output. 12 12 13 Optional properties: 13 Optional properties: 14 14 15 - realtek,in1-differential 15 - realtek,in1-differential 16 - realtek,in2-differential 16 - realtek,in2-differential 17 - realtek,in3-differential 17 - realtek,in3-differential 18 - realtek,in4-differential 18 - realtek,in4-differential 19 Boolean. Indicate MIC1/2/3/4 input are diffe 19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended. 20 20 21 - realtek,dmic1-data-pin 21 - realtek,dmic1-data-pin 22 0: dmic1 is not used 22 0: dmic1 is not used 23 1: using GPIO4 pin as dmic1 data pin 23 1: using GPIO4 pin as dmic1 data pin 24 2: using IN2N pin as dmic2 data pin 24 2: using IN2N pin as dmic2 data pin 25 25 26 - realtek,dmic2-data-pin 26 - realtek,dmic2-data-pin 27 0: dmic2 is not used 27 0: dmic2 is not used 28 1: using GPIO5 pin as dmic2 data pin 28 1: using GPIO5 pin as dmic2 data pin 29 2: using IN2P pin as dmic2 data pin 29 2: using IN2P pin as dmic2 data pin 30 30 31 - realtek,jd-src 31 - realtek,jd-src 32 0: No JD is used 32 0: No JD is used 33 1: using JD1 as JD source 33 1: using JD1 as JD source 34 34 35 - realtek,ldo1-en-gpios : The GPIO that contro 35 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 36 36 37 Pins on the device (for linking into audio rou 37 Pins on the device (for linking into audio routes) for RT5659/RT5658: 38 38 39 * DMIC L1 39 * DMIC L1 40 * DMIC R1 40 * DMIC R1 41 * DMIC L2 41 * DMIC L2 42 * DMIC R2 42 * DMIC R2 43 * IN1P 43 * IN1P 44 * IN1N 44 * IN1N 45 * IN2P 45 * IN2P 46 * IN2N 46 * IN2N 47 * IN3P 47 * IN3P 48 * IN3N 48 * IN3N 49 * IN4P 49 * IN4P 50 * IN4N 50 * IN4N 51 * HPOL 51 * HPOL 52 * HPOR 52 * HPOR 53 * LOUTL 53 * LOUTL 54 * LOUTR 54 * LOUTR 55 * MONOOUT 55 * MONOOUT 56 * PDML 56 * PDML 57 * PDMR 57 * PDMR 58 58 59 Example: 59 Example: 60 60 61 rt5659 { 61 rt5659 { 62 compatible = "realtek,rt5665"; 62 compatible = "realtek,rt5665"; 63 reg = <0x1b>; 63 reg = <0x1b>; 64 interrupt-parent = <&gpio>; 64 interrupt-parent = <&gpio>; 65 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYP 65 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>; 66 realtek,ldo1-en-gpios = 66 realtek,ldo1-en-gpios = 67 <&gpio TEGRA_GPIO(V, 3) GPIO_A 67 <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; 68 }; 68 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.