Add support for wcd9335 version 2.0 and update the
register defaults accordingly based on the version.
Change-Id: I33038c1643b83ecd593891688c0ddf4a556b92ee
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Some of the wcd9335 codec page-2 registers are missing
in the readable tables. Correct the missing page-2
registers.
Change-Id: If61b5a139d98eb942d01f4485c8e61aa733cc7e2
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Some of the codec registers though readable, are
not currently added in the readable register table.
This will prevent reading those registers from driver.
Add the registers to the table as readable.
Change-Id: Ieae7ef4150396907278631cc5a9b6bc8ad178362
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Add codec driver for WCD9335 audio codec. This driver
is an ALSA-compliant and constructs the internal codec
audio paths with DAPM widgets and controls. Provides the
controls to the upper layers to enable and configure
audio paths.
Change-Id: I1c5ec2a7c775153ee6722832cb3a76298979d7f4
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>