Flora Fu | 0425e24 | 2014-12-05 12:07:54 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 MediaTek Inc. |
| 3 | * Author: Flora Fu <flora.fu@mediatek.com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | */ |
| 14 | |
| 15 | #ifndef __LINUX_REGULATOR_MT6397_H |
| 16 | #define __LINUX_REGULATOR_MT6397_H |
| 17 | |
| 18 | enum { |
| 19 | MT6397_ID_VPCA15 = 0, |
| 20 | MT6397_ID_VPCA7, |
| 21 | MT6397_ID_VSRAMCA15, |
| 22 | MT6397_ID_VSRAMCA7, |
| 23 | MT6397_ID_VCORE, |
| 24 | MT6397_ID_VGPU, |
| 25 | MT6397_ID_VDRM, |
| 26 | MT6397_ID_VIO18 = 7, |
| 27 | MT6397_ID_VTCXO, |
| 28 | MT6397_ID_VA28, |
| 29 | MT6397_ID_VCAMA, |
| 30 | MT6397_ID_VIO28, |
| 31 | MT6397_ID_VUSB, |
| 32 | MT6397_ID_VMC, |
| 33 | MT6397_ID_VMCH, |
| 34 | MT6397_ID_VEMC3V3, |
| 35 | MT6397_ID_VGP1, |
| 36 | MT6397_ID_VGP2, |
| 37 | MT6397_ID_VGP3, |
| 38 | MT6397_ID_VGP4, |
| 39 | MT6397_ID_VGP5, |
| 40 | MT6397_ID_VGP6, |
| 41 | MT6397_ID_VIBR, |
| 42 | MT6397_ID_RG_MAX, |
| 43 | }; |
| 44 | |
| 45 | #define MT6397_MAX_REGULATOR MT6397_ID_RG_MAX |
| 46 | #define MT6397_REGULATOR_ID97 0x97 |
| 47 | #define MT6397_REGULATOR_ID91 0x91 |
| 48 | |
| 49 | #endif /* __LINUX_REGULATOR_MT6397_H */ |