1/*	$NetBSD: active-semi,8865-regulator.h,v 1.1.1.1 2020/01/03 14:33:03 skrll Exp $	*/
2
3/* SPDX-License-Identifier: GPL-2.0 */
4/*
5 * Device Tree binding constants for the ACT8865 PMIC regulators
6 */
7
8#ifndef _DT_BINDINGS_REGULATOR_ACT8865_H
9#define _DT_BINDINGS_REGULATOR_ACT8865_H
10
11/*
12 * These constants should be used to specify regulator modes in device tree for
13 * ACT8865 regulators as follows:
14 * ACT8865_REGULATOR_MODE_FIXED:	It is specific to DCDC regulators and it
15 *					specifies the usage of fixed-frequency
16 *					PWM.
17 *
18 * ACT8865_REGULATOR_MODE_NORMAL:	It is specific to LDO regulators and it
19 *					specifies the usage of normal mode.
20 *
21 * ACT8865_REGULATOR_MODE_LOWPOWER:	For DCDC and LDO regulators; it specify
22 *					the usage of proprietary power-saving
23 *					mode.
24 */
25
26#define ACT8865_REGULATOR_MODE_FIXED		1
27#define ACT8865_REGULATOR_MODE_NORMAL		2
28#define ACT8865_REGULATOR_MODE_LOWPOWER	3
29
30#endif
31