13ae08dc0SBard LiaoRT5651 audio CODEC 23ae08dc0SBard Liao 33ae08dc0SBard LiaoThis device supports I2C only. 43ae08dc0SBard Liao 53ae08dc0SBard LiaoRequired properties: 63ae08dc0SBard Liao 73ae08dc0SBard Liao- compatible : "realtek,rt5651". 83ae08dc0SBard Liao 93ae08dc0SBard Liao- reg : The I2C address of the device. 103ae08dc0SBard Liao 113ae08dc0SBard LiaoOptional properties: 123ae08dc0SBard Liao 133ae08dc0SBard Liao- realtek,in2-differential 143ae08dc0SBard Liao Boolean. Indicate MIC2 input are differential, rather than single-ended. 153ae08dc0SBard Liao 163ae08dc0SBard Liao- realtek,dmic-en 173ae08dc0SBard Liao Boolean. true if dmic is used. 183ae08dc0SBard Liao 199db7d4b3SHans de Goede- realtek,jack-detect-source 209db7d4b3SHans de Goede u32. Valid values: 216b2d9924SHans de Goede 1: Use JD1_1 pin for jack-detect 226b2d9924SHans de Goede 2: Use JD1_2 pin for jack-detect 236b2d9924SHans de Goede 3: Use JD2 pin for jack-detect 249db7d4b3SHans de Goede 25*8a68a509SHans de Goede- realtek,jack-detect-not-inverted 26*8a68a509SHans de Goede bool. Normal jack-detect switches give an inverted (active-low) signal, 27*8a68a509SHans de Goede set this bool in the rare case you've a jack-detect switch which is not 28*8a68a509SHans de Goede inverted. 29*8a68a509SHans de Goede 309db7d4b3SHans de Goede- realtek,over-current-threshold-microamp 319db7d4b3SHans de Goede u32, micbias over-current detection threshold in µA, valid values are 329db7d4b3SHans de Goede 600, 1500 and 2000µA. 339db7d4b3SHans de Goede 349db7d4b3SHans de Goede- realtek,over-current-scale-factor 359db7d4b3SHans de Goede u32, micbias over-current detection scale-factor, valid values are: 369db7d4b3SHans de Goede 0: Scale current by 0.5 379db7d4b3SHans de Goede 1: Scale current by 0.75 389db7d4b3SHans de Goede 2: Scale current by 1.0 399db7d4b3SHans de Goede 3: Scale current by 1.5 409db7d4b3SHans de Goede 413ae08dc0SBard LiaoPins on the device (for linking into audio routes) for RT5651: 423ae08dc0SBard Liao 433ae08dc0SBard Liao * DMIC L1 443ae08dc0SBard Liao * DMIC R1 453ae08dc0SBard Liao * IN1P 463ae08dc0SBard Liao * IN2P 473ae08dc0SBard Liao * IN2N 483ae08dc0SBard Liao * IN3P 493ae08dc0SBard Liao * HPOL 503ae08dc0SBard Liao * HPOR 513ae08dc0SBard Liao * LOUTL 523ae08dc0SBard Liao * LOUTR 533ae08dc0SBard Liao * PDML 543ae08dc0SBard Liao * PDMR 553ae08dc0SBard Liao 563ae08dc0SBard LiaoExample: 573ae08dc0SBard Liao 58520a76f8SFabio Estevamrt5651: codec@1a { 593ae08dc0SBard Liao compatible = "realtek,rt5651"; 603ae08dc0SBard Liao reg = <0x1a>; 613ae08dc0SBard Liao realtek,dmic-en = "true"; 623ae08dc0SBard Liao realtek,in2-diff = "false"; 633ae08dc0SBard Liao}; 64