dcl_pmu.h 77.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539
/*****************************************************************************
*  Copyright Statement:
*  --------------------
*  This software is protected by Copyright and the information contained
*  herein is confidential. The software may not be copied and the information
*  contained herein may not be used or disclosed except with the written
*  permission of MediaTek Inc. (C) 2001
*
*****************************************************************************/

/*****************************************************************************
 * 
 * Filename:
 * ---------
 *   dcl_pmu.h
 *
 * Project:
 * --------
 *   Maui
 *
 * Description:
 * ------------
 *   Header file of DCL (Driver Common Layer) for PMU.
 *
 * Author:
 * -------
 * -------
 *
 *============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *============================================================================
 ****************************************************************************/

#ifdef DCL_DEFINITION_STRUCT
#ifndef __DCL_PMU_H_STRUCT__
#define __DCL_PMU_H_STRUCT__


/*******************************************************************************
 * DCL_OPTIONS for PMU
 *******************************************************************************/
#define PMU_OPTIONS

 /*******************************************************************************
 * DCL_CONFIGURE_T for PMU
 *******************************************************************************/

#define PMU_CONFIGS

/*******************************************************************************
 * DCL_EVENT for PMU
 *******************************************************************************/
#define PMU_EVENTS

/* Enum of LDO/BUCK List */
typedef enum
{
	VA12,
	VRTC,
	VMIC,
	VAUDN,
	VAUDP,
	VRF28,
	VRF=VRF28,
	VTCXO,
	VA25,
	VCAMA,
	VCAMD,
	VCAM_IO,
	VCAM_AF,
	VIO28,
	VUSB,
	VBT,
	VSIM,
	VSIM1 = VSIM,
	VSIM2,
	VIBR,
	VMC,
	VMC1,
	VCAMA2,
	VCAMD2,
	VFM,
	VM12,
	VM12_1,
	VM12_2,
    VM12_INT,
	VCORE,
	VCORE2,
	VIO18,
	VPA_SW,
	VPROC,
	VRF18,
	VA,
	VA28 = VA,
	VM,
	VSF,
	VWIFI2V8,
	VWIFI3V3,
	V3GTX,
	V3GRX,
	VGP,
	VGP2,
	VSDIO,
	VDIG,	
	VBUS,
	VA1,
	VA2,
	VBACKUP,
	PMU_LDO_BUCK_MAX
}PMU_LDO_BUCK_LIST_ENUM;

/* Enum of VPA List */
typedef enum
{
	VPA,
	VPA1=VPA,
	PMU_VPA_MAX
}PMU_VPA_LIST_ENUM;

/* Enum of KPLED List */
typedef enum
{
	KPLED,
	PMU_KPLED_MAX
}PMU_KPLED_LIST_ENUM;

/* Enum of CHR List */
typedef enum
{
	CHR,
	PMU_CHR_MAX
}PMU_CHR_LIST_ENUM;

/* Enum of STARTUP List */
typedef enum
{
	STRUP,
	PMU_STRUP_MAX
}PMU_STRUP_LIST_ENUM;

/* Enum of ISINK List */
typedef enum
{
	ISINKS,
	ISINK0,
	ISINK1,
	ISINK2,
	ISINK3,
	ISINK4,
    ISINK5,
	PMU_ISINK_MAX
}PMU_ISINK_LIST_ENUM;

/* Enum of BOOST List */
typedef enum
{
	BOOST,
	BOOST1=BOOST,
	BOOST2,
	PMU_BOOST_MAX
}PMU_BOOST_LIST_ENUM;

/* Enum of SPK List */
typedef enum
{
	SPK,
	PMU_SPK_MAX
}PMU_SPK_LIST_ENUM;

/* Enum of LPOSC List */
typedef enum
{
	LPOSC,
	PMU_LPOSC_MAX
}PMU_LPOSC_LIST_ENUM;

/* Enum of Voltage List */
typedef enum
{
	PMU_VOLT_00_000000_V =        0,
	PMU_VOLT_00_100000_V =   100000,
	PMU_VOLT_00_200000_V =   200000,
	PMU_VOLT_00_300000_V =   300000,
	PMU_VOLT_00_400000_V =   400000,
	PMU_VOLT_00_500000_V =   500000,
	PMU_VOLT_00_600000_V =   600000,
	PMU_VOLT_00_700000_V =   700000,
	PMU_VOLT_00_725000_V =   725000,
	PMU_VOLT_00_750000_V =   750000,
	PMU_VOLT_00_775000_V =   775000,
	PMU_VOLT_00_800000_V =   800000,
	PMU_VOLT_00_825000_V =   825000,
	PMU_VOLT_00_850000_V =   850000,
	PMU_VOLT_00_875000_V =   875000,
	PMU_VOLT_00_900000_V =   900000,
	PMU_VOLT_00_925000_V =   925000,
	PMU_VOLT_00_950000_V =   950000,
	PMU_VOLT_00_975000_V =   975000,
	PMU_VOLT_01_000000_V =  1000000,
	PMU_VOLT_01_025000_V =  1025000,
	PMU_VOLT_01_050000_V =  1050000,
	PMU_VOLT_01_075000_V =  1075000,
	PMU_VOLT_01_100000_V =  1100000,
	PMU_VOLT_01_125000_V =  1125000,
	PMU_VOLT_01_150000_V =  1150000,
	PMU_VOLT_01_175000_V =  1175000,
	PMU_VOLT_01_200000_V =  1200000,
	PMU_VOLT_01_225000_V =  1225000,
	PMU_VOLT_01_250000_V =  1250000,
	PMU_VOLT_01_275000_V =  1275000,
	PMU_VOLT_01_300000_V =  1300000,
	PMU_VOLT_01_325000_V =  1325000,
	PMU_VOLT_01_350000_V =  1350000,
	PMU_VOLT_01_375000_V =  1375000,
	PMU_VOLT_01_400000_V =  1400000,
	PMU_VOLT_01_425000_V =  1425000,
	PMU_VOLT_01_450000_V =  1450000,
	PMU_VOLT_01_475000_V =  1475000,
	PMU_VOLT_01_500000_V =  1500000,
	PMU_VOLT_01_520000_V =  1520000,
	PMU_VOLT_01_525000_V =  1525000,
	PMU_VOLT_01_540000_V =  1540000,
	PMU_VOLT_01_550000_V =  1550000,
	PMU_VOLT_01_560000_V =  1560000,
	PMU_VOLT_01_575000_V =  1575000,
	PMU_VOLT_01_580000_V =  1580000,
	PMU_VOLT_01_600000_V =  1600000,
	PMU_VOLT_01_620000_V =  1620000,
	PMU_VOLT_01_625000_V =  1625000,
	PMU_VOLT_01_640000_V =  1640000,
	PMU_VOLT_01_650000_V =  1650000,
	PMU_VOLT_01_660000_V =  1660000,
	PMU_VOLT_01_675000_V =  1675000,
	PMU_VOLT_01_680000_V =  1680000,
	PMU_VOLT_01_700000_V =  1700000,
	PMU_VOLT_01_720000_V =  1720000,
	PMU_VOLT_01_725000_V =  1725000,
	PMU_VOLT_01_740000_V =  1740000,
	PMU_VOLT_01_750000_V =  1750000,
	PMU_VOLT_01_760000_V =  1760000,
	PMU_VOLT_01_775000_V =  1775000,
	PMU_VOLT_01_780000_V =  1780000,
	PMU_VOLT_01_800000_V =  1800000,
	PMU_VOLT_01_820000_V =  1820000,
	PMU_VOLT_01_825000_V =  1825000,
	PMU_VOLT_01_840000_V =  1840000,
	PMU_VOLT_01_850000_V =  1850000,
	PMU_VOLT_01_860000_V =  1860000,
	PMU_VOLT_01_875000_V =  1875000,
	PMU_VOLT_01_880000_V =  1880000,
	PMU_VOLT_01_900000_V =  1900000,
	PMU_VOLT_01_920000_V =  1920000,
	PMU_VOLT_01_925000_V =  1925000,
	PMU_VOLT_01_940000_V =  1940000,
	PMU_VOLT_01_950000_V =  1950000,
	PMU_VOLT_01_960000_V =  1960000,
	PMU_VOLT_01_975000_V =  1975000,
	PMU_VOLT_01_980000_V =  1980000,
	PMU_VOLT_02_000000_V =  2000000,
	PMU_VOLT_02_020000_V =  2020000,
	PMU_VOLT_02_040000_V =  2040000,
	PMU_VOLT_02_050000_V =  2050000,
	PMU_VOLT_02_060000_V =  2060000,
	PMU_VOLT_02_080000_V =  2080000,
	PMU_VOLT_02_100000_V =  2100000,
	PMU_VOLT_02_120000_V =  2120000,
	PMU_VOLT_02_125000_V =  2125000,
	PMU_VOLT_02_140000_V =  2140000,	
	PMU_VOLT_02_200000_V =  2200000,
	PMU_VOLT_02_275000_V =  2275000,
	PMU_VOLT_02_300000_V =  2300000,
	PMU_VOLT_02_350000_V =  2350000,
	PMU_VOLT_02_425000_V =  2425000,
	PMU_VOLT_02_400000_V =  2400000,	
	PMU_VOLT_02_500000_V =  2500000,
	PMU_VOLT_02_575000_V =  2575000,
	PMU_VOLT_02_600000_V =  2600000,
	PMU_VOLT_02_650000_V =  2650000,
	PMU_VOLT_02_700000_V =  2700000,
	PMU_VOLT_02_725000_V =  2725000,
	PMU_VOLT_02_750000_V =  2750000,
	PMU_VOLT_02_800000_V =  2800000,
	PMU_VOLT_02_850000_V =  2850000,
	PMU_VOLT_02_875000_V =  2875000,
	PMU_VOLT_02_900000_V =  2900000,
	PMU_VOLT_02_950000_V =  2950000,
	PMU_VOLT_03_000000_V =  3000000,
	PMU_VOLT_03_025000_V =  3025000,
	PMU_VOLT_03_100000_V =  3100000,
	PMU_VOLT_03_175000_V =  3175000,
	PMU_VOLT_03_200000_V =  3200000,	
	PMU_VOLT_03_250000_V =  3250000,
	PMU_VOLT_03_275000_V =  3275000,
	PMU_VOLT_03_300000_V =  3300000,
	PMU_VOLT_03_325000_V =  3325000,
	PMU_VOLT_03_350000_V =  3350000,
	PMU_VOLT_03_400000_V =  3400000,
	PMU_VOLT_03_500000_V =  3500000,
	PMU_VOLT_03_650000_V =  3650000,
	PMU_VOLT_03_775000_V =  3775000,
	PMU_VOLT_03_800000_V =  3800000,
	PMU_VOLT_03_825000_V =  3825000,
	PMU_VOLT_03_850000_V =  3850000,
	PMU_VOLT_03_900000_V =  3900000,
	PMU_VOLT_03_950000_V =  3950000,
	PMU_VOLT_03_975000_V =  3975000,
	PMU_VOLT_04_000000_V =  4000000,
	PMU_VOLT_04_012500_V =  4012500,
	PMU_VOLT_04_025000_V =  4025000,
	PMU_VOLT_04_037500_V =  4037500,
	PMU_VOLT_04_050000_V =  4050000,
	PMU_VOLT_04_062500_V =  4062500,
	PMU_VOLT_04_067500_V =  4067500,
	PMU_VOLT_04_075000_V =  4075000,
	PMU_VOLT_04_087500_V =  4087500,
	PMU_VOLT_04_100000_V =  4100000,
	PMU_VOLT_04_112500_V =  4112500,
	PMU_VOLT_04_115000_V =  4115000,
	PMU_VOLT_04_116000_V =  4116000,
	PMU_VOLT_04_125000_V =  4125000,
	PMU_VOLT_04_137500_V =  4137500,
	PMU_VOLT_04_150000_V =  4150000,
	PMU_VOLT_04_162500_V =  4162500,
	PMU_VOLT_04_175000_V =  4175000,
	PMU_VOLT_04_187500_V =  4187500,
	PMU_VOLT_04_200000_V =  4200000,
	PMU_VOLT_04_212500_V =  4212500,
	PMU_VOLT_04_225000_V =  4225000,
	PMU_VOLT_04_237500_V =  4237500,
	PMU_VOLT_04_250000_V =  4250000,
	PMU_VOLT_04_262500_V =  4262500,
	PMU_VOLT_04_275000_V =  4275000,
	PMU_VOLT_04_287500_V =  4287500,
	PMU_VOLT_04_300000_V =  4300000,
	PMU_VOLT_04_325000_V =  4325000,
	PMU_VOLT_04_350000_V =  4350000,
	PMU_VOLT_04_362500_V =  4362500,
	PMU_VOLT_04_375000_V =  4375000,
	PMU_VOLT_04_400000_V =  4400000,
	PMU_VOLT_04_411500_V =  4411500,
	PMU_VOLT_04_425000_V =  4425000,
	PMU_VOLT_04_450000_V =  4450000,
	PMU_VOLT_04_500000_V =  4500000,
	PMU_VOLT_04_550000_V =  4550000,
	PMU_VOLT_04_600000_V =  4600000,
	PMU_VOLT_04_700000_V =  4700000,
	PMU_VOLT_04_800000_V =  4800000,
	PMU_VOLT_04_850000_V =  4850000,	
	PMU_VOLT_04_950000_V =  4950000,
	PMU_VOLT_05_000000_V =  5000000,	
	PMU_VOLT_05_150000_V =  5150000,
	PMU_VOLT_05_250000_V =  5250000,
	PMU_VOLT_05_300000_V =  5300000,
	PMU_VOLT_05_450000_V =  5450000,
	PMU_VOLT_06_000000_V =  6000000,
	PMU_VOLT_06_500000_V =  6500000,
	PMU_VOLT_06_750000_V =  6750000,
	PMU_VOLT_07_000000_V =  7000000,
	PMU_VOLT_07_250000_V =  7250000,
	PMU_VOLT_07_500000_V =  7500000,
	PMU_VOLT_08_000000_V =  8000000,
	PMU_VOLT_08_500000_V =  8500000,
	PMU_VOLT_09_500000_V =  9500000,
	PMU_VOLT_10_000000_V = 10000000,
	PMU_VOLT_10_500000_V = 10500000,	
	PMU_VOLT_MAX,
	PMU_VOLT_INVALID

}PMU_VOLTAGE_ENUM;

