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