1*a867bde3SEric Jeong /* SPDX-License-Identifier: GPL-2.0+ */ 2*a867bde3SEric Jeong /* 3*a867bde3SEric Jeong * SLG51000 High PSRR, Multi-Output Regulators 4*a867bde3SEric Jeong * Copyright (C) 2019 Dialog Semiconductor 5*a867bde3SEric Jeong * 6*a867bde3SEric Jeong * Author: Eric Jeong <eric.jeong.opensource@diasemi.com> 7*a867bde3SEric Jeong */ 8*a867bde3SEric Jeong 9*a867bde3SEric Jeong #ifndef __SLG51000_REGISTERS_H__ 10*a867bde3SEric Jeong #define __SLG51000_REGISTERS_H__ 11*a867bde3SEric Jeong 12*a867bde3SEric Jeong /* Registers */ 13*a867bde3SEric Jeong 14*a867bde3SEric Jeong #define SLG51000_SYSCTL_PATN_ID_B0 0x1105 15*a867bde3SEric Jeong #define SLG51000_SYSCTL_PATN_ID_B1 0x1106 16*a867bde3SEric Jeong #define SLG51000_SYSCTL_PATN_ID_B2 0x1107 17*a867bde3SEric Jeong #define SLG51000_SYSCTL_SYS_CONF_A 0x1109 18*a867bde3SEric Jeong #define SLG51000_SYSCTL_SYS_CONF_D 0x110c 19*a867bde3SEric Jeong #define SLG51000_SYSCTL_MATRIX_CONF_A 0x110d 20*a867bde3SEric Jeong #define SLG51000_SYSCTL_MATRIX_CONF_B 0x110e 21*a867bde3SEric Jeong #define SLG51000_SYSCTL_REFGEN_CONF_C 0x1111 22*a867bde3SEric Jeong #define SLG51000_SYSCTL_UVLO_CONF_A 0x1112 23*a867bde3SEric Jeong #define SLG51000_SYSCTL_FAULT_LOG1 0x1115 24*a867bde3SEric Jeong #define SLG51000_SYSCTL_EVENT 0x1116 25*a867bde3SEric Jeong #define SLG51000_SYSCTL_STATUS 0x1117 26*a867bde3SEric Jeong #define SLG51000_SYSCTL_IRQ_MASK 0x1118 27*a867bde3SEric Jeong #define SLG51000_IO_GPIO1_CONF 0x1500 28*a867bde3SEric Jeong #define SLG51000_IO_GPIO2_CONF 0x1501 29*a867bde3SEric Jeong #define SLG51000_IO_GPIO3_CONF 0x1502 30*a867bde3SEric Jeong #define SLG51000_IO_GPIO4_CONF 0x1503 31*a867bde3SEric Jeong #define SLG51000_IO_GPIO5_CONF 0x1504 32*a867bde3SEric Jeong #define SLG51000_IO_GPIO6_CONF 0x1505 33*a867bde3SEric Jeong #define SLG51000_IO_GPIO_STATUS 0x1506 34*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_0 0x1600 35*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_1 0x1601 36*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_2 0x1602 37*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_3 0x1603 38*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_4 0x1604 39*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_5 0x1605 40*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_6 0x1606 41*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_7 0x1607 42*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_8 0x1608 43*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_9 0x1609 44*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_10 0x160a 45*a867bde3SEric Jeong #define SLG51000_LUTARRAY_LUT_VAL_11 0x160b 46*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_0 0x1700 47*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_1 0x1701 48*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_2 0x1702 49*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_3 0x1703 50*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_4 0x1704 51*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_5 0x1705 52*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_6 0x1706 53*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_7 0x1707 54*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_8 0x1708 55*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_9 0x1709 56*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_10 0x170a 57*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_11 0x170b 58*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_12 0x170c 59*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_13 0x170d 60*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_14 0x170e 61*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_15 0x170f 62*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_16 0x1710 63*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_17 0x1711 64*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_18 0x1712 65*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_19 0x1713 66*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_20 0x1714 67*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_21 0x1715 68*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_22 0x1716 69*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_23 0x1717 70*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_24 0x1718 71*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_25 0x1719 72*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_26 0x171a 73*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_27 0x171b 74*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_28 0x171c 75*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_29 0x171d 76*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_30 0x171e 77*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_31 0x171f 78*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_32 0x1720 79*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_33 0x1721 80*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_34 0x1722 81*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_35 0x1723 82*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_36 0x1724 83*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_37 0x1725 84*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_38 0x1726 85*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_39 0x1727 86*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_40 0x1728 87*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_41 0x1729 88*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_42 0x172a 89*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_43 0x172b 90*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_44 0x172c 91*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_45 0x172d 92*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_46 0x172e 93*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_47 0x172f 94*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_48 0x1730 95*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_49 0x1731 96*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_50 0x1732 97*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_51 0x1733 98*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_52 0x1734 99*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_53 0x1735 100*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_54 0x1736 101*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_55 0x1737 102*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_56 0x1738 103*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_57 0x1739 104*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_58 0x173a 105*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_59 0x173b 106*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_60 0x173c 107*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_61 0x173d 108*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_62 0x173e 109*a867bde3SEric Jeong #define SLG51000_MUXARRAY_INPUT_SEL_63 0x173f 110*a867bde3SEric Jeong #define SLG51000_PWRSEQ_RESOURCE_EN_0 0x1900 111*a867bde3SEric Jeong #define SLG51000_PWRSEQ_RESOURCE_EN_1 0x1901 112*a867bde3SEric Jeong #define SLG51000_PWRSEQ_RESOURCE_EN_2 0x1902 113*a867bde3SEric Jeong #define SLG51000_PWRSEQ_RESOURCE_EN_3 0x1903 114*a867bde3SEric Jeong #define SLG51000_PWRSEQ_RESOURCE_EN_4 0x1904 115*a867bde3SEric Jeong #define SLG51000_PWRSEQ_RESOURCE_EN_5 0x1905 116*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_UP0 0x1906 117*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN0 0x1907 118*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_UP1 0x1908 119*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN1 0x1909 120*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_UP2 0x190a 121*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN2 0x190b 122*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_UP3 0x190c 123*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN3 0x190d 124*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_UP4 0x190e 125*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN4 0x190f 126*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_UP5 0x1910 127*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN5 0x1911 128*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MAX_CONF_A 0x1912 129*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MAX_CONF_B 0x1913 130*a867bde3SEric Jeong #define SLG51000_PWRSEQ_SLOT_TIME_MAX_CONF_C 0x1914 131*a867bde3SEric Jeong #define SLG51000_PWRSEQ_INPUT_SENSE_CONF_A 0x1915 132*a867bde3SEric Jeong #define SLG51000_PWRSEQ_INPUT_SENSE_CONF_B 0x1916 133*a867bde3SEric Jeong #define SLG51000_LDO1_VSEL 0x2000 134*a867bde3SEric Jeong #define SLG51000_LDO1_MINV 0x2060 135*a867bde3SEric Jeong #define SLG51000_LDO1_MAXV 0x2061 136*a867bde3SEric Jeong #define SLG51000_LDO1_MISC1 0x2064 137*a867bde3SEric Jeong #define SLG51000_LDO1_VSEL_ACTUAL 0x2065 138*a867bde3SEric Jeong #define SLG51000_LDO1_EVENT 0x20c0 139*a867bde3SEric Jeong #define SLG51000_LDO1_STATUS 0x20c1 140*a867bde3SEric Jeong #define SLG51000_LDO1_IRQ_MASK 0x20c2 141*a867bde3SEric Jeong #define SLG51000_LDO2_VSEL 0x2200 142*a867bde3SEric Jeong #define SLG51000_LDO2_MINV 0x2260 143*a867bde3SEric Jeong #define SLG51000_LDO2_MAXV 0x2261 144*a867bde3SEric Jeong #define SLG51000_LDO2_MISC1 0x2264 145*a867bde3SEric Jeong #define SLG51000_LDO2_VSEL_ACTUAL 0x2265 146*a867bde3SEric Jeong #define SLG51000_LDO2_EVENT 0x22c0 147*a867bde3SEric Jeong #define SLG51000_LDO2_STATUS 0x22c1 148*a867bde3SEric Jeong #define SLG51000_LDO2_IRQ_MASK 0x22c2 149*a867bde3SEric Jeong #define SLG51000_LDO3_VSEL 0x2300 150*a867bde3SEric Jeong #define SLG51000_LDO3_MINV 0x2360 151*a867bde3SEric Jeong #define SLG51000_LDO3_MAXV 0x2361 152*a867bde3SEric Jeong #define SLG51000_LDO3_CONF1 0x2364 153*a867bde3SEric Jeong #define SLG51000_LDO3_CONF2 0x2365 154*a867bde3SEric Jeong #define SLG51000_LDO3_VSEL_ACTUAL 0x2366 155*a867bde3SEric Jeong #define SLG51000_LDO3_EVENT 0x23c0 156*a867bde3SEric Jeong #define SLG51000_LDO3_STATUS 0x23c1 157*a867bde3SEric Jeong #define SLG51000_LDO3_IRQ_MASK 0x23c2 158*a867bde3SEric Jeong #define SLG51000_LDO4_VSEL 0x2500 159*a867bde3SEric Jeong #define SLG51000_LDO4_MINV 0x2560 160*a867bde3SEric Jeong #define SLG51000_LDO4_MAXV 0x2561 161*a867bde3SEric Jeong #define SLG51000_LDO4_CONF1 0x2564 162*a867bde3SEric Jeong #define SLG51000_LDO4_CONF2 0x2565 163*a867bde3SEric Jeong #define SLG51000_LDO4_VSEL_ACTUAL 0x2566 164*a867bde3SEric Jeong #define SLG51000_LDO4_EVENT 0x25c0 165*a867bde3SEric Jeong #define SLG51000_LDO4_STATUS 0x25c1 166*a867bde3SEric Jeong #define SLG51000_LDO4_IRQ_MASK 0x25c2 167*a867bde3SEric Jeong #define SLG51000_LDO5_VSEL 0x2700 168*a867bde3SEric Jeong #define SLG51000_LDO5_MINV 0x2760 169*a867bde3SEric Jeong #define SLG51000_LDO5_MAXV 0x2761 170*a867bde3SEric Jeong #define SLG51000_LDO5_TRIM2 0x2763 171*a867bde3SEric Jeong #define SLG51000_LDO5_CONF1 0x2765 172*a867bde3SEric Jeong #define SLG51000_LDO5_CONF2 0x2766 173*a867bde3SEric Jeong #define SLG51000_LDO5_VSEL_ACTUAL 0x2767 174*a867bde3SEric Jeong #define SLG51000_LDO5_EVENT 0x27c0 175*a867bde3SEric Jeong #define SLG51000_LDO5_STATUS 0x27c1 176*a867bde3SEric Jeong #define SLG51000_LDO5_IRQ_MASK 0x27c2 177*a867bde3SEric Jeong #define SLG51000_LDO6_VSEL 0x2900 178*a867bde3SEric Jeong #define SLG51000_LDO6_MINV 0x2960 179*a867bde3SEric Jeong #define SLG51000_LDO6_MAXV 0x2961 180*a867bde3SEric Jeong #define SLG51000_LDO6_TRIM2 0x2963 181*a867bde3SEric Jeong #define SLG51000_LDO6_CONF1 0x2965 182*a867bde3SEric Jeong #define SLG51000_LDO6_CONF2 0x2966 183*a867bde3SEric Jeong #define SLG51000_LDO6_VSEL_ACTUAL 0x2967 184*a867bde3SEric Jeong #define SLG51000_LDO6_EVENT 0x29c0 185*a867bde3SEric Jeong #define SLG51000_LDO6_STATUS 0x29c1 186*a867bde3SEric Jeong #define SLG51000_LDO6_IRQ_MASK 0x29c2 187*a867bde3SEric Jeong #define SLG51000_LDO7_VSEL 0x3100 188*a867bde3SEric Jeong #define SLG51000_LDO7_MINV 0x3160 189*a867bde3SEric Jeong #define SLG51000_LDO7_MAXV 0x3161 190*a867bde3SEric Jeong #define SLG51000_LDO7_CONF1 0x3164 191*a867bde3SEric Jeong #define SLG51000_LDO7_CONF2 0x3165 192*a867bde3SEric Jeong #define SLG51000_LDO7_VSEL_ACTUAL 0x3166 193*a867bde3SEric Jeong #define SLG51000_LDO7_EVENT 0x31c0 194*a867bde3SEric Jeong #define SLG51000_LDO7_STATUS 0x31c1 195*a867bde3SEric Jeong #define SLG51000_LDO7_IRQ_MASK 0x31c2 196*a867bde3SEric Jeong #define SLG51000_OTP_EVENT 0x782b 197*a867bde3SEric Jeong #define SLG51000_OTP_IRQ_MASK 0x782d 198*a867bde3SEric Jeong #define SLG51000_OTP_LOCK_OTP_PROG 0x78fe 199*a867bde3SEric Jeong #define SLG51000_OTP_LOCK_CTRL 0x78ff 200*a867bde3SEric Jeong #define SLG51000_LOCK_GLOBAL_LOCK_CTRL1 0x8000 201*a867bde3SEric Jeong 202*a867bde3SEric Jeong /* Register Bit Fields */ 203*a867bde3SEric Jeong 204*a867bde3SEric Jeong /* SLG51000_SYSCTL_PATTERN_ID_BYTE0 = 0x1105 */ 205*a867bde3SEric Jeong #define SLG51000_PATTERN_ID_BYTE0_SHIFT 0 206*a867bde3SEric Jeong #define SLG51000_PATTERN_ID_BYTE0_MASK (0xff << 0) 207*a867bde3SEric Jeong 208*a867bde3SEric Jeong /* SLG51000_SYSCTL_PATTERN_ID_BYTE1 = 0x1106 */ 209*a867bde3SEric Jeong #define SLG51000_PATTERN_ID_BYTE1_SHIFT 0 210*a867bde3SEric Jeong #define SLG51000_PATTERN_ID_BYTE1_MASK (0xff << 0) 211*a867bde3SEric Jeong 212*a867bde3SEric Jeong /* SLG51000_SYSCTL_PATTERN_ID_BYTE2 = 0x1107 */ 213*a867bde3SEric Jeong #define SLG51000_PATTERN_ID_BYTE2_SHIFT 0 214*a867bde3SEric Jeong #define SLG51000_PATTERN_ID_BYTE2_MASK (0xff << 0) 215*a867bde3SEric Jeong 216*a867bde3SEric Jeong /* SLG51000_SYSCTL_SYS_CONF_A = 0x1109 */ 217*a867bde3SEric Jeong #define SLG51000_I2C_ADDRESS_SHIFT 0 218*a867bde3SEric Jeong #define SLG51000_I2C_ADDRESS_MASK (0x7f << 0) 219*a867bde3SEric Jeong #define SLG51000_I2C_DISABLE_SHIFT 7 220*a867bde3SEric Jeong #define SLG51000_I2C_DISABLE_MASK (0x01 << 7) 221*a867bde3SEric Jeong 222*a867bde3SEric Jeong /* SLG51000_SYSCTL_SYS_CONF_D = 0x110c */ 223*a867bde3SEric Jeong #define SLG51000_CS_T_DEB_SHIFT 6 224*a867bde3SEric Jeong #define SLG51000_CS_T_DEB_MASK (0x03 << 6) 225*a867bde3SEric Jeong #define SLG51000_I2C_CLR_MODE_SHIFT 5 226*a867bde3SEric Jeong #define SLG51000_I2C_CLR_MODE_MASK (0x01 << 5) 227*a867bde3SEric Jeong 228*a867bde3SEric Jeong /* SLG51000_SYSCTL_MATRIX_CTRL_CONF_A = 0x110d */ 229*a867bde3SEric Jeong #define SLG51000_RESOURCE_CTRL_SHIFT 0 230*a867bde3SEric Jeong #define SLG51000_RESOURCE_CTRL_MASK (0xff << 0) 231*a867bde3SEric Jeong 232*a867bde3SEric Jeong /* SLG51000_SYSCTL_MATRIX_CTRL_CONF_B = 0x110e */ 233*a867bde3SEric Jeong #define SLG51000_MATRIX_EVENT_SENSE_SHIFT 0 234*a867bde3SEric Jeong #define SLG51000_MATRIX_EVENT_SENSE_MASK (0x07 << 0) 235*a867bde3SEric Jeong 236*a867bde3SEric Jeong /* SLG51000_SYSCTL_REFGEN_CONF_C = 0x1111 */ 237*a867bde3SEric Jeong #define SLG51000_REFGEN_SEL_TEMP_WARN_DEBOUNCE_SHIFT 2 238*a867bde3SEric Jeong #define SLG51000_REFGEN_SEL_TEMP_WARN_DEBOUNCE_MASK (0x03 << 2) 239*a867bde3SEric Jeong #define SLG51000_REFGEN_SEL_TEMP_WARN_THR_SHIFT 0 240*a867bde3SEric Jeong #define SLG51000_REFGEN_SEL_TEMP_WARN_THR_MASK (0x03 << 0) 241*a867bde3SEric Jeong 242*a867bde3SEric Jeong /* SLG51000_SYSCTL_UVLO_CONF_A = 0x1112 */ 243*a867bde3SEric Jeong #define SLG51000_VMON_UVLO_SEL_THR_SHIFT 0 244*a867bde3SEric Jeong #define SLG51000_VMON_UVLO_SEL_THR_MASK (0x1f << 0) 245*a867bde3SEric Jeong 246*a867bde3SEric Jeong /* SLG51000_SYSCTL_FAULT_LOG1 = 0x1115 */ 247*a867bde3SEric Jeong #define SLG51000_FLT_POR_SHIFT 5 248*a867bde3SEric Jeong #define SLG51000_FLT_POR_MASK (0x01 << 5) 249*a867bde3SEric Jeong #define SLG51000_FLT_RST_SHIFT 4 250*a867bde3SEric Jeong #define SLG51000_FLT_RST_MASK (0x01 << 4) 251*a867bde3SEric Jeong #define SLG51000_FLT_POWER_SEQ_CRASH_REQ_SHIFT 2 252*a867bde3SEric Jeong #define SLG51000_FLT_POWER_SEQ_CRASH_REQ_MASK (0x01 << 2) 253*a867bde3SEric Jeong #define SLG51000_FLT_OVER_TEMP_SHIFT 1 254*a867bde3SEric Jeong #define SLG51000_FLT_OVER_TEMP_MASK (0x01 << 1) 255*a867bde3SEric Jeong 256*a867bde3SEric Jeong /* SLG51000_SYSCTL_EVENT = 0x1116 */ 257*a867bde3SEric Jeong #define SLG51000_EVT_MATRIX_SHIFT 1 258*a867bde3SEric Jeong #define SLG51000_EVT_MATRIX_MASK (0x01 << 1) 259*a867bde3SEric Jeong #define SLG51000_EVT_HIGH_TEMP_WARN_SHIFT 0 260*a867bde3SEric Jeong #define SLG51000_EVT_HIGH_TEMP_WARN_MASK (0x01 << 0) 261*a867bde3SEric Jeong 262*a867bde3SEric Jeong /* SLG51000_SYSCTL_STATUS = 0x1117 */ 263*a867bde3SEric Jeong #define SLG51000_STA_MATRIX_SHIFT 1 264*a867bde3SEric Jeong #define SLG51000_STA_MATRIX_MASK (0x01 << 1) 265*a867bde3SEric Jeong #define SLG51000_STA_HIGH_TEMP_WARN_SHIFT 0 266*a867bde3SEric Jeong #define SLG51000_STA_HIGH_TEMP_WARN_MASK (0x01 << 0) 267*a867bde3SEric Jeong 268*a867bde3SEric Jeong /* SLG51000_SYSCTL_IRQ_MASK = 0x1118 */ 269*a867bde3SEric Jeong #define SLG51000_IRQ_MATRIX_SHIFT 1 270*a867bde3SEric Jeong #define SLG51000_IRQ_MATRIX_MASK (0x01 << 1) 271*a867bde3SEric Jeong #define SLG51000_IRQ_HIGH_TEMP_WARN_SHIFT 0 272*a867bde3SEric Jeong #define SLG51000_IRQ_HIGH_TEMP_WARN_MASK (0x01 << 0) 273*a867bde3SEric Jeong 274*a867bde3SEric Jeong /* SLG51000_IO_GPIO1_CONF ~ SLG51000_IO_GPIO5_CONF = 275*a867bde3SEric Jeong * 0x1500, 0x1501, 0x1502, 0x1503, 0x1504 276*a867bde3SEric Jeong */ 277*a867bde3SEric Jeong #define SLG51000_GPIO_DIR_SHIFT 7 278*a867bde3SEric Jeong #define SLG51000_GPIO_DIR_MASK (0x01 << 7) 279*a867bde3SEric Jeong #define SLG51000_GPIO_SENS_SHIFT 5 280*a867bde3SEric Jeong #define SLG51000_GPIO_SENS_MASK (0x03 << 5) 281*a867bde3SEric Jeong #define SLG51000_GPIO_INVERT_SHIFT 4 282*a867bde3SEric Jeong #define SLG51000_GPIO_INVERT_MASK (0x01 << 4) 283*a867bde3SEric Jeong #define SLG51000_GPIO_BYP_SHIFT 3 284*a867bde3SEric Jeong #define SLG51000_GPIO_BYP_MASK (0x01 << 3) 285*a867bde3SEric Jeong #define SLG51000_GPIO_T_DEB_SHIFT 1 286*a867bde3SEric Jeong #define SLG51000_GPIO_T_DEB_MASK (0x03 << 1) 287*a867bde3SEric Jeong #define SLG51000_GPIO_LEVEL_SHIFT 0 288*a867bde3SEric Jeong #define SLG51000_GPIO_LEVEL_MASK (0x01 << 0) 289*a867bde3SEric Jeong 290*a867bde3SEric Jeong /* SLG51000_IO_GPIO6_CONF = 0x1505 */ 291*a867bde3SEric Jeong #define SLG51000_GPIO6_SENS_SHIFT 5 292*a867bde3SEric Jeong #define SLG51000_GPIO6_SENS_MASK (0x03 << 5) 293*a867bde3SEric Jeong #define SLG51000_GPIO6_INVERT_SHIFT 4 294*a867bde3SEric Jeong #define SLG51000_GPIO6_INVERT_MASK (0x01 << 4) 295*a867bde3SEric Jeong #define SLG51000_GPIO6_T_DEB_SHIFT 1 296*a867bde3SEric Jeong #define SLG51000_GPIO6_T_DEB_MASK (0x03 << 1) 297*a867bde3SEric Jeong #define SLG51000_GPIO6_LEVEL_SHIFT 0 298*a867bde3SEric Jeong #define SLG51000_GPIO6_LEVEL_MASK (0x01 << 0) 299*a867bde3SEric Jeong 300*a867bde3SEric Jeong /* SLG51000_IO_GPIO_STATUS = 0x1506 */ 301*a867bde3SEric Jeong #define SLG51000_GPIO6_STATUS_SHIFT 5 302*a867bde3SEric Jeong #define SLG51000_GPIO6_STATUS_MASK (0x01 << 5) 303*a867bde3SEric Jeong #define SLG51000_GPIO5_STATUS_SHIFT 4 304*a867bde3SEric Jeong #define SLG51000_GPIO5_STATUS_MASK (0x01 << 4) 305*a867bde3SEric Jeong #define SLG51000_GPIO4_STATUS_SHIFT 3 306*a867bde3SEric Jeong #define SLG51000_GPIO4_STATUS_MASK (0x01 << 3) 307*a867bde3SEric Jeong #define SLG51000_GPIO3_STATUS_SHIFT 2 308*a867bde3SEric Jeong #define SLG51000_GPIO3_STATUS_MASK (0x01 << 2) 309*a867bde3SEric Jeong #define SLG51000_GPIO2_STATUS_SHIFT 1 310*a867bde3SEric Jeong #define SLG51000_GPIO2_STATUS_MASK (0x01 << 1) 311*a867bde3SEric Jeong #define SLG51000_GPIO1_STATUS_SHIFT 0 312*a867bde3SEric Jeong #define SLG51000_GPIO1_STATUS_MASK (0x01 << 0) 313*a867bde3SEric Jeong 314*a867bde3SEric Jeong /* SLG51000_LUTARRAY_LUT_VAL_0 ~ SLG51000_LUTARRAY_LUT_VAL_11 315*a867bde3SEric Jeong * 0x1600, 0x1601, 0x1602, 0x1603, 0x1604, 0x1605, 316*a867bde3SEric Jeong * 0x1606, 0x1607, 0x1608, 0x1609, 0x160a, 0x160b 317*a867bde3SEric Jeong */ 318*a867bde3SEric Jeong #define SLG51000_LUT_VAL_SHIFT 0 319*a867bde3SEric Jeong #define SLG51000_LUT_VAL_MASK (0xff << 0) 320*a867bde3SEric Jeong 321*a867bde3SEric Jeong /* SLG51000_MUXARRAY_INPUT_SEL_0 ~ SLG51000_MUXARRAY_INPUT_SEL_63 322*a867bde3SEric Jeong * 0x1700, 0x1701, 0x1702, 0x1703, 0x1704, 0x1705, 323*a867bde3SEric Jeong * 0x1706, 0x1707, 0x1708, 0x1709, 0x170a, 0x170b, 324*a867bde3SEric Jeong * 0x170c, 0x170d, 0x170e, 0x170f, 0x1710, 0x1711, 325*a867bde3SEric Jeong * 0x1712, 0x1713, 0x1714, 0x1715, 0x1716, 0x1717, 326*a867bde3SEric Jeong * 0x1718, 0x1719, 0x171a, 0x171b, 0x171c, 0x171d, 327*a867bde3SEric Jeong * 0x171e, 0x171f, 0x1720, 0x1721, 0x1722, 0x1723, 328*a867bde3SEric Jeong * 0x1724, 0x1725, 0x1726, 0x1727, 0x1728, 0x1729, 329*a867bde3SEric Jeong * 0x173a, 0x173b, 0x173c, 0x173d, 0x173e, 0x173f, 330*a867bde3SEric Jeong */ 331*a867bde3SEric Jeong #define SLG51000_INPUT_SEL_SHIFT 0 332*a867bde3SEric Jeong #define SLG51000_INPUT_SEL_MASK (0x3f << 0) 333*a867bde3SEric Jeong 334*a867bde3SEric Jeong /* SLG51000_PWRSEQ_RESOURCE_EN_0 ~ SLG51000_PWRSEQ_RESOURCE_EN_5 335*a867bde3SEric Jeong * 0x1900, 0x1901, 0x1902, 0x1903, 0x1904, 0x1905 336*a867bde3SEric Jeong */ 337*a867bde3SEric Jeong #define SLG51000_RESOURCE_EN_DOWN0_SHIFT 4 338*a867bde3SEric Jeong #define SLG51000_RESOURCE_EN_DOWN0_MASK (0x07 << 4) 339*a867bde3SEric Jeong #define SLG51000_RESOURCE_EN_UP0_SHIFT 0 340*a867bde3SEric Jeong #define SLG51000_RESOURCE_EN_UP0_MASK (0x07 << 0) 341*a867bde3SEric Jeong 342*a867bde3SEric Jeong /* SLG51000_PWRSEQ_SLOT_TIME_MIN_UP0 ~ SLG51000_PWRSEQ_SLOT_TIME_MIN_UP5 343*a867bde3SEric Jeong * 0x1906, 0x1908, 0x190a, 0x190c, 0x190e, 0x1910 344*a867bde3SEric Jeong */ 345*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MIN_UP_SHIFT 0 346*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MIN_UP_MASK (0xff << 0) 347*a867bde3SEric Jeong 348*a867bde3SEric Jeong /* SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN0 ~ SLG51000_PWRSEQ_SLOT_TIME_MIN_DOWN5 349*a867bde3SEric Jeong * 0x1907, 0x1909, 0x190b, 0x190d, 0x190f, 0x1911 350*a867bde3SEric Jeong */ 351*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MIN_DOWN_SHIFT 0 352*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MIN_DOWN_MASK (0xff << 0) 353*a867bde3SEric Jeong 354*a867bde3SEric Jeong /* SLG51000_PWRSEQ_SLOT_TIME_MAX_CONF_A ~ SLG51000_PWRSEQ_SLOT_TIME_MAX_CONF_C 355*a867bde3SEric Jeong * 0x1912, 0x1913, 0x1914 356*a867bde3SEric Jeong */ 357*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_DOWN1_SHIFT 6 358*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_DOWN1_MASK (0x03 << 6) 359*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_UP1_SHIFT 4 360*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_UP1_MASK (0x03 << 4) 361*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_DOWN0_SHIFT 2 362*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_DOWN0_MASK (0x03 << 2) 363*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_UP0_SHIFT 0 364*a867bde3SEric Jeong #define SLG51000_SLOT_TIME_MAX_UP0_MASK (0x03 << 0) 365*a867bde3SEric Jeong 366*a867bde3SEric Jeong /* SLG51000_PWRSEQ_INPUT_SENSE_CONF_A = 0x1915 */ 367*a867bde3SEric Jeong #define SLG51000_TRIG_UP_SENSE_SHIFT 6 368*a867bde3SEric Jeong #define SLG51000_TRIG_UP_SENSE_MASK (0x01 << 6) 369*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE5_SHIFT 5 370*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE5_MASK (0x01 << 5) 371*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE4_SHIFT 4 372*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE4_MASK (0x01 << 4) 373*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE3_SHIFT 3 374*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE3_MASK (0x01 << 3) 375*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE2_SHIFT 2 376*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE2_MASK (0x01 << 2) 377*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE1_SHIFT 1 378*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE1_MASK (0x01 << 1) 379*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE0_SHIFT 0 380*a867bde3SEric Jeong #define SLG51000_UP_EN_SENSE0_MASK (0x01 << 0) 381*a867bde3SEric Jeong 382*a867bde3SEric Jeong /* SLG51000_PWRSEQ_INPUT_SENSE_CONF_B = 0x1916 */ 383*a867bde3SEric Jeong #define SLG51000_CRASH_DETECT_SENSE_SHIFT 7 384*a867bde3SEric Jeong #define SLG51000_CRASH_DETECT_SENSE_MASK (0x01 << 7) 385*a867bde3SEric Jeong #define SLG51000_TRIG_DOWN_SENSE_SHIFT 6 386*a867bde3SEric Jeong #define SLG51000_TRIG_DOWN_SENSE_MASK (0x01 << 6) 387*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE5_SHIFT 5 388*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE5_MASK (0x01 << 5) 389*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE4_SHIFT 4 390*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE4_MASK (0x01 << 4) 391*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE3_SHIFT 3 392*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE3_MASK (0x01 << 3) 393*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE2_SHIFT 2 394*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE2_MASK (0x01 << 2) 395*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE1_SHIFT 1 396*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE1_MASK (0x01 << 1) 397*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE0_SHIFT 0 398*a867bde3SEric Jeong #define SLG51000_DOWN_EN_SENSE0_MASK (0x01 << 0) 399*a867bde3SEric Jeong 400*a867bde3SEric Jeong /* SLG51000_LDO1_VSEL ~ SLG51000_LDO7_VSEL = 401*a867bde3SEric Jeong * 0x2000, 0x2200, 0x2300, 0x2500, 0x2700, 0x2900, 0x3100 402*a867bde3SEric Jeong */ 403*a867bde3SEric Jeong #define SLG51000_VSEL_SHIFT 0 404*a867bde3SEric Jeong #define SLG51000_VSEL_MASK (0xff << 0) 405*a867bde3SEric Jeong 406*a867bde3SEric Jeong /* SLG51000_LDO1_MINV ~ SLG51000_LDO7_MINV = 407*a867bde3SEric Jeong * 0x2060, 0x2260, 0x2360, 0x2560, 0x2760, 0x2960, 0x3160 408*a867bde3SEric Jeong */ 409*a867bde3SEric Jeong #define SLG51000_MINV_SHIFT 0 410*a867bde3SEric Jeong #define SLG51000_MINV_MASK (0xff << 0) 411*a867bde3SEric Jeong 412*a867bde3SEric Jeong /* SLG51000_LDO1_MAXV ~ SLG51000_LDO7_MAXV = 413*a867bde3SEric Jeong * 0x2061, 0x2261, 0x2361, 0x2561, 0x2761, 0x2961, 0x3161 414*a867bde3SEric Jeong */ 415*a867bde3SEric Jeong #define SLG51000_MAXV_SHIFT 0 416*a867bde3SEric Jeong #define SLG51000_MAXV_MASK (0xff << 0) 417*a867bde3SEric Jeong 418*a867bde3SEric Jeong /* SLG51000_LDO1_MISC1 = 0x2064, SLG51000_LDO2_MISC1 = 0x2264 */ 419*a867bde3SEric Jeong #define SLG51000_SEL_VRANGE_SHIFT 0 420*a867bde3SEric Jeong #define SLG51000_SEL_VRANGE_MASK (0x01 << 0) 421*a867bde3SEric Jeong 422*a867bde3SEric Jeong /* SLG51000_LDO1_VSEL_ACTUAL ~ SLG51000_LDO7_VSEL_ACTUAL = 423*a867bde3SEric Jeong * 0x2065, 0x2265, 0x2366, 0x2566, 0x2767, 0x2967, 0x3166 424*a867bde3SEric Jeong */ 425*a867bde3SEric Jeong #define SLG51000_VSEL_ACTUAL_SHIFT 0 426*a867bde3SEric Jeong #define SLG51000_VSEL_ACTUAL_MASK (0xff << 0) 427*a867bde3SEric Jeong 428*a867bde3SEric Jeong /* SLG51000_LDO1_EVENT ~ SLG51000_LDO7_EVENT = 429*a867bde3SEric Jeong * 0x20c0, 0x22c0, 0x23c0, 0x25c0, 0x27c0, 0x29c0, 0x31c0 430*a867bde3SEric Jeong */ 431*a867bde3SEric Jeong #define SLG51000_EVT_ILIM_FLAG_SHIFT 0 432*a867bde3SEric Jeong #define SLG51000_EVT_ILIM_FLAG_MASK (0x01 << 0) 433*a867bde3SEric Jeong #define SLG51000_EVT_VOUT_OK_FLAG_SHIFT 1 434*a867bde3SEric Jeong #define SLG51000_EVT_VOUT_OK_FLAG_MASK (0x01 << 1) 435*a867bde3SEric Jeong 436*a867bde3SEric Jeong /* SLG51000_LDO1_STATUS ~ SLG51000_LDO7_STATUS = 437*a867bde3SEric Jeong * 0x20c1, 0x22c1, 0x23c1, 0x25c1, 0x27c1, 0x29c1, 0x31c1 438*a867bde3SEric Jeong */ 439*a867bde3SEric Jeong #define SLG51000_STA_ILIM_FLAG_SHIFT 0 440*a867bde3SEric Jeong #define SLG51000_STA_ILIM_FLAG_MASK (0x01 << 0) 441*a867bde3SEric Jeong #define SLG51000_STA_VOUT_OK_FLAG_SHIFT 1 442*a867bde3SEric Jeong #define SLG51000_STA_VOUT_OK_FLAG_MASK (0x01 << 1) 443*a867bde3SEric Jeong 444*a867bde3SEric Jeong /* SLG51000_LDO1_IRQ_MASK ~ SLG51000_LDO7_IRQ_MASK = 445*a867bde3SEric Jeong * 0x20c2, 0x22c2, 0x23c2, 0x25c2, 0x27c2, 0x29c2, 0x31c2 446*a867bde3SEric Jeong */ 447*a867bde3SEric Jeong #define SLG51000_IRQ_ILIM_FLAG_SHIFT 0 448*a867bde3SEric Jeong #define SLG51000_IRQ_ILIM_FLAG_MASK (0x01 << 0) 449*a867bde3SEric Jeong 450*a867bde3SEric Jeong /* SLG51000_LDO3_CONF1 ~ SLG51000_LDO7_CONF1 = 451*a867bde3SEric Jeong * 0x2364, 0x2564, 0x2765, 0x2965, 0x3164 452*a867bde3SEric Jeong */ 453*a867bde3SEric Jeong #define SLG51000_SEL_START_ILIM_SHIFT 0 454*a867bde3SEric Jeong #define SLG51000_SEL_START_ILIM_MASK (0x7f << 0) 455*a867bde3SEric Jeong 456*a867bde3SEric Jeong /* SLG51000_LDO3_CONF2 ~ SLG51000_LDO7_CONF2 = 457*a867bde3SEric Jeong * 0x2365, 0x2565, 0x2766, 0x2966, 0x3165 458*a867bde3SEric Jeong */ 459*a867bde3SEric Jeong #define SLG51000_SEL_FUNC_ILIM_SHIFT 0 460*a867bde3SEric Jeong #define SLG51000_SEL_FUNC_ILIM_MASK (0x7f << 0) 461*a867bde3SEric Jeong 462*a867bde3SEric Jeong /* SLG51000_LDO5_TRIM2 = 0x2763, SLG51000_LDO6_TRIM2 = 0x2963 */ 463*a867bde3SEric Jeong #define SLG51000_SEL_BYP_SLEW_RATE_SHIFT 2 464*a867bde3SEric Jeong #define SLG51000_SEL_BYP_SLEW_RATE_MASK (0x03 << 2) 465*a867bde3SEric Jeong #define SLG51000_SEL_BYP_VGATE_SHIFT 1 466*a867bde3SEric Jeong #define SLG51000_SEL_BYP_VGATE_MASK (0x01 << 1) 467*a867bde3SEric Jeong #define SLG51000_SEL_BYP_MODE_SHIFT 0 468*a867bde3SEric Jeong #define SLG51000_SEL_BYP_MODE_MASK (0x01 << 0) 469*a867bde3SEric Jeong 470*a867bde3SEric Jeong /* SLG51000_OTP_EVENT = 0x782b */ 471*a867bde3SEric Jeong #define SLG51000_EVT_CRC_SHIFT 0 472*a867bde3SEric Jeong #define SLG51000_EVT_CRC_MASK (0x01 << 0) 473*a867bde3SEric Jeong 474*a867bde3SEric Jeong /* SLG51000_OTP_IRQ_MASK = 0x782d */ 475*a867bde3SEric Jeong #define SLG51000_IRQ_CRC_SHIFT 0 476*a867bde3SEric Jeong #define SLG51000_IRQ_CRC_MASK (0x01 << 0) 477*a867bde3SEric Jeong 478*a867bde3SEric Jeong /* SLG51000_OTP_LOCK_OTP_PROG = 0x78fe */ 479*a867bde3SEric Jeong #define SLG51000_LOCK_OTP_PROG_SHIFT 0 480*a867bde3SEric Jeong #define SLG51000_LOCK_OTP_PROG_MASK (0x01 << 0) 481*a867bde3SEric Jeong 482*a867bde3SEric Jeong /* SLG51000_OTP_LOCK_CTRL = 0x78ff */ 483*a867bde3SEric Jeong #define SLG51000_LOCK_DFT_SHIFT 1 484*a867bde3SEric Jeong #define SLG51000_LOCK_DFT_MASK (0x01 << 1) 485*a867bde3SEric Jeong #define SLG51000_LOCK_RWT_SHIFT 0 486*a867bde3SEric Jeong #define SLG51000_LOCK_RWT_MASK (0x01 << 0) 487*a867bde3SEric Jeong 488*a867bde3SEric Jeong /* SLG51000_LOCK_GLOBAL_LOCK_CTRL1 = 0x8000 */ 489*a867bde3SEric Jeong #define SLG51000_LDO7_LOCK_SHIFT 7 490*a867bde3SEric Jeong #define SLG51000_LDO7_LOCK_MASK (0x01 << 7) 491*a867bde3SEric Jeong #define SLG51000_LDO6_LOCK_SHIFT 6 492*a867bde3SEric Jeong #define SLG51000_LDO6_LOCK_MASK (0x01 << 6) 493*a867bde3SEric Jeong #define SLG51000_LDO5_LOCK_SHIFT 5 494*a867bde3SEric Jeong #define SLG51000_LDO5_LOCK_MASK (0x01 << 5) 495*a867bde3SEric Jeong #define SLG51000_LDO4_LOCK_SHIFT 4 496*a867bde3SEric Jeong #define SLG51000_LDO4_LOCK_MASK (0x01 << 4) 497*a867bde3SEric Jeong #define SLG51000_LDO3_LOCK_SHIFT 3 498*a867bde3SEric Jeong #define SLG51000_LDO3_LOCK_MASK (0x01 << 3) 499*a867bde3SEric Jeong #define SLG51000_LDO2_LOCK_SHIFT 2 500*a867bde3SEric Jeong #define SLG51000_LDO2_LOCK_MASK (0x01 << 2) 501*a867bde3SEric Jeong #define SLG51000_LDO1_LOCK_SHIFT 1 502*a867bde3SEric Jeong #define SLG51000_LDO1_LOCK_MASK (0x01 << 1) 503*a867bde3SEric Jeong 504*a867bde3SEric Jeong #endif /* __SLG51000_REGISTERS_H__ */ 505*a867bde3SEric Jeong 506