0001 WM8960 audio CODEC
0002
0003 This device supports I2C only.
0004
0005 Required properties:
0006
0007 - compatible : "wlf,wm8960"
0008
0009 - reg : the I2C address of the device.
0010
0011 Optional properties:
0012 - wlf,shared-lrclk: This is a boolean property. If present, the LRCM bit of
0013 R24 (Additional control 2) gets set, indicating that ADCLRC and DACLRC pins
0014 will be disabled only when ADC (Left and Right) and DAC (Left and Right)
0015 are disabled.
0016 When wm8960 works on synchronize mode and DACLRC pin is used to supply
0017 frame clock, it will no frame clock for captrue unless enable DAC to enable
0018 DACLRC pin. If shared-lrclk is present, no need to enable DAC for captrue.
0019
0020 - wlf,capless: This is a boolean property. If present, OUT3 pin will be
0021 enabled and disabled together with HP_L and HP_R pins in response to jack
0022 detect events.
0023
0024 - wlf,hp-cfg: A list of headphone jack detect configuration register values.
0025 The list must be 3 entries long.
0026 hp-cfg[0]: HPSEL[1:0] of R48 (Additional Control 4).
0027 hp-cfg[1]: {HPSWEN:HPSWPOL} of R24 (Additional Control 2).
0028 hp-cfg[2]: {TOCLKSEL:TOEN} of R23 (Additional Control 1).
0029
0030 - wlf,gpio-cfg: A list of GPIO configuration register values.
0031 The list must be 2 entries long.
0032 gpio-cfg[0]: ALRCGPIO of R9 (Audio interface)
0033 gpio-cfg[1]: {GPIOPOL:GPIOSEL[2:0]} of R48 (Additional Control 4).
0034
0035 Example:
0036
0037 wm8960: codec@1a {
0038 compatible = "wlf,wm8960";
0039 reg = <0x1a>;
0040
0041 wlf,shared-lrclk;
0042 };