mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18:05 -04:00
69 lines
2 KiB
C
69 lines
2 KiB
C
#ifndef LINUX_MFD_S2MU003_IRQ_H
|
|
#define LINUX_MFD_S2MU003_IRQ_H
|
|
|
|
enum {
|
|
S2MU003_EOC_IRQ,
|
|
S2MU003_CINIR_IRQ,
|
|
S2MU003_BATP_IRQ,
|
|
S2MU003_BATLV_IRQ,
|
|
S2MU003_TOPOFF_IRQ,
|
|
S2MU003_CINOVP_IRQ,
|
|
S2MU003_CHGTSD_IRQ,
|
|
S2MU003_CHGVINVR_IRQ,
|
|
S2MU003_CHGTR_IRQ,
|
|
S2MU003_TMROUT_IRQ,
|
|
S2MU003_RECHG_IRQ,
|
|
S2MU003_CHGTERM_IRQ,
|
|
S2MU003_BATOVP_IRQ,
|
|
S2MU003_CHGVIN_IRQ,
|
|
S2MU003_CIN2VAT_IRQ,
|
|
S2MU003_CHGSTS_IRQ,
|
|
S2MU003_OTGILIM_IRQ,
|
|
S2MU003_BSTINLV_IRQ,
|
|
S2MU003_BSTILIM_IRQ,
|
|
S2MU003_VMIDOVP_IRQ,
|
|
S2MU003_LBPROT_IRQ,
|
|
S2MU003_OPEN_CH2_IRQ,
|
|
S2MU003_OPEN_CH1_IRQ,
|
|
S2MU003_SHORT_CH2_IRQ,
|
|
S2MU003_SHORT_CH1_IRQ,
|
|
S2MU003_WDT_IRQ,
|
|
S2MU003_TSD_IRQ,
|
|
S2MU003_CPWRLV_IRQ,
|
|
S2MU003_IRQS_NR,
|
|
};
|
|
|
|
#define S2MU003_EOC_IRQ_NAME "chg_eoc"
|
|
#define S2MU003_CINIR_IRQ_NAME "chg_cinir"
|
|
#define S2MU003_BATP_IRQ_NAME "chg_batp"
|
|
#define S2MU003_BATLV_IRQ_NAME "chg_batlv"
|
|
#define S2MU003_TOPOFF_IRQ_NAME "chg_topoff"
|
|
#define S2MU003_CINOVP_IRQ_NAME "chg_cinovp"
|
|
#define S2MU003_CHGTSD_IRQ_NAME "chg_chgtsd"
|
|
#define S2MU003_CHGVINVR_IRQ_NAME "chg_chgvinvr"
|
|
#define S2MU003_CHGTR_IRQ_NAME "chg_chgtr"
|
|
#define S2MU003_TMROUT_IRQ_NAME "chg_tmrout"
|
|
#define S2MU003_RECHG_IRQ_NAME "chg_rechg"
|
|
#define S2MU003_CHGTERM_IRQ_NAME "chg_chgterm"
|
|
#define S2MU003_BATOVP_IRQ_NAME "chg_batovp"
|
|
#define S2MU003_CHGVIN_IRQ_NAME "chg_chgvin"
|
|
#define S2MU003_CIN2VAT_IRQ_NAME "chg_cin2vat"
|
|
#define S2MU003_CHGSTS_IRQ_NAME "chg_chgsts"
|
|
#define S2MU003_OTGILIM_IRQ_NAME "chg_otgilim"
|
|
#define S2MU003_BSTINLV_IRQ_NAME "chg_bstinlv"
|
|
#define S2MU003_BSTILIM_IRQ_NAME "chg_bstilim"
|
|
#define S2MU003_VMIDOVP_IRQ_NAME "chg_vmidovp"
|
|
|
|
#define S2MU003_LBPROT_IRQ_NAME "led_lbprot"
|
|
#define S2MU003_OPEN_CH2_IRQ_NAME "led_open_ch2"
|
|
#define S2MU003_OPEN_CH1_IRQ_NAME "led_open_ch1"
|
|
#define S2MU003_SHORT_CH2_IRQ_NAME "led_short_ch2"
|
|
#define S2MU003_SHORT_CH1_IRQ_NAME "led_short_ch1"
|
|
|
|
#define S2MU003_WDT_IRQ_NAME "pmic_wdt"
|
|
#define S2MU003_TSD_IRQ_NAME "pmic_tsd"
|
|
#define S2MU003_CPWRLV_IRQ_NAME "pmic_cpwrlv"
|
|
|
|
const char *s2mu003_get_irq_name_by_index(int index);
|
|
|
|
#endif /* LINUX_MFD_S2MU003_IRQ_H */
|