[alsa-devel] Device tree support for WM8994 and WM9713.

Thomas Abraham thomas.abraham at linaro.org
Tue Nov 22 15:39:49 CET 2011

Hi Mark,

On 22 November 2011 18:12, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Tue, Nov 22, 2011 at 11:28:32AM +0530, Thomas Abraham wrote:
>> smdkv310 board uses wm8994 and wm9713 audio codecs. I wanted to check
>> with you if there is any plan on adding device tree support for these
>> two codecs.
> I actually have this board.  What state is the -next code in with
> respect to device tree, can I usefully run the board (and if I can a
> recipie would be very helpful)?  Also, can you tell me where the
> bootloader is in the SD card - I've got a binary but no source so I'd
> like to start from a fresh card so Id

The DT support for Samsung is available in linux-next and includes
support for smdkv310 board. DT support for pl330 dmac is also
available. I will send the details of using the existing dt support in
a separate email.

> For WM9713 you shouldn't need any mention in the device tree as for the
> way your boards are structured the normal AC'97 discovery mechanisms
> should work fine.  However,
> For WM8994 if I can get the board booting with mainline we should be
> able to get device tree support for the platform data fairly easily -
> the main issue we've got with device tree at the minute is getting a
> board which can usefully use it.  Though for your particular board I see
> that the existing non-DT code doesn't need any platform data so I'd
> expect that you don't need a specific binding at all.  I'll post a patch
> that adds a stub binding today or tomorrow.

Though platform data of wm8994 is not required for smdkv310, there are
other boards 'goni' and 'aquila' which use the platform data. So to
start with, we can ignore the platform data of wm8994 but having full
dt support would be required for other boards.


More information about the Alsa-devel mailing list