
Kernel audio drivers can be categorised into below folders. asoc - ALSA based drivers, asoc/codecs - codec drivers, ipc - APR IPC communication drivers, dsp - DSP low level drivers/Audio ION/ADSP Loader, dsp/codecs - Native encoders and decoders, soc - SoC based drivers(pinctrl/regmap/soundwire) Restructure drivers to above folder format. Include directories also follow above format. Change-Id: I8fa0857baaacd47db126fb5c1f1f5ed7e886dbc0 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
56 خطوط
1.6 KiB
C
56 خطوط
1.6 KiB
C
/*
|
|
* Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only 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 __WCD9335_IRQ_H_
|
|
#define __WCD9335_IRQ_H_
|
|
|
|
enum {
|
|
/* INTR_REG 0 */
|
|
WCD9335_IRQ_FLL_LOCK_LOSS = 1,
|
|
WCD9335_IRQ_HPH_PA_OCPL_FAULT,
|
|
WCD9335_IRQ_HPH_PA_OCPR_FAULT,
|
|
WCD9335_IRQ_EAR_PA_OCP_FAULT,
|
|
WCD9335_IRQ_HPH_PA_CNPL_COMPLETE,
|
|
WCD9335_IRQ_HPH_PA_CNPR_COMPLETE,
|
|
WCD9335_IRQ_EAR_PA_CNP_COMPLETE,
|
|
/* INTR_REG 1 */
|
|
WCD9335_IRQ_MBHC_SW_DET,
|
|
WCD9335_IRQ_MBHC_ELECT_INS_REM_DET,
|
|
WCD9335_IRQ_MBHC_BUTTON_PRESS_DET,
|
|
WCD9335_IRQ_MBHC_BUTTON_RELEASE_DET,
|
|
WCD9335_IRQ_MBHC_ELECT_INS_REM_LEG_DET,
|
|
WCD9335_IRQ_RESERVED_0,
|
|
WCD9335_IRQ_RESERVED_1,
|
|
WCD9335_IRQ_RESERVED_2,
|
|
/* INTR_REG 2 */
|
|
WCD9335_IRQ_LINE_PA1_CNP_COMPLETE,
|
|
WCD9335_IRQ_LINE_PA2_CNP_COMPLETE,
|
|
WCD9335_IRQ_LINE_PA3_CNP_COMPLETE,
|
|
WCD9335_IRQ_LINE_PA4_CNP_COMPLETE,
|
|
WCD9335_IRQ_SOUNDWIRE,
|
|
WCD9335_IRQ_VDD_DIG_RAMP_COMPLETE,
|
|
WCD9335_IRQ_RCO_ERROR,
|
|
WCD9335_IRQ_SVA_ERROR,
|
|
/* INTR_REG 3 */
|
|
WCD9335_IRQ_MAD_AUDIO,
|
|
WCD9335_IRQ_MAD_BEACON,
|
|
WCD9335_IRQ_MAD_ULTRASOUND,
|
|
WCD9335_IRQ_VBAT_ATTACK,
|
|
WCD9335_IRQ_VBAT_RESTORE,
|
|
WCD9335_IRQ_SVA_OUTBOX1,
|
|
WCD9335_IRQ_SVA_OUTBOX2,
|
|
WCD9335_NUM_IRQS,
|
|
};
|
|
|
|
#endif
|