Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 #ifndef __SOUND_REVO_H
0003 #define __SOUND_REVO_H
0004 
0005 /*
0006  *   ALSA driver for ICEnsemble ICE1712 (Envy24)
0007  *
0008  *   Lowlevel functions for M-Audio Revolution 7.1
0009  *
0010  *  Copyright (c) 2003 Takashi Iwai <tiwai@suse.de>
0011  */      
0012 
0013 #define REVO_DEVICE_DESC \
0014         "{MidiMan M Audio,Revolution 7.1},"\
0015         "{MidiMan M Audio,Revolution 5.1},"\
0016         "{MidiMan M Audio,Audiophile 192},"
0017 
0018 #define VT1724_SUBDEVICE_REVOLUTION71   0x12143036
0019 #define VT1724_SUBDEVICE_REVOLUTION51   0x12143136
0020 #define VT1724_SUBDEVICE_AUDIOPHILE192  0x12143236
0021 
0022 /* entry point */
0023 extern struct snd_ice1712_card_info snd_vt1724_revo_cards[];
0024 
0025 
0026 /*
0027  *  MidiMan M-Audio Revolution GPIO definitions
0028  */
0029 
0030 #define VT1724_REVO_CCLK    0x02
0031 #define VT1724_REVO_CDIN    0x04    /* not used */
0032 #define VT1724_REVO_CDOUT   0x08
0033 #define VT1724_REVO_CS0     0x10    /* AK5365 chipselect for (revo51) */
0034 #define VT1724_REVO_CS1     0x20    /* front AKM4381 chipselect */
0035 #define VT1724_REVO_CS2     0x40    /* surround AKM4355 CS (revo71) */
0036 #define VT1724_REVO_I2C_DATA    0x40    /* I2C: PT 2258 SDA (on revo51) */
0037 #define VT1724_REVO_I2C_CLOCK   0x80    /* I2C: PT 2258 SCL (on revo51) */
0038 #define VT1724_REVO_CS3     0x80    /* AK4114 for AP192 */
0039 #define VT1724_REVO_MUTE    (1<<22) /* 0 = all mute, 1 = normal operation */
0040 
0041 #endif /* __SOUND_REVO_H */