1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * Copyright (c) 2014 MediaTek Inc. 2 * Copyright (c) 2014 MediaTek Inc. 4 * Author: Flora Fu <flora.fu@mediatek.com> 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. 5 */ 13 */ 6 14 7 #ifndef __LINUX_REGULATOR_MT6397_H 15 #ifndef __LINUX_REGULATOR_MT6397_H 8 #define __LINUX_REGULATOR_MT6397_H 16 #define __LINUX_REGULATOR_MT6397_H 9 17 10 enum { 18 enum { 11 MT6397_ID_VPCA15 = 0, 19 MT6397_ID_VPCA15 = 0, 12 MT6397_ID_VPCA7, 20 MT6397_ID_VPCA7, 13 MT6397_ID_VSRAMCA15, 21 MT6397_ID_VSRAMCA15, 14 MT6397_ID_VSRAMCA7, 22 MT6397_ID_VSRAMCA7, 15 MT6397_ID_VCORE, 23 MT6397_ID_VCORE, 16 MT6397_ID_VGPU, 24 MT6397_ID_VGPU, 17 MT6397_ID_VDRM, 25 MT6397_ID_VDRM, 18 MT6397_ID_VIO18 = 7, 26 MT6397_ID_VIO18 = 7, 19 MT6397_ID_VTCXO, 27 MT6397_ID_VTCXO, 20 MT6397_ID_VA28, 28 MT6397_ID_VA28, 21 MT6397_ID_VCAMA, 29 MT6397_ID_VCAMA, 22 MT6397_ID_VIO28, 30 MT6397_ID_VIO28, 23 MT6397_ID_VUSB, 31 MT6397_ID_VUSB, 24 MT6397_ID_VMC, 32 MT6397_ID_VMC, 25 MT6397_ID_VMCH, 33 MT6397_ID_VMCH, 26 MT6397_ID_VEMC3V3, 34 MT6397_ID_VEMC3V3, 27 MT6397_ID_VGP1, 35 MT6397_ID_VGP1, 28 MT6397_ID_VGP2, 36 MT6397_ID_VGP2, 29 MT6397_ID_VGP3, 37 MT6397_ID_VGP3, 30 MT6397_ID_VGP4, 38 MT6397_ID_VGP4, 31 MT6397_ID_VGP5, 39 MT6397_ID_VGP5, 32 MT6397_ID_VGP6, 40 MT6397_ID_VGP6, 33 MT6397_ID_VIBR, 41 MT6397_ID_VIBR, 34 MT6397_ID_RG_MAX, 42 MT6397_ID_RG_MAX, 35 }; 43 }; 36 44 37 #define MT6397_MAX_REGULATOR MT6397_ID_RG_M 45 #define MT6397_MAX_REGULATOR MT6397_ID_RG_MAX 38 #define MT6397_REGULATOR_ID97 0x97 46 #define MT6397_REGULATOR_ID97 0x97 39 #define MT6397_REGULATOR_ID91 0x91 47 #define MT6397_REGULATOR_ID91 0x91 40 48 41 #endif /* __LINUX_REGULATOR_MT6397_H */ 49 #endif /* __LINUX_REGULATOR_MT6397_H */ 42 50
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.