Go to the documentation of this file.
13 #ifndef __LINUX_MFD_PCF50633_MBC_H
14 #define __LINUX_MFD_PCF50633_MBC_H
19 #define PCF50633_REG_MBCC1 0x43
20 #define PCF50633_REG_MBCC2 0x44
21 #define PCF50633_REG_MBCC3 0x45
22 #define PCF50633_REG_MBCC4 0x46
23 #define PCF50633_REG_MBCC5 0x47
24 #define PCF50633_REG_MBCC6 0x48
25 #define PCF50633_REG_MBCC7 0x49
26 #define PCF50633_REG_MBCC8 0x4a
27 #define PCF50633_REG_MBCS1 0x4b
28 #define PCF50633_REG_MBCS2 0x4c
29 #define PCF50633_REG_MBCS3 0x4d
43 #define PCF50633_MBCC1_WDTIME_MASK 0xc0
66 #define PCF50633_MBCC7_USB_MASK 0x03
99 #define PCF50633_MBCS2_MBC_MASK 0x0f
106 #define PCF50633_MBCS2_RESSTAT_AUTO 0x40
119 #define PCF50633_MBCC2_VBATCOND_MASK 0x03
120 #define PCF50633_MBCC2_VMAX_MASK 0x3c
123 #define PCF50633_MBC_USB_ONLINE 0x01
124 #define PCF50633_MBC_USB_ACTIVE 0x02
125 #define PCF50633_MBC_ADAPTER_ONLINE 0x04
126 #define PCF50633_MBC_ADAPTER_ACTIVE 0x08