Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Matti Vaittinen and committed by
Lee Jones
42fc191d e4560879

+19
+19
include/linux/mfd/rohm-bd957x.h
··· 116 116 #define BD957X_REG_VOUT4_TUNE 0x59 117 117 #define BD957X_REG_VOUTL1_TUNE 0x5c 118 118 119 + #define BD9576_REG_VOUT1_OVD 0x51 120 + #define BD9576_REG_VOUT1_UVD 0x52 121 + #define BD9576_REG_VOUT2_OVD 0x54 122 + #define BD9576_REG_VOUT2_UVD 0x55 123 + #define BD9576_REG_VOUT3_OVD 0x57 124 + #define BD9576_REG_VOUT3_UVD 0x58 125 + #define BD9576_REG_VOUT4_OVD 0x5a 126 + #define BD9576_REG_VOUT4_UVD 0x5b 127 + #define BD9576_REG_VOUTL1_OVD 0x5d 128 + #define BD9576_REG_VOUTL1_UVD 0x5e 129 + 130 + #define BD9576_MASK_XVD 0x7f 131 + 132 + #define BD9576_REG_VOUT1S_OCW 0x5f 133 + #define BD9576_REG_VOUT1S_OCP 0x60 134 + 135 + #define BD9576_MASK_VOUT1S_OCW 0x3f 136 + #define BD9576_MASK_VOUT1S_OCP 0x3f 137 + 119 138 #define BD957X_MAX_REGISTER 0x61 120 139 121 140 #endif