mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
mfd: bd9576: Add safety limit/monitoring registers
ROHM BD9576 contains safety features like over/under voltage detection, over curren detection and over temperature detection. Add the configuration register information. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
e4560879fd
commit
42fc191d60
1 changed files with 19 additions and 0 deletions
|
@ -116,6 +116,25 @@ enum {
|
|||
#define BD957X_REG_VOUT4_TUNE 0x59
|
||||
#define BD957X_REG_VOUTL1_TUNE 0x5c
|
||||
|
||||
#define BD9576_REG_VOUT1_OVD 0x51
|
||||
#define BD9576_REG_VOUT1_UVD 0x52
|
||||
#define BD9576_REG_VOUT2_OVD 0x54
|
||||
#define BD9576_REG_VOUT2_UVD 0x55
|
||||
#define BD9576_REG_VOUT3_OVD 0x57
|
||||
#define BD9576_REG_VOUT3_UVD 0x58
|
||||
#define BD9576_REG_VOUT4_OVD 0x5a
|
||||
#define BD9576_REG_VOUT4_UVD 0x5b
|
||||
#define BD9576_REG_VOUTL1_OVD 0x5d
|
||||
#define BD9576_REG_VOUTL1_UVD 0x5e
|
||||
|
||||
#define BD9576_MASK_XVD 0x7f
|
||||
|
||||
#define BD9576_REG_VOUT1S_OCW 0x5f
|
||||
#define BD9576_REG_VOUT1S_OCP 0x60
|
||||
|
||||
#define BD9576_MASK_VOUT1S_OCW 0x3f
|
||||
#define BD9576_MASK_VOUT1S_OCP 0x3f
|
||||
|
||||
#define BD957X_MAX_REGISTER 0x61
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue