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 41- spk-con-gpio: speaker amplifier enable/disable control 42 43Pins on the device (for linking into audio routes) for RT5651: 44 45 * DMIC L1 46 * DMIC R1 47 * IN1P 48 * IN2P 49 * IN2N 50 * IN3P 51 * HPOL 52 * HPOR 53 * LOUTL 54 * LOUTR 55 * PDML 56 * PDMR 57 58Example: 59 60rt5651: codec@1a { 61 compatible = "realtek,rt5651"; 62 reg = <0x1a>; 63 realtek,dmic-en = "true"; 64 realtek,in2-diff = "false"; 65}; 66