Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
66 lines
1.5 KiB
C
66 lines
1.5 KiB
C
/*
|
|
* Copyright (c) 2019 MediaTek Inc.
|
|
* Author: Wen Su <wen.su@mediatek.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __LINUX_REGULATOR_MT6359_H
|
|
#define __LINUX_REGULATOR_MT6359_H
|
|
|
|
enum {
|
|
MT6359_ID_VS1 = 0,
|
|
MT6359_ID_VGPU11,
|
|
MT6359_ID_VMODEM,
|
|
MT6359_ID_VPU,
|
|
MT6359_ID_VCORE,
|
|
MT6359_ID_VS2,
|
|
MT6359_ID_VPA,
|
|
MT6359_ID_VPROC2,
|
|
MT6359_ID_VPROC1,
|
|
MT6359_ID_VAUD18 = 9,
|
|
MT6359_ID_VSIM1,
|
|
MT6359_ID_VIBR,
|
|
MT6359_ID_VRF12,
|
|
MT6359_ID_VUSB,
|
|
MT6359_ID_VSRAM_PROC2,
|
|
MT6359_ID_VIO18,
|
|
MT6359_ID_VCAMIO,
|
|
MT6359_ID_VCN18,
|
|
MT6359_ID_VFE28,
|
|
MT6359_ID_VCN13,
|
|
MT6359_ID_VCN33_1_BT,
|
|
MT6359_ID_VCN33_1_WIFI,
|
|
MT6359_ID_VAUX18,
|
|
MT6359_ID_VSRAM_OTHERS,
|
|
MT6359_ID_VEFUSE,
|
|
MT6359_ID_VXO22,
|
|
MT6359_ID_VRFCK,
|
|
MT6359_ID_VBIF28,
|
|
MT6359_ID_VIO28,
|
|
MT6359_ID_VEMC,
|
|
MT6359_ID_VCN33_2_BT,
|
|
MT6359_ID_VCN33_2_WIFI,
|
|
MT6359_ID_VA12,
|
|
MT6359_ID_VA09,
|
|
MT6359_ID_VRF18,
|
|
MT6359_ID_VSRAM_MD,
|
|
MT6359_ID_VUFS,
|
|
MT6359_ID_VM18,
|
|
MT6359_ID_VBBCK,
|
|
MT6359_ID_VSRAM_PROC1,
|
|
MT6359_ID_VSIM2,
|
|
MT6359_ID_RG_MAX,
|
|
};
|
|
|
|
#define MT6359_MAX_REGULATOR MT6359_ID_RG_MAX
|
|
|
|
#endif /* __LINUX_REGULATOR_MT6359_H */
|