mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
jz4740 asoc: Add new internel codec driver.
Add qi lb60 board support. Remove unneeded files.
This commit is contained in:
committed by
Xiangfu Liu
parent
299c9e29ef
commit
8bb63272c3
16
target/linux/xburst/files-2.6.31/sound/soc/codecs/jzcodec.h
Executable file → Normal file
16
target/linux/xburst/files-2.6.31/sound/soc/codecs/jzcodec.h
Executable file → Normal file
@@ -1,22 +1,22 @@
|
||||
/*
|
||||
* Copyright (C) 2009, Lars-Peter Clausen <lars@metafoo.de>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _ICODEC_H
|
||||
#define _ICODEC_H
|
||||
|
||||
/* jzcodec register space */
|
||||
#define ICODEC_1_LOW 0x00 /* bit0 -- bit15 in CDCCR1 */
|
||||
#define ICODEC_1_HIGH 0x01 /* bit16 -- bit31 in CDCCR1 */
|
||||
#define ICODEC_2_LOW 0x02 /* bit0 -- bit16 in CDCCR2 */
|
||||
#define ICODEC_2_HIGH 0x03 /* bit16 -- bit31 in CDCCR2 */
|
||||
|
||||
#define JZCODEC_CACHEREGNUM 4
|
||||
#define JZCODEC_SYSCLK 0
|
||||
|
||||
extern struct snd_soc_dai jzcodec_dai;
|
||||
extern struct snd_soc_dai jz_codec_dai;
|
||||
extern struct snd_soc_codec_device soc_codec_dev_jzcodec;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user