2019-05-27 13:55:01 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2008-08-06 19:18:26 +07:00
|
|
|
/*
|
|
|
|
* wm8580.h -- audio driver for WM8580
|
|
|
|
*
|
|
|
|
* Copyright 2008 Samsung Electronics.
|
|
|
|
* Author: Ryu Euiyoul
|
|
|
|
* ryu.real@gmail.com
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _WM8580_H
|
|
|
|
#define _WM8580_H
|
|
|
|
|
|
|
|
#define WM8580_PLLA 1
|
|
|
|
#define WM8580_PLLB 2
|
|
|
|
|
|
|
|
#define WM8580_MCLK 1
|
2010-08-14 01:05:04 +07:00
|
|
|
#define WM8580_CLKOUTSRC 2
|
2008-08-06 19:18:26 +07:00
|
|
|
|
2010-08-14 01:05:04 +07:00
|
|
|
#define WM8580_CLKSRC_MCLK 1
|
|
|
|
#define WM8580_CLKSRC_PLLA 2
|
|
|
|
#define WM8580_CLKSRC_PLLB 3
|
|
|
|
#define WM8580_CLKSRC_OSC 4
|
|
|
|
#define WM8580_CLKSRC_NONE 5
|
|
|
|
#define WM8580_CLKSRC_ADCMCLK 6
|
2008-08-06 19:18:26 +07:00
|
|
|
|
|
|
|
#define WM8580_DAI_PAIFRX 0
|
|
|
|
#define WM8580_DAI_PAIFTX 1
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|