dt-bindings: regulator: define RPM-SMD regulator modes

Add #define constants for PMIC regulator mode specification. These
can be used for rpm-smd-regulator device tree node properties.

Change-Id: I99b637ee94ba3fe07cfce7b9ee50f75504a8523e
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
This commit is contained in:
Jishnu Prakash 2020-07-28 09:57:28 +05:30
commit 9e44ef0ca1

View file

@ -17,4 +17,10 @@
#define RPM_SMD_REGULATOR_LEVEL_TURBO_NO_CPR 416
#define RPM_SMD_REGULATOR_LEVEL_BINNING 512
#define RPM_SMD_REGULATOR_MODE_PASS 0
#define RPM_SMD_REGULATOR_MODE_RET 1
#define RPM_SMD_REGULATOR_MODE_LPM 2
#define RPM_SMD_REGULATOR_MODE_AUTO 3
#define RPM_SMD_REGULATOR_MODE_HPM 4
#endif