22 S2MPS11_REG_RAMP_BUCK,
28 S2MPS11_REG_LDO1_8_OVC,
29 S2MPS11_REG_LDO9_16_OVC,
30 S2MPS11_REG_LDO17_24_OVC,
31 S2MPS11_REG_LDO25_32_OVC,
32 S2MPS11_REG_LDO33_38_OVC,
33 S2MPS11_REG_RESERVED1,
34 S2MPS11_REG_RESERVED2,
35 S2MPS11_REG_RESERVED3,
36 S2MPS11_REG_RESERVED4,
37 S2MPS11_REG_RESERVED5,
38 S2MPS11_REG_RESERVED6,
39 S2MPS11_REG_RESERVED7,
40 S2MPS11_REG_RESERVED8,
41 S2MPS11_REG_WDRSTEN_CTRL,
107 #define S2MPS11_LDO26_ENABLE 0xec
109 #define S2MPS11_LDO_NUM 26
110 #define S2MPS11_BUCK_NUM 10
113 #define S2MPS11_BUCK_DRIVER "s2mps11_buck"
114 #define S2MPS11_OF_BUCK_PREFIX "BUCK"
115 #define S2MPS11_LDO_DRIVER "s2mps11_ldo"
116 #define S2MPS11_OF_LDO_PREFIX "LDO"
119 #define S2MPS11_BUCK_VOLT_MASK 0xff
120 #define S2MPS11_BUCK9_VOLT_MASK 0x1f
122 #define S2MPS11_BUCK_LSTEP 6250
123 #define S2MPS11_BUCK_HSTEP 12500
124 #define S2MPS11_BUCK9_STEP 25000
126 #define S2MPS11_BUCK_UV_MIN 600000
127 #define S2MPS11_BUCK_UV_HMIN 750000
128 #define S2MPS11_BUCK9_UV_MIN 1400000
130 #define S2MPS11_BUCK_VOLT_MAX_HEX 0xA0
131 #define S2MPS11_BUCK5_VOLT_MAX_HEX 0xDF
132 #define S2MPS11_BUCK7_8_10_VOLT_MAX_HEX 0xDC
133 #define S2MPS11_BUCK9_VOLT_MAX_HEX 0x5F
135 #define S2MPS11_BUCK_MODE_SHIFT 6
136 #define S2MPS11_BUCK_MODE_MASK (0x3)
137 #define S2MPS11_BUCK_MODE_OFF (0x0 << 6)
138 #define S2MPS11_BUCK_MODE_STANDBY (0x1 << 6)
139 #define S2MPS11_BUCK_MODE_ON (0x3 << 6)
142 #define S2MPS11_LDO_VOLT_MASK 0x3F
143 #define S2MPS11_LDO_VOLT_MAX_HEX 0x3F
145 #define S2MPS11_LDO_STEP 25000
146 #define S2MPS11_LDO_UV_MIN 800000
148 #define S2MPS11_LDO_MODE_MASK 0x3
149 #define S2MPS11_LDO_MODE_SHIFT 6
151 #define S2MPS11_LDO_MODE_OFF (0x0 << 6)
152 #define S2MPS11_LDO_MODE_STANDBY (0x1 << 6)
153 #define S2MPS11_LDO_MODE_STANDBY_LPM (0x2 << 6)
154 #define S2MPS11_LDO_MODE_ON (0x3 << 6)