Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d20cf72 authored by Jishnu Prakash's avatar Jishnu Prakash Committed by Gerrit - the friendly Code Review server
Browse files

include: regulator: Add header for RPM-SMD voltage levels



Add a header file for the rpm-smd regulator voltage level constants
to be used in device tree regulator configurations.

Change-Id: I938efda9fe2ff7c50dc9e5f493ca846e42b66e70
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent df1e8abb
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2015, 2017, 2019-2020, The Linux Foundation. All rights reserved. */

#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_TURBO_NO_CPR	416
#define RPM_SMD_REGULATOR_LEVEL_BINNING		512

#endif