typedef enum
{             
    PMU_VOLT_CAL_MINUS_00_200000_V  =   -2000000,
    PMU_VOLT_CAL_MINUS_00_175000_V  =   -1750000,
    PMU_VOLT_CAL_MINUS_00_160000_V  =   -1600000,
    PMU_VOLT_CAL_MINUS_00_150000_V  =   -1500000,
    PMU_VOLT_CAL_MINUS_00_140000_V  =   -1400000,
    PMU_VOLT_CAL_MINUS_00_125000_V  =   -1250000,
    PMU_VOLT_CAL_MINUS_00_120000_V  =   -1200000,
    PMU_VOLT_CAL_MINUS_00_100000_V  =   -1000000,
    PMU_VOLT_CAL_MINUS_00_080000_V  =   -800000,
    PMU_VOLT_CAL_MINUS_00_075000_V  =   -750000,
    PMU_VOLT_CAL_MINUS_00_060000_V  =   -600000,
    PMU_VOLT_CAL_MINUS_00_050000_V  =   -500000,    
    PMU_VOLT_CAL_MINUS_00_040000_V  =   -400000,    
    PMU_VOLT_CAL_MINUS_00_025000_V  =   -250000,    
    PMU_VOLT_CAL_MINUS_00_020000_V  =   -200000,
	PMU_VOLT_CAL_00_000000_V        =   0,
	PMU_VOLT_CAL_00_200000_V        =   200000,    
	PMU_VOLT_CAL_00_250000_V        =   250000,    
    PMU_VOLT_CAL_00_400000_V        =   400000,
    PMU_VOLT_CAL_00_500000_V        =   500000,
    PMU_VOLT_CAL_00_600000_V        =   600000,
    PMU_VOLT_CAL_00_750000_V        =   750000,
    PMU_VOLT_CAL_00_800000_V        =   800000,
    PMU_VOLT_CAL_01_000000_V        =   1000000,    
    PMU_VOLT_CAL_01_200000_V        =   1200000,    
    PMU_VOLT_CAL_01_250000_V        =   1250000,    
    PMU_VOLT_CAL_01_400000_V        =   1400000,        
    PMU_VOLT_CAL_01_500000_V        =   1500000,        
    PMU_VOLT_CAL_01_600000_V        =   1600000,      
    PMU_VOLT_CAL_01_750000_V        =   1750000,      
	PMU_VOLT_CAL_MAX,
	PMU_VOLT_CAL_INVALID
} PMU_VOLTAGE_CALIBRATION_ENUM;

/* Enum of SPK db List */
typedef enum
{
	PMIC_SPK_VOL_00_00_dB    =    0,
	PMIC_SPK_VOL_00_50_dB    =   50,
	PMIC_SPK_VOL_01_00_dB    =  100,
	PMIC_SPK_VOL_01_50_dB    =  150,
	PMIC_SPK_VOL_02_00_dB    =  200,
	PMIC_SPK_VOL_02_50_dB    =  250,
	PMIC_SPK_VOL_03_00_dB    =  300,
	PMIC_SPK_VOL_03_50_dB    =  350,
	PMIC_SPK_VOL_04_00_dB    =  400,
	PMIC_SPK_VOL_04_50_dB    =  450,
	PMIC_SPK_VOL_05_00_dB    =  500,
	PMIC_SPK_VOL_05_50_dB    =  550,
	PMIC_SPK_VOL_06_00_dB    =  600,
	PMIC_SPK_VOL_06_50_dB    =  650,
	PMIC_SPK_VOL_07_00_dB    =  700,
	PMIC_SPK_VOL_07_50_dB    =  750,
	PMIC_SPK_VOL_08_00_dB    =  800,
	PMIC_SPK_VOL_08_50_dB    =  850,
	PMIC_SPK_VOL_09_00_dB    =  900,
	PMIC_SPK_VOL_09_50_dB    =  950,
	PMIC_SPK_VOL_10_00_dB    = 1000,
	PMIC_SPK_VOL_10_50_dB    = 1050,
	PMIC_SPK_VOL_11_00_dB    = 1100,
	PMIC_SPK_VOL_11_50_dB    = 1150,
	PMIC_SPK_VOL_12_00_dB    = 1200,
	PMIC_SPK_VOL_12_50_dB    = 1250,
	PMIC_SPK_VOL_13_00_dB    = 1300,
	PMIC_SPK_VOL_13_50_dB    = 1350,
	PMIC_SPK_VOL_14_00_dB    = 1400,
	PMIC_SPK_VOL_14_50_dB    = 1450,
	PMIC_SPK_VOL_15_00_dB    = 1500,
	PMIC_SPK_VOL_15_50_dB    = 1550,
	PMIC_SPK_VOL_16_00_dB    = 1600,
	PMIC_SPK_VOL_16_50_dB    = 1650,
	PMIC_SPK_VOL_17_00_dB    = 1700,
	PMIC_SPK_VOL_17_50_dB    = 1750,
	PMIC_SPK_VOL_18_00_dB    = 1800,
	PMIC_SPK_VOL_18_50_dB    = 1850,
	PMIC_SPK_VOL_19_00_dB    = 1900,
	PMIC_SPK_VOL_19_50_dB    = 1950,
	PMIC_SPK_VOL_20_00_dB    = 2000,
	PMIC_SPK_VOL_20_50_dB    = 2050,
	PMIC_SPK_VOL_21_00_dB    = 2100,
	PMIC_SPK_VOL_21_50_dB    = 2150,
	PMIC_SPK_VOL_22_00_dB    = 2200,
	PMIC_SPK_VOL_22_50_dB    = 2250,
	PMIC_SPK_VOL_23_00_dB    = 2300,
	PMIC_SPK_VOL_23_50_dB    = 2350,
	PMIC_SPK_VOL_24_00_dB    = 2400,
	PMIC_SPK_VOL_24_50_dB    = 2450,
	PMIC_SPK_VOL_MAX     = 9900,
	
    PMU_SPK_VOL_MINUS_06_00_dB    =  -600,
    PMU_SPK_VOL_MINUS_03_00_dB    =  -300,
	PMU_SPK_VOL_00_00_dB    =    0,
	PMU_SPK_VOL_00_50_dB    =   50,
	PMU_SPK_VOL_01_00_dB    =  100,
	PMU_SPK_VOL_01_50_dB    =  150,
	PMU_SPK_VOL_02_00_dB    =  200,
	PMU_SPK_VOL_02_50_dB    =  250,
	PMU_SPK_VOL_03_00_dB    =  300,
	PMU_SPK_VOL_03_50_dB    =  350,
	PMU_SPK_VOL_04_00_dB    =  400,
	PMU_SPK_VOL_04_50_dB    =  450,
	PMU_SPK_VOL_05_00_dB    =  500,
	PMU_SPK_VOL_05_50_dB    =  550,
	PMU_SPK_VOL_06_00_dB    =  600,
	PMU_SPK_VOL_06_50_dB    =  650,
	PMU_SPK_VOL_07_00_dB    =  700,
	PMU_SPK_VOL_07_50_dB    =  750,
	PMU_SPK_VOL_08_00_dB    =  800,
	PMU_SPK_VOL_08_50_dB    =  850,
	PMU_SPK_VOL_09_00_dB    =  900,
	PMU_SPK_VOL_09_50_dB    =  950,
	PMU_SPK_VOL_10_00_dB    = 1000,
	PMU_SPK_VOL_10_50_dB    = 1050,
	PMU_SPK_VOL_11_00_dB    = 1100,
	PMU_SPK_VOL_11_50_dB    = 1150,
	PMU_SPK_VOL_12_00_dB    = 1200,
	PMU_SPK_VOL_12_50_dB    = 1250,
	PMU_SPK_VOL_13_00_dB    = 1300,
	PMU_SPK_VOL_13_50_dB    = 1350,
	PMU_SPK_VOL_14_00_dB    = 1400,
	PMU_SPK_VOL_14_50_dB    = 1450,
	PMU_SPK_VOL_15_00_dB    = 1500,
	PMU_SPK_VOL_15_50_dB    = 1550,
	PMU_SPK_VOL_16_00_dB    = 1600,
	PMU_SPK_VOL_16_50_dB    = 1650,
	PMU_SPK_VOL_17_00_dB    = 1700,
	PMU_SPK_VOL_17_50_dB    = 1750,
	PMU_SPK_VOL_18_00_dB    = 1800,
	PMU_SPK_VOL_18_50_dB    = 1850,
	PMU_SPK_VOL_19_00_dB    = 1900,
	PMU_SPK_VOL_19_50_dB    = 1950,
	PMU_SPK_VOL_20_00_dB    = 2000,
	PMU_SPK_VOL_20_50_dB    = 2050,
	PMU_SPK_VOL_21_00_dB    = 2100,
	PMU_SPK_VOL_21_50_dB    = 2150,
	PMU_SPK_VOL_22_00_dB    = 2200,
	PMU_SPK_VOL_22_50_dB    = 2250,
	PMU_SPK_VOL_23_00_dB    = 2300,
	PMU_SPK_VOL_23_50_dB    = 2350,
	PMU_SPK_VOL_24_00_dB    = 2400,
	PMU_SPK_VOL_24_50_dB    = 2450,
	PMU_SPK_VOL_MAX     = 9900
}PMU_SPK_VOL_ENUM;

/* Enum of charger current List */
typedef enum
{
	PMU_CHARGE_CURRENT_0_00_MA = 0,
	PMU_CHARGE_CURRENT_50_00_MA = 5000,
	PMU_CHARGE_CURRENT_62_50_MA = 6250,
	PMU_CHARGE_CURRENT_70_00_MA = 7000,
	PMU_CHARGE_CURRENT_75_00_MA = 7500,
	PMU_CHARGE_CURRENT_87_50_MA = 8750,	
	PMU_CHARGE_CURRENT_99_00_MA = 9900,
	PMU_CHARGE_CURRENT_100_00_MA = 10000,
	PMU_CHARGE_CURRENT_150_00_MA = 15000,
	PMU_CHARGE_CURRENT_200_00_MA = 20000,
	PMU_CHARGE_CURRENT_225_00_MA = 22500,	
	PMU_CHARGE_CURRENT_250_00_MA = 25000,
	PMU_CHARGE_CURRENT_300_00_MA = 30000,
	PMU_CHARGE_CURRENT_350_00_MA = 35000,
	PMU_CHARGE_CURRENT_400_00_MA = 40000,
	PMU_CHARGE_CURRENT_425_00_MA = 42500,	
	PMU_CHARGE_CURRENT_450_00_MA = 45000,
	PMU_CHARGE_CURRENT_500_00_MA = 50000,
	PMU_CHARGE_CURRENT_550_00_MA = 55000,
	PMU_CHARGE_CURRENT_600_00_MA = 60000,
	PMU_CHARGE_CURRENT_650_00_MA = 65000,
	PMU_CHARGE_CURRENT_700_00_MA = 70000,
	PMU_CHARGE_CURRENT_750_00_MA = 75000,
	PMU_CHARGE_CURRENT_800_00_MA = 80000,
	PMU_CHARGE_CURRENT_850_00_MA = 85000,
	PMU_CHARGE_CURRENT_900_00_MA = 90000,
	PMU_CHARGE_CURRENT_950_00_MA = 95000,
	PMU_CHARGE_CURRENT_1000_00_MA = 100000,
	PMU_CHARGE_CURRENT_1100_00_MA = 110000,
	PMU_CHARGE_CURRENT_1200_00_MA = 120000,
	PMU_CHARGE_CURRENT_1300_00_MA = 130000,
	PMU_CHARGE_CURRENT_1400_00_MA = 140000,
	PMU_CHARGE_CURRENT_1500_00_MA = 150000,
	PMU_CHARGE_CURRENT_1600_00_MA = 160000,
	PMU_CHARGE_CURRENT_1800_00_MA = 180000,
	PMU_CHARGE_CURRENT_2000_00_MA = 200000,
	PMU_CHARGE_CURRENT_MAX
}PMU_CHR_CURRENT_ENUM;


/* Enum of VPA output select List */
typedef enum
{
	PMU_VPA0,
	PMU_VPA1,
	PMU_VPA2,
	PMU_VPA3,
	PMU_VPA4,
	PMU_VPA5,
	PMU_VPA6,
	PMU_VPA7	
}PMU_VPA_ENUM;

/* Enum of on select List */
typedef enum
{
	ENABLE_WITH_SRCLKEN = 0,
	ENABLE_LDO_BUCK_EN_REGISTER = 1
}PMU_ON_SEL_ENUM;

/* Enum of remote sense List */
typedef enum
{
	DEFAULT_LOCAL_SENSE= 0,
	REMOTE_SENSE = 1
}PMU_RS_ENUM;

/* Enum of control mode List */
typedef enum
{
	KPLED_PWM_MODE = 0,
	KPLED_REGISTER_CTRL_MODE = 1
}PMU_CTRL_KPLED_MODE_ENUM;

/* Enum of control mode List */
typedef enum
{
	LDO_EN_SEL_BY_CONTROLLER = 0, // The LDO is connected to specific controller and can be controlled directly by the controller
	LDO_EN_SEL_BY_LDO_CON,

	LDO_EN_SEL_MAX = 0xFF
}PMU_CTRL_LDO_CTRL_MODE_ENUM;

/* Enum of kpled sel List */
typedef enum
{
	KPLED_SEL_1_SWITCH = 0,
	KPLED_SEL_2_SWITCH = 1,
	KPLED_SEL_3_SWITCH = 2,
	KPLED_SEL_4_SWITCH = 3,
	KPLED_SEL_5_SWITCH = 4,
	KPLED_SEL_6_SWITCH = 5,
	KPLED_SEL_7_SWITCH = 6,
	KPLED_SEL_8_SWITCH = 7
}PMU_CTRL_KPLED_SEL_ENUM;

/* Enum of control mode List */
typedef enum
{
	FLASHLED_PWM_MODE = 0,
	FLASHLED_REGISTER_CTRL_MODE = 1
}PMU_CTRL_FLASHLED_MODE_ENUM;

/* Enum of kpled sel List */
typedef enum
{
	FLASHLED_SEL_1_SWITCH = 0,
	FLASHLED_SEL_2_SWITCH = 1,
	FLASHLED_SEL_3_SWITCH = 2,
	FLASHLED_SEL_4_SWITCH = 3,
	FLASHLED_SEL_5_SWITCH = 4,
	FLASHLED_SEL_6_SWITCH = 5,
	FLASHLED_SEL_7_SWITCH = 6,
	FLASHLED_SEL_8_SWITCH = 7
}PMU_CTRL_FLASHLED_SEL_ENUM;

