File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020static const struct regmap_range stpmic1_readable_ranges [] = {
2121 regmap_reg_range (TURN_ON_SR , VERSION_SR ),
22- regmap_reg_range (SWOFF_PWRCTRL_CR , LDO6_STDBY_CR ),
22+ regmap_reg_range (MAIN_CR , LDO6_STDBY_CR ),
2323 regmap_reg_range (BST_SW_CR , BST_SW_CR ),
2424 regmap_reg_range (INT_PENDING_R1 , INT_PENDING_R4 ),
2525 regmap_reg_range (INT_CLEAR_R1 , INT_CLEAR_R4 ),
@@ -30,7 +30,7 @@ static const struct regmap_range stpmic1_readable_ranges[] = {
3030};
3131
3232static const struct regmap_range stpmic1_writeable_ranges [] = {
33- regmap_reg_range (SWOFF_PWRCTRL_CR , LDO6_STDBY_CR ),
33+ regmap_reg_range (MAIN_CR , LDO6_STDBY_CR ),
3434 regmap_reg_range (BST_SW_CR , BST_SW_CR ),
3535 regmap_reg_range (INT_CLEAR_R1 , INT_CLEAR_R4 ),
3636 regmap_reg_range (INT_SET_MASK_R1 , INT_SET_MASK_R4 ),
Original file line number Diff line number Diff line change 1515#define RREQ_STATE_SR 0x5
1616#define VERSION_SR 0x6
1717
18- #define SWOFF_PWRCTRL_CR 0x10
18+ #define MAIN_CR 0x10
1919#define PADS_PULL_CR 0x11
2020#define BUCKS_PD_CR 0x12
2121#define LDO14_PD_CR 0x13
148148#define LDO_BYPASS_MASK BIT(7)
149149
150150/* Main PMIC Control Register
151- * SWOFF_PWRCTRL_CR
151+ * MAIN_CR
152152 * Address : 0x10
153153 */
154- #define ICC_EVENT_ENABLED BIT(4)
154+ #define OCP_OFF_DBG BIT(4)
155155#define PWRCTRL_POLARITY_HIGH BIT(3)
156- #define PWRCTRL_PIN_VALID BIT(2)
157- #define RESTART_REQUEST_ENABLED BIT(1)
158- #define SOFTWARE_SWITCH_OFF_ENABLED BIT(0)
156+ #define PWRCTRL_ENABLE BIT(2)
157+ #define RESTART_REQUEST_ENABLE BIT(1)
158+ #define SOFTWARE_SWITCH_OFF BIT(0)
159159
160160/* Main PMIC PADS Control Register
161161 * PADS_PULL_CR
You can’t perform that action at this time.
0 commit comments