brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 56e736a Raw
64 lines · plain
1RT5651 audio CODEC2 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-differential14  Boolean. Indicate MIC2 input are differential, rather than single-ended.15 16- realtek,dmic-en17  Boolean. true if dmic is used.18 19- realtek,jack-detect-source20  u32. Valid values:21  1: Use JD1_1 pin for jack-detect22  2: Use JD1_2 pin for jack-detect23  3: Use JD2 pin for jack-detect24 25- realtek,jack-detect-not-inverted26  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 not28  inverted.29 30- realtek,over-current-threshold-microamp31  u32, micbias over-current detection threshold in µA, valid values are32  600, 1500 and 2000µA.33 34- realtek,over-current-scale-factor35  u32, micbias over-current detection scale-factor, valid values are:36  0: Scale current by 0.537  1: Scale current by 0.7538  2: Scale current by 1.039  3: Scale current by 1.540 41Pins on the device (for linking into audio routes) for RT5651:42 43  * DMIC L144  * DMIC R145  * IN1P46  * IN2P47  * IN2N48  * IN3P49  * HPOL50  * HPOR51  * LOUTL52  * LOUTR53  * PDML54  * PDMR55 56Example:57 58rt5651: codec@1a {59	compatible = "realtek,rt5651";60	reg = <0x1a>;61	realtek,dmic-en = "true";62	realtek,in2-diff = "false";63};64