ARM: tegra: DAS: Support new DAS driver APIs
authorSumit Bhattacharya <sumitb@nvidia.com>
Tue, 29 Mar 2011 11:21:29 +0000 (16:51 +0530)
committerVarun Colbert <vcolbert@nvidia.com>
Thu, 14 Apr 2011 01:05:38 +0000 (18:05 -0700)
commita12a3c264124e02232e2b102bfc718682cb374b6
tree236080eeedb819a4166d60f52bffe592156da282
parent574e119e6d68811bc34f58c2cf83a860fe17c250
ARM: tegra: DAS: Support new DAS driver APIs

Added three new APIs in DAS driver. These APIs can be used to query
which dap/i2s port is master and supported data format of a certain
codec for the current set of das connections. ALSA driver will be
using these APIs.

Adding all the required board specific data in tegra_das_pdata
structure.

Disabling all audio related clocks from board file. This is
required for ALSA to be able to disable audio clocks when they
are not in use.

Change-Id: Idc49b4723f10e1e48530273f993f29983b48f324
Reviewed-on: http://git-master/r/24676
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
arch/arm/mach-tegra/board-ventana.c
arch/arm/mach-tegra/board-whistler.c
arch/arm/mach-tegra/include/mach/tegra_das.h
arch/arm/mach-tegra/tegra_das.c