/* Enum of wdt interval List */
typedef enum
{
	PMU_CHR_WDT_TD_4SEC = 40,
	PMU_CHR_WDT_TD_8SEC = 80,
	PMU_CHR_WDT_TD_16SEC = 160,
	PMU_CHR_WDT_TD_32SEC = 320,
	PMU_CHR_WDT_TD_128SEC = 1280,
	PMU_CHR_WDT_TD_256SEC = 2560,
	PMU_CHR_WDT_TD_512SEC = 5120,
	PMU_CHR_WDT_TD_1024SEC = 10240,
	PMU_CHR_WDT_TD_3000SEC = 30000
}PMU_CHR_WDT_TD_ENUM;

/* Enum of control mode List */
typedef enum
{
	ISINK_PWM_MODE = 0,
	ISINK_REGISTER_CTRL_MODE = 1
}PMU_CTRL_ISINK_MODE_ENUM;

/* Enum of ISINK current List */
typedef enum
{
	ISINK_STEP_04_MA = 4,
	ISINK_STEP_05_MA = 5,
	ISINK_STEP_08_MA = 8,	
	ISINK_STEP_10_MA = 10,
	ISINK_STEP_12_MA = 12,
	ISINK_STEP_15_MA = 15,
	ISINK_STEP_16_MA = 16,
	ISINK_STEP_20_MA = 20,
	ISINK_STEP_24_MA = 24,	
	ISINK_STEP_32_MA = 32,
	ISINK_STEP_40_MA = 40,
	ISINK_STEP_48_MA = 48,			
}PMU_CTRL_ISINK_STEP_ENUM;

/* Enum of ISINK current group List */
typedef enum
{
    ISINK_STEP_GROUP_A = 0,
    ISINK_STEP_GROUP_B,
    ISINK_STEP_GROUP_MAX,
}PMU_CTRL_ISINK_STEP_GROUP_ENUM;

/* Enum of ISINK current index List */
typedef enum
{
    ISINK_STEP_INDEX_0 = 0,
    ISINK_STEP_INDEX_1,
    ISINK_STEP_INDEX_2,
    ISINK_STEP_INDEX_3,
    ISINK_STEP_INDEX_4,
    ISINK_STEP_INDEX_5,
    ISINK_STEP_INDEX_MAX,
}PMU_CTRL_ISINK_STEP_INDEX_ENUM;

/* Enum of spk mode List */
typedef enum{
	SPK_CLASS_D_MODE = 0,
	SPK_CLASS_AB_MODE
}PMU_CTRL_SPK_MODE_ENUM;

/* Enum of spk slew List */
typedef enum{
	SPK_SLEW_RATE_2_OVER_4 = 0,
	SPK_SLEW_RATE_1_OVER_4,
	SPK_SLEW_RATE_4_OVER_4,
	SPK_SLEW_RATE_3_OVER_4
}PMU_CTRL_SPK_SLEW_RATE_ENUM;

/* Enum of spk class D offset calibration pathList */
typedef enum{
	SPK_N = 0,
	SPK_P,        
}PMU_CTRL_SPK_CALI_PATH_ENUM;

/* Enum of control steps List */
typedef enum{
	PMU_CTRL_STEP1,
	PMU_CTRL_STEP2,
	PMU_CTRL_STEP3,
	PMU_CTRL_STEP4	
}PMU_CTRL_STEP_ENUM;

/* For LDO_BUCK_SET_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_EN;

/* For LDO_BUCK_SET_EN_FORCE command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_EN_FORCE;

/* For LDO_BUCK_SET_VOLTAGE command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	PMU_VOLTAGE_ENUM	voltage;
}PMU_CTRL_LDO_BUCK_SET_VOLTAGE;

/* For LDO_BUCK_SET_SLEEP_VOLTAGE command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	PMU_VOLTAGE_ENUM	sleepVoltage;
}PMU_CTRL_LDO_BUCK_SET_SLEEP_VOLTAGE;

/* For LDO_BUCK_SET_VOLTAGE_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	PMU_VOLTAGE_ENUM	voltage;
}PMU_CTRL_LDO_BUCK_SET_VOLTAGE_EN;

/* For LDO_BUCK_SET_RS command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	PMU_RS_ENUM	rs;
}PMU_CTRL_LDO_BUCK_SET_RS;

/* For LDO_BUCK_SET_BURST_THRESHOLD command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_UINT16					thresholdIdx;
}PMU_CTRL_LDO_BUCK_SET_BURST_THRESHOLD;

/* For LDO_BUCK_SET_CURRENT_LIMIT command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_UINT16					currentLimitIdx;
}PMU_CTRL_LDO_BUCK_SET_CURRENT_LIMIT;

/* For LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_UINT16					biasCurrentCalibrationCode;
}PMU_CTRL_LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE;

/* For LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_UINT16					voltageCalibrationCode;
}PMU_CTRL_LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE;

/* For LDO_BUCK_SET_STB_TD command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_UINT16		delayTimeIdx;
}PMU_CTRL_LDO_BUCK_SET_STB_TD;
	
/* For LDO_BUCK_SET_OC_TD command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_UINT16		deglitchTimeIdx;
}PMU_CTRL_LDO_BUCK_SET_OC_TD;

/* For LDO_BUCK_SET_OCFB_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_OCFB_EN;

/* For LDO_BUCK_SET_OC_AUTO_OFF command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_OC_AUTO_OFF;

/* For LDO_BUCK_SET_ON_SEL command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	PMU_ON_SEL_ENUM	onSel;
}PMU_CTRL_LDO_BUCK_SET_ON_SEL;

/* For LDO_BUCK_SET_STB_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_STB_EN;

/* For LDO_BUCK_SET_NDIS_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_NDIS_EN;

/* For LDO_BUCK_SET_VSIM_GPLDO_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_VSIM_GPLDO_EN;

/* For _LDO_BUCK_SET_VSIM2_GPLDO_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_VSIM2_GPLDO_EN;

/* For LDO_BUCK_SET_SIM2_GPIO_EN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_SIM2_GPIO_EN;

/* For LDO_BUCK_SET_CCI_C2A_SIM_VOSEL */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM          mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_VSF_VOSEL_SEL;


/* For LDO_BUCK_SET_CCI_C2A_SIM_VOSEL */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM          mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_VCORE_SFSTREN;



/* For LDO_BUCK_SET_CCI_C2A_SIM_VOSEL */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM          mod;
    PMU_VOLTAGE_ENUM                voltage;
}PMU_CTRL_LDO_BUCK_SET_CCI_C2A_SIM_VOSEL;

/* For LDO_BUCK_SET_CCI_SRCLKEN command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	DCL_BOOL	enable;
}PMU_CTRL_LDO_BUCK_SET_CCI_SRCLKEN;

/* For LDO_BUCK_SET_OC_INT_EN. */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM		mod;
    DCL_BOOL oc_int_en;
}PMU_CTRL_LDO_BUCK_SET_OC_INT_EN;

/* For LDO_BUCK_CLEAR_OC_FLAG. */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM		mod;
}PMU_CTRL_LDO_BUCK_CLEAR_OC_FLAG;

/* For LDO_BUCK_GET_OC_FLAG. */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM		mod;
    const DCL_UINT32            *pVals;
    DCL_UINT8                   size;
}PMU_CTRL_LDO_BUCK_GET_VOLTAGE_LIST;


/* For LDO_BUCK_GET_OC_FLAG. */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM		mod;
    DCL_BOOL oc_flag;
}PMU_CTRL_LDO_BUCK_GET_OC_FLAG;

/* For LDO_BUCK_GET_OC_STATUS. */
typedef struct
{
    PMU_LDO_BUCK_LIST_ENUM		mod;
    DCL_BOOL oc_status;
}PMU_CTRL_LDO_BUCK_GET_OC_STATUS;

/* For LDO_SET_CAL command. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
	PMU_VOLTAGE_CALIBRATION_ENUM voltage;
}PMU_CTRL_LDO_SET_CAL;

/* For VPA_SET_EN command. */
typedef struct
{
	PMU_VPA_LIST_ENUM vpa;
	DCL_BOOL	enable;
}PMU_CTRL_VPA_SET_EN;

/* For VPA_SET_VOLTAGE command. */
typedef struct
{
	PMU_VOLTAGE_ENUM	voltage;
	PMU_VPA_ENUM	vpaIdx;	
	PMU_VPA_LIST_ENUM vpa;
}PMU_CTRL_VPA_SET_VOLTAGE;

/* For VPA_CTRL_SEL command. */
typedef struct
{
	DCL_BOOL	byPASEL;
}PMU_CTRL_VPA_CTRL_SEL;

/* For VPA_GET_VOLTAGE_LIST command. */
typedef struct
{
	const DCL_UINT32 *pVoltageList;
	DCL_UINT32 number;
}PMU_CTRL_VPA_GET_VOLTAGE_LIST;

/* For VPA_SET_BAT_LOW command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_VPA_SET_BAT_LOW;

/* For VPA_SET_FPWM command. */
typedef struct
{
	PMU_VPA_LIST_ENUM vpa;
	DCL_BOOL	enable;
}PMU_CTRL_VPA_SET_FPWM;

/* For VIBR_SET_DIMMING_ON_DUTY command. */
typedef struct
{
	DCL_UINT16	duty;
}PMU_CTRL_VIBR_SET_DIMMING_ON_DUTY;

/* For SPK_SET_EN command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	DCL_BOOL	enable;
	PMU_CTRL_STEP_ENUM step;
}PMU_CTRL_SPK_SET_EN;

/* For SPK_SET_MODE command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	PMU_CTRL_SPK_MODE_ENUM	mode;
}PMU_CTRL_SPK_SET_MODE;

/* For SPK_GET_MODE command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	DCL_UINT16	mode;
}PMU_CTRL_SPK_GET_MODE;

/* For SPK_SET_SLEW_RATE command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	PMU_CTRL_SPK_MODE_ENUM	mode;
}PMU_CTRL_SPK_SET_SLEW_RATE;

/* For SPK_SET_OC_AUTO_OFF command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	DCL_BOOL	enable;
}PMU_CTRL_SPK_SET_OC_AUTO_OFF;

/* For SPK_SET_VOL_VALUE command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	DCL_UINT16	volValue;
}PMU_CTRL_SPK_SET_VOL_VALUE;

/* For SPK_GET_VOL_VALUE command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	DCL_UINT16	volValue;
}PMU_CTRL_SPK_GET_VOL_VALUE;	

/* For SPK_GET_VOL command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	PMU_SPK_VOL_ENUM	dbm;
}PMU_CTRL_SPK_GET_VOL;	

/* For SPK_SET_VOL command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	PMU_SPK_VOL_ENUM	dbm;
}PMU_CTRL_SPK_SET_VOL;	

/* For SPK_SET_CALIBR_EN command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	DCL_BOOL	enable;
}PMU_CTRL_SPK_SET_CALIBR_EN;	

/* For SPK_SET_CALIBR_SEL command. */
typedef struct
{
	PMU_SPK_LIST_ENUM spk;
	PMU_CTRL_SPK_CALI_PATH_ENUM	path;
}PMU_CTRL_SPK_SET_CALIBR_SEL;	

/* For SPK_SET_OC_INT_EN. */
typedef struct
{
    PMU_SPK_LIST_ENUM spk;
    DCL_BOOL oc_int_en;
}PMU_CTRL_SPK_SET_OC_INT_EN;

/* For SPK_CLEAR_OC_FLAG. */
typedef struct
{
    PMU_SPK_LIST_ENUM spk;
}PMU_CTRL_SPK_CLEAR_OC_FLAG;

/* For SPK_GET_OC_FLAG. */
typedef struct
{
    PMU_SPK_LIST_ENUM spk;
    DCL_BOOL oc_flag;
}PMU_CTRL_SPK_GET_OC_FLAG;

/* For SPK_GET_OC_STATUS. */
typedef struct
{
    PMU_SPK_LIST_ENUM spk;
    DCL_BOOL oc_status;
}PMU_CTRL_SPK_GET_OC_STATUS;

/* For BL_SET_INIT command. */
typedef enum
{
	BL_VBOOST_VOLTAGE_CONTROLLER_MODE=0,
	BL_VBOOST_CURRENT_CONVERTER_MODE=1,
	BL_ISINK_MODE=2,	
	BL_MODE_1=0,
	BL_MODE_2=1,
	BL_MODE_3=2,
	BL_MODE0=0,
	BL_MODE1=1,
	BL_MODE2=2,
	BL_MODE3=3,
	BL_MODE_NUM
}PMU_CTRL_BL_MODE_ENUM;

/* For BL_SET_INIT command. */
typedef struct
{
	PMU_CTRL_BL_MODE_ENUM blMode;
}PMU_CTRL_BL_SET_INIT;

/* For BL_SET_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_BL_SET_EN;

/* For BL_SET_LEVEL command */
typedef struct
{
    DCL_UINT32 blLevel;
}PMU_CTRL_BL_SET_LEVEL;


/* For BL_GET_SUPPORT_LEVEL command */
typedef struct
{
    DCL_UINT32 blSupportLevel;
}PMU_CTRL_BL_GET_SUPPORT_LEVEL;

/* For BL_GET_USE_PWM_MODE command */
typedef struct
{
    DCL_UINT32 blUsePwmQuery;
}PMU_CTRL_BL_GET_USE_PWM_QUERY;

/* For FLASHLED_SET_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_FLASHLED_SET_EN;

/* For FLASHLED_SET_MODE command. */
typedef struct
{
	PMU_CTRL_FLASHLED_MODE_ENUM mode;
}PMU_CTRL_FLASHLED_SET_MODE;

/* For FLASHLED_SET_SEL command. */
typedef struct
{
	PMU_CTRL_FLASHLED_SEL_ENUM sel;
}PMU_CTRL_FLASHLED_SET_SEL;

/* For KPLED_SET_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_KPLED_SET_EN;

/* For KPLED_SET_MODE command. */
typedef struct
{
	PMU_CTRL_KPLED_MODE_ENUM mode;
}PMU_CTRL_KPLED_SET_MODE;

/* For KPLED_SET_SEL command. */
typedef struct
{
	PMU_CTRL_KPLED_SEL_ENUM sel;
}PMU_CTRL_KPLED_SET_SEL;

/* For KPLED_SET_FREQUENCY_DIVISION command. */
typedef struct
{
	DCL_UINT16 div;
}PMU_CTRL_KPLED_SET_FREQUENCY_DIVISION;

