diff options
author | 2020-08-26 18:49:17 +0800 | |
---|---|---|
committer | 2020-08-26 13:41:10 +0100 | |
commit | d321571d5e4c2d5511b75e6cf1a910e0a0c2a2e9 (patch) | |
tree | bb1a49e35741fe8c89c76d020855a86eb248ba23 /include/dt-bindings | |
parent | regulator: rt4801: Specify additionalProperties: false (diff) | |
download | linux-d321571d5e4c2d5511b75e6cf1a910e0a0c2a2e9.tar.gz linux-d321571d5e4c2d5511b75e6cf1a910e0a0c2a2e9.tar.bz2 linux-d321571d5e4c2d5511b75e6cf1a910e0a0c2a2e9.zip |
regulator: mt6360: Add support for MT6360 regulator
Add MT6360 regulator driver that contains two BUCKs and six LDOs
Signed-off-by: Gene Chen <gene_chen@richtek.com>
Link: https://lore.kernel.org/r/1598438958-26802-2-git-send-email-gene.chen.richtek@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/regulator/mediatek,mt6360-regulator.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dt-bindings/regulator/mediatek,mt6360-regulator.h b/include/dt-bindings/regulator/mediatek,mt6360-regulator.h new file mode 100644 index 000000000000..21c75de700c0 --- /dev/null +++ b/include/dt-bindings/regulator/mediatek,mt6360-regulator.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __DT_BINDINGS_MEDIATEK_MT6360_REGULATOR_H__ +#define __DT_BINDINGS_MEDIATEK_MT6360_REGULATOR_H__ + +/* + * BUCK/LDO mode constants which may be used in devicetree properties + * (eg. regulator-allowed-modes). + * See the manufacturer's datasheet for more information on these modes. + */ + +#define MT6360_OPMODE_LP 2 +#define MT6360_OPMODE_ULP 3 +#define MT6360_OPMODE_NORMAL 0 + +#endif |