mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
/* |
|
* Driver for I-Sabre Q2M |
|
* |
|
* Author: Satoru Kawase |
|
* Modified by: Xiao Qingyong |
|
* Copyright 2018 Audiophonics |
|
* |
|
* 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. |
|
* |
|
* This program is distributed in the hope that it will be useful, but |
|
* WITHOUT ANY WARRANTY; without even the implied warranty of |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
* General Public License for more details. |
|
*/ |
|
|
|
#ifndef _SND_SOC_ISABRECODEC |
|
#define _SND_SOC_ISABRECODEC |
|
|
|
|
|
/* ISABRECODEC Register Address */ |
|
#define ISABRECODEC_REG_01 0x01 /* Virtual Device ID : 0x01 = es9038q2m */ |
|
#define ISABRECODEC_REG_02 0x02 /* API revision : 0x01 = Revision 01 */ |
|
#define ISABRECODEC_REG_10 0x10 /* 0x01 = above 192kHz, 0x00 = otherwise */ |
|
#define ISABRECODEC_REG_20 0x20 /* 0 - 100 (decimal value, 0 = min., 100 = max.) */ |
|
#define ISABRECODEC_REG_21 0x21 /* 0x00 = Mute OFF, 0x01 = Mute ON */ |
|
#define ISABRECODEC_REG_22 0x22 |
|
/* |
|
0x00 = brick wall, |
|
0x01 = corrected minimum phase fast, |
|
0x02 = minimum phase slow, |
|
0x03 = minimum phase fast, |
|
0x04 = linear phase slow, |
|
0x05 = linear phase fast, |
|
0x06 = apodizing fast, |
|
*/ |
|
//#define ISABRECODEC_REG_23 0x23 /* reserved */ |
|
#define ISABRECODEC_REG_24 0x24 /* 0x00 = I2S, 0x01 = SPDIF */ |
|
#define ISABRECODEC_MAX_REG 0x24 /* Maximum Register Number */ |
|
|
|
#endif /* _SND_SOC_ISABRECODEC */
|
|
|