/* For KPLED_SET_DIMMING_ON_DUTY command. */
typedef struct
{
	DCL_UINT16 duty;
}PMU_CTRL_KPLED_SET_DIMMING_ON_DUTY;	

/* For CHR_SET_ADC_MEASURE_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_ADC_MEASURE_EN;

/* For CHR_SET_CSDAC_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_CSDAC_EN;

/* For CHR_SET_CHR_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_CHR_EN;

/* For CHR_SET_CHR_FORCE_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_CHR_FORCE_EN;

/* For CHR_GET_CHR_CURRENT command. */
typedef struct
{
	PMU_CHR_CURRENT_ENUM	current;
}PMU_CTRL_CHR_GET_CHR_CURRENT;

/* For CHR_GET_CHR_CURRENT_LIST command. */
typedef struct
{
	const DCL_UINT32 *pCurrentList;
	DCL_UINT32 number;
}PMU_CTRL_CHR_GET_CHR_CURRENT_LIST;

/* For CHR_SET_CHR_CURRENT command. */
typedef struct
{
	PMU_CHR_CURRENT_ENUM	current;
}PMU_CTRL_CHR_SET_CHR_CURRENT;

/* For CHR_GET_CHR_DET_STATUS command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_GET_CHR_DET_STATUS;

/* For CHR_GET_CV_DETECTION_STATUS command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_GET_CV_DETECTION_STATUS;

/* For CHR_SET_CV_DETECTION_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_CV_DETECTION_EN;

/* For CHR_SET_CV_DETECTION_VOLTAGE command. */
typedef struct
{
	PMU_VOLTAGE_ENUM	voltage;
}PMU_CTRL_CHR_SET_CV_DETECTION_VOLTAGE;

/* For CHR_GET_IS_BATTERY_ON command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_GET_IS_BATTERY_ON;

/* For CHR_GET_IS_CHR_VALID command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_GET_IS_CHR_VALID;

/* For CHR_SET_WDT_INT_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_WDT_INT_EN;

/* For CHR_SET_WDT_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_WDT_EN;

/* For CHR_SET_WDT_TIMER command. */
typedef struct
{
	PMU_CHR_WDT_TD_ENUM	secs;
}PMU_CTRL_CHR_SET_WDT_TIMER;

/* For CHR_SET_HV_DETECTION_VOLTAGE command. */
typedef struct
{
	PMU_VOLTAGE_ENUM	voltage;
}PMU_CTRL_CHR_SET_HV_DETECTION_VOLTAGE;

/* For CHR_GET_HV_DETECTION_VOLTAGE_LIST command. */
typedef struct
{
	const DCL_UINT32 *pVoltageList;
	DCL_UINT32 number;
}PMU_CTRL_CHR_GET_HV_DETECTION_VOLTAGE_LIST;

/* For CHR_GET_VCDT_HV_DET command. */
typedef struct
{
	DCL_BOOL	HV_deteted;
}PMU_CTRL_CHR_GET_VCDT_HV_DET;


/* For CHR_SET_VBAT_OV_DETECTION_VOLTAGE command. */
typedef struct
{
	PMU_VOLTAGE_ENUM	voltage;
}PMU_CTRL_CHR_SET_VBAT_OV_DETECTION_VOLTAGE;

/* For CHR_SET_BAT_HT_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_BAT_HT_EN;

/* For CHR_SET_OTG_BVALID_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_OTG_BVALID_EN;

/* For CHR_SET_BC11_PULLUP_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_BC11_PULLUP_EN;

/* For CHR_SET_CV_MODE command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_CV_MODE;

/* For CHR_SET_CSDAC_MODE command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_CSDAC_MODE;

/* For CHR_SET_TRACKING_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_TRACKING_EN;

/* For CHR_SET_HWCV_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_HWCV_EN;

/* For CHR_SET_ULC_DET_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_CHR_SET_ULC_DET_EN;

/* For CHR_SET_LOW_ICH_DB command. */
typedef struct
{
	DCL_UINT16	debounceTime;
}PMU_CTRL_CHR_SET_LOW_ICH_DB;

/* For CHR_SET_VBAT_CV_CALIBRATION command. */
typedef struct
{
	DCL_INT32	vbat;
}PMU_CTRL_CHR_SET_VBAT_CV_CALIBRATION;

/* For CHR_GET_CC_DET command. */
typedef struct
{
	DCL_BOOL vbat_cc_det;
}PMU_CTRL_CHR_GET_CC_DET;

/* For BOOST_SET_EN command. */
typedef struct
{
	PMU_BOOST_LIST_ENUM boost;
	DCL_BOOL	enable;
}PMU_CTRL_BOOST_SET_EN;

/* For BOOST_SET_CURRENT_LIMIT command. */
typedef struct
{
	PMU_BOOST_LIST_ENUM boost;
	DCL_BOOL	currentLimit;
}PMU_CTRL_BOOST_SET_CURRENT_LIMIT;

/* For BOOST_SET_CLK_CAL command. */
typedef struct
{
	PMU_BOOST_LIST_ENUM boost;
	DCL_BOOL	clkCal;
}PMU_CTRL_BOOST_SET_CLK_CAL;

/* For BOOST_SET_SYNC_EN command. */
typedef struct
{
	PMU_BOOST_LIST_ENUM boost;
	DCL_BOOL	enable;
}PMU_CTRL_BOOST_SET_SYNC_EN;

/* For BOOST_SET_VOLTAGE command. */
typedef struct
{
	PMU_BOOST_LIST_ENUM boost;
	PMU_VOLTAGE_ENUM	voltage;
}PMU_CTRL_BOOST_SET_VOLTAGE;	

/* For BOOST_SET_LEVEL command. */
typedef struct
{
	PMU_BOOST_LIST_ENUM boost;
	DCL_UINT16	level;
}PMU_CTRL_BOOST_SET_LEVEL;

/* For ISINK_SET_EN command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	DCL_BOOL	enable;
}PMU_CTRL_ISINK_SET_EN;

/* For ISINK_SET_MODE command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	PMU_CTRL_ISINK_MODE_ENUM	mode;
}PMU_CTRL_ISINK_SET_MODE;

/* For ISINK_SET_STEP command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	PMU_CTRL_ISINK_STEP_ENUM	step;
}PMU_CTRL_ISINK_SET_STEP;

/* For ISINK_SET_STEP_GROUP command. */
typedef struct
{
    PMU_CTRL_ISINK_STEP_GROUP_ENUM   group;
}PMU_CTRL_ISINK_SET_STEP_GROUP;

/* For ISINK_SET_STEP_INDEX command. */
typedef struct
{
    PMU_ISINK_LIST_ENUM         isink;
    PMU_CTRL_ISINK_STEP_INDEX_ENUM   index;
}PMU_CTRL_ISINK_SET_STEP_INDEX;

/* For ISINK_SET_STEP command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	DCL_BOOL    forceOff;
}PMU_CTRL_ISINK_SET_FORCE_OFF;

/* For ISINK_SET_DIMMING_ON_DUTY command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	DCL_UINT16	duty;
}PMU_CTRL_ISINK_SET_DIMMING_ON_DUTY;

/* For ISINK_SET_FREQUENCY_DIVISION command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	DCL_UINT16	div;
}PMU_CTRL_ISINK_SET_FREQUENCY_DIVISION;

/* For ISINK_SET_STP_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_ISINK_SET_STP_EN;

/* For ISINK_SET_STEP_DOUBLE command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	DCL_BOOL	enable;
}PMU_CTRL_ISINK_SET_STEP_DOUBLE;

/* For ISINK_SET_STEP_MODE command. */
typedef struct
{
	PMU_ISINK_LIST_ENUM		isink;
	DCL_BOOL	enable;
}PMU_CTRL_ISINK_SET_STEP_MODE;

/* For MISC_BLED_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_MISC_SET_BLED_EN;

/* For MISC_RLED_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_MISC_SET_RLED_EN;

/* For MISC_GLED_EN command. */
typedef struct
{
	DCL_BOOL	enable;
}PMU_CTRL_MISC_SET_GLED_EN;

typedef struct
{
    DCL_UINT8 lmon_sel;
    DCL_UINT8 hmon_sel;
}PMU_CTRL_MISC_SET_ABIST_MON_SEL;

typedef struct
{
    DCL_UINT8 lmon_data:4;
    DCL_UINT8 hmon_data:4;
}PMU_CTRL_MISC_GET_ABIST_MON_DATA;

/* For MISC_SET_REGISTER_VALUE command. */
typedef struct
{
	DCL_UINT32 offset;
	DCL_UINT16 value;
}PMU_CTRL_MISC_SET_REGISTER_VALUE;

/* For MISC_GET_REGISTER_VALUE command. */
typedef struct
{
	DCL_UINT32 offset;
	DCL_UINT16 value;
}PMU_CTRL_MISC_GET_REGISTER_VALUE;

/* internal use for buck and ldo. */
typedef struct
{
	PMU_LDO_BUCK_LIST_ENUM		mod;
}PMU_CTRL_LDO_BUCK_CTRL;


/*******************************************************************************
 * DCL_CTRL_DATA_T: Define the Control data structure for each module's command
 *******************************************************************************/
