1 RT5651 audio CODEC 1 RT5651 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,rt5651". 7 - compatible : "realtek,rt5651". 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 - realtek,in2-differential 13 - realtek,in2-differential 14 Boolean. Indicate MIC2 input are differentia 14 Boolean. Indicate MIC2 input are differential, rather than single-ended. 15 15 16 - realtek,dmic-en 16 - realtek,dmic-en 17 Boolean. true if dmic is used. 17 Boolean. true if dmic is used. 18 18 19 - realtek,jack-detect-source 19 - realtek,jack-detect-source 20 u32. Valid values: 20 u32. Valid values: 21 1: Use JD1_1 pin for jack-detect 21 1: Use JD1_1 pin for jack-detect 22 2: Use JD1_2 pin for jack-detect 22 2: Use JD1_2 pin for jack-detect 23 3: Use JD2 pin for jack-detect 23 3: Use JD2 pin for jack-detect 24 24 25 - realtek,jack-detect-not-inverted 25 - realtek,jack-detect-not-inverted 26 bool. Normal jack-detect switches give an in 26 bool. Normal jack-detect switches give an inverted (active-low) signal, 27 set this bool in the rare case you've a jack 27 set this bool in the rare case you've a jack-detect switch which is not 28 inverted. 28 inverted. 29 29 30 - realtek,over-current-threshold-microamp 30 - realtek,over-current-threshold-microamp 31 u32, micbias over-current detection threshol 31 u32, micbias over-current detection threshold in µA, valid values are 32 600, 1500 and 2000µA. 32 600, 1500 and 2000µA. 33 33 34 - realtek,over-current-scale-factor 34 - realtek,over-current-scale-factor 35 u32, micbias over-current detection scale-fa 35 u32, micbias over-current detection scale-factor, valid values are: 36 0: Scale current by 0.5 36 0: Scale current by 0.5 37 1: Scale current by 0.75 37 1: Scale current by 0.75 38 2: Scale current by 1.0 38 2: Scale current by 1.0 39 3: Scale current by 1.5 39 3: Scale current by 1.5 40 40 41 Pins on the device (for linking into audio rou 41 Pins on the device (for linking into audio routes) for RT5651: 42 42 43 * DMIC L1 43 * DMIC L1 44 * DMIC R1 44 * DMIC R1 45 * IN1P 45 * IN1P 46 * IN2P 46 * IN2P 47 * IN2N 47 * IN2N 48 * IN3P 48 * IN3P 49 * HPOL 49 * HPOL 50 * HPOR 50 * HPOR 51 * LOUTL 51 * LOUTL 52 * LOUTR 52 * LOUTR 53 * PDML 53 * PDML 54 * PDMR 54 * PDMR 55 55 56 Example: 56 Example: 57 57 58 rt5651: codec@1a { 58 rt5651: codec@1a { 59 compatible = "realtek,rt5651"; 59 compatible = "realtek,rt5651"; 60 reg = <0x1a>; 60 reg = <0x1a>; 61 realtek,dmic-en = "true"; 61 realtek,dmic-en = "true"; 62 realtek,in2-diff = "false"; 62 realtek,in2-diff = "false"; 63 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.