Skip to content

PMIC CIDs

Akari Tsuyukusa edited this page Apr 26, 2026 · 5 revisions
#define MT3615_CID_CODE		0x1500

https://github.com/orumin/psvr2-sie-kernel/blob/2d7f8351426d07a461a0be5b7df524548e8bcc5d/drivers/mfd/mt3615-core.c

#define MT6311_E1_CID_CODE    0x10
#define MT6311_E2_CID_CODE    0x20
#define MT6311_E3_CID_CODE    0x30

https://github.com/McPrapor/kernel_misu/blob/9368b1adf9daa37a01d1e32f71a3c8ce83cb9bb3/include/linux/regulator/mt6311.h

#define PMIC6311_E1_CID_CODE    0x0110
#define PMIC6311_E2_CID_CODE    0x0120
#define PMIC6311_E3_CID_CODE    0x0130

https://github.com/copslock/lgh522y/blob/235139abbaee1e1bdb6d4bbca9c7c4c31a9a4def/drivers/misc/mediatek/mach/mt6752/include/mach/mt6311.h

#define PMIC6320_E1_CID_CODE    0x1020
#define PMIC6320_E2_CID_CODE    0x2020

https://github.com/mt8173-dev/android_kernel_amazon_sloane/blob/7cdf75e7ac0ba7009ff98fe71b291b118f634e77/drivers/misc/mediatek/ldvt/mt8135/pmic/pmic.c https://github.com/toffyjan/android_Ticwatch_S_mooneye/blob/4f2a73b26f3821afc452cdce660cdbc73daf4e4a/arch/arm/mach-mt2601/include/mach/pmic_mt6320_sw.h

#define MT6323_CID_CODE		0x23
#define MT6391_CID_CODE		0x91
#define MT6397_CID_CODE		0x97

https://github.com/BPI-SINOVOIP/BPI-R2-bsp/blob/591910e127cd9c811fe9e811ddb6c7278d8ed934/linux-mt/drivers/mfd/mt6397-core.c

#define MT6323_CID_CODE		0x23
#define MT6358_CID_CODE		0x20
#define MT6391_CID_CODE		0x91
#define MT6397_CID_CODE		0x97

https://github.com/DarkAngelGR/sandcastle/blob/6e869d3dc24ae2670f0f10920878b53c51d7c10a/drivers/mfd/mt6397-core.c

#define MT6323_CID_CODE		0x23
#define MT6391_CID_CODE		0x91
#define MT6397_CID_CODE		0x97
#define MT6392_CID_CODE		0x92

https://github.com/NotKit/kernel-4.4-alps/blob/ed9efc79785043cf0d55962c1d84d1541daedd85/drivers/mfd/mt6397-core.c

#define PMIC6323_E1_CID_CODE    0x1023
#define PMIC6323_E2_CID_CODE    0x2023

https://github.com/meizuosc/m75/blob/80ef1d26c5d73e131d064138ed09ff5a2be2bed8/mediatek/platform/mt6595/kernel/core/include/mach/pmic_mt6323_sw.h

#define PMIC6326_E1_CID_CODE    0x0000
#define PMIC6326_E2_CID_CODE    0x0009
#define PMIC6326_E3_CID_CODE    0x000A
#define PMIC6326_E4_CID_CODE    0x000B

https://github.com/Demeterp/w732_kernel_src/blob/7fc283d1e0b00d51748c824ed7f311609211d8fe/mediatek/platform/mt6575/kernel/core/include/mach/pmic_mt6329_hw.h

#define MT6328_HW_CID_E1            0x2810
#define MT6328_HW_CID_E2            0x2820
#define MT6328_HW_CID_E3            0x2830
#define MT6328_SW_CID_E1            0x2810
#define MT6328_SW_CID_E2            0x2820
#define MT6328_SW_CID_E3            0x2830