#ifdef __BUILD_DOM__
/* The PMU Command Parameter Data Structure for Each Command in DCL_CTRL_DATA_T Enum of dcl.h */
typedef struct
{
    PMU_CTRL_LDO_BUCK_CTRL rPMULdoBuckCtrl; /* Data Structure for Internal Use*/
    PMU_CTRL_LDO_BUCK_SET_EN rPMULdoBuckSetEn; /* Data Structure for LDO_BUCK_SET_EN */
    PMU_CTRL_LDO_BUCK_SET_EN_FORCE rPMULdoBuckSetEnForce; /* Data Structure for LDO_BUCK_SET_EN_FORCE */
    PMU_CTRL_LDO_BUCK_SET_VOLTAGE rPMULdoBuckSetVoltage; /* Data Structure for LDO_BUCK_SET_VOLTAGE */
    PMU_CTRL_LDO_BUCK_SET_VOLTAGE_EN rPMULdoBuckSetVoltageEn; /* Data Structure for LDO_BUCK_SET_VOLTAGE_EN */
    PMU_CTRL_LDO_BUCK_SET_SLEEP_VOLTAGE rPMULdoBuckSetSleepVoltage; /* Data Structure for LDO_BUCK_SET_SLEEP_VOLTAGE */
    PMU_CTRL_LDO_BUCK_SET_BURST_THRESHOLD rPMULdoBuckSetBurstThreshold; /* Data Structure for LDO_BUCK_SET_BURST_THRESHOLD */
    PMU_CTRL_LDO_BUCK_SET_CURRENT_LIMIT rPMULdoBuckSetCurrentLimit; /* Data Structure for LDO_BUCK_SET_CURRENT_LIMIT */
    PMU_CTRL_LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE rPMULdoBuckSetVoltageCalibrationCode; /* Data Structure for LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE */
    PMU_CTRL_LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE rPMULdoBuckSetBiasCurrentCalibrationCode; /* Data Structure for LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE */
    PMU_CTRL_LDO_BUCK_SET_STB_EN rPMULdoBuckSetStbEn; /* Data Structure for LDO_BUCK_SET_STB_EN */
    PMU_CTRL_LDO_BUCK_SET_OC_AUTO_OFF rPMULdoBuckSetOcAutoOff; /* Data Structure for LDO_BUCK_SET_OC_AUTO_OFF */
    PMU_CTRL_LDO_BUCK_SET_RS rPMULdoBuckSetRs; /* Data Structure for LDO_BUCK_SET_RS */
    PMU_CTRL_LDO_BUCK_SET_ON_SEL rPMULdoBuckSetOnSel; /* Data Structure for LDO_BUCK_SET_ON_SEL */
    PMU_CTRL_LDO_BUCK_SET_STB_TD rPMULdoBuckSetStbTd; /* Data Structure for LDO_BUCK_SET_STB_TD */
    PMU_CTRL_LDO_BUCK_SET_NDIS_EN rPMULdoBuckSetNdisEn; /* Data Structure for LDO_BUCK_SET_NDIS_EN */
    PMU_CTRL_LDO_BUCK_SET_OC_TD rPMULdoBuckSetOcTd; /* Data Structure for LDO_BUCK_SET_OC_TD */
    PMU_CTRL_LDO_BUCK_SET_OCFB_EN rPMULdoBuckSetOcfbEn; /* Data Structure for LDO_BUCK_SET_OCFB_EN */
    PMU_CTRL_LDO_BUCK_SET_VSIM_GPLDO_EN rPMULdoBuckSetVsimGpldoEn; /* Data Structure for LDO_BUCK_SET_VSIM_GPLDO_EN */
    PMU_CTRL_LDO_BUCK_SET_VSIM2_GPLDO_EN rPMULdoBuckSetVsim2GpldoEn; /* Data Structure for LDO_BUCK_SET_VSIM2_GPLDO_EN */
    PMU_CTRL_LDO_BUCK_SET_SIM2_GPIO_EN rPMULdoBuckSetSim2GpioEn; /* Data Structure for LDO_BUCK_SET_SIM2_GPIO_EN */    
	PMU_CTRL_LDO_BUCK_SET_VSF_VOSEL_SEL rPMULdoBuckSetVsfVoselSel; /* Data Structure for LDO_BUCK_SET_VSF_VOSEL_SEL*/
	PMU_CTRL_LDO_BUCK_SET_VCORE_SFSTREN rPMULdoBuckSetVCoreSfsTren; /* Data Structure for PMU_CTRL_LDO_BUCK_SET_VCORE_SFSTREN*/
    PMU_CTRL_LDO_BUCK_SET_CCI_C2A_SIM_VOSEL rPMULdoBuckSetCCIC2ASimVosel; /* Data Structure for LDO_BUCK_SET_CCI_C2A_SIM_VOSEL */
    PMU_CTRL_LDO_BUCK_SET_CCI_SRCLKEN rPMULdoBuckSetCciSrclken; /* Data Structure for LDO_BUCK_SET_CCI_SRCLKEN */    
    PMU_CTRL_LDO_BUCK_SET_OC_INT_EN rPMULdoBuckSetOcIntEn; /* Data Structure for LDO_BUCK_SET_OC_INT_EN */
    PMU_CTRL_LDO_BUCK_CLEAR_OC_FLAG rPMULdoBuckClearOcFlag; /* Data Structure for LDO_BUCK_CLEAR_OC_FLAG */
    PMU_CTRL_LDO_BUCK_GET_VOLTAGE_LIST rPMULdoBuckGetVoltageList; /* Data Structure for LDO_BUCK_GET_VOLTAGE_LIST */
    PMU_CTRL_LDO_BUCK_GET_OC_FLAG rPMULdoBuckGetOcFlag; /* Data Structure for LDO_BUCK_GET_OC_FLAG */
    PMU_CTRL_LDO_BUCK_GET_OC_STATUS rPMULdoBuckGetOcStatus; /* Data Structure for LDO_BUCK_GET_OC_STATUS */
    PMU_CTRL_LDO_SET_CAL rPMULdoSetCal; /* Data Structure for LDO_SET_CAL */        
    PMU_CTRL_VPA_SET_EN rPMUVpaSetEn; /* Data Structure for VPA_SET_EN */
    PMU_CTRL_VPA_SET_VOLTAGE rPMUVpaSetVoltage; /* Data Structure for VPA_SET_VOLTAGE */
	PMU_CTRL_VPA_CTRL_SEL rPMUVpaCtrlSel; /* Data Structure for VPA_CTRL_SEL */
    PMU_CTRL_VPA_GET_VOLTAGE_LIST rPMUVpaGetVoltageList; /* Data Structure for VPA_GET_VOLTAGE_LIST */
    PMU_CTRL_VPA_SET_BAT_LOW rPMUVpaSetBatLow; /* Data Structure for VPA_SET_BAT_LOW */
	PMU_CTRL_VPA_SET_FPWM rPMUVpaSetFpwm; /* Data Structure for VPA_SET_FPWM */
    PMU_CTRL_VIBR_SET_DIMMING_ON_DUTY rPMUVibrSetDimmingOnDuty; /* Data Structure for VIBR_SET_DIMMING_ON_DUTY */
    PMU_CTRL_SPK_SET_EN rPMUSpkSetEn; /* Data Structure for SPK_SET_EN */
    PMU_CTRL_SPK_SET_MODE rPMUSpkSetMode; /* Data Structure for SPK_SET_MODE */
    PMU_CTRL_SPK_GET_MODE rPMUSpkGetMode; /* Data Structure for SPK_GET_MODE */    
    PMU_CTRL_SPK_SET_OC_AUTO_OFF rPMUSpkSetOcAutoOff; /* Data Structure for SPK_SET_OC_AUTO_OFF */
    PMU_CTRL_SPK_SET_VOL_VALUE rPMUSpkSetVolValue; /* Data Structure for SPK_SET_VOL_VALUE */
    PMU_CTRL_SPK_GET_VOL_VALUE rPMUSpkGetVolValue; /* Data Structure for SPK_GET_VOL_VALUE */
    PMU_CTRL_SPK_SET_VOL rPMUSpkSetVol; /* Data Structure for SPK_SET_VOL */
    PMU_CTRL_SPK_GET_VOL rPMUSpkGetVol; /* Data Structure for SPK_GET_VOL */
    PMU_CTRL_SPK_SET_SLEW_RATE rPMUSpkSetSlewRate; /* Data Structure for SPK_SET_SLEW_RATE */
    PMU_CTRL_SPK_SET_CALIBR_EN rPMUSpkSetCalibrEn; /* Data Structure for SPK_SET_CALIBR_EN */
    PMU_CTRL_SPK_SET_CALIBR_SEL rPMUSpkSetCalibrSel; /* Data Structure for SPK_SET_CALIBR_SEL */
    PMU_CTRL_SPK_SET_OC_INT_EN rPMUSpkSetOcIntEn; /* Data Structure for SPK_SET_OC_INT_EN */
    PMU_CTRL_SPK_CLEAR_OC_FLAG rPMUSpkClearOcFlag; /* Data Structure for SPK_CLEAR_OC_FLAG */
    PMU_CTRL_SPK_GET_OC_FLAG rPMUSpkGetOcFlag; /* Data Structure for SPK_GET_OC_FLAG */
    PMU_CTRL_SPK_GET_OC_STATUS rPMUSpkGetOcStatus; /* Data Structure for SPK_GET_OC_STATUS */
    PMU_CTRL_FLASHLED_SET_EN rPMUFlashledSetEn; /* Data Structure for FLASHLED_SET_EN */
    PMU_CTRL_FLASHLED_SET_MODE rPMUFlashledSetMode; /* Data Structure for FLASHLED_SET_MODE */
    PMU_CTRL_FLASHLED_SET_SEL rPMUFlashledSetSel; /* Data Structure for FLASHLED_SET_SEL */
    PMU_CTRL_KPLED_SET_EN rPMUKpledSetEn; /* Data Structure for KPLED_SET_EN */
    PMU_CTRL_KPLED_SET_MODE rPMUKpledSetMode; /* Data Structure for KPLED_SET_MODE */
    PMU_CTRL_KPLED_SET_SEL rPMUKpledSetSel; /* Data Structure for KPLED_SET_SEL */
    PMU_CTRL_KPLED_SET_FREQUENCY_DIVISION rPMUKpledSetFrequencyDivision; /* Data Structure for KPLED_SET_FREQUENCY_DIVISION */
    PMU_CTRL_KPLED_SET_DIMMING_ON_DUTY rPMUKpledSetDimmingOnDuty; /* Data Structure for KPLED_SET_DIMMING_ON_DUTY */
    PMU_CTRL_CHR_SET_ADC_MEASURE_EN rPMUChrSetAdcMeasureEn; /* Data Structure for CHR_SET_ADC_MEASURE_EN */
    PMU_CTRL_CHR_SET_WDT_TIMER rPMUChrSetWdtTimer; /* Data Structure for CHR_SET_WDT_TIMER */
    PMU_CTRL_CHR_SET_WDT_INT_EN rPMUChrSetWdtIntEn; /* Data Structure for CHR_SET_WDT_INT_EN */
    PMU_CTRL_CHR_SET_WDT_EN rPMUChrSetWdtEn; /* Data Structure for CHR_SET_WDT_EN */
    PMU_CTRL_CHR_SET_CHR_EN rPMUChrSetChrEn; /* Data Structure for CHR_SET_CHR_EN */
    PMU_CTRL_CHR_SET_CHR_FORCE_EN rPMUChrSetChrForceEn; /* Data Structure for CHR_SET_CHR_FORCE_EN */
    PMU_CTRL_CHR_GET_CHR_DET_STATUS rPMUChrGetChrDetStatus; /* Data Structure for CHR_GET_CHR_DET_STATUS */
    PMU_CTRL_CHR_GET_CHR_CURRENT rPMUChrGetChrCurrent; /* Data Structure for CHR_GET_CHR_CURRENT */
    PMU_CTRL_CHR_GET_CHR_CURRENT_LIST rPMUChrGetChrCurrentList; /* Data Structure for CHR_GET_CHR_CURRENT_LIST */
    PMU_CTRL_CHR_SET_CHR_CURRENT rPMUChrSetChrCurrent; /* Data Structure for CHR_SET_CHR_CURRENT */
    PMU_CTRL_CHR_GET_CV_DETECTION_STATUS rPMUChrGetCvDetectionStatus; /* Data Structure for CHR_GET_CV_DETECTION_STATUS */
    PMU_CTRL_CHR_SET_CV_DETECTION_EN rPMUChrSetCvDetectionEn; /* Data Structure for CHR_SET_CV_DETECTION_EN */
    PMU_CTRL_CHR_SET_CV_DETECTION_VOLTAGE rPMUChrSetCvDetectionVoltage; /* Data Structure for CHR_SET_CV_DETECTION_VOLTAGE */
    PMU_CTRL_CHR_SET_CSDAC_EN rPMUChrSetCsdacEn; /* Data Structure for CHR_SET_CSDAC_EN */
    PMU_CTRL_CHR_GET_IS_BATTERY_ON rPMUChrGetIsBatteryOn; /* Data Structure for CHR_GET_IS_BATTERY_ON */
    PMU_CTRL_CHR_GET_IS_CHR_VALID rPMUChrGetIsChrValid; /* Data Structure for CHR_GET_IS_CHR_VALID */
    PMU_CTRL_CHR_SET_HV_DETECTION_VOLTAGE rPMUChrSetHvDetectionVoltage; /* Data Structure for CHR_SET_HV_DETECTION_VOLTAGE */
	PMU_CTRL_CHR_GET_HV_DETECTION_VOLTAGE_LIST rPMUChrGetHvDetectionVoltageList; /* Data Structure for CHR_GET_HV_DETECTION_VOLTAGE_LIST */
	PMU_CTRL_CHR_GET_VCDT_HV_DET rPMUChrGetVcdtHvDet; /* Data Structure for CHR_GET_VCDT_HV_DET */
    PMU_CTRL_CHR_SET_VBAT_OV_DETECTION_VOLTAGE rPMUChrSetVbatOvDetectionVoltage; /* Data Structure for CHR_SET_VBAT_OV_DETECTION_VOLTAGE */
    PMU_CTRL_CHR_SET_BAT_HT_EN rPMUChrSetBatHtEn; /* Data Structure for CHR_SET_BAT_HT_EN */
    PMU_CTRL_CHR_SET_OTG_BVALID_EN rPMUChrSetOtgBvalidEn; /* Data Structure for CHR_SET_OTG_BVALID_EN */
    PMU_CTRL_CHR_SET_CV_MODE rPMUChrSetCvMode; /* Data Structure for CHR_SET_CV_MODE */
    PMU_CTRL_CHR_SET_CSDAC_MODE rPMUChrSetCsdacMode; /* Data Structure for CHR_SET_CSDAC_MODE */
    PMU_CTRL_CHR_SET_TRACKING_EN rPMUChrSetTrackingEn; /* Data Structure for CHR_SET_TRACKING_EN */
    PMU_CTRL_CHR_SET_HWCV_EN rPMUChrSetHwcvEn; /* Data Structure for CHR_SET_HWCV_EN */
    PMU_CTRL_CHR_SET_ULC_DET_EN rPMUChrSetUlcDetEn; /* Data Structure for CHR_SET_ULC_DET_EN */
    PMU_CTRL_CHR_SET_BC11_PULLUP_EN	rPMUChrSetBc11PullupEn; /* Data Structure for CHR_SET_BC11_PULLUP_EN */
    PMU_CTRL_CHR_SET_LOW_ICH_DB rPMUChrSetLowIchDb; /* Data Structure for CHR_SET_LOW_ICH_DB */
	PMU_CTRL_CHR_SET_VBAT_CV_CALIBRATION rPMUChrSetVbatCvCalibration; /* Data Structure for CHR_SET_VBAT_CV_CALIBRATION */
    PMU_CTRL_CHR_GET_CC_DET rPMUChrGetCcDet; /* Data Structure for CHR_GET_CC_DET */
    PMU_CTRL_BL_SET_EN rPMUBlSetEn; /* Data Structure for BL_SET_EN */
    PMU_CTRL_BL_SET_INIT rPMUBlSetInit; /* Data Structure for BL_SET_INIT */
    PMU_CTRL_BL_SET_LEVEL rPMUBlSetLevel; /* Data Structure for BL_SET_LEVEL */
    PMU_CTRL_BL_GET_SUPPORT_LEVEL rPMUBlGetSupportLevel; /* Data Structure for BL_GET_SUPPPORT_LEVEL */
    PMU_CTRL_BL_GET_USE_PWM_QUERY rPMUBlGetUsePwmQuery; /* Data Structure for BL_GET_USE_PWM_QUERY */
    PMU_CTRL_BOOST_SET_EN rPMUBoostSetEn; /* Data Structure for BOOST_SET_EN */
    PMU_CTRL_BOOST_SET_CURRENT_LIMIT rPMUBoostSetCurrentLimit; /* Data Structure for BOOST_SET_CURRENT_LIMIT */
    PMU_CTRL_BOOST_SET_CLK_CAL rPMUBoostSetClkCal; /* Data Structure for BOOST_SET_CLK_CAL */
    PMU_CTRL_BOOST_SET_SYNC_EN rPMUBoostSetSyncEn; /* Data Structure for BOOST_SET_SYNC_EN */
    PMU_CTRL_BOOST_SET_VOLTAGE rPMUBoostSetVoltage; /* Data Structure for BOOST_SET_VOLTAGE */
    PMU_CTRL_BOOST_SET_LEVEL rPMUBoostSetLevel; /* Data Structure for BOOST_SET_LEVEL */
    PMU_CTRL_ISINK_SET_EN rPMUIsinkSetEn; /* Data Structure for ISINK_SET_EN */
    PMU_CTRL_ISINK_SET_MODE rPMUIsinkSetMode; /* Data Structure for ISINK_SET_MODE */
    PMU_CTRL_ISINK_SET_STEP rPMUIsinkSetStep; /* Data Structure for ISINK_SET_STEP */
    PMU_CTRL_ISINK_SET_STEP_GROUP rPMUIsinkSetStepGroup; /* Data Structure for ISINK_SET_STEP_GROUP */
    PMU_CTRL_ISINK_SET_STEP_INDEX rPMUIsinkSetStepIndex; /* Data Structure for ISINK_SET_STEP_INDEX */
    PMU_CTRL_ISINK_SET_FORCE_OFF rPMUIsinkSetForceOff; /* Data Structure for ISINK_SET_FORCE_OFF */
    PMU_CTRL_ISINK_SET_DIMMING_ON_DUTY rPMUIsinkSetDimmingOnDuty; /* Data Structure for ISINK_SET_DIMMING_ON_DUTY */
    PMU_CTRL_ISINK_SET_FREQUENCY_DIVISION rPMUIsinkSetFrequencyDivision; /* Data Structure for ISINK_SET_FREQUENCY_DIVISION */
    PMU_CTRL_ISINK_SET_STP_EN rPMUIsinkSetStpEn; /* Data Structure for ISINK_SET_STP_EN */
    PMU_CTRL_ISINK_SET_STEP_DOUBLE rPMUIsinkSetStepDouble; /* Data Structure for ISINK_SET_STEP_DOUBLE */
    PMU_CTRL_ISINK_SET_STEP_MODE rPMUIsinkSetStepMode; /* Data Structure for ISINK_SET_STEP_MODE */
    PMU_CTRL_MISC_SET_RLED_EN rPMUMiscSetRledEn; /* Data Structure for MISC_SET_RLED_EN */
    PMU_CTRL_MISC_SET_GLED_EN rPMUMiscSetGledEn; /* Data Structure for MISC_SET_GLED_EN */
    PMU_CTRL_MISC_SET_BLED_EN rPMUMiscSetBledEn; /* Data Structure for MISC_SET_BLED_EN */
    PMU_CTRL_MISC_SET_ABIST_MON_SEL rPMUMiscSetAbistMonSel; /* Data Structure for MISC_SET_ABIST_MON_SEL */
    PMU_CTRL_MISC_GET_ABIST_MON_DATA rPMUMiscGetAbistMonData; /* Data Structure for MISC_GET_ABIST_MON_DATA */
    PMU_CTRL_MISC_SET_REGISTER_VALUE rPMUMiscSetRegisterValue; /* Data Structure for MISC_SET_REGISTER_VALUE */
    PMU_CTRL_MISC_GET_REGISTER_VALUE rPMUMiscGetRegisterValue; /* Data Structure for MISC_GET_REGISTER_VALUE */

}PMU_CTRL_DATA;
#else /* __BUILD_DOM__ */
#define PMU_CTRLS \
    PMU_CTRL_LDO_BUCK_CTRL rPMULdoBuckCtrl; \
    PMU_CTRL_LDO_BUCK_SET_EN rPMULdoBuckSetEn; \
    PMU_CTRL_LDO_BUCK_SET_EN_FORCE rPMULdoBuckSetEnForce; \
    PMU_CTRL_LDO_BUCK_SET_VOLTAGE rPMULdoBuckSetVoltage; \
    PMU_CTRL_LDO_BUCK_SET_VOLTAGE_EN rPMULdoBuckSetVoltageEn; \
    PMU_CTRL_LDO_BUCK_SET_SLEEP_VOLTAGE rPMULdoBuckSetSleepVoltage; \
    PMU_CTRL_LDO_BUCK_SET_BURST_THRESHOLD rPMULdoBuckSetBurstThreshold; \
    PMU_CTRL_LDO_BUCK_SET_CURRENT_LIMIT rPMULdoBuckSetCurrentLimit; \
    PMU_CTRL_LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE rPMULdoBuckSetVoltageCalibrationCode; \
    PMU_CTRL_LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE rPMULdoBuckSetBiasCurrentCalibrationCode; \
    PMU_CTRL_LDO_BUCK_SET_STB_EN rPMULdoBuckSetStbEn; \
    PMU_CTRL_LDO_BUCK_SET_OC_AUTO_OFF rPMULdoBuckSetOcAutoOff; \
    PMU_CTRL_LDO_BUCK_SET_RS rPMULdoBuckSetRs; \
    PMU_CTRL_LDO_BUCK_SET_ON_SEL rPMULdoBuckSetOnSel; \
    PMU_CTRL_LDO_BUCK_SET_STB_TD rPMULdoBuckSetStbTd; \
    PMU_CTRL_LDO_BUCK_SET_NDIS_EN rPMULdoBuckSetNdisEn; \
    PMU_CTRL_LDO_BUCK_SET_OC_TD rPMULdoBuckSetOcTd; \
    PMU_CTRL_LDO_BUCK_SET_OCFB_EN rPMULdoBuckSetOcfbEn; \
    PMU_CTRL_LDO_BUCK_SET_VSIM_GPLDO_EN rPMULdoBuckSetVsimGpldoEn; \
    PMU_CTRL_LDO_BUCK_SET_VSIM2_GPLDO_EN rPMULdoBuckSetVsim2GpldoEn; \
    PMU_CTRL_LDO_BUCK_SET_SIM2_GPIO_EN rPMULdoBuckSetSim2GpioEn; \
	PMU_CTRL_LDO_BUCK_SET_VSF_VOSEL_SEL rPMULdoBuckSetVsfVoselSel; \
	PMU_CTRL_LDO_BUCK_SET_VCORE_SFSTREN rPMULdoBuckSetVCoreSfsTren; \
    PMU_CTRL_LDO_BUCK_SET_CCI_C2A_SIM_VOSEL rPMULdoBuckSetCCIC2ASimVosel; \
    PMU_CTRL_LDO_BUCK_SET_CCI_SRCLKEN rPMULdoBuckSetCciSrclken; \
    PMU_CTRL_LDO_BUCK_SET_OC_INT_EN rPMULdoBuckSetOcIntEn; \
    PMU_CTRL_LDO_BUCK_CLEAR_OC_FLAG rPMULdoBuckClearOcFlag; \
    PMU_CTRL_LDO_BUCK_GET_VOLTAGE_LIST rPMULdoBuckGetVoltageList; \
    PMU_CTRL_LDO_BUCK_GET_OC_FLAG rPMULdoBuckGetOcFlag; \
    PMU_CTRL_LDO_BUCK_GET_OC_STATUS rPMULdoBuckGetOcStatus; \
    PMU_CTRL_LDO_SET_CAL rPMULdoSetCal; \
    PMU_CTRL_VPA_SET_EN rPMUVpaSetEn; \
    PMU_CTRL_VPA_SET_VOLTAGE rPMUVpaSetVoltage; \
	PMU_CTRL_VPA_CTRL_SEL rPMUVpaCtrlSel; \
    PMU_CTRL_VPA_GET_VOLTAGE_LIST rPMUVpaGetVoltageList; \
    PMU_CTRL_VPA_SET_BAT_LOW rPMUVpaSetBatLow; \
	PMU_CTRL_VPA_SET_FPWM rPMUVpaSetFpwm; \
    PMU_CTRL_VIBR_SET_DIMMING_ON_DUTY rPMUVibrSetDimmingOnDuty; \
    PMU_CTRL_SPK_SET_EN rPMUSpkSetEn; \
    PMU_CTRL_SPK_SET_MODE rPMUSpkSetMode; \
    PMU_CTRL_SPK_GET_MODE rPMUSpkGetMode; \
    PMU_CTRL_SPK_SET_OC_AUTO_OFF rPMUSpkSetOcAutoOff; \
    PMU_CTRL_SPK_SET_VOL_VALUE rPMUSpkSetVolValue; \
    PMU_CTRL_SPK_GET_VOL_VALUE rPMUSpkGetVolValue; \
    PMU_CTRL_SPK_SET_VOL rPMUSpkSetVol; \
    PMU_CTRL_SPK_GET_VOL rPMUSpkGetVol; \
    PMU_CTRL_SPK_SET_SLEW_RATE rPMUSpkSetSlewRate; \
    PMU_CTRL_SPK_SET_CALIBR_EN rPMUSpkSetCalibrEn; \
    PMU_CTRL_SPK_SET_CALIBR_SEL rPMUSpkSetCalibrSel; \
    PMU_CTRL_SPK_SET_OC_INT_EN rPMUSpkSetOcIntEn; \
    PMU_CTRL_SPK_CLEAR_OC_FLAG rPMUSpkClearOcFlag; \
    PMU_CTRL_SPK_GET_OC_FLAG rPMUSpkGetOcFlag; \
    PMU_CTRL_SPK_GET_OC_STATUS rPMUSpkGetOcStatus; \
    PMU_CTRL_FLASHLED_SET_EN rPMUFlashledSetEn; \
    PMU_CTRL_FLASHLED_SET_MODE rPMUFlashledSetMode; \
    PMU_CTRL_FLASHLED_SET_SEL rPMUFlashledSetSel; \
    PMU_CTRL_KPLED_SET_EN rPMUKpledSetEn; \
    PMU_CTRL_KPLED_SET_MODE rPMUKpledSetMode; \
    PMU_CTRL_KPLED_SET_SEL rPMUKpledSetSel; \
    PMU_CTRL_KPLED_SET_FREQUENCY_DIVISION rPMUKpledSetFrequencyDivision; \
    PMU_CTRL_KPLED_SET_DIMMING_ON_DUTY rPMUKpledSetDimmingOnDuty; \
    PMU_CTRL_CHR_SET_ADC_MEASURE_EN rPMUChrSetAdcMeasureEn; \
    PMU_CTRL_CHR_SET_WDT_TIMER rPMUChrSetWdtTimer; \
    PMU_CTRL_CHR_SET_WDT_INT_EN rPMUChrSetWdtIntEn; \
    PMU_CTRL_CHR_SET_WDT_EN rPMUChrSetWdtEn; \
    PMU_CTRL_CHR_SET_CHR_EN rPMUChrSetChrEn; \
    PMU_CTRL_CHR_SET_CHR_FORCE_EN rPMUChrSetChrForceEn; \
    PMU_CTRL_CHR_GET_CHR_DET_STATUS rPMUChrGetChrDetStatus; \
    PMU_CTRL_CHR_GET_CHR_CURRENT rPMUChrGetChrCurrent; \
    PMU_CTRL_CHR_GET_CHR_CURRENT_LIST rPMUChrGetChrCurrentList; \
    PMU_CTRL_CHR_SET_CHR_CURRENT rPMUChrSetChrCurrent; \
    PMU_CTRL_CHR_GET_CV_DETECTION_STATUS rPMUChrGetCvDetectionStatus; \
    PMU_CTRL_CHR_SET_CV_DETECTION_EN rPMUChrSetCvDetectionEn; \
    PMU_CTRL_CHR_SET_CV_DETECTION_VOLTAGE rPMUChrSetCvDetectionVoltage; \
    PMU_CTRL_CHR_SET_CSDAC_EN rPMUChrSetCsdacEn; \
    PMU_CTRL_CHR_GET_IS_BATTERY_ON rPMUChrGetIsBatteryOn; \
    PMU_CTRL_CHR_GET_IS_CHR_VALID rPMUChrGetIsChrValid; \
    PMU_CTRL_CHR_SET_HV_DETECTION_VOLTAGE rPMUChrSetHvDetectionVoltage; \
    PMU_CTRL_CHR_GET_HV_DETECTION_VOLTAGE_LIST rPMUChrGetHvDetectionVoltageList; \
    PMU_CTRL_CHR_GET_VCDT_HV_DET rPMUChrGetVcdtHvDet; \
    PMU_CTRL_CHR_SET_VBAT_OV_DETECTION_VOLTAGE rPMUChrSetVbatOvDetectionVoltage; \
    PMU_CTRL_CHR_SET_BAT_HT_EN rPMUChrSetBatHtEn; \
    PMU_CTRL_CHR_SET_OTG_BVALID_EN rPMUChrSetOtgBvalidEn; \
    PMU_CTRL_CHR_SET_CV_MODE rPMUChrSetCvMode; \
    PMU_CTRL_CHR_SET_CSDAC_MODE rPMUChrSetCsdacMode; \
    PMU_CTRL_CHR_SET_TRACKING_EN rPMUChrSetTrackingEn; \
    PMU_CTRL_CHR_SET_HWCV_EN rPMUChrSetHwcvEn; \
    PMU_CTRL_CHR_SET_ULC_DET_EN rPMUChrSetUlcDetEn; \
    PMU_CTRL_CHR_SET_BC11_PULLUP_EN rPMUChrSetBc11PullupEn; \
    PMU_CTRL_CHR_SET_LOW_ICH_DB rPMUChrSetLowIchDb; \
    PMU_CTRL_CHR_SET_VBAT_CV_CALIBRATION rPMUChrSetVbatCvCalibration; \
    PMU_CTRL_CHR_GET_CC_DET rPMUChrGetCcDet; \
    PMU_CTRL_BL_SET_EN rPMUBlSetEn; \
    PMU_CTRL_BL_SET_INIT rPMUBlSetInit; \
    PMU_CTRL_BL_SET_LEVEL rPMUBlSetLevel; \
    PMU_CTRL_BL_GET_SUPPORT_LEVEL rPMUBlGetSupportLevel; \
    PMU_CTRL_BL_GET_USE_PWM_QUERY rPMUBlGetUsePwmQuery; \
    PMU_CTRL_BOOST_SET_EN rPMUBoostSetEn; \
    PMU_CTRL_BOOST_SET_CURRENT_LIMIT rPMUBoostSetCurrentLimit; \
    PMU_CTRL_BOOST_SET_CLK_CAL rPMUBoostSetClkCal; \
    PMU_CTRL_BOOST_SET_SYNC_EN rPMUBoostSetSyncEn; \
    PMU_CTRL_BOOST_SET_VOLTAGE rPMUBoostSetVoltage; \
    PMU_CTRL_BOOST_SET_LEVEL rPMUBoostSetLevel; \
    PMU_CTRL_ISINK_SET_EN rPMUIsinkSetEn; \
    PMU_CTRL_ISINK_SET_MODE rPMUIsinkSetMode; \
    PMU_CTRL_ISINK_SET_STEP rPMUIsinkSetStep; \
    PMU_CTRL_ISINK_SET_STEP_GROUP rPMUIsinkSetStepGroup; \
    PMU_CTRL_ISINK_SET_STEP_INDEX rPMUIsinkSetStepIndex; \
    PMU_CTRL_ISINK_SET_FORCE_OFF rPMUIsinkSetForceOff; \
    PMU_CTRL_ISINK_SET_DIMMING_ON_DUTY rPMUIsinkSetDimmingOnDuty; \
    PMU_CTRL_ISINK_SET_FREQUENCY_DIVISION rPMUIsinkSetFrequencyDivision; \
    PMU_CTRL_ISINK_SET_STP_EN rPMUIsinkSetStpEn; \
    PMU_CTRL_ISINK_SET_STEP_DOUBLE rPMUIsinkSetStepDouble; \
    PMU_CTRL_ISINK_SET_STEP_MODE rPMUIsinkSetStepMode; \
    PMU_CTRL_MISC_SET_RLED_EN rPMUMiscSetRledEn; \
    PMU_CTRL_MISC_SET_GLED_EN rPMUMiscSetGledEn; \
    PMU_CTRL_MISC_SET_BLED_EN rPMUMiscSetBledEn; \
    PMU_CTRL_MISC_SET_ABIST_MON_SEL rPMUMiscSetAbistMonSel; \
    PMU_CTRL_MISC_GET_ABIST_MON_DATA rPMUMiscGetAbistMonData; \
    PMU_CTRL_MISC_SET_REGISTER_VALUE rPMUMiscSetRegisterValue; \
    PMU_CTRL_MISC_GET_REGISTER_VALUE rPMUMiscGetRegisterValue; 
