18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2014 MediaTek Inc. 48c2ecf20Sopenharmony_ci * Author: Flora Fu, MediaTek 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef __MFD_MT6397_REGISTERS_H__ 88c2ecf20Sopenharmony_ci#define __MFD_MT6397_REGISTERS_H__ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci/* PMIC Registers */ 118c2ecf20Sopenharmony_ci#define MT6397_CID 0x0100 128c2ecf20Sopenharmony_ci#define MT6397_TOP_CKPDN 0x0102 138c2ecf20Sopenharmony_ci#define MT6397_TOP_CKPDN_SET 0x0104 148c2ecf20Sopenharmony_ci#define MT6397_TOP_CKPDN_CLR 0x0106 158c2ecf20Sopenharmony_ci#define MT6397_TOP_CKPDN2 0x0108 168c2ecf20Sopenharmony_ci#define MT6397_TOP_CKPDN2_SET 0x010A 178c2ecf20Sopenharmony_ci#define MT6397_TOP_CKPDN2_CLR 0x010C 188c2ecf20Sopenharmony_ci#define MT6397_TOP_GPIO_CKPDN 0x010E 198c2ecf20Sopenharmony_ci#define MT6397_TOP_RST_CON 0x0114 208c2ecf20Sopenharmony_ci#define MT6397_WRP_CKPDN 0x011A 218c2ecf20Sopenharmony_ci#define MT6397_WRP_RST_CON 0x0120 228c2ecf20Sopenharmony_ci#define MT6397_TOP_RST_MISC 0x0126 238c2ecf20Sopenharmony_ci#define MT6397_TOP_CKCON1 0x0128 248c2ecf20Sopenharmony_ci#define MT6397_TOP_CKCON2 0x012A 258c2ecf20Sopenharmony_ci#define MT6397_TOP_CKTST1 0x012C 268c2ecf20Sopenharmony_ci#define MT6397_TOP_CKTST2 0x012E 278c2ecf20Sopenharmony_ci#define MT6397_OC_DEG_EN 0x0130 288c2ecf20Sopenharmony_ci#define MT6397_OC_CTL0 0x0132 298c2ecf20Sopenharmony_ci#define MT6397_OC_CTL1 0x0134 308c2ecf20Sopenharmony_ci#define MT6397_OC_CTL2 0x0136 318c2ecf20Sopenharmony_ci#define MT6397_INT_RSV 0x0138 328c2ecf20Sopenharmony_ci#define MT6397_TEST_CON0 0x013A 338c2ecf20Sopenharmony_ci#define MT6397_TEST_CON1 0x013C 348c2ecf20Sopenharmony_ci#define MT6397_STATUS0 0x013E 358c2ecf20Sopenharmony_ci#define MT6397_STATUS1 0x0140 368c2ecf20Sopenharmony_ci#define MT6397_PGSTATUS 0x0142 378c2ecf20Sopenharmony_ci#define MT6397_CHRSTATUS 0x0144 388c2ecf20Sopenharmony_ci#define MT6397_OCSTATUS0 0x0146 398c2ecf20Sopenharmony_ci#define MT6397_OCSTATUS1 0x0148 408c2ecf20Sopenharmony_ci#define MT6397_OCSTATUS2 0x014A 418c2ecf20Sopenharmony_ci#define MT6397_HDMI_PAD_IE 0x014C 428c2ecf20Sopenharmony_ci#define MT6397_TEST_OUT_L 0x014E 438c2ecf20Sopenharmony_ci#define MT6397_TEST_OUT_H 0x0150 448c2ecf20Sopenharmony_ci#define MT6397_TDSEL_CON 0x0152 458c2ecf20Sopenharmony_ci#define MT6397_RDSEL_CON 0x0154 468c2ecf20Sopenharmony_ci#define MT6397_GPIO_SMT_CON0 0x0156 478c2ecf20Sopenharmony_ci#define MT6397_GPIO_SMT_CON1 0x0158 488c2ecf20Sopenharmony_ci#define MT6397_GPIO_SMT_CON2 0x015A 498c2ecf20Sopenharmony_ci#define MT6397_GPIO_SMT_CON3 0x015C 508c2ecf20Sopenharmony_ci#define MT6397_DRV_CON0 0x015E 518c2ecf20Sopenharmony_ci#define MT6397_DRV_CON1 0x0160 528c2ecf20Sopenharmony_ci#define MT6397_DRV_CON2 0x0162 538c2ecf20Sopenharmony_ci#define MT6397_DRV_CON3 0x0164 548c2ecf20Sopenharmony_ci#define MT6397_DRV_CON4 0x0166 558c2ecf20Sopenharmony_ci#define MT6397_DRV_CON5 0x0168 568c2ecf20Sopenharmony_ci#define MT6397_DRV_CON6 0x016A 578c2ecf20Sopenharmony_ci#define MT6397_DRV_CON7 0x016C 588c2ecf20Sopenharmony_ci#define MT6397_DRV_CON8 0x016E 598c2ecf20Sopenharmony_ci#define MT6397_DRV_CON9 0x0170 608c2ecf20Sopenharmony_ci#define MT6397_DRV_CON10 0x0172 618c2ecf20Sopenharmony_ci#define MT6397_DRV_CON11 0x0174 628c2ecf20Sopenharmony_ci#define MT6397_DRV_CON12 0x0176 638c2ecf20Sopenharmony_ci#define MT6397_INT_CON0 0x0178 648c2ecf20Sopenharmony_ci#define MT6397_INT_CON1 0x017E 658c2ecf20Sopenharmony_ci#define MT6397_INT_STATUS0 0x0184 668c2ecf20Sopenharmony_ci#define MT6397_INT_STATUS1 0x0186 678c2ecf20Sopenharmony_ci#define MT6397_FQMTR_CON0 0x0188 688c2ecf20Sopenharmony_ci#define MT6397_FQMTR_CON1 0x018A 698c2ecf20Sopenharmony_ci#define MT6397_FQMTR_CON2 0x018C 708c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_0_15 0x01C4 718c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_16_31 0x01C6 728c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_32_47 0x01C8 738c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_48_63 0x01CA 748c2ecf20Sopenharmony_ci#define MT6397_SPI_CON 0x01CC 758c2ecf20Sopenharmony_ci#define MT6397_TOP_CKPDN3 0x01CE 768c2ecf20Sopenharmony_ci#define MT6397_TOP_CKCON3 0x01D4 778c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_64_79 0x01D6 788c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_80_95 0x01D8 798c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_96_111 0x01DA 808c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_112_127 0x01DC 818c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_128_143 0x01DE 828c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_144_159 0x01E0 838c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_160_175 0x01E2 848c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_176_191 0x01E4 858c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_192_207 0x01E6 868c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_208_223 0x01E8 878c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_224_239 0x01EA 888c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_240_255 0x01EC 898c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_256_271 0x01EE 908c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_272_287 0x01F0 918c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_288_300 0x01F2 928c2ecf20Sopenharmony_ci#define MT6397_EFUSE_DOUT_304_319 0x01F4 938c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON0 0x0200 948c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON1 0x0202 958c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON2 0x0204 968c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON3 0x0206 978c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON4 0x0208 988c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON5 0x020A 998c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON6 0x020C 1008c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON7 0x020E 1018c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON8 0x0210 1028c2ecf20Sopenharmony_ci#define MT6397_BUCK_CON9 0x0212 1038c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON0 0x0214 1048c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON1 0x0216 1058c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON2 0x0218 1068c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON3 0x021A 1078c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON4 0x021C 1088c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON5 0x021E 1098c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON6 0x0220 1108c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON7 0x0222 1118c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON8 0x0224 1128c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON9 0x0226 1138c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON10 0x0228 1148c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON11 0x022A 1158c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON12 0x022C 1168c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON13 0x022E 1178c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON14 0x0230 1188c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON15 0x0232 1198c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON16 0x0234 1208c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON17 0x0236 1218c2ecf20Sopenharmony_ci#define MT6397_VCA15_CON18 0x0238 1228c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON0 0x023A 1238c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON1 0x023C 1248c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON2 0x023E 1258c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON3 0x0240 1268c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON4 0x0242 1278c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON5 0x0244 1288c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON6 0x0246 1298c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON7 0x0248 1308c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON8 0x024A 1318c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON9 0x024C 1328c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON10 0x024E 1338c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON11 0x0250 1348c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON12 0x0252 1358c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON13 0x0254 1368c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON14 0x0256 1378c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON15 0x0258 1388c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON16 0x025A 1398c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON17 0x025C 1408c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON18 0x025E 1418c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON19 0x0260 1428c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON20 0x0262 1438c2ecf20Sopenharmony_ci#define MT6397_VSRMCA15_CON21 0x0264 1448c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON0 0x0266 1458c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON1 0x0268 1468c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON2 0x026A 1478c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON3 0x026C 1488c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON4 0x026E 1498c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON5 0x0270 1508c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON6 0x0272 1518c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON7 0x0274 1528c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON8 0x0276 1538c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON9 0x0278 1548c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON10 0x027A 1558c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON11 0x027C 1568c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON12 0x027E 1578c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON13 0x0280 1588c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON14 0x0282 1598c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON15 0x0284 1608c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON16 0x0286 1618c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON17 0x0288 1628c2ecf20Sopenharmony_ci#define MT6397_VCORE_CON18 0x028A 1638c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON0 0x028C 1648c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON1 0x028E 1658c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON2 0x0290 1668c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON3 0x0292 1678c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON4 0x0294 1688c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON5 0x0296 1698c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON6 0x0298 1708c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON7 0x029A 1718c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON8 0x029C 1728c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON9 0x029E 1738c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON10 0x02A0 1748c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON11 0x02A2 1758c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON12 0x02A4 1768c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON13 0x02A6 1778c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON14 0x02A8 1788c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON15 0x02AA 1798c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON16 0x02AC 1808c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON17 0x02AE 1818c2ecf20Sopenharmony_ci#define MT6397_VGPU_CON18 0x02B0 1828c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON0 0x0300 1838c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON1 0x0302 1848c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON2 0x0304 1858c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON3 0x0306 1868c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON4 0x0308 1878c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON5 0x030A 1888c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON6 0x030C 1898c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON7 0x030E 1908c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON8 0x0310 1918c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON9 0x0312 1928c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON10 0x0314 1938c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON11 0x0316 1948c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON12 0x0318 1958c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON13 0x031A 1968c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON14 0x031C 1978c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON15 0x031E 1988c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON16 0x0320 1998c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON17 0x0322 2008c2ecf20Sopenharmony_ci#define MT6397_VIO18_CON18 0x0324 2018c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON0 0x0326 2028c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON1 0x0328 2038c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON2 0x032A 2048c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON3 0x032C 2058c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON4 0x032E 2068c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON5 0x0330 2078c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON6 0x0332 2088c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON7 0x0334 2098c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON8 0x0336 2108c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON9 0x0338 2118c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON10 0x033A 2128c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON11 0x033C 2138c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON12 0x033E 2148c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON13 0x0340 2158c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON14 0x0342 2168c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON15 0x0344 2178c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON16 0x0346 2188c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON17 0x0348 2198c2ecf20Sopenharmony_ci#define MT6397_VPCA7_CON18 0x034A 2208c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON0 0x034C 2218c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON1 0x034E 2228c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON2 0x0350 2238c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON3 0x0352 2248c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON4 0x0354 2258c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON5 0x0356 2268c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON6 0x0358 2278c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON7 0x035A 2288c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON8 0x035C 2298c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON9 0x035E 2308c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON10 0x0360 2318c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON11 0x0362 2328c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON12 0x0364 2338c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON13 0x0366 2348c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON14 0x0368 2358c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON15 0x036A 2368c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON16 0x036C 2378c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON17 0x036E 2388c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON18 0x0370 2398c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON19 0x0372 2408c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON20 0x0374 2418c2ecf20Sopenharmony_ci#define MT6397_VSRMCA7_CON21 0x0376 2428c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON0 0x0378 2438c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON1 0x037A 2448c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON2 0x037C 2458c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON3 0x037E 2468c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON4 0x0380 2478c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON5 0x0382 2488c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON6 0x0384 2498c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON7 0x0386 2508c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON8 0x0388 2518c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON9 0x038A 2528c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON10 0x038C 2538c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON11 0x038E 2548c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON12 0x0390 2558c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON13 0x0392 2568c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON14 0x0394 2578c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON15 0x0396 2588c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON16 0x0398 2598c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON17 0x039A 2608c2ecf20Sopenharmony_ci#define MT6397_VDRM_CON18 0x039C 2618c2ecf20Sopenharmony_ci#define MT6397_BUCK_K_CON0 0x039E 2628c2ecf20Sopenharmony_ci#define MT6397_BUCK_K_CON1 0x03A0 2638c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON0 0x0400 2648c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON1 0x0402 2658c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON2 0x0404 2668c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON3 0x0406 2678c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON4 0x0408 2688c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON5 0x040A 2698c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON6 0x040C 2708c2ecf20Sopenharmony_ci#define MT6397_ANALDO_CON7 0x040E 2718c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON0 0x0410 2728c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON1 0x0412 2738c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON2 0x0414 2748c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON3 0x0416 2758c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON4 0x0418 2768c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON5 0x041A 2778c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON6 0x041C 2788c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON7 0x041E 2798c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON8 0x0420 2808c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON9 0x0422 2818c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON10 0x0424 2828c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON11 0x0426 2838c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON12 0x0428 2848c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON13 0x042A 2858c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON14 0x042C 2868c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON15 0x042E 2878c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON16 0x0430 2888c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON17 0x0432 2898c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON18 0x0434 2908c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON19 0x0436 2918c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON20 0x0438 2928c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON21 0x043A 2938c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON22 0x043C 2948c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON23 0x043E 2958c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON24 0x0440 2968c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON25 0x0442 2978c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON26 0x0444 2988c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON27 0x0446 2998c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON28 0x0448 3008c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON29 0x044A 3018c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON30 0x044C 3028c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON31 0x044E 3038c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON32 0x0450 3048c2ecf20Sopenharmony_ci#define MT6397_DIGLDO_CON33 0x045A 3058c2ecf20Sopenharmony_ci#define MT6397_SPK_CON0 0x0600 3068c2ecf20Sopenharmony_ci#define MT6397_SPK_CON1 0x0602 3078c2ecf20Sopenharmony_ci#define MT6397_SPK_CON2 0x0604 3088c2ecf20Sopenharmony_ci#define MT6397_SPK_CON3 0x0606 3098c2ecf20Sopenharmony_ci#define MT6397_SPK_CON4 0x0608 3108c2ecf20Sopenharmony_ci#define MT6397_SPK_CON5 0x060A 3118c2ecf20Sopenharmony_ci#define MT6397_SPK_CON6 0x060C 3128c2ecf20Sopenharmony_ci#define MT6397_SPK_CON7 0x060E 3138c2ecf20Sopenharmony_ci#define MT6397_SPK_CON8 0x0610 3148c2ecf20Sopenharmony_ci#define MT6397_SPK_CON9 0x0612 3158c2ecf20Sopenharmony_ci#define MT6397_SPK_CON10 0x0614 3168c2ecf20Sopenharmony_ci#define MT6397_SPK_CON11 0x0616 3178c2ecf20Sopenharmony_ci#define MT6397_AUDDAC_CON0 0x0700 3188c2ecf20Sopenharmony_ci#define MT6397_AUDBUF_CFG0 0x0702 3198c2ecf20Sopenharmony_ci#define MT6397_AUDBUF_CFG1 0x0704 3208c2ecf20Sopenharmony_ci#define MT6397_AUDBUF_CFG2 0x0706 3218c2ecf20Sopenharmony_ci#define MT6397_AUDBUF_CFG3 0x0708 3228c2ecf20Sopenharmony_ci#define MT6397_AUDBUF_CFG4 0x070A 3238c2ecf20Sopenharmony_ci#define MT6397_IBIASDIST_CFG0 0x070C 3248c2ecf20Sopenharmony_ci#define MT6397_AUDACCDEPOP_CFG0 0x070E 3258c2ecf20Sopenharmony_ci#define MT6397_AUD_IV_CFG0 0x0710 3268c2ecf20Sopenharmony_ci#define MT6397_AUDCLKGEN_CFG0 0x0712 3278c2ecf20Sopenharmony_ci#define MT6397_AUDLDO_CFG0 0x0714 3288c2ecf20Sopenharmony_ci#define MT6397_AUDLDO_CFG1 0x0716 3298c2ecf20Sopenharmony_ci#define MT6397_AUDNVREGGLB_CFG0 0x0718 3308c2ecf20Sopenharmony_ci#define MT6397_AUD_NCP0 0x071A 3318c2ecf20Sopenharmony_ci#define MT6397_AUDPREAMP_CON0 0x071C 3328c2ecf20Sopenharmony_ci#define MT6397_AUDADC_CON0 0x071E 3338c2ecf20Sopenharmony_ci#define MT6397_AUDADC_CON1 0x0720 3348c2ecf20Sopenharmony_ci#define MT6397_AUDADC_CON2 0x0722 3358c2ecf20Sopenharmony_ci#define MT6397_AUDADC_CON3 0x0724 3368c2ecf20Sopenharmony_ci#define MT6397_AUDADC_CON4 0x0726 3378c2ecf20Sopenharmony_ci#define MT6397_AUDADC_CON5 0x0728 3388c2ecf20Sopenharmony_ci#define MT6397_AUDADC_CON6 0x072A 3398c2ecf20Sopenharmony_ci#define MT6397_AUDDIGMI_CON0 0x072C 3408c2ecf20Sopenharmony_ci#define MT6397_AUDLSBUF_CON0 0x072E 3418c2ecf20Sopenharmony_ci#define MT6397_AUDLSBUF_CON1 0x0730 3428c2ecf20Sopenharmony_ci#define MT6397_AUDENCSPARE_CON0 0x0732 3438c2ecf20Sopenharmony_ci#define MT6397_AUDENCCLKSQ_CON0 0x0734 3448c2ecf20Sopenharmony_ci#define MT6397_AUDPREAMPGAIN_CON0 0x0736 3458c2ecf20Sopenharmony_ci#define MT6397_ZCD_CON0 0x0738 3468c2ecf20Sopenharmony_ci#define MT6397_ZCD_CON1 0x073A 3478c2ecf20Sopenharmony_ci#define MT6397_ZCD_CON2 0x073C 3488c2ecf20Sopenharmony_ci#define MT6397_ZCD_CON3 0x073E 3498c2ecf20Sopenharmony_ci#define MT6397_ZCD_CON4 0x0740 3508c2ecf20Sopenharmony_ci#define MT6397_ZCD_CON5 0x0742 3518c2ecf20Sopenharmony_ci#define MT6397_NCP_CLKDIV_CON0 0x0744 3528c2ecf20Sopenharmony_ci#define MT6397_NCP_CLKDIV_CON1 0x0746 3538c2ecf20Sopenharmony_ci 3548c2ecf20Sopenharmony_ci#endif /* __MFD_MT6397_REGISTERS_H__ */ 355