1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * Copyright 2010 Yong Shen <yong.shen@linaro. 2 * Copyright 2010 Yong Shen <yong.shen@linaro.org> 4 * Copyright 2009-2010 Pengutronix 3 * Copyright 2009-2010 Pengutronix 5 * Uwe Kleine-Koenig <u.kleine-koenig@pengutro 4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> >> 5 * >> 6 * This program is free software; you can redistribute it and/or modify it under >> 7 * the terms of the GNU General Public License version 2 as published by the >> 8 * Free Software Foundation. 6 */ 9 */ 7 #ifndef __LINUX_MFD_MC13783_H 10 #ifndef __LINUX_MFD_MC13783_H 8 #define __LINUX_MFD_MC13783_H 11 #define __LINUX_MFD_MC13783_H 9 12 10 #include <linux/mfd/mc13xxx.h> 13 #include <linux/mfd/mc13xxx.h> 11 14 12 #define MC13783_REG_SW1A 0 15 #define MC13783_REG_SW1A 0 13 #define MC13783_REG_SW1B 1 16 #define MC13783_REG_SW1B 1 14 #define MC13783_REG_SW2A 2 17 #define MC13783_REG_SW2A 2 15 #define MC13783_REG_SW2B 3 18 #define MC13783_REG_SW2B 3 16 #define MC13783_REG_SW3 4 19 #define MC13783_REG_SW3 4 17 #define MC13783_REG_PLL 5 20 #define MC13783_REG_PLL 5 18 #define MC13783_REG_VAUDIO 6 21 #define MC13783_REG_VAUDIO 6 19 #define MC13783_REG_VIOHI 7 22 #define MC13783_REG_VIOHI 7 20 #define MC13783_REG_VIOLO 8 23 #define MC13783_REG_VIOLO 8 21 #define MC13783_REG_VDIG 9 24 #define MC13783_REG_VDIG 9 22 #define MC13783_REG_VGEN 10 25 #define MC13783_REG_VGEN 10 23 #define MC13783_REG_VRFDIG 11 26 #define MC13783_REG_VRFDIG 11 24 #define MC13783_REG_VRFREF 12 27 #define MC13783_REG_VRFREF 12 25 #define MC13783_REG_VRFCP 13 28 #define MC13783_REG_VRFCP 13 26 #define MC13783_REG_VSIM 14 29 #define MC13783_REG_VSIM 14 27 #define MC13783_REG_VESIM 15 30 #define MC13783_REG_VESIM 15 28 #define MC13783_REG_VCAM 16 31 #define MC13783_REG_VCAM 16 29 #define MC13783_REG_VRFBG 17 32 #define MC13783_REG_VRFBG 17 30 #define MC13783_REG_VVIB 18 33 #define MC13783_REG_VVIB 18 31 #define MC13783_REG_VRF1 19 34 #define MC13783_REG_VRF1 19 32 #define MC13783_REG_VRF2 20 35 #define MC13783_REG_VRF2 20 33 #define MC13783_REG_VMMC1 21 36 #define MC13783_REG_VMMC1 21 34 #define MC13783_REG_VMMC2 22 37 #define MC13783_REG_VMMC2 22 35 #define MC13783_REG_GPO1 23 38 #define MC13783_REG_GPO1 23 36 #define MC13783_REG_GPO2 24 39 #define MC13783_REG_GPO2 24 37 #define MC13783_REG_GPO3 25 40 #define MC13783_REG_GPO3 25 38 #define MC13783_REG_GPO4 26 41 #define MC13783_REG_GPO4 26 39 #define MC13783_REG_V1 27 42 #define MC13783_REG_V1 27 40 #define MC13783_REG_V2 28 43 #define MC13783_REG_V2 28 41 #define MC13783_REG_V3 29 44 #define MC13783_REG_V3 29 42 #define MC13783_REG_V4 30 45 #define MC13783_REG_V4 30 43 #define MC13783_REG_PWGT1SPI 31 46 #define MC13783_REG_PWGT1SPI 31 44 #define MC13783_REG_PWGT2SPI 32 47 #define MC13783_REG_PWGT2SPI 32 45 48 46 #define MC13783_IRQ_ADCDONE MC13XXX_IRQ_AD 49 #define MC13783_IRQ_ADCDONE MC13XXX_IRQ_ADCDONE 47 #define MC13783_IRQ_ADCBISDONE MC13XXX_IRQ_AD 50 #define MC13783_IRQ_ADCBISDONE MC13XXX_IRQ_ADCBISDONE 48 #define MC13783_IRQ_TS MC13XXX_IRQ_TS 51 #define MC13783_IRQ_TS MC13XXX_IRQ_TS 49 #define MC13783_IRQ_WHIGH 3 52 #define MC13783_IRQ_WHIGH 3 50 #define MC13783_IRQ_WLOW 4 53 #define MC13783_IRQ_WLOW 4 51 #define MC13783_IRQ_CHGDET MC13XXX_IRQ_CH 54 #define MC13783_IRQ_CHGDET MC13XXX_IRQ_CHGDET 52 #define MC13783_IRQ_CHGOV 7 55 #define MC13783_IRQ_CHGOV 7 53 #define MC13783_IRQ_CHGREV MC13XXX_IRQ_CH 56 #define MC13783_IRQ_CHGREV MC13XXX_IRQ_CHGREV 54 #define MC13783_IRQ_CHGSHORT MC13XXX_IRQ_CH 57 #define MC13783_IRQ_CHGSHORT MC13XXX_IRQ_CHGSHORT 55 #define MC13783_IRQ_CCCV MC13XXX_IRQ_CC 58 #define MC13783_IRQ_CCCV MC13XXX_IRQ_CCCV 56 #define MC13783_IRQ_CHGCURR MC13XXX_IRQ_CH 59 #define MC13783_IRQ_CHGCURR MC13XXX_IRQ_CHGCURR 57 #define MC13783_IRQ_BPON MC13XXX_IRQ_BP 60 #define MC13783_IRQ_BPON MC13XXX_IRQ_BPON 58 #define MC13783_IRQ_LOBATL MC13XXX_IRQ_LO 61 #define MC13783_IRQ_LOBATL MC13XXX_IRQ_LOBATL 59 #define MC13783_IRQ_LOBATH MC13XXX_IRQ_LO 62 #define MC13783_IRQ_LOBATH MC13XXX_IRQ_LOBATH 60 #define MC13783_IRQ_UDP 15 63 #define MC13783_IRQ_UDP 15 61 #define MC13783_IRQ_USB 16 64 #define MC13783_IRQ_USB 16 62 #define MC13783_IRQ_ID 19 65 #define MC13783_IRQ_ID 19 63 #define MC13783_IRQ_SE1 21 66 #define MC13783_IRQ_SE1 21 64 #define MC13783_IRQ_CKDET 22 67 #define MC13783_IRQ_CKDET 22 65 #define MC13783_IRQ_UDM 23 68 #define MC13783_IRQ_UDM 23 66 #define MC13783_IRQ_1HZ MC13XXX_IRQ_1H 69 #define MC13783_IRQ_1HZ MC13XXX_IRQ_1HZ 67 #define MC13783_IRQ_TODA MC13XXX_IRQ_TO 70 #define MC13783_IRQ_TODA MC13XXX_IRQ_TODA 68 #define MC13783_IRQ_ONOFD1 27 71 #define MC13783_IRQ_ONOFD1 27 69 #define MC13783_IRQ_ONOFD2 28 72 #define MC13783_IRQ_ONOFD2 28 70 #define MC13783_IRQ_ONOFD3 29 73 #define MC13783_IRQ_ONOFD3 29 71 #define MC13783_IRQ_SYSRST MC13XXX_IRQ_SY 74 #define MC13783_IRQ_SYSRST MC13XXX_IRQ_SYSRST 72 #define MC13783_IRQ_RTCRST MC13XXX_IRQ_RT 75 #define MC13783_IRQ_RTCRST MC13XXX_IRQ_RTCRST 73 #define MC13783_IRQ_PC MC13XXX_IRQ_PC 76 #define MC13783_IRQ_PC MC13XXX_IRQ_PC 74 #define MC13783_IRQ_WARM MC13XXX_IRQ_WA 77 #define MC13783_IRQ_WARM MC13XXX_IRQ_WARM 75 #define MC13783_IRQ_MEMHLD MC13XXX_IRQ_ME 78 #define MC13783_IRQ_MEMHLD MC13XXX_IRQ_MEMHLD 76 #define MC13783_IRQ_PWRRDY 35 79 #define MC13783_IRQ_PWRRDY 35 77 #define MC13783_IRQ_THWARNL MC13XXX_IRQ_TH 80 #define MC13783_IRQ_THWARNL MC13XXX_IRQ_THWARNL 78 #define MC13783_IRQ_THWARNH MC13XXX_IRQ_TH 81 #define MC13783_IRQ_THWARNH MC13XXX_IRQ_THWARNH 79 #define MC13783_IRQ_CLK MC13XXX_IRQ_CL 82 #define MC13783_IRQ_CLK MC13XXX_IRQ_CLK 80 #define MC13783_IRQ_SEMAF 39 83 #define MC13783_IRQ_SEMAF 39 81 #define MC13783_IRQ_MC2B 41 84 #define MC13783_IRQ_MC2B 41 82 #define MC13783_IRQ_HSDET 42 85 #define MC13783_IRQ_HSDET 42 83 #define MC13783_IRQ_HSL 43 86 #define MC13783_IRQ_HSL 43 84 #define MC13783_IRQ_ALSPTH 44 87 #define MC13783_IRQ_ALSPTH 44 85 #define MC13783_IRQ_AHSSHORT 45 88 #define MC13783_IRQ_AHSSHORT 45 >> 89 #define MC13783_NUM_IRQ MC13XXX_NUM_IRQ 86 90 87 #endif /* ifndef __LINUX_MFD_MC13783_H */ 91 #endif /* ifndef __LINUX_MFD_MC13783_H */ 88 92
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.