#endif /* __BUILD_DOM__ */

/*******************************************************************************
 * DCL_CTRL_CMD for PMU
 *******************************************************************************/
 #ifdef __BUILD_DOM__
/* The PMU Command Values in DCL_CTRL_CMD_T Enum of dcl.h */
typedef enum {
    LDO_BUCK_SET_CMDS_START = 0, /* For internal use  */
    LDO_BUCK_CTRL, /* For internal use  */
    LDO_BUCK_SET_EN, /* enable ldo/buck */
    LDO_BUCK_SET_EN_FORCE, /* set ldo/buck force enable */
    LDO_BUCK_SET_VOLTAGE, /* set ldo/buck voltage */
    LDO_BUCK_SET_VOLTAGE_EN, /* set ldo/buck voltage and enable */
    LDO_BUCK_SET_SLEEP_VOLTAGE, /* set ldo/buck sleep voltage */
    LDO_BUCK_SET_BURST_THRESHOLD = 500, /* set ldo/buck burst threshold */
    LDO_BUCK_SET_CURRENT_LIMIT, /* set ldo/buck current limit */
    LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE, /* set ldo/buck voltage calibration code */
    LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE, /* set ldo/buck bias current calibration code */
    LDO_BUCK_SET_STB_EN, /* enable ldo/buck soft start */
    LDO_BUCK_SET_OC_AUTO_OFF, /* enable to power-off automatically if oc_flag been asserted */
    LDO_BUCK_SET_RS, /* set ldo/buck local/remote sense */
    LDO_BUCK_SET_ON_SEL, /* enable control selection, hardware/software */
    LDO_BUCK_SET_STB_TD, /* set ldo/buck deglitch delay time for soft start */
    LDO_BUCK_SET_NDIS_EN, /* enable ldo/buck NMOS discharge */
    LDO_BUCK_SET_OC_TD, /* set ldo/buck deglitch time constant for over-current status from PMU to generate oc_flag */
    LDO_BUCK_SET_OCFB_EN, /* enable ldo/buck over-current fold-back */
    LDO_BUCK_SET_VSIM_GPLDO_EN, /* select VSIM LDO enable & voltage controlled by SIM controller or register */
    LDO_BUCK_SET_VSIM2_GPLDO_EN, /* select VSIM2 LDO enable & voltage controlled by SIM2 controller or register */
    LDO_BUCK_SET_SIM2_GPIO_EN, /* set SIM2 GPIO enable */    
    LDO_BUCK_SET_VSF_VOSEL_SEL, /*set VSF_VOSEL_SEL for VSF output voltage selection control signal */
    LDO_BUCK_SET_VCORE_SFSTREN, /*set LDO_BUCK_SET_VCORE_SFSTREN for soft-change mode setting */
    LDO_BUCK_SET_CCI_C2A_SIM_VOSEL, /* Set CCI_C2A_SIM_VOSEL */
    LDO_BUCK_SET_CCI_SRCLKEN, /* enable SRCLKENA to PMIC force enable control signal */    
    LDO_BUCK_SET_OC_INT_EN, /* enable oc interrupt of a ldo or buck */
    LDO_BUCK_CLEAR_OC_FLAG, /* clear oc flag of ldo or buck */
    LDO_BUCK_GET_VOLTAGE_LIST, /* get voltage list of ldo or buck */
    LDO_BUCK_GET_OC_FLAG, /* get oc flag of ldo or buck */
    LDO_BUCK_GET_OC_STATUS, /* get oc status of ldo or buck */
    LDO_SET_CAL, /* ldo output voltage calibration */    
    LDO_GET_CAL, /* get ldo output voltage calibration */   
    LDO_BUCK_SET_CMDS_END, /* For internal use  */
    VIBR_SET_DIMMING_ON_DUTY = 900, /* modify vibrator dimming duty */
    VPA_SET_VOLTAGE = 1000, /* set VPA0-7 voltage */
    VPA_SET_EN, /* enable VPA */
	VPA_CTRL_SEL, /* Control the VPA Sourse */
    VPA_GET_VOLTAGE_LIST, /* get VPA supported voltage list */
    VPA_SET_BAT_LOW, /* BAT_LOW to indicate VPA by-pass mode (6326) */
	VPA_SET_FPWM, /* set VPA FPWM */
    SPK_SET_EN = 2000, /* enable spk */
    SPK_SET_MODE, /* set spk mode */
    SPK_GET_MODE, /* get spk mode */    
    SPK_SET_OC_AUTO_OFF, /* enable spk over-current auto off */
    SPK_SET_VOL_VALUE, /* set spk volume (register value) */
    SPK_GET_VOL_VALUE, /* get spk volume (register value) */
    SPK_SET_VOL, /* set spk volume (dbm) */
    SPK_GET_VOL, /* get spk volume (dbm) */
    SPK_SET_SLEW_RATE, /* set spk slew rate */
    SPK_SET_CALIBR_EN, /* set spk Class D offset calibration enable */
    SPK_SET_CALIBR_SEL, /* set spk Class D offset calibration path */
    SPK_SET_OC_INT_EN, /* set oc interrupt of a spk */
    SPK_CLEAR_OC_FLAG, /* clear oc flag of a spk */
    SPK_GET_OC_FLAG, /* get oc flag of a spk */
    SPK_GET_OC_STATUS, /* get oc status of a spk */
    KPLED_SET_EN = 3000, /* enable kpled */
    KPLED_SET_MODE, /* set kpled mode (pwm/register) */
    KPLED_SET_SEL, /* kpled Turn On Resistor Select */
    KPLED_SET_FREQUENCY_DIVISION, /* set kpled frequency division */
    KPLED_SET_DIMMING_ON_DUTY, /* set kpled dimming duty */
    FLASHLED_SET_EN = 4000, /* enable flashled */
    FLASHLED_SET_MODE, /* set flashled mode (pwm/regsiter) */
    FLASHLED_SET_SEL, /* kpled Turn On Resistor Select */
    BL_SET_INIT = 5000, /* backlight init mode */
    BL_SET_EN, /* enable backlight */
    BL_SET_LEVEL, /* set backlight level */
    BL_GET_SUPPORT_LEVEL, /* get backlight support level */
    BL_GET_USE_PWM_QUERY, /* get backlight use pwm query */
    BOOST_SET_EN = 6000, /* enable boost */
    BOOST_SET_CURRENT_LIMIT, /* set boost current limit */
    BOOST_SET_CLK_CAL, /* set boost clock cal */
    BOOST_SET_SYNC_EN, /* enable boost sync */
    BOOST_SET_VOLTAGE, /* set boost voltage */
    BOOST_SET_LEVEL, /* set boost level */
    ISINK_SET_EN = 7000, /* enable isink */
    ISINK_SET_MODE, /* set isink mode */
    ISINK_SET_STEP, /* set isink step */
    ISINK_SET_STEP_GROUP, /* set isink step group */
    ISINK_SET_STEP_INDEX, /* set isink step index */
    ISINK_SET_FORCE_OFF, /* set isink force off */
    ISINK_SET_CHANNEL, /* set isink channel */
    ISINK_SET_DIMMING_ON_DUTY, /* set kpled dimming duty */
    ISINK_SET_FREQUENCY_DIVISION, /* set kpled frequency division */
    ISINK_SET_STP_EN, /* Enable ISINK current stepping */
    ISINK_SET_STEP_DOUBLE, /* Doubles current level for ISINK CH0~CH# */
    ISINK_SET_STEP_MODE, /* ISINK channel# current stepping mode. */
    CHR_SET_ADC_MEASURE_EN = 8000, /* enable adc measure */
    CHR_SET_WDT_CLEAR, /* clear charger wdt */
    CHR_SET_WDT_TIMER, /* set charger wdt timer */
    CHR_SET_WDT_INT_EN, /* enable charger wdt interrupt */
    CHR_SET_WDT_EN, /* enable charger wdt */
    CHR_SET_CHR_EN, /* enable charger */
    CHR_SET_CHR_FORCE_EN, /* force enable charger */
    CHR_GET_CHR_DET_STATUS, /* get charger detection status */
    CHR_GET_CHR_CURRENT, /* get charger current */
    CHR_GET_CHR_CURRENT_LIST, /* get charger current list */
    CHR_SET_CHR_CURRENT, /* set charger current */
    CHR_GET_CV_DETECTION_STATUS, /* get CV detection status */
    CHR_SET_CV_DETECTION_EN, /* enable CV detection */
    CHR_SET_CV_DETECTION_VOLTAGE, /* set CV voltage */
    CHR_SET_CV_DETECTION_VOLTAGE_CALIBRATION, /* set CV voltage calibration */
    CHR_SET_CSDAC_EN, /* enable csdac */
    CHR_GET_IS_BATTERY_ON, /* check is battery on */
    CHR_GET_IS_CHR_VALID, /* check is charger valid */
    CHR_SET_HV_DETECTION_VOLTAGE, /* set HV detection voltage */
    CHR_GET_HV_DETECTION_VOLTAGE_LIST, /* get HV detection voltage list */
    CHR_GET_VCDT_HV_DET, /* ger VCDT_HV_DET result */
    CHR_SET_VBAT_OV_DETECTION_VOLTAGE, /* set battery OV detection voltage */
    CHR_SET_BAT_HT_EN, /* enable battery high tempture detection */
    CHR_SET_OTG_BVALID_EN, /* enable OTG BVALID */
    CHR_SET_CV_MODE, /* enable CV detect@ charging enable */
    CHR_SET_CSDAC_MODE, /* enable s/w control */
    CHR_SET_TRACKING_EN, /* enable HTH/LTH for current tracking */
    CHR_SET_HWCV_EN, /* enable H/W CV */
    CHR_SET_ULC_DET_EN, /* enable plug out HW detection */
    CHR_SET_LOW_ICH_DB, /* set plug out HW detection de-bounce time */
    CHR_SET_CHARGE_WITHOUT_BATTERY, /* enable charger without battery */
    CHR_SET_BC11_PULLUP_EN,	/* turn on/off BC11 pull up*/
    CHR_SET_VBAT_CV_CALIBRATION, /* do VBAT CV Calibration trimming */
    CHR_GET_CC_DET, /* get VBAT CC detection result */
    MISC_SET_RLED_EN = 9000, /* enable Red led */
    MISC_SET_GLED_EN, /* enable green led */
    MISC_SET_BLED_EN, /* enable blue led */
    MISC_SET_ABIST_MON_SEL, /* set abist monitor select */
    MISC_GET_ABIST_MON_DATA, /* get abist monitor data */
    MISC_SET_REGISTER_VALUE, /* set pmu/pmic register value */
    MISC_GET_REGISTER_VALUE, /* get pmu/pmic register value */
	PMU_MOD_CMD_MAX,
} PMU_CTRL_CMD;
#else /* __BUILD_DOM__ */
#define PMU_CMDS \
    LDO_BUCK_SET_CMDS_START = 0, \
    LDO_BUCK_CTRL, \
    LDO_BUCK_SET_EN, \
    LDO_BUCK_SET_EN_FORCE, \
    LDO_BUCK_SET_VOLTAGE, \
    LDO_BUCK_SET_VOLTAGE_EN, \
    LDO_BUCK_SET_SLEEP_VOLTAGE, \
    LDO_BUCK_SET_BURST_THRESHOLD = 500, \
    LDO_BUCK_SET_CURRENT_LIMIT, \
    LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE, \
    LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE, \
    LDO_BUCK_SET_STB_EN, \
    LDO_BUCK_SET_OC_AUTO_OFF, \
    LDO_BUCK_SET_RS, \
    LDO_BUCK_SET_ON_SEL, \
    LDO_BUCK_SET_STB_TD, \
    LDO_BUCK_SET_NDIS_EN, \
    LDO_BUCK_SET_OC_TD, \
    LDO_BUCK_SET_OCFB_EN, \
    LDO_BUCK_SET_VSIM_GPLDO_EN, \
    LDO_BUCK_SET_VSIM2_GPLDO_EN, \
    LDO_BUCK_SET_SIM2_GPIO_EN, \
    LDO_BUCK_SET_VSF_VOSEL_SEL, \
    LDO_BUCK_SET_VCORE_SFSTREN, \
    LDO_BUCK_SET_CCI_C2A_SIM_VOSEL, \
    LDO_BUCK_SET_CCI_SRCLKEN, \
    LDO_BUCK_SET_OC_INT_EN, \
    LDO_BUCK_CLEAR_OC_FLAG, \
    LDO_BUCK_GET_VOLTAGE_LIST, \
    LDO_BUCK_GET_OC_FLAG, \
    LDO_BUCK_GET_OC_STATUS, \
    LDO_SET_CAL, \
    LDO_BUCK_SET_CMDS_END, \
    VIBR_SET_DIMMING_ON_DUTY = 900, \
    VPA_SET_VOLTAGE = 1000, \
    VPA_SET_EN, \
	VPA_CTRL_SEL, \
    VPA_GET_VOLTAGE_LIST, \
    VPA_SET_BAT_LOW, \
	VPA_SET_FPWM, \
    SPK_SET_EN = 2000, \
    SPK_SET_MODE, \
    SPK_GET_MODE, \
    SPK_SET_OC_AUTO_OFF, \
    SPK_SET_VOL_VALUE, \
    SPK_GET_VOL_VALUE, \
    SPK_SET_VOL, \
    SPK_GET_VOL, \
    SPK_SET_SLEW_RATE, \
    SPK_SET_CALIBR_EN, \
    SPK_SET_CALIBR_SEL, \
    SPK_SET_OC_INT_EN, \
    SPK_CLEAR_OC_FLAG, \
    SPK_GET_OC_FLAG, \
    SPK_GET_OC_STATUS, \
    KPLED_SET_EN = 3000, \
    KPLED_SET_MODE, \
    KPLED_SET_SEL, \
    KPLED_SET_FREQUENCY_DIVISION, \
    KPLED_SET_DIMMING_ON_DUTY, \
    FLASHLED_SET_EN = 4000, \
    FLASHLED_SET_MODE, \
    FLASHLED_SET_SEL, \
    BL_SET_INIT = 5000, \
    BL_SET_EN, \
    BL_SET_LEVEL, \
    BL_GET_SUPPORT_LEVEL, \
    BL_GET_USE_PWM_QUERY, \
    BOOST_SET_EN = 6000, \
    BOOST_SET_CURRENT_LIMIT, \
    BOOST_SET_CLK_CAL, \
    BOOST_SET_SYNC_EN, \
    BOOST_SET_VOLTAGE, \
    BOOST_SET_LEVEL, \
    ISINK_SET_EN = 7000, \
    ISINK_SET_MODE, \
    ISINK_SET_STEP, \
    ISINK_SET_STEP_GROUP, \
    ISINK_SET_STEP_INDEX, \
    ISINK_SET_FORCE_OFF, \
    ISINK_SET_CHANNEL, \
    ISINK_SET_DIMMING_ON_DUTY, \
    ISINK_SET_FREQUENCY_DIVISION, \
    ISINK_SET_STP_EN, \
    ISINK_SET_STEP_DOUBLE, \
    ISINK_SET_STEP_MODE, \
    CHR_SET_ADC_MEASURE_EN = 8000, \
    CHR_SET_WDT_CLEAR, \
    CHR_SET_WDT_TIMER, \
    CHR_SET_WDT_INT_EN, \
    CHR_SET_WDT_EN, \
    CHR_SET_CHR_EN, \
    CHR_SET_CHR_FORCE_EN, \
    CHR_GET_CHR_DET_STATUS, \
    CHR_GET_CHR_CURRENT, \
    CHR_GET_CHR_CURRENT_LIST, \
    CHR_SET_CHR_CURRENT, \
    CHR_GET_CV_DETECTION_STATUS, \
    CHR_SET_CV_DETECTION_EN, \
    CHR_SET_CV_DETECTION_VOLTAGE, \
    CHR_SET_CV_DETECTION_VOLTAGE_CALIBRATION, \
    CHR_SET_CSDAC_EN, \
    CHR_GET_IS_BATTERY_ON, \
    CHR_GET_IS_CHR_VALID, \
    CHR_SET_HV_DETECTION_VOLTAGE, \
    CHR_GET_HV_DETECTION_VOLTAGE_LIST, \
    CHR_GET_VCDT_HV_DET, \
    CHR_SET_VBAT_OV_DETECTION_VOLTAGE, \
    CHR_SET_BAT_HT_EN, \
    CHR_SET_OTG_BVALID_EN, \
    CHR_SET_CV_MODE, \
    CHR_SET_CSDAC_MODE, \
    CHR_SET_TRACKING_EN, \
    CHR_SET_HWCV_EN, \
    CHR_SET_ULC_DET_EN, \
    CHR_SET_LOW_ICH_DB, \
    CHR_SET_CHARGE_WITHOUT_BATTERY, \
    CHR_SET_BC11_PULLUP_EN, \
    CHR_SET_VBAT_CV_CALIBRATION, \
    CHR_GET_CC_DET, \
    MISC_SET_RLED_EN = 9000, \
    MISC_SET_GLED_EN, \
    MISC_SET_BLED_EN, \
    MISC_SET_ABIST_MON_SEL, \
    MISC_GET_ABIST_MON_DATA, \
    MISC_SET_REGISTER_VALUE, \
    MISC_GET_REGISTER_VALUE, \
	PMU_MOD_CMD_MAX,
