1WM8962 audio CODEC 2 3This device supports I2C only. 4 5Required properties: 6 7 - compatible : "wlf,wm8962" 8 9 - reg : the I2C address of the device. 10 11Optional properties: 12 13 - clocks : The clock source of the mclk 14 15 - spk-mono: This is a boolean property. If present, the SPK_MONO bit 16 of R51 (Class D Control 2) gets set, indicating that the speaker is 17 in mono mode. 18 19 - mic-cfg : Default register value for R48 (Additional Control 4). 20 If absent, the default should be the register default. 21 22 - gpio-cfg : A list of GPIO configuration register values. The list must 23 be 6 entries long. If absent, no configuration of these registers is 24 performed. And note that only the value within [0x0, 0xffff] is valid. 25 Any other value is regarded as setting the GPIO register by its reset 26 value 0x0. 27 28Example: 29 30wm8962: codec@1a { 31 compatible = "wlf,wm8962"; 32 reg = <0x1a>; 33 clocks = <&clks IMX6QDL_CLK_CKO>; 34 35 gpio-cfg = < 36 0x0000 /* 0:Default */ 37 0x0000 /* 1:Default */ 38 0x0013 /* 2:FN_DMICCLK */ 39 0x0000 /* 3:Default */ 40 0x8014 /* 4:FN_DMICCDAT */ 41 0x0000 /* 5:Default */ 42 >; 43}; 44