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 MT6332 PMICs, including six buck and four LDO regulators. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220913123456.384513-5-angelogioacchino.delregno@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
27 lines
544 B
C
27 lines
544 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_MT6332_H
|
|
#define __LINUX_REGULATOR_MT6332_H
|
|
|
|
enum {
|
|
/* BUCK */
|
|
MT6332_ID_VDRAM = 0,
|
|
MT6332_ID_VDVFS2,
|
|
MT6332_ID_VPA,
|
|
MT6332_ID_VRF1,
|
|
MT6332_ID_VRF2,
|
|
MT6332_ID_VSBST,
|
|
/* LDO */
|
|
MT6332_ID_VAUXB32,
|
|
MT6332_ID_VBIF28,
|
|
MT6332_ID_VDIG18,
|
|
MT6332_ID_VSRAM_DVFS2,
|
|
MT6332_ID_VUSB33,
|
|
MT6332_ID_VREG_MAX
|
|
};
|
|
|
|
#endif /* __LINUX_REGULATOR_MT6332_H */
|