18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci#ifndef __SOUND_AUREON_H 38c2ecf20Sopenharmony_ci#define __SOUND_AUREON_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* 68c2ecf20Sopenharmony_ci * ALSA driver for VIA VT1724 (Envy24HT) 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Lowlevel functions for Terratec Aureon cards 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * Copyright (c) 2003 Takashi Iwai <tiwai@suse.de> 118c2ecf20Sopenharmony_ci */ 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define AUREON_DEVICE_DESC "{Terratec,Aureon 5.1 Sky},"\ 148c2ecf20Sopenharmony_ci "{Terratec,Aureon 7.1 Space},"\ 158c2ecf20Sopenharmony_ci "{Terratec,Aureon 7.1 Universe}," \ 168c2ecf20Sopenharmony_ci "{AudioTrak,Prodigy 7.1}," \ 178c2ecf20Sopenharmony_ci "{AudioTrak,Prodigy 7.1 LT},"\ 188c2ecf20Sopenharmony_ci "{AudioTrak,Prodigy 7.1 XT}," 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#define VT1724_SUBDEVICE_AUREON51_SKY 0x3b154711 /* Aureon 5.1 Sky */ 218c2ecf20Sopenharmony_ci#define VT1724_SUBDEVICE_AUREON71_SPACE 0x3b154511 /* Aureon 7.1 Space */ 228c2ecf20Sopenharmony_ci#define VT1724_SUBDEVICE_AUREON71_UNIVERSE 0x3b155311 /* Aureon 7.1 Universe */ 238c2ecf20Sopenharmony_ci#define VT1724_SUBDEVICE_PRODIGY71 0x33495345 /* PRODIGY 7.1 */ 248c2ecf20Sopenharmony_ci#define VT1724_SUBDEVICE_PRODIGY71LT 0x32315441 /* PRODIGY 7.1 LT */ 258c2ecf20Sopenharmony_ci#define VT1724_SUBDEVICE_PRODIGY71XT 0x36315441 /* PRODIGY 7.1 XT*/ 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciextern struct snd_ice1712_card_info snd_vt1724_aureon_cards[]; 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci/* GPIO bits */ 308c2ecf20Sopenharmony_ci#define AUREON_CS8415_CS (1 << 22) 318c2ecf20Sopenharmony_ci#define AUREON_SPI_MISO (1 << 21) 328c2ecf20Sopenharmony_ci#define AUREON_WM_RESET (1 << 20) 338c2ecf20Sopenharmony_ci#define AUREON_SPI_CLK (1 << 19) 348c2ecf20Sopenharmony_ci#define AUREON_SPI_MOSI (1 << 18) 358c2ecf20Sopenharmony_ci#define AUREON_WM_RW (1 << 17) 368c2ecf20Sopenharmony_ci#define AUREON_AC97_RESET (1 << 16) 378c2ecf20Sopenharmony_ci#define AUREON_DIGITAL_SEL1 (1 << 15) 388c2ecf20Sopenharmony_ci#define AUREON_HP_SEL (1 << 14) 398c2ecf20Sopenharmony_ci#define AUREON_WM_CS (1 << 12) 408c2ecf20Sopenharmony_ci#define AUREON_AC97_COMMIT (1 << 11) 418c2ecf20Sopenharmony_ci#define AUREON_AC97_ADDR (1 << 10) 428c2ecf20Sopenharmony_ci#define AUREON_AC97_DATA_LOW (1 << 9) 438c2ecf20Sopenharmony_ci#define AUREON_AC97_DATA_HIGH (1 << 8) 448c2ecf20Sopenharmony_ci#define AUREON_AC97_DATA_MASK 0xFF 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci#define PRODIGY_WM_CS (1 << 8) 478c2ecf20Sopenharmony_ci#define PRODIGY_SPI_MOSI (1 << 10) 488c2ecf20Sopenharmony_ci#define PRODIGY_SPI_CLK (1 << 9) 498c2ecf20Sopenharmony_ci#define PRODIGY_HP_SEL (1 << 5) 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci#endif /* __SOUND_AUREON_H */ 52