1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 /* 1 /* 3 * wm8580.h -- audio driver for WM8580 2 * wm8580.h -- audio driver for WM8580 4 * 3 * 5 * Copyright 2008 Samsung Electronics. 4 * Copyright 2008 Samsung Electronics. 6 * Author: Ryu Euiyoul 5 * Author: Ryu Euiyoul 7 * ryu.real@gmail.com 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 * 8 */ 13 */ 9 14 10 #ifndef _WM8580_H 15 #ifndef _WM8580_H 11 #define _WM8580_H 16 #define _WM8580_H 12 17 13 #define WM8580_PLLA 1 18 #define WM8580_PLLA 1 14 #define WM8580_PLLB 2 19 #define WM8580_PLLB 2 15 20 16 #define WM8580_MCLK 1 21 #define WM8580_MCLK 1 17 #define WM8580_CLKOUTSRC 2 !! 22 #define WM8580_DAC_CLKSEL 2 >> 23 #define WM8580_CLKOUTSRC 3 18 24 19 #define WM8580_CLKSRC_MCLK 1 !! 25 #define WM8580_CLKSRC_MCLK 1 20 #define WM8580_CLKSRC_PLLA 2 !! 26 #define WM8580_CLKSRC_PLLA 2 21 #define WM8580_CLKSRC_PLLB 3 !! 27 #define WM8580_CLKSRC_PLLB 3 22 #define WM8580_CLKSRC_OSC 4 !! 28 #define WM8580_CLKSRC_OSC 4 23 #define WM8580_CLKSRC_NONE 5 !! 29 #define WM8580_CLKSRC_NONE 5 24 #define WM8580_CLKSRC_ADCMCLK 6 << 25 30 26 #define WM8580_DAI_PAIFRX 0 31 #define WM8580_DAI_PAIFRX 0 27 #define WM8580_DAI_PAIFTX 1 32 #define WM8580_DAI_PAIFTX 1 >> 33 >> 34 extern struct snd_soc_dai wm8580_dai[]; >> 35 extern struct snd_soc_codec_device soc_codec_dev_wm8580; 28 36 29 #endif 37 #endif 30 38 31 39
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.