Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __MFD_MT6392_CORE_H__
|
|
#define __MFD_MT6392_CORE_H__
|
|
|
|
enum MT6392_IRQ_STATUS_numbers {
|
|
MT6392_IRQ_STATUS_SPKL_AB = 0,
|
|
MT6392_IRQ_STATUS_SPKL,
|
|
MT6392_IRQ_STATUS_BAT_L,
|
|
MT6392_IRQ_STATUS_BAT_H,
|
|
MT6392_IRQ_STATUS_WATCHDOG,
|
|
MT6392_IRQ_STATUS_PWRKEY,
|
|
MT6392_IRQ_STATUS_THR_L,
|
|
MT6392_IRQ_STATUS_THR_H,
|
|
MT6392_IRQ_STATUS_VBATON_UNDET,
|
|
MT6392_IRQ_STATUS_BVALID_DET,
|
|
MT6392_IRQ_STATUS_CHRDET,
|
|
MT6392_IRQ_STATUS_OV,
|
|
MT6392_IRQ_STATUS_LDO = 16,
|
|
MT6392_IRQ_STATUS_FCHRKEY,
|
|
MT6392_IRQ_STATUS_RELEASE_PWRKEY,
|
|
MT6392_IRQ_STATUS_RELEASE_FCHRKEY,
|
|
MT6392_IRQ_STATUS_RTC,
|
|
MT6392_IRQ_STATUS_VPROC,
|
|
MT6392_IRQ_STATUS_VSYS,
|
|
MT6392_IRQ_STATUS_VCORE,
|
|
MT6392_IRQ_STATUS_TYPE_C_CC,
|
|
MT6392_IRQ_STATUS_TYPEC_H_MAX,
|
|
MT6392_IRQ_STATUS_TYPEC_H_MIN,
|
|
MT6392_IRQ_STATUS_TYPEC_L_MAX,
|
|
MT6392_IRQ_STATUS_TYPEC_L_MIN,
|
|
MT6392_IRQ_STATUS_THR_MAX,
|
|
MT6392_IRQ_STATUS_THR_MIN,
|
|
MT6392_IRQ_STATUS_NAG_C_DLTV,
|
|
MT6392_IRQ_STATUS_NR,
|
|
};
|
|
|
|
#endif /* __MFD_MT6392_CORE_H__ */
|