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

Commit f0d98547 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: fd: set correct vbif values"

parents b3f93298 8ba9e8f6
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -391,6 +391,15 @@ void msm_fd_hw_vbif_register(struct msm_fd_device *fd)
	msm_fd_hw_reg_set(fd, MSM_FD_IOMEM_VBIF,
		MSM_FD_VBIF_CLKON, 0x1);

	msm_fd_hw_write_reg(fd, MSM_FD_IOMEM_VBIF,
		MSM_FD_VBIF_QOS_OVERRIDE_EN, 0x10001);

	msm_fd_hw_write_reg(fd, MSM_FD_IOMEM_VBIF,
		MSM_FD_VBIF_QOS_OVERRIDE_REQPRI, 0x1);

	msm_fd_hw_write_reg(fd, MSM_FD_IOMEM_VBIF,
		MSM_FD_VBIF_QOS_OVERRIDE_PRILVL, 0x1);

	msm_fd_hw_write_reg(fd, MSM_FD_IOMEM_VBIF,
		MSM_FD_VBIF_IN_RD_LIM_CONF0, 0x10);

@@ -404,7 +413,7 @@ void msm_fd_hw_vbif_register(struct msm_fd_device *fd)
		MSM_FD_VBIF_OUT_WR_LIM_CONF0, 0x10);

	msm_fd_hw_write_reg(fd, MSM_FD_IOMEM_VBIF,
		MSM_FD_VBIF_DDR_OUT_MAX_BURST, 0x0F);
		MSM_FD_VBIF_DDR_OUT_MAX_BURST, 0xF0F);

	msm_fd_hw_write_reg(fd, MSM_FD_IOMEM_VBIF,
		MSM_FD_VBIF_ARB_CTL, 0x30);
+3 −0
Original line number Diff line number Diff line
@@ -135,6 +135,9 @@

/* FD vbif registers */
#define MSM_FD_VBIF_CLKON                   (0x04)
#define MSM_FD_VBIF_QOS_OVERRIDE_EN         (0x10)
#define MSM_FD_VBIF_QOS_OVERRIDE_REQPRI     (0x18)
#define MSM_FD_VBIF_QOS_OVERRIDE_PRILVL     (0x1C)
#define MSM_FD_VBIF_IN_RD_LIM_CONF0         (0xB0)
#define MSM_FD_VBIF_IN_WR_LIM_CONF0         (0xC0)
#define MSM_FD_VBIF_OUT_RD_LIM_CONF0        (0xD0)