/* ** ============================================================================= ** Copyright (c) 2016 Texas Instruments Inc. ** ** This program is free software; you can redistribute it and/or modify it under ** the terms of the GNU General Public License as published by the Free Software ** Foundation; version 2. ** ** 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. ** ** File: ** tas2562-misc.h ** ** Description: ** header file for tas2562-misc.c ** ** ============================================================================= */ #ifndef _TAS2562_MISC_H #define _TAS2562_MISC_H #define TIAUDIO_CMD_REG_WITE 1 #define TIAUDIO_CMD_REG_READ 2 #define TIAUDIO_CMD_DEBUG_ON 3 #define TIAUDIO_CMD_CALIBRATION 7 #define TIAUDIO_CMD_SAMPLERATE 8 #define TIAUDIO_CMD_BITRATE 9 #define TIAUDIO_CMD_DACVOLUME 10 #define TIAUDIO_CMD_SPEAKER 11 int tas2562_register_misc(struct tas2562_priv *pTAS2562); int tas2562_deregister_misc(struct tas2562_priv *pTAS2562); #endif /* _TAS2562_MISC_H */