At Mon, 30 Jul 2007 13:18:12 -0500, Timur Tabi wrote:
This patch adds ALSA SoC support for the Cirrus Logic CS4270 codec. The following features are suppored:
- Stand-alone and software mode
- Software mode via I2C only
- Master mode, not Slave
- No power management
Signed-off-by: Timur Tabi timur@freescale.com
This code is based on the Liam Girdwood's ASoC tree.
Please note that I was unable to clone Liam's ASoC git repositories because the http interface does not work for me, and my corporate firewall blocks the git protocol. I had to download a snapshot and create a bare git repository from it. Therefore, git may complain when trying to apply this patch.
include/linux/i2c-id.h | 1 + sound/soc/codecs/Kconfig | 20 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs4270.c | 803 +++++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/cs4270.h | 28 ++ 5 files changed, 854 insertions(+), 0 deletions(-) create mode 100644 sound/soc/codecs/cs4270.c create mode 100644 sound/soc/codecs/cs4270.h
Thanks for the patch. The patch looks OK at a brief glance, but it seems to have tiny coding-style issues in some places. Try to run scripts/checkpatch.pl in the linux kernel.
Takashi