forked from luck/tmp_suning_uos_patched
d321571d5e
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>
17 lines
427 B
C
17 lines
427 B
C
/* 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
|