Lines Matching +full:0 +full:x131
9 #define DA9062_PMIC_DEVICE_ID 0x62
10 #define DA9062_PMIC_VARIANT_MRC_AA 0x01
11 #define DA9062_PMIC_VARIANT_VRC_DA9061 0x01
12 #define DA9062_PMIC_VARIANT_VRC_DA9062 0x02
20 #define DA9062AA_PAGE_CON 0x000
21 #define DA9062AA_STATUS_A 0x001
22 #define DA9062AA_STATUS_B 0x002
23 #define DA9062AA_STATUS_D 0x004
24 #define DA9062AA_FAULT_LOG 0x005
25 #define DA9062AA_EVENT_A 0x006
26 #define DA9062AA_EVENT_B 0x007
27 #define DA9062AA_EVENT_C 0x008
28 #define DA9062AA_IRQ_MASK_A 0x00A
29 #define DA9062AA_IRQ_MASK_B 0x00B
30 #define DA9062AA_IRQ_MASK_C 0x00C
31 #define DA9062AA_CONTROL_A 0x00E
32 #define DA9062AA_CONTROL_B 0x00F
33 #define DA9062AA_CONTROL_C 0x010
34 #define DA9062AA_CONTROL_D 0x011
35 #define DA9062AA_CONTROL_E 0x012
36 #define DA9062AA_CONTROL_F 0x013
37 #define DA9062AA_PD_DIS 0x014
38 #define DA9062AA_GPIO_0_1 0x015
39 #define DA9062AA_GPIO_2_3 0x016
40 #define DA9062AA_GPIO_4 0x017
41 #define DA9062AA_GPIO_WKUP_MODE 0x01C
42 #define DA9062AA_GPIO_MODE0_4 0x01D
43 #define DA9062AA_GPIO_OUT0_2 0x01E
44 #define DA9062AA_GPIO_OUT3_4 0x01F
45 #define DA9062AA_BUCK2_CONT 0x020
46 #define DA9062AA_BUCK1_CONT 0x021
47 #define DA9062AA_BUCK4_CONT 0x022
48 #define DA9062AA_BUCK3_CONT 0x024
49 #define DA9062AA_LDO1_CONT 0x026
50 #define DA9062AA_LDO2_CONT 0x027
51 #define DA9062AA_LDO3_CONT 0x028
52 #define DA9062AA_LDO4_CONT 0x029
53 #define DA9062AA_DVC_1 0x032
54 #define DA9062AA_COUNT_S 0x040
55 #define DA9062AA_COUNT_MI 0x041
56 #define DA9062AA_COUNT_H 0x042
57 #define DA9062AA_COUNT_D 0x043
58 #define DA9062AA_COUNT_MO 0x044
59 #define DA9062AA_COUNT_Y 0x045
60 #define DA9062AA_ALARM_S 0x046
61 #define DA9062AA_ALARM_MI 0x047
62 #define DA9062AA_ALARM_H 0x048
63 #define DA9062AA_ALARM_D 0x049
64 #define DA9062AA_ALARM_MO 0x04A
65 #define DA9062AA_ALARM_Y 0x04B
66 #define DA9062AA_SECOND_A 0x04C
67 #define DA9062AA_SECOND_B 0x04D
68 #define DA9062AA_SECOND_C 0x04E
69 #define DA9062AA_SECOND_D 0x04F
70 #define DA9062AA_SEQ 0x081
71 #define DA9062AA_SEQ_TIMER 0x082
72 #define DA9062AA_ID_2_1 0x083
73 #define DA9062AA_ID_4_3 0x084
74 #define DA9062AA_ID_12_11 0x088
75 #define DA9062AA_ID_14_13 0x089
76 #define DA9062AA_ID_16_15 0x08A
77 #define DA9062AA_ID_22_21 0x08D
78 #define DA9062AA_ID_24_23 0x08E
79 #define DA9062AA_ID_26_25 0x08F
80 #define DA9062AA_ID_28_27 0x090
81 #define DA9062AA_ID_30_29 0x091
82 #define DA9062AA_ID_32_31 0x092
83 #define DA9062AA_SEQ_A 0x095
84 #define DA9062AA_SEQ_B 0x096
85 #define DA9062AA_WAIT 0x097
86 #define DA9062AA_EN_32K 0x098
87 #define DA9062AA_RESET 0x099
88 #define DA9062AA_BUCK_ILIM_A 0x09A
89 #define DA9062AA_BUCK_ILIM_B 0x09B
90 #define DA9062AA_BUCK_ILIM_C 0x09C
91 #define DA9062AA_BUCK2_CFG 0x09D
92 #define DA9062AA_BUCK1_CFG 0x09E
93 #define DA9062AA_BUCK4_CFG 0x09F
94 #define DA9062AA_BUCK3_CFG 0x0A0
95 #define DA9062AA_VBUCK2_A 0x0A3
96 #define DA9062AA_VBUCK1_A 0x0A4
97 #define DA9062AA_VBUCK4_A 0x0A5
98 #define DA9062AA_VBUCK3_A 0x0A7
99 #define DA9062AA_VLDO1_A 0x0A9
100 #define DA9062AA_VLDO2_A 0x0AA
101 #define DA9062AA_VLDO3_A 0x0AB
102 #define DA9062AA_VLDO4_A 0x0AC
103 #define DA9062AA_VBUCK2_B 0x0B4
104 #define DA9062AA_VBUCK1_B 0x0B5
105 #define DA9062AA_VBUCK4_B 0x0B6
106 #define DA9062AA_VBUCK3_B 0x0B8
107 #define DA9062AA_VLDO1_B 0x0BA
108 #define DA9062AA_VLDO2_B 0x0BB
109 #define DA9062AA_VLDO3_B 0x0BC
110 #define DA9062AA_VLDO4_B 0x0BD
111 #define DA9062AA_BBAT_CONT 0x0C5
112 #define DA9062AA_INTERFACE 0x105
113 #define DA9062AA_CONFIG_A 0x106
114 #define DA9062AA_CONFIG_B 0x107
115 #define DA9062AA_CONFIG_C 0x108
116 #define DA9062AA_CONFIG_D 0x109
117 #define DA9062AA_CONFIG_E 0x10A
118 #define DA9062AA_CONFIG_G 0x10C
119 #define DA9062AA_CONFIG_H 0x10D
120 #define DA9062AA_CONFIG_I 0x10E
121 #define DA9062AA_CONFIG_J 0x10F
122 #define DA9062AA_CONFIG_K 0x110
123 #define DA9062AA_CONFIG_M 0x112
124 #define DA9062AA_TRIM_CLDR 0x120
125 #define DA9062AA_GP_ID_0 0x121
126 #define DA9062AA_GP_ID_1 0x122
127 #define DA9062AA_GP_ID_2 0x123
128 #define DA9062AA_GP_ID_3 0x124
129 #define DA9062AA_GP_ID_4 0x125
130 #define DA9062AA_GP_ID_5 0x126
131 #define DA9062AA_GP_ID_6 0x127
132 #define DA9062AA_GP_ID_7 0x128
133 #define DA9062AA_GP_ID_8 0x129
134 #define DA9062AA_GP_ID_9 0x12A
135 #define DA9062AA_GP_ID_10 0x12B
136 #define DA9062AA_GP_ID_11 0x12C
137 #define DA9062AA_GP_ID_12 0x12D
138 #define DA9062AA_GP_ID_13 0x12E
139 #define DA9062AA_GP_ID_14 0x12F
140 #define DA9062AA_GP_ID_15 0x130
141 #define DA9062AA_GP_ID_16 0x131
142 #define DA9062AA_GP_ID_17 0x132
143 #define DA9062AA_GP_ID_18 0x133
144 #define DA9062AA_GP_ID_19 0x134
145 #define DA9062AA_DEVICE_ID 0x181
146 #define DA9062AA_VARIANT_ID 0x182
147 #define DA9062AA_CUSTOMER_ID 0x183
148 #define DA9062AA_CONFIG_ID 0x184
154 /* DA9062AA_PAGE_CON = 0x000 */
155 #define DA9062AA_PAGE_SHIFT 0
156 #define DA9062AA_PAGE_MASK 0x3f
162 /* DA9062AA_STATUS_A = 0x001 */
163 #define DA9062AA_NONKEY_SHIFT 0
164 #define DA9062AA_NONKEY_MASK 0x01
168 /* DA9062AA_STATUS_B = 0x002 */
169 #define DA9062AA_GPI0_SHIFT 0
170 #define DA9062AA_GPI0_MASK 0x01
180 /* DA9062AA_STATUS_D = 0x004 */
181 #define DA9062AA_LDO1_ILIM_SHIFT 0
182 #define DA9062AA_LDO1_ILIM_MASK 0x01
190 /* DA9062AA_FAULT_LOG = 0x005 */
191 #define DA9062AA_TWD_ERROR_SHIFT 0
192 #define DA9062AA_TWD_ERROR_MASK 0x01
208 /* DA9062AA_EVENT_A = 0x006 */
209 #define DA9062AA_E_NONKEY_SHIFT 0
210 #define DA9062AA_E_NONKEY_MASK 0x01
224 /* DA9062AA_EVENT_B = 0x007 */
234 /* DA9062AA_EVENT_C = 0x008 */
235 #define DA9062AA_E_GPI0_SHIFT 0
236 #define DA9062AA_E_GPI0_MASK 0x01
246 /* DA9062AA_IRQ_MASK_A = 0x00A */
247 #define DA9062AA_M_NONKEY_SHIFT 0
248 #define DA9062AA_M_NONKEY_MASK 0x01
258 /* DA9062AA_IRQ_MASK_B = 0x00B */
268 /* DA9062AA_IRQ_MASK_C = 0x00C */
269 #define DA9062AA_M_GPI0_SHIFT 0
270 #define DA9062AA_M_GPI0_MASK 0x01
280 /* DA9062AA_CONTROL_A = 0x00E */
281 #define DA9062AA_SYSTEM_EN_SHIFT 0
282 #define DA9062AA_SYSTEM_EN_MASK 0x01
296 /* DA9062AA_CONTROL_B = 0x00F */
306 #define DA9062AA_NFREEZE_MASK (0x03 << 5)
310 /* DA9062AA_CONTROL_C = 0x010 */
311 #define DA9062AA_DEBOUNCING_SHIFT 0
312 #define DA9062AA_DEBOUNCING_MASK 0x07
318 #define DA9062AA_SLEW_RATE_MASK (0x03 << 5)
322 /* DA9062AA_CONTROL_D = 0x011 */
323 #define DA9062AA_TWDSCALE_SHIFT 0
324 #define DA9062AA_TWDSCALE_MASK 0x07
326 /* DA9062AA_CONTROL_E = 0x012 */
327 #define DA9062AA_RTC_MODE_PD_SHIFT 0
328 #define DA9062AA_RTC_MODE_PD_MASK 0x01
336 /* DA9062AA_CONTROL_F = 0x013 */
337 #define DA9062AA_WATCHDOG_SHIFT 0
338 #define DA9062AA_WATCHDOG_MASK 0x01
344 /* DA9062AA_PD_DIS = 0x014 */
345 #define DA9062AA_GPI_DIS_SHIFT 0
346 #define DA9062AA_GPI_DIS_MASK 0x01
358 /* DA9062AA_GPIO_0_1 = 0x015 */
359 #define DA9062AA_GPIO0_PIN_SHIFT 0
360 #define DA9062AA_GPIO0_PIN_MASK 0x03
366 #define DA9062AA_GPIO1_PIN_MASK (0x03 << 4)
372 /* DA9062AA_GPIO_2_3 = 0x016 */
373 #define DA9062AA_GPIO2_PIN_SHIFT 0
374 #define DA9062AA_GPIO2_PIN_MASK 0x03
380 #define DA9062AA_GPIO3_PIN_MASK (0x03 << 4)
386 /* DA9062AA_GPIO_4 = 0x017 */
387 #define DA9062AA_GPIO4_PIN_SHIFT 0
388 #define DA9062AA_GPIO4_PIN_MASK 0x03
394 /* DA9062AA_GPIO_WKUP_MODE = 0x01C */
395 #define DA9062AA_GPIO0_WKUP_MODE_SHIFT 0
396 #define DA9062AA_GPIO0_WKUP_MODE_MASK 0x01
406 /* DA9062AA_GPIO_MODE0_4 = 0x01D */
407 #define DA9062AA_GPIO0_MODE_SHIFT 0
408 #define DA9062AA_GPIO0_MODE_MASK 0x01
418 /* DA9062AA_GPIO_OUT0_2 = 0x01E */
419 #define DA9062AA_GPIO0_OUT_SHIFT 0
420 #define DA9062AA_GPIO0_OUT_MASK 0x07
422 #define DA9062AA_GPIO1_OUT_MASK (0x07 << 3)
424 #define DA9062AA_GPIO2_OUT_MASK (0x03 << 6)
426 /* DA9062AA_GPIO_OUT3_4 = 0x01F */
427 #define DA9062AA_GPIO3_OUT_SHIFT 0
428 #define DA9062AA_GPIO3_OUT_MASK 0x07
430 #define DA9062AA_GPIO4_OUT_MASK (0x03 << 3)
432 /* DA9062AA_BUCK2_CONT = 0x020 */
433 #define DA9062AA_BUCK2_EN_SHIFT 0
434 #define DA9062AA_BUCK2_EN_MASK 0x01
436 #define DA9062AA_BUCK2_GPI_MASK (0x03 << 1)
440 #define DA9062AA_VBUCK2_GPI_MASK (0x03 << 5)
442 /* DA9062AA_BUCK1_CONT = 0x021 */
443 #define DA9062AA_BUCK1_EN_SHIFT 0
444 #define DA9062AA_BUCK1_EN_MASK 0x01
446 #define DA9062AA_BUCK1_GPI_MASK (0x03 << 1)
450 #define DA9062AA_VBUCK1_GPI_MASK (0x03 << 5)
452 /* DA9062AA_BUCK4_CONT = 0x022 */
453 #define DA9062AA_BUCK4_EN_SHIFT 0
454 #define DA9062AA_BUCK4_EN_MASK 0x01
456 #define DA9062AA_BUCK4_GPI_MASK (0x03 << 1)
460 #define DA9062AA_VBUCK4_GPI_MASK (0x03 << 5)
462 /* DA9062AA_BUCK3_CONT = 0x024 */
463 #define DA9062AA_BUCK3_EN_SHIFT 0
464 #define DA9062AA_BUCK3_EN_MASK 0x01
466 #define DA9062AA_BUCK3_GPI_MASK (0x03 << 1)
470 #define DA9062AA_VBUCK3_GPI_MASK (0x03 << 5)
472 /* DA9062AA_LDO1_CONT = 0x026 */
473 #define DA9062AA_LDO1_EN_SHIFT 0
474 #define DA9062AA_LDO1_EN_MASK 0x01
476 #define DA9062AA_LDO1_GPI_MASK (0x03 << 1)
480 #define DA9062AA_VLDO1_GPI_MASK (0x03 << 5)
484 /* DA9062AA_LDO2_CONT = 0x027 */
485 #define DA9062AA_LDO2_EN_SHIFT 0
486 #define DA9062AA_LDO2_EN_MASK 0x01
488 #define DA9062AA_LDO2_GPI_MASK (0x03 << 1)
492 #define DA9062AA_VLDO2_GPI_MASK (0x03 << 5)
496 /* DA9062AA_LDO3_CONT = 0x028 */
497 #define DA9062AA_LDO3_EN_SHIFT 0
498 #define DA9062AA_LDO3_EN_MASK 0x01
500 #define DA9062AA_LDO3_GPI_MASK (0x03 << 1)
504 #define DA9062AA_VLDO3_GPI_MASK (0x03 << 5)
508 /* DA9062AA_LDO4_CONT = 0x029 */
509 #define DA9062AA_LDO4_EN_SHIFT 0
510 #define DA9062AA_LDO4_EN_MASK 0x01
512 #define DA9062AA_LDO4_GPI_MASK (0x03 << 1)
516 #define DA9062AA_VLDO4_GPI_MASK (0x03 << 5)
520 /* DA9062AA_DVC_1 = 0x032 */
521 #define DA9062AA_VBUCK1_SEL_SHIFT 0
522 #define DA9062AA_VBUCK1_SEL_MASK 0x01
538 /* DA9062AA_COUNT_S = 0x040 */
539 #define DA9062AA_COUNT_SEC_SHIFT 0
540 #define DA9062AA_COUNT_SEC_MASK 0x3f
544 /* DA9062AA_COUNT_MI = 0x041 */
545 #define DA9062AA_COUNT_MIN_SHIFT 0
546 #define DA9062AA_COUNT_MIN_MASK 0x3f
548 /* DA9062AA_COUNT_H = 0x042 */
549 #define DA9062AA_COUNT_HOUR_SHIFT 0
550 #define DA9062AA_COUNT_HOUR_MASK 0x1f
552 /* DA9062AA_COUNT_D = 0x043 */
553 #define DA9062AA_COUNT_DAY_SHIFT 0
554 #define DA9062AA_COUNT_DAY_MASK 0x1f
556 /* DA9062AA_COUNT_MO = 0x044 */
557 #define DA9062AA_COUNT_MONTH_SHIFT 0
558 #define DA9062AA_COUNT_MONTH_MASK 0x0f
560 /* DA9062AA_COUNT_Y = 0x045 */
561 #define DA9062AA_COUNT_YEAR_SHIFT 0
562 #define DA9062AA_COUNT_YEAR_MASK 0x3f
566 /* DA9062AA_ALARM_S = 0x046 */
567 #define DA9062AA_ALARM_SEC_SHIFT 0
568 #define DA9062AA_ALARM_SEC_MASK 0x3f
570 #define DA9062AA_ALARM_STATUS_MASK (0x03 << 6)
572 /* DA9062AA_ALARM_MI = 0x047 */
573 #define DA9062AA_ALARM_MIN_SHIFT 0
574 #define DA9062AA_ALARM_MIN_MASK 0x3f
576 /* DA9062AA_ALARM_H = 0x048 */
577 #define DA9062AA_ALARM_HOUR_SHIFT 0
578 #define DA9062AA_ALARM_HOUR_MASK 0x1f
580 /* DA9062AA_ALARM_D = 0x049 */
581 #define DA9062AA_ALARM_DAY_SHIFT 0
582 #define DA9062AA_ALARM_DAY_MASK 0x1f
584 /* DA9062AA_ALARM_MO = 0x04A */
585 #define DA9062AA_ALARM_MONTH_SHIFT 0
586 #define DA9062AA_ALARM_MONTH_MASK 0x0f
592 /* DA9062AA_ALARM_Y = 0x04B */
593 #define DA9062AA_ALARM_YEAR_SHIFT 0
594 #define DA9062AA_ALARM_YEAR_MASK 0x3f
600 /* DA9062AA_SECOND_A = 0x04C */
601 #define DA9062AA_SECONDS_A_SHIFT 0
602 #define DA9062AA_SECONDS_A_MASK 0xff
604 /* DA9062AA_SECOND_B = 0x04D */
605 #define DA9062AA_SECONDS_B_SHIFT 0
606 #define DA9062AA_SECONDS_B_MASK 0xff
608 /* DA9062AA_SECOND_C = 0x04E */
609 #define DA9062AA_SECONDS_C_SHIFT 0
610 #define DA9062AA_SECONDS_C_MASK 0xff
612 /* DA9062AA_SECOND_D = 0x04F */
613 #define DA9062AA_SECONDS_D_SHIFT 0
614 #define DA9062AA_SECONDS_D_MASK 0xff
616 /* DA9062AA_SEQ = 0x081 */
617 #define DA9062AA_SEQ_POINTER_SHIFT 0
618 #define DA9062AA_SEQ_POINTER_MASK 0x0f
620 #define DA9062AA_NXT_SEQ_START_MASK (0x0f << 4)
622 /* DA9062AA_SEQ_TIMER = 0x082 */
623 #define DA9062AA_SEQ_TIME_SHIFT 0
624 #define DA9062AA_SEQ_TIME_MASK 0x0f
626 #define DA9062AA_SEQ_DUMMY_MASK (0x0f << 4)
628 /* DA9062AA_ID_2_1 = 0x083 */
629 #define DA9062AA_LDO1_STEP_SHIFT 0
630 #define DA9062AA_LDO1_STEP_MASK 0x0f
632 #define DA9062AA_LDO2_STEP_MASK (0x0f << 4)
634 /* DA9062AA_ID_4_3 = 0x084 */
635 #define DA9062AA_LDO3_STEP_SHIFT 0
636 #define DA9062AA_LDO3_STEP_MASK 0x0f
638 #define DA9062AA_LDO4_STEP_MASK (0x0f << 4)
640 /* DA9062AA_ID_12_11 = 0x088 */
642 #define DA9062AA_PD_DIS_STEP_MASK (0x0f << 4)
644 /* DA9062AA_ID_14_13 = 0x089 */
645 #define DA9062AA_BUCK1_STEP_SHIFT 0
646 #define DA9062AA_BUCK1_STEP_MASK 0x0f
648 #define DA9062AA_BUCK2_STEP_MASK (0x0f << 4)
650 /* DA9062AA_ID_16_15 = 0x08A */
651 #define DA9062AA_BUCK4_STEP_SHIFT 0
652 #define DA9062AA_BUCK4_STEP_MASK 0x0f
654 #define DA9062AA_BUCK3_STEP_MASK (0x0f << 4)
656 /* DA9062AA_ID_22_21 = 0x08D */
657 #define DA9062AA_GP_RISE1_STEP_SHIFT 0
658 #define DA9062AA_GP_RISE1_STEP_MASK 0x0f
660 #define DA9062AA_GP_FALL1_STEP_MASK (0x0f << 4)
662 /* DA9062AA_ID_24_23 = 0x08E */
663 #define DA9062AA_GP_RISE2_STEP_SHIFT 0
664 #define DA9062AA_GP_RISE2_STEP_MASK 0x0f
666 #define DA9062AA_GP_FALL2_STEP_MASK (0x0f << 4)
668 /* DA9062AA_ID_26_25 = 0x08F */
669 #define DA9062AA_GP_RISE3_STEP_SHIFT 0
670 #define DA9062AA_GP_RISE3_STEP_MASK 0x0f
672 #define DA9062AA_GP_FALL3_STEP_MASK (0x0f << 4)
674 /* DA9062AA_ID_28_27 = 0x090 */
675 #define DA9062AA_GP_RISE4_STEP_SHIFT 0
676 #define DA9062AA_GP_RISE4_STEP_MASK 0x0f
678 #define DA9062AA_GP_FALL4_STEP_MASK (0x0f << 4)
680 /* DA9062AA_ID_30_29 = 0x091 */
681 #define DA9062AA_GP_RISE5_STEP_SHIFT 0
682 #define DA9062AA_GP_RISE5_STEP_MASK 0x0f
684 #define DA9062AA_GP_FALL5_STEP_MASK (0x0f << 4)
686 /* DA9062AA_ID_32_31 = 0x092 */
687 #define DA9062AA_WAIT_STEP_SHIFT 0
688 #define DA9062AA_WAIT_STEP_MASK 0x0f
690 #define DA9062AA_EN32K_STEP_MASK (0x0f << 4)
692 /* DA9062AA_SEQ_A = 0x095 */
693 #define DA9062AA_SYSTEM_END_SHIFT 0
694 #define DA9062AA_SYSTEM_END_MASK 0x0f
696 #define DA9062AA_POWER_END_MASK (0x0f << 4)
698 /* DA9062AA_SEQ_B = 0x096 */
699 #define DA9062AA_MAX_COUNT_SHIFT 0
700 #define DA9062AA_MAX_COUNT_MASK 0x0f
702 #define DA9062AA_PART_DOWN_MASK (0x0f << 4)
704 /* DA9062AA_WAIT = 0x097 */
705 #define DA9062AA_WAIT_TIME_SHIFT 0
706 #define DA9062AA_WAIT_TIME_MASK 0x0f
712 #define DA9062AA_WAIT_DIR_MASK (0x03 << 6)
714 /* DA9062AA_EN_32K = 0x098 */
715 #define DA9062AA_STABILISATION_TIME_SHIFT 0
716 #define DA9062AA_STABILISATION_TIME_MASK 0x07
728 /* DA9062AA_RESET = 0x099 */
729 #define DA9062AA_RESET_TIMER_SHIFT 0
730 #define DA9062AA_RESET_TIMER_MASK 0x3f
732 #define DA9062AA_RESET_EVENT_MASK (0x03 << 6)
734 /* DA9062AA_BUCK_ILIM_A = 0x09A */
735 #define DA9062AA_BUCK3_ILIM_SHIFT 0
736 #define DA9062AA_BUCK3_ILIM_MASK 0x0f
738 /* DA9062AA_BUCK_ILIM_B = 0x09B */
739 #define DA9062AA_BUCK4_ILIM_SHIFT 0
740 #define DA9062AA_BUCK4_ILIM_MASK 0x0f
742 /* DA9062AA_BUCK_ILIM_C = 0x09C */
743 #define DA9062AA_BUCK1_ILIM_SHIFT 0
744 #define DA9062AA_BUCK1_ILIM_MASK 0x0f
746 #define DA9062AA_BUCK2_ILIM_MASK (0x0f << 4)
748 /* DA9062AA_BUCK2_CFG = 0x09D */
752 #define DA9062AA_BUCK2_MODE_MASK (0x03 << 6)
754 /* DA9062AA_BUCK1_CFG = 0x09E */
758 #define DA9062AA_BUCK1_MODE_MASK (0x03 << 6)
760 /* DA9062AA_BUCK4_CFG = 0x09F */
768 #define DA9062AA_BUCK4_MODE_MASK (0x03 << 6)
770 /* DA9062AA_BUCK3_CFG = 0x0A0 */
774 #define DA9062AA_BUCK3_MODE_MASK (0x03 << 6)
776 /* DA9062AA_VBUCK2_A = 0x0A3 */
777 #define DA9062AA_VBUCK2_A_SHIFT 0
778 #define DA9062AA_VBUCK2_A_MASK 0x7f
782 /* DA9062AA_VBUCK1_A = 0x0A4 */
783 #define DA9062AA_VBUCK1_A_SHIFT 0
784 #define DA9062AA_VBUCK1_A_MASK 0x7f
788 /* DA9062AA_VBUCK4_A = 0x0A5 */
789 #define DA9062AA_VBUCK4_A_SHIFT 0
790 #define DA9062AA_VBUCK4_A_MASK 0x7f
794 /* DA9062AA_VBUCK3_A = 0x0A7 */
795 #define DA9062AA_VBUCK3_A_SHIFT 0
796 #define DA9062AA_VBUCK3_A_MASK 0x7f
803 /* DA9062AA_VLDO1_A = 0x0A9 */
804 #define DA9062AA_VLDO1_A_SHIFT 0
805 #define DA9062AA_VLDO1_A_MASK 0x3f
809 /* DA9062AA_VLDO2_A = 0x0AA */
810 #define DA9062AA_VLDO2_A_SHIFT 0
811 #define DA9062AA_VLDO2_A_MASK 0x3f
815 /* DA9062AA_VLDO3_A = 0x0AB */
816 #define DA9062AA_VLDO3_A_SHIFT 0
817 #define DA9062AA_VLDO3_A_MASK 0x3f
821 /* DA9062AA_VLDO4_A = 0x0AC */
822 #define DA9062AA_VLDO4_A_SHIFT 0
823 #define DA9062AA_VLDO4_A_MASK 0x3f
827 /* DA9062AA_VBUCK2_B = 0x0B4 */
828 #define DA9062AA_VBUCK2_B_SHIFT 0
829 #define DA9062AA_VBUCK2_B_MASK 0x7f
833 /* DA9062AA_VBUCK1_B = 0x0B5 */
834 #define DA9062AA_VBUCK1_B_SHIFT 0
835 #define DA9062AA_VBUCK1_B_MASK 0x7f
839 /* DA9062AA_VBUCK4_B = 0x0B6 */
840 #define DA9062AA_VBUCK4_B_SHIFT 0
841 #define DA9062AA_VBUCK4_B_MASK 0x7f
845 /* DA9062AA_VBUCK3_B = 0x0B8 */
846 #define DA9062AA_VBUCK3_B_SHIFT 0
847 #define DA9062AA_VBUCK3_B_MASK 0x7f
851 /* DA9062AA_VLDO1_B = 0x0BA */
852 #define DA9062AA_VLDO1_B_SHIFT 0
853 #define DA9062AA_VLDO1_B_MASK 0x3f
857 /* DA9062AA_VLDO2_B = 0x0BB */
858 #define DA9062AA_VLDO2_B_SHIFT 0
859 #define DA9062AA_VLDO2_B_MASK 0x3f
863 /* DA9062AA_VLDO3_B = 0x0BC */
864 #define DA9062AA_VLDO3_B_SHIFT 0
865 #define DA9062AA_VLDO3_B_MASK 0x3f
869 /* DA9062AA_VLDO4_B = 0x0BD */
870 #define DA9062AA_VLDO4_B_SHIFT 0
871 #define DA9062AA_VLDO4_B_MASK 0x3f
875 /* DA9062AA_BBAT_CONT = 0x0C5 */
876 #define DA9062AA_BCHG_VSET_SHIFT 0
877 #define DA9062AA_BCHG_VSET_MASK 0x0f
879 #define DA9062AA_BCHG_ISET_MASK (0x0f << 4)
881 /* DA9062AA_INTERFACE = 0x105 */
883 #define DA9062AA_IF_BASE_ADDR_MASK (0x0f << 4)
885 /* DA9062AA_CONFIG_A = 0x106 */
886 #define DA9062AA_PM_I_V_SHIFT 0
887 #define DA9062AA_PM_I_V_MASK 0x01
899 /* DA9062AA_CONFIG_B = 0x107 */
900 #define DA9062AA_VDD_FAULT_ADJ_SHIFT 0
901 #define DA9062AA_VDD_FAULT_ADJ_MASK 0x0f
903 #define DA9062AA_VDD_HYST_ADJ_MASK (0x07 << 4)
905 /* DA9062AA_CONFIG_C = 0x108 */
915 /* DA9062AA_CONFIG_D = 0x109 */
916 #define DA9062AA_GPI_V_SHIFT 0
917 #define DA9062AA_GPI_V_MASK 0x01
925 /* DA9062AA_CONFIG_E = 0x10A */
926 #define DA9062AA_BUCK1_AUTO_SHIFT 0
927 #define DA9062AA_BUCK1_AUTO_MASK 0x01
935 /* DA9062AA_CONFIG_G = 0x10C */
936 #define DA9062AA_LDO1_AUTO_SHIFT 0
937 #define DA9062AA_LDO1_AUTO_MASK 0x01
945 /* DA9062AA_CONFIG_H = 0x10D */
953 /* DA9062AA_CONFIG_I = 0x10E */
954 #define DA9062AA_NONKEY_PIN_SHIFT 0
955 #define DA9062AA_NONKEY_PIN_MASK 0x03
969 /* DA9062AA_CONFIG_J = 0x10F */
970 #define DA9062AA_KEY_DELAY_SHIFT 0
971 #define DA9062AA_KEY_DELAY_MASK 0x03
973 #define DA9062AA_SHUT_DELAY_MASK (0x03 << 2)
975 #define DA9062AA_RESET_DURATION_MASK (0x03 << 4)
981 /* DA9062AA_CONFIG_K = 0x110 */
982 #define DA9062AA_GPIO0_PUPD_SHIFT 0
983 #define DA9062AA_GPIO0_PUPD_MASK 0x01
993 /* DA9062AA_CONFIG_M = 0x112 */
999 #define DA9062AA_OSC_FRQ_MASK (0x0f << 4)
1001 /* DA9062AA_TRIM_CLDR = 0x120 */
1002 #define DA9062AA_TRIM_CLDR_SHIFT 0
1003 #define DA9062AA_TRIM_CLDR_MASK 0xff
1005 /* DA9062AA_GP_ID_0 = 0x121 */
1006 #define DA9062AA_GP_0_SHIFT 0
1007 #define DA9062AA_GP_0_MASK 0xff
1009 /* DA9062AA_GP_ID_1 = 0x122 */
1010 #define DA9062AA_GP_1_SHIFT 0
1011 #define DA9062AA_GP_1_MASK 0xff
1013 /* DA9062AA_GP_ID_2 = 0x123 */
1014 #define DA9062AA_GP_2_SHIFT 0
1015 #define DA9062AA_GP_2_MASK 0xff
1017 /* DA9062AA_GP_ID_3 = 0x124 */
1018 #define DA9062AA_GP_3_SHIFT 0
1019 #define DA9062AA_GP_3_MASK 0xff
1021 /* DA9062AA_GP_ID_4 = 0x125 */
1022 #define DA9062AA_GP_4_SHIFT 0
1023 #define DA9062AA_GP_4_MASK 0xff
1025 /* DA9062AA_GP_ID_5 = 0x126 */
1026 #define DA9062AA_GP_5_SHIFT 0
1027 #define DA9062AA_GP_5_MASK 0xff
1029 /* DA9062AA_GP_ID_6 = 0x127 */
1030 #define DA9062AA_GP_6_SHIFT 0
1031 #define DA9062AA_GP_6_MASK 0xff
1033 /* DA9062AA_GP_ID_7 = 0x128 */
1034 #define DA9062AA_GP_7_SHIFT 0
1035 #define DA9062AA_GP_7_MASK 0xff
1037 /* DA9062AA_GP_ID_8 = 0x129 */
1038 #define DA9062AA_GP_8_SHIFT 0
1039 #define DA9062AA_GP_8_MASK 0xff
1041 /* DA9062AA_GP_ID_9 = 0x12A */
1042 #define DA9062AA_GP_9_SHIFT 0
1043 #define DA9062AA_GP_9_MASK 0xff
1045 /* DA9062AA_GP_ID_10 = 0x12B */
1046 #define DA9062AA_GP_10_SHIFT 0
1047 #define DA9062AA_GP_10_MASK 0xff
1049 /* DA9062AA_GP_ID_11 = 0x12C */
1050 #define DA9062AA_GP_11_SHIFT 0
1051 #define DA9062AA_GP_11_MASK 0xff
1053 /* DA9062AA_GP_ID_12 = 0x12D */
1054 #define DA9062AA_GP_12_SHIFT 0
1055 #define DA9062AA_GP_12_MASK 0xff
1057 /* DA9062AA_GP_ID_13 = 0x12E */
1058 #define DA9062AA_GP_13_SHIFT 0
1059 #define DA9062AA_GP_13_MASK 0xff
1061 /* DA9062AA_GP_ID_14 = 0x12F */
1062 #define DA9062AA_GP_14_SHIFT 0
1063 #define DA9062AA_GP_14_MASK 0xff
1065 /* DA9062AA_GP_ID_15 = 0x130 */
1066 #define DA9062AA_GP_15_SHIFT 0
1067 #define DA9062AA_GP_15_MASK 0xff
1069 /* DA9062AA_GP_ID_16 = 0x131 */
1070 #define DA9062AA_GP_16_SHIFT 0
1071 #define DA9062AA_GP_16_MASK 0xff
1073 /* DA9062AA_GP_ID_17 = 0x132 */
1074 #define DA9062AA_GP_17_SHIFT 0
1075 #define DA9062AA_GP_17_MASK 0xff
1077 /* DA9062AA_GP_ID_18 = 0x133 */
1078 #define DA9062AA_GP_18_SHIFT 0
1079 #define DA9062AA_GP_18_MASK 0xff
1081 /* DA9062AA_GP_ID_19 = 0x134 */
1082 #define DA9062AA_GP_19_SHIFT 0
1083 #define DA9062AA_GP_19_MASK 0xff
1085 /* DA9062AA_DEVICE_ID = 0x181 */
1086 #define DA9062AA_DEV_ID_SHIFT 0
1087 #define DA9062AA_DEV_ID_MASK 0xff
1089 /* DA9062AA_VARIANT_ID = 0x182 */
1090 #define DA9062AA_VRC_SHIFT 0
1091 #define DA9062AA_VRC_MASK 0x0f
1093 #define DA9062AA_MRC_MASK (0x0f << 4)
1095 /* DA9062AA_CUSTOMER_ID = 0x183 */
1096 #define DA9062AA_CUST_ID_SHIFT 0
1097 #define DA9062AA_CUST_ID_MASK 0xff
1099 /* DA9062AA_CONFIG_ID = 0x184 */
1100 #define DA9062AA_CONFIG_REV_SHIFT 0
1101 #define DA9062AA_CONFIG_REV_MASK 0xff