]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.4/gpu-ipu-v3-fix-csi-offsets-for-imx53.patch
Linux 3.18.137
[thirdparty/kernel/stable-queue.git] / queue-4.4 / gpu-ipu-v3-fix-csi-offsets-for-imx53.patch
1 From d025d0a84ddd4e8c06478fa42649e1fb6c5a9ca6 Mon Sep 17 00:00:00 2001
2 From: Steve Longerbeam <slongerbeam@gmail.com>
3 Date: Tue, 16 Oct 2018 17:31:40 -0700
4 Subject: gpu: ipu-v3: Fix CSI offsets for imx53
5
6 [ Upstream commit bb867d219fda7fbaabea3314702474c4eac2b91d ]
7
8 The CSI offsets are wrong for both CSI0 and CSI1. They are at
9 physical address 0x1e030000 and 0x1e038000 respectively.
10
11 Fixes: 2ffd48f2e7 ("gpu: ipu-v3: Add Camera Sensor Interface unit")
12
13 Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
14 Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
15 Signed-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
20 diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c
21 index 0c51b1dde494..df295a0ce87d 100644
22 --- a/drivers/gpu/ipu-v3/ipu-common.c
23 +++ b/drivers/gpu/ipu-v3/ipu-common.c
24 @@ -762,8 +762,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 --
36 2.19.1
37