android_kernel_samsung_msm8976/include/dt-bindings/regulator/qcom,rpm-smd-regulator.h
Devesh Jhunjhunwala 5eb090dd55 regulator: rpm-smd-regulator: Add retention_plus voting level
Add RPM_SMD_REGULATOR_LEVEL_RETENTION_PLUS voting level to the
level voting scheme.

CRs-Fixed: 847166
Change-Id: I78184d9da0de3999de1f68c4f61ae2d00b3231e5
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2015-08-07 22:04:26 -07:00

28 lines
1.1 KiB
C

/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __QCOM_RPM_SMD_REGULATOR_H
#define __QCOM_RPM_SMD_REGULATOR_H
#define RPM_SMD_REGULATOR_LEVEL_NONE 0
#define RPM_SMD_REGULATOR_LEVEL_RETENTION 16
#define RPM_SMD_REGULATOR_LEVEL_RETENTION_PLUS 32
#define RPM_SMD_REGULATOR_LEVEL_MIN_SVS 48
#define RPM_SMD_REGULATOR_LEVEL_LOW_SVS 64
#define RPM_SMD_REGULATOR_LEVEL_SVS 128
#define RPM_SMD_REGULATOR_LEVEL_SVS_PLUS 192
#define RPM_SMD_REGULATOR_LEVEL_NOM 256
#define RPM_SMD_REGULATOR_LEVEL_NOM_PLUS 320
#define RPM_SMD_REGULATOR_LEVEL_TURBO 384
#define RPM_SMD_REGULATOR_LEVEL_BINNING 512
#endif