#endif /* __BUILD_DOM__ */

#endif // #ifndef __DCL_PMU_H_STRUCT__
#endif // #ifdef DCL_DEFINITION_STRUCT

#ifdef DCL_DEFINITION_PROTOTYPE
#ifndef __DCL_PMU_H_PROTOTYPE__
#define __DCL_PMU_H_PROTOTYPE__

typedef DCL_STATUS (*PMU_CONTROL_HANDLER)(DCL_HANDLE handle, DCL_CTRL_CMD cmd, DCL_CTRL_DATA_T *data);

/*************************************************************************
* FUNCTION
*  DclPMU_Initialize
*
* DESCRIPTION
*  This function is to initialize PMU module
*
* PARAMETERS
*  None
*
* RETURNS
*  STATUS_OK
*
*************************************************************************/
extern DCL_STATUS DclPMU_Initialize(void);
/*************************************************************************
* FUNCTION
*  DclPMU_Open
*
* DESCRIPTION
*  This function is to open the PMU module and return a handle
*
* PARAMETERS
*  dev: only valid for DCL_PMU
*  flags: no sepcial flags is needed. Please use FLAGS_NONE
*
* RETURNS
*  DCL_HANDLE_INVALID: Open failed.
*  other value: a valid handle
*
*************************************************************************/
extern DCL_HANDLE DclPMU_Open(DCL_DEV dev, DCL_FLAGS flags);
/*************************************************************************
* FUNCTION
*  DclPMU_ReadData
*
* DESCRIPTION
*  This function is not supported for the PMU module now.
*
* PARAMETERS
*	N/A
*
* RETURNS
*	STATUS_UNSUPPORTED
*
*************************************************************************/
extern DCL_STATUS DclPMU_ReadData(DCL_HANDLE handle, DCL_BUFF *buff, DCL_BUFF_LEN buf_len, DCL_OPTIONS options);
/*************************************************************************
* FUNCTION
*  DclPMU_WriteData
*
* DESCRIPTION
*  This function is not supported for the PMU module now.
*
* PARAMETERS
*	N/A
*
* RETURNS
*	STATUS_UNSUPPORTED
*
*************************************************************************/
extern DCL_STATUS DclPMU_WriteData(DCL_HANDLE handle, DCL_BUFF *buff, DCL_BUFF_LEN buf_len, DCL_OPTIONS options);
/*************************************************************************
* FUNCTION
*  DclPMU_Configure
*
* DESCRIPTION
*  This function is not supported for the PMU module now.
*
* PARAMETERS
*	N/A
*
* RETURNS
*	STATUS_UNSUPPORTED
*
*************************************************************************/
extern DCL_STATUS DclPMU_Configure(DCL_HANDLE handle, DCL_CONFIGURE_T *configure);
/*************************************************************************
* FUNCTION
*  DclPMU_RegisterCallback
*
* DESCRIPTION
*   This function is not supported for the PMU module now.
*
* PARAMETERS
*  	N/A
*
* RETURNS
*  STATUS_UNSUPPORTED
*
*************************************************************************/
extern DCL_STATUS DclPMU_RegisterCallback(DCL_HANDLE handle, DCL_EVENT event, PFN_DCL_CALLBACK callback);
/*************************************************************************
* FUNCTION
*  DclPMU_Control
*
* DESCRIPTION
*  This function is to send command to control the PMU module.
*
* PARAMETERS
*  handle: The handle value returned from DclPMU_Open
*  cmd: a control command for PMU module
*          LDO_BUCK_SET_CMDS_START: For internal use 
*          LDO_BUCK_CTRL: For internal use 
*          LDO_BUCK_SET_EN: enable ldo/buck
*          LDO_BUCK_SET_EN_FORCE: set ldo/buck force enable
*          LDO_BUCK_SET_VOLTAGE: set ldo/buck voltage
*          LDO_BUCK_SET_VOLTAGE_EN: set ldo/buck voltage and enable
*          LDO_BUCK_SET_SLEEP_VOLTAGE: set ldo/buck sleep voltage
*          LDO_BUCK_SET_BURST_THRESHOLD: set ldo/buck burst threshold
*          LDO_BUCK_SET_CURRENT_LIMIT: set ldo/buck current limit
*          LDO_BUCK_SET_VOLTAGE_CALIBRATION_CODE: set ldo/buck voltage calibration code
*          LDO_BUCK_SET_BIAS_CURRENT_CALIBRATION_CODE: set ldo/buck bias current calibration code
*          LDO_BUCK_SET_STB_EN: enable ldo/buck soft start
*          LDO_BUCK_SET_OC_AUTO_OFF: enable to power-off automatically if oc_flag been asserted
*          LDO_BUCK_SET_RS: set ldo/buck local/remote sense
*          LDO_BUCK_SET_ON_SEL: enable control selection, hardware/software
*          LDO_BUCK_SET_STB_TD: set ldo/buck deglitch delay time for soft start
*          LDO_BUCK_SET_NDIS_EN: enable ldo/buck NMOS discharge
*          LDO_BUCK_SET_OC_TD: set ldo/buck deglitch time constant for over-current status from PMU to generate oc_flag
*          LDO_BUCK_SET_OCFB_EN: enable ldo/buck over-current fold-back
*          LDO_BUCK_SET_VSIM_GPLDO_EN: select VSIM LDO enable & voltage controlled by SIM controller or register
*          LDO_BUCK_SET_VSIM2_GPLDO_EN: select VSIM2 LDO enable & voltage controlled by SIM2 controller or register
*          LDO_BUCK_SET_SIM2_GPIO_EN: set SIM2 GPIO enable
*          LDO_BUCK_SET_CCI_SRCLKEN: enable SRCLKENA to PMIC force enable control signal
*          LDO_BUCK_SET_CMDS_END: For internal use 
*          VIBR_SET_DIMMING_ON_DUTY: modify vibrator dimming duty
*          VPA_SET_VOLTAGE: set VPA0-7 voltage
*          VPA_SET_EN: enable VPA
*          VPA_GET_VOLTAGE_LIST: get VPA supported voltage list
*          VPA_SET_BAT_LOW: BAT_LOW to indicate VPA by-pass mode (6326)
*          LDO_SET_CAL: ldo output voltage calibration
*          SPK_SET_EN: enable spk
*          SPK_SET_MODE: set spk mode
*          SPK_GET_MODE: get spk mode
*          SPK_SET_OC_AUTO_OFF: enable spk over-current auto off
*          SPK_SET_VOL_VALUE: set spk volume (register value)
*          SPK_GET_VOL_VALUE: get spk volume (register value)
*          SPK_SET_VOL: set spk volume (dbm)
*          SPK_GET_VOL: get spk volume (dbm)
*          SPK_SET_SLEW_RATE: set spk slew rate
*          SPK_SET_CALIBR_EN: set spk Class D offset calibration enable
*          SPK_SET_CALIBR_SEL: set spk Class D offset calibration path
*          KPLED_SET_EN: enable kpled
*          KPLED_SET_MODE: set kpled mode (pwm/register)
*          KPLED_SET_SEL: kpled Turn On Resistor Select
*          KPLED_SET_FREQUENCY_DIVISION: set kpled frequency division
*          KPLED_SET_DIMMING_ON_DUTY: set kpled dimming duty
*          FLASHLED_SET_EN: enable flashled
*          FLASHLED_SET_MODE: set flashled mode (pwm/regsiter)
*          FLASHLED_SET_SEL: kpled Turn On Resistor Select
*          BL_SET_INIT: backlight init mode
*          BL_SET_EN: enable backlight
*          BOOST_SET_EN: enable boost
*          BOOST_SET_CURRENT_LIMIT: set boost current limit
*          BOOST_SET_CLK_CAL: set boost clock cal
*          BOOST_SET_SYNC_EN: enable boost sync
*          BOOST_SET_VOLTAGE: set boost voltage
*          BOOST_SET_LEVEL: set boost level
*          ISINK_SET_EN: enable isink
*          ISINK_SET_MODE: set isink mode
*          ISINK_SET_STEP: set isink step
*          ISINK_SET_FORCE_OFF: set isink force off
*          ISINK_SET_CHANNEL: set isink channel
*          ISINK_SET_DIMMING_ON_DUTY: set kpled dimming duty
*          ISINK_SET_FREQUENCY_DIVISION: set kpled frequency division
*          ISINK_SET_STP_EN: Enable ISINK current stepping
*          ISINK_SET_STEP_DOUBLE: Doubles current level for ISINK CH0~CH#
*          CHR_SET_ADC_MEASURE_EN: enable adc measure
*          CHR_SET_WDT_CLEAR: clear charger wdt
*          CHR_SET_WDT_TIMER: set charger wdt timer
*          CHR_SET_WDT_INT_EN: enable charger wdt interrupt
*          CHR_SET_WDT_EN: enable charger wdt
*          CHR_SET_CHR_EN: enable charger
*          CHR_SET_CHR_FORCE_EN: force enable charger
*          CHR_GET_CHR_DET_STATUS: get charger detection status
*          CHR_GET_CHR_CURRENT: get charger current
*          CHR_GET_CHR_CURRENT_LIST: get charger current list
*          CHR_SET_CHR_CURRENT: set charger current
*          CHR_GET_CV_DETECTION_STATUS: get CV detection status
*          CHR_SET_CV_DETECTION_EN: enable CV detection
*          CHR_SET_CV_DETECTION_VOLTAGE: set CV voltage
*          CHR_SET_CV_DETECTION_VOLTAGE_CALIBRATION: set CV voltage calibration
*          CHR_SET_CSDAC_EN: enable csdac
*          CHR_GET_IS_BATTERY_ON: check is battery on
*          CHR_GET_IS_CHR_VALID: check is charger valid
*          CHR_SET_HV_DETECTION_VOLTAGE: set HV detection voltage
*          CHR_SET_VBAT_OV_DETECTION_VOLTAGE: set battery OV detection voltage
*          CHR_SET_BAT_HT_EN: enable battery high tempture detection
*          CHR_SET_OTG_BVALID_EN: enable OTG BVALID
*          CHR_SET_CV_MODE: enable CV detect@ charging enable
*          CHR_SET_CSDAC_MODE: enable s/w control
*          CHR_SET_TRACKING_EN: enable HTH/LTH for current tracking
*          CHR_SET_HWCV_EN: enable H/W CV
*          CHR_SET_ULC_DET_EN: enable plug out HW detection
*          CHR_SET_LOW_ICH_DB: set plug out HW detection de-bounce time
*          CHR_GET_CC_DET: get VBAT CC detection result
*          MISC_SET_RLED_EN: enable Red led
*          MISC_SET_GLED_EN: enable green led
*          MISC_SET_BLED_EN: enable blue led
*          MISC_SET_REGISTER_VALUE: set pmu/pmic register value
*          MISC_GET_REGISTER_VALUE: get pmu/pmic register value
*  data: The data of the control command
*          cmd: xxxx : pointer to a PMU_CTRL_xxxx structure
*          ex: LDO_BUCK_SET_EN:  pointer to a PMU_CTRL_LDO_BUCK_SET_EN structure
*
* RETURNS
*  STATUS_OK: command is executed successfully.
*  STATUS_FAIL: command is failed.
*  STATUS_INVALID_CMD: It's a invalid command.
*     STATUS_UNSUPPORTED: It's a unsupported command.
*
*************************************************************************/
extern DCL_STATUS DclPMU_Control(DCL_HANDLE handle, DCL_CTRL_CMD cmd, DCL_CTRL_DATA_T *data);
/*************************************************************************
* FUNCTION
*  DclPMU_Close
*
* DESCRIPTION
*  This function is to close the PMU module.
*
* PARAMETERS
*  handle: the returned handle value of DclPMU_Open
*
* RETURNS
*  STATUS_OK
*
*************************************************************************/
extern DCL_STATUS DclPMU_Close(DCL_HANDLE handle);

#endif // #ifndef __DCL_PMU_H_PROTOTYPE__
#endif // #ifdef DCL_DEFINITION_PROTOTYPE