]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.19.31/gpu-ipu-v3-fix-csi-offsets-for-imx53.patch
Linux 4.19.31
[thirdparty/kernel/stable-queue.git] / releases / 4.19.31 / gpu-ipu-v3-fix-csi-offsets-for-imx53.patch
CommitLineData
36e3f504
SL
1From 00815bee14d100fd9f3ee5314ce6bc2579bcd6f1 Mon Sep 17 00:00:00 2001
2From: Steve Longerbeam <slongerbeam@gmail.com>
3Date: Tue, 16 Oct 2018 17:31:40 -0700
4Subject: gpu: ipu-v3: Fix CSI offsets for imx53
5
6[ Upstream commit bb867d219fda7fbaabea3314702474c4eac2b91d ]
7
8The CSI offsets are wrong for both CSI0 and CSI1. They are at
9physical address 0x1e030000 and 0x1e038000 respectively.
10
11Fixes: 2ffd48f2e7 ("gpu: ipu-v3: Add Camera Sensor Interface unit")
12
13Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
14Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
15Signed-off-by: Sasha Levin <sashal@kernel.org>
16---
17 drivers/gpu/ipu-v3/ipu-common.c | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c
21index 5b7cdbfe062f..0a7d4395d427 100644
22--- a/drivers/gpu/ipu-v3/ipu-common.c
23+++ b/drivers/gpu/ipu-v3/ipu-common.c
24@@ -914,8 +914,8 @@ static struct ipu_devtype ipu_type_imx53 = {
25 .cpmem_ofs = 0x07000000,
26 .srm_ofs = 0x07040000,
27 .tpm_ofs = 0x07060000,
28- .csi0_ofs = 0x07030000,
29- .csi1_ofs = 0x07038000,
30+ .csi0_ofs = 0x06030000,
31+ .csi1_ofs = 0x06038000,
32 .ic_ofs = 0x06020000,
33 .disp0_ofs = 0x06040000,
34 .disp1_ofs = 0x06048000,
35--
362.19.1
37