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

Commit ed55378a authored by Tony Truong's avatar Tony Truong
Browse files

msm: pcie: add support for RC to vote for CX rails



Each PCIe client requires different CX power levels
to maintain functionality. This change gives each
PCIe root complex the ability to vote for CX power
levels.

Change-Id: If027c79220253a60837c3d52202fb5ec4cc3451e
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 746a0e87
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@
#define MAX_BUS_NUM 3
#define MAX_PROP_SIZE 32
#define MAX_RC_NAME_LEN 15
#define MSM_PCIE_MAX_VREG 3
#define MSM_PCIE_MAX_VREG 4
#define MSM_PCIE_MAX_CLK 13
#define MSM_PCIE_MAX_PIPE_CLK 1
#define MAX_RC_NUM 3
@@ -576,7 +576,8 @@ static struct msm_pcie_dev_t msm_pcie_dev[MAX_RC_NUM];
static struct msm_pcie_vreg_info_t msm_pcie_vreg_info[MSM_PCIE_MAX_VREG] = {
	{NULL, "vreg-3.3", 0, 0, 0, false},
	{NULL, "vreg-1.8", 1800000, 1800000, 14000, true},
	{NULL, "vreg-0.9", 1000000, 1000000, 40000, true}
	{NULL, "vreg-0.9", 1000000, 1000000, 40000, true},
	{NULL, "vreg-cx", 0, 0, 0, false}
};

/* GPIOs */