Files
android_kernel_motorola_sm6225/sound/soc/codecs/tas2562-misc.h
T
liaohj 720af089a6 sound/codecs:add ti2558 driver
sofiar use smart pa ti2558,
add kernel drivers.

Change-Id: I02b490c17e96224d2fd9510d3e214900a4172b4a
Reviewed-on: https://gerrit.mot.com/1396120
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuesheng Huang <huangys@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2019-08-05 03:36:21 +00:00

39 lines
1.2 KiB
C

/*
* =============================================================================
* 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 *p_tas2562);
int tas2562_deregister_misc(struct tas2562_priv *p_tas2562);
#endif /* _TAS2562_MISC_H */