blob: 1d34656d0dcb1b8711b2996d25857cb8c1f5d672 [file] [log] [blame]
Mark Browne88ba012008-08-06 13:18:26 +01001/*
2 * wm8580.h -- audio driver for WM8580
3 *
4 * Copyright 2008 Samsung Electronics.
5 * Author: Ryu Euiyoul
6 * ryu.real@gmail.com
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 *
13 */
14
15#ifndef _WM8580_H
16#define _WM8580_H
17
18#define WM8580_PLLA 1
19#define WM8580_PLLB 2
20
21#define WM8580_MCLK 1
Mark Brownc5607d82010-08-13 19:05:04 +010022#define WM8580_CLKOUTSRC 2
Mark Browne88ba012008-08-06 13:18:26 +010023
Mark Brownc5607d82010-08-13 19:05:04 +010024#define WM8580_CLKSRC_MCLK 1
25#define WM8580_CLKSRC_PLLA 2
26#define WM8580_CLKSRC_PLLB 3
27#define WM8580_CLKSRC_OSC 4
28#define WM8580_CLKSRC_NONE 5
29#define WM8580_CLKSRC_ADCMCLK 6
Mark Browne88ba012008-08-06 13:18:26 +010030
Mark Browne88ba012008-08-06 13:18:26 +010031#define WM8580_DAI_PAIFRX 0
32#define WM8580_DAI_PAIFTX 1
33
Mark Browne88ba012008-08-06 13:18:26 +010034#endif
35