https://github.com/Parrot043/MOLY.LR9.W1444.MD.LWTG.MP.V79.P10/blob/c75ac1db93b35dcfd744e375e2afa124a56db374/driver/devdrv/pmic/src/dcl_pmic6328.c

#define PMIC6328_E1_CID_CODE    0x2810
#define PMIC6328_E2_CID_CODE    0x2820
#define PMIC6328_E3_CID_CODE    0x2830

https://github.com/parthibx24/android_kernel_mediatek_k35/blob/4853d1fd9e40563573fa6d6b32b75d571a95e2b7/drivers/misc/mediatek/power/mt6735/pmic.h

#define PMIC6329_E1_CID_CODE    0x0029

https://github.com/andr3jx/MTK6577/blob/095200ac563060d63991b084474fcda4808ab5d6/mediatek/platform/mt6577/uboot/mt6577_bat.c

#define PMIC6355_E1_CID_CODE    0x5510
#define PMIC6355_E2_CID_CODE    0x5520
#define PMIC6355_E3_CID_CODE    0x5530
#define PMIC6355_E4_CID_CODE    0x5540
#define PMIC6355_E5_CID_CODE    0x5550
#define PMIC6355_E6_CID_CODE    0x5560

https://github.com/svoboda18/preloader/blob/73d33cc801ec3ab49c886529ca2f19a6b11f2d03/platform/mt6757/src/drivers/inc/pmic_mt6355.h

#define MT6357_CID_CODE		0x5700
#define MT6358_CID_CODE		0x5800
#define MT6359_CID_CODE		0x5900
#define MT6390_CID_CODE		0x9000

https://github.com/OnePlusOSS/android_kernel_oneplus_mt6893/blob/48f1797695e24d46986a7c87dd91dd21cbf8c342/drivers/mfd/mt6358-core.c

#define PMIC6358_E1_CID_CODE    0x5810
#define PMIC6358_E2_CID_CODE    0x5820
#define PMIC6358_E3_CID_CODE    0x5830
#define PMIC6358_E4_CID_CODE    0x5840
#define PMIC6358_E5_CID_CODE    0x5850
#define PMIC6358_E6_CID_CODE    0x5860

https://github.com/svoboda18/lk/blob/37ec8bcbc4361c0e267617f517d154656804c17a/platform/mt6768/include/platform/mt_pmic.h https://github.com/Android-Boot-Manager/droidboot_device_volla_mimameid/blob/29c81f084d61da631cd94f27b8305032010d71fe/platform/mt6768/include/platform/mt_pmic.h

#define PMIC6351_E1_CID_CODE    0x5110
#define PMIC6351_E2_CID_CODE    0x5120
#define PMIC6351_E3_CID_CODE    0x5130

https://github.com/dguidipc/gemini-android-kernel-3.18/blob/56760a6e806bb4399d70626dd2e6cf22f7c9e9c1/kernel-3.18/drivers/misc/mediatek/power/mt6797/pmic.h

#define PMIC6331_E1_CID_CODE    0x3110
#define PMIC6331_E2_CID_CODE    0x3120
#define PMIC6331_E3_CID_CODE    0x3130

#define PMIC6332_E1_CID_CODE    0x3210
#define PMIC6332_E2_CID_CODE    0x3220
#define PMIC6332_E3_CID_CODE    0x3230

https://github.com/meizuosc/m75/blob/80ef1d26c5d73e131d064138ed09ff5a2be2bed8/mediatek/platform/mt6595/kernel/core/include/mach/pmic_mt6331_6332_sw.h

#define MT6357_CID_CODE		0x5700
#define MT6358_CID_CODE		0x5800
#define MT6359_CID_CODE		0x5900
#define MT6366_CID_CODE		0x6600
#define MT6390_CID_CODE		0x9000

https://github.com/in1tialford/android_kernel_xiaomi_fleur/blob/e5422a5ca3bfd008be15eaad80226ba5d92456ef/drivers/mfd/mt6358-core.c

#define PMIC6397_E1_CID_CODE 0x1097

https://github.com/archermind/MTK_X20_BASE_AOSP/blob/977e6ec44363be5ce1eebf9c47339fe5f4ca0947/kernel-3.18/sound/soc/codecs/mt6391.c

enum {
	PMIC6391_E1_CID_CODE = 0x1091,
	PMIC6391_E2_CID_CODE = 0x2091,
	PMIC6397_E1_CID_CODE = 0x1097,
	PMIC6397_E2_CID_CODE = 0x2097,
	PMIC6397_E3_CID_CODE = 0x3097,
	PMIC6397_E4_CID_CODE = 0x4097
};

https://github.com/system76/coreboot/blob/05dda8aa05f988f3d38720b46804c9cf2590855a/src/soc/mediatek/mt8173/include/soc/mt6391.h

#define PMIC6392_E1_CID_CODE 0x1092

https://github.com/deadman96385/android_kernel_lenovo_mt8167s/blob/a9e681a8e4aa612733df79acc360c730f9f791f0/drivers/misc/mediatek/power/mt8167/pmic_mt6392.c#L31

enum chip_id {
	MT6323_CHIP_ID = 0x23,
	MT6328_CHIP_ID = 0x30,
	MT6331_CHIP_ID = 0x20,
	MT6332_CHIP_ID = 0x20,
	MT6357_CHIP_ID = 0x57,
	MT6358_CHIP_ID = 0x58,
	MT6359_CHIP_ID = 0x59,
	MT6366_CHIP_ID = 0x66,
	MT6391_CHIP_ID = 0x91,
	MT6397_CHIP_ID = 0x97,
};

static const struct chip_data mt6323_core = {
	.cid_addr = MT6323_CID,
	.cid_shift = 0,
	.cells = mt6323_devs,
	.cell_size = ARRAY_SIZE(mt6323_devs),
	.irq_init = mt6397_irq_init,
};

static const struct chip_data mt6328_core = {
	.cid_addr = MT6328_HWCID,
	.cid_shift = 0,
	.cells = mt6328_devs,
	.cell_size = ARRAY_SIZE(mt6328_devs),
	.irq_init = mt6397_irq_init,
};

static const struct chip_data mt6357_core = {
	.cid_addr = MT6357_SWCID,
	.cid_shift = 8,
	.cells = mt6357_devs,
	.cell_size = ARRAY_SIZE(mt6357_devs),
	.irq_init = mt6358_irq_init,
};

static const struct chip_data mt6331_mt6332_core = {
	.cid_addr = MT6331_HWCID,
	.cid_shift = 0,
	.cells = mt6331_mt6332_devs,
	.cell_size = ARRAY_SIZE(mt6331_mt6332_devs),
	.irq_init = mt6397_irq_init,
};

static const struct chip_data mt6358_core = {
	.cid_addr = MT6358_SWCID,
	.cid_shift = 8,
	.cells = mt6358_devs,
	.cell_size = ARRAY_SIZE(mt6358_devs),
	.irq_init = mt6358_irq_init,
};

static const struct chip_data mt6359_core = {
	.cid_addr = MT6359_SWCID,
	.cid_shift = 8,
	.cells = mt6359_devs,
	.cell_size = ARRAY_SIZE(mt6359_devs),
	.irq_init = mt6358_irq_init,
};

static const struct chip_data mt6397_core = {
	.cid_addr = MT6397_CID,
	.cid_shift = 0,
	.cells = mt6397_devs,
	.cell_size = ARRAY_SIZE(mt6397_devs),
	.irq_init = mt6397_irq_init,
};

https://github.com/torvalds/linux/blob/a75cb869a8ccc88b0bc7a44e1597d9c7995c56e5/include/linux/mfd/mt6397/core.h https://github.com/torvalds/linux/blob/a75cb869a8ccc88b0bc7a44e1597d9c7995c56e5/drivers/mfd/mt6397-core.c

Clone this wiki locally