mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-29 20:30:35 +00:00
![AngeloGioacchino Del Regno](/assets/img/avatar_default.png)
Add a driver for the regulators found in the MT6331 PMIC. This PMIC features six buck and 21 Low DropOut (LDO) regulators. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220913123456.384513-3-angelogioacchino.delregno@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
46 lines
900 B
C
46 lines
900 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022 Collabora Ltd.
|
|
* Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
*/
|
|
|
|
#ifndef __LINUX_REGULATOR_MT6331_H
|
|
#define __LINUX_REGULATOR_MT6331_H
|
|
|
|
enum {
|
|
/* BUCK */
|
|
MT6331_ID_VDVFS11 = 0,
|
|
MT6331_ID_VDVFS12,
|
|
MT6331_ID_VDVFS13,
|
|
MT6331_ID_VDVFS14,
|
|
MT6331_ID_VCORE2,
|
|
MT6331_ID_VIO18,
|
|
/* LDO */
|
|
MT6331_ID_VTCXO1,
|
|
MT6331_ID_VTCXO2,
|
|
MT6331_ID_AVDD32_AUD,
|
|
MT6331_ID_VAUXA32,
|
|
MT6331_ID_VCAMA,
|
|
MT6331_ID_VIO28,
|
|
MT6331_ID_VCAM_AF,
|
|
MT6331_ID_VMC,
|
|
MT6331_ID_VMCH,
|
|
MT6331_ID_VEMC33,
|
|
MT6331_ID_VGP1,
|
|
MT6331_ID_VSIM1,
|
|
MT6331_ID_VSIM2,
|
|
MT6331_ID_VMIPI,
|
|
MT6331_ID_VIBR,
|
|
MT6331_ID_VGP4,
|
|
MT6331_ID_VCAMD,
|
|
MT6331_ID_VUSB10,
|
|
MT6331_ID_VCAM_IO,
|
|
MT6331_ID_VSRAM_DVFS1,
|
|
MT6331_ID_VGP2,
|
|
MT6331_ID_VGP3,
|
|
MT6331_ID_VRTC,
|
|
MT6331_ID_VDIG18,
|
|
MT6331_ID_VREG_MAX
|
|
};
|
|
|
|
#endif /* __LINUX_REGULATOR_MT6331_H */
|