arm: tegra: p1852: Add i2s/tdm mode selection
authorNitin Pai <npai@nvidia.com>
Wed, 30 May 2012 10:56:25 +0000 (15:56 +0530)
committerSimone Willett <swillett@nvidia.com>
Sun, 3 Jun 2012 15:01:32 +0000 (08:01 -0700)
commit22049ebd104af134fce3cdf39c813fb993d869e9
tree9fd9f600f6362705dd96519726dc61d607ac4217
parent09884d385dc872be9452d0d053c913119cce4689
arm: tegra: p1852: Add i2s/tdm mode selection

Added code to select i2s vs tdm mode.
Added tdm-pcm-audio device defination.
Changed the pcm driver to use tdm-pcm-audio device.
Added fields to pass the pcm driver name to ASoC.
Added P1852_TDM config to KConfig and Linux defconfig

Bug 948478

Change-Id: I82fa03ab947cc615089e0a3107fb53901a1c00cd
Signed-off-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-on: http://git-master/r/105383
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/configs/tegra_p1852_gnu_linux_defconfig
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/board-p1852.c
arch/arm/mach-tegra/devices.c
arch/arm/mach-tegra/devices.h
arch/arm/mach-tegra/include/mach/tegra_p1852_pdata.h