1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2018, The Linux Foundation. All rights reserved. */ 3 4 #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H 5 #define _DT_BINDINGS_POWER_QCOM_RPMPD_H 6 7 /* SDM845 Power Domain Indexes */ 8 #define SDM845_EBI 0 9 #define SDM845_MX 1 10 #define SDM845_MX_AO 2 11 #define SDM845_CX 3 12 #define SDM845_CX_AO 4 13 #define SDM845_LMX 5 14 #define SDM845_LCX 6 15 #define SDM845_GFX 7 16 #define SDM845_MSS 8 17 18 /* SDM845 Power Domain performance levels */ 19 #define RPMH_REGULATOR_LEVEL_RETENTION 16 20 #define RPMH_REGULATOR_LEVEL_MIN_SVS 48 21 #define RPMH_REGULATOR_LEVEL_LOW_SVS 64 22 #define RPMH_REGULATOR_LEVEL_SVS 128 23 #define RPMH_REGULATOR_LEVEL_SVS_L1 192 24 #define RPMH_REGULATOR_LEVEL_NOM 256 25 #define RPMH_REGULATOR_LEVEL_NOM_L1 320 26 #define RPMH_REGULATOR_LEVEL_NOM_L2 336 27 #define RPMH_REGULATOR_LEVEL_TURBO 384 28 #define RPMH_REGULATOR_LEVEL_TURBO_L1 416 29 30 /* MSM8996 Power Domain Indexes */ 31 #define MSM8996_VDDCX 0 32 #define MSM8996_VDDCX_AO 1 33 #define MSM8996_VDDCX_VFC 2 34 #define MSM8996_VDDMX 3 35 #define MSM8996_VDDMX_AO 4 36 #define MSM8996_VDDSSCX 5 37 #define MSM8996_VDDSSCX_VFC 6 38 39 #endif 40