diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-09-13 14:34:56 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-13 15:04:58 +0100 |
commit | 1cc5a52e873a4f9725eafe5aa9cd213b7b58e29e (patch) | |
tree | 14431d075824f450c1f393ccf89389173aa5ec5a /include/linux/regulator | |
parent | e22943e32e1fc314b8e2b095ae3495d1bfa9aca5 (diff) | |
download | linux-1cc5a52e873a4f9725eafe5aa9cd213b7b58e29e.tar.gz linux-1cc5a52e873a4f9725eafe5aa9cd213b7b58e29e.tar.bz2 linux-1cc5a52e873a4f9725eafe5aa9cd213b7b58e29e.zip |
regulator: Add driver for MT6332 PMIC regulators
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>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/mt6332-regulator.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/regulator/mt6332-regulator.h b/include/linux/regulator/mt6332-regulator.h new file mode 100644 index 000000000000..af5e3ed31029 --- /dev/null +++ b/include/linux/regulator/mt6332-regulator.h @@ -0,0 +1,27 @@ +/* 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 */ |