From patchwork Wed Oct 17 00:31:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 10644691 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 072061508 for ; Wed, 17 Oct 2018 06:41:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED1492A78D for ; Wed, 17 Oct 2018 06:41:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E19292A7D9; Wed, 17 Oct 2018 06:41:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A28F72A78D for ; Wed, 17 Oct 2018 06:41:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 602B46E2F2; Wed, 17 Oct 2018 06:40:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id E6B3A6E2D5 for ; Wed, 17 Oct 2018 00:31:48 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id c25-v6so12273138pfe.6 for ; Tue, 16 Oct 2018 17:31:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=K8381H5xv4tlKpvESL8AJu4O2kzizMA4J+fj5HowhzM=; b=EfLmY1zZOWxSEUpnlsr0BvTkF4NSz/s2si9R2BWKYT1NKD6Fu7B5HYWVcTAT4+sZJ9 g68RsghSvVMPaNcxU2bGLiY3F9jOQtd3t5rKl73qctbDS+fBfSAx6sLn6qu3XDLByedy GoVgfbjCV5r8taxrOT+eWb1wpKlbsWUsARSJTDGoSl4gHasOy9DAKhwUuq+1SiBgS45B 43AMuS4A4oaURaBKfEWb0aZzOdKOfzCsw7DtzyHFyde3fkvvGz6ob02bbnDKFu8p3951 TBFL7zN+96QjLlA5inEiJles8GziKQwMlrG8sCCSlJkIf61f5ph5SVSppuYFesj2R1KM x1iA== X-Gm-Message-State: ABuFfohqu1JLkQmLOZWJRLqJZjDJy6kW54V/GIPVtAA80tUe5hU7hjBd jMLaW+WvwWtGmAdKnN/a4YfYGfqK X-Google-Smtp-Source: ACcGV6081ZNUsWz7eqdtHHSeRzKIKvrMSkLevOD3MIv/BTYGg+7RryAxK6EcEbJrPRsO0vwHJLKMdg== X-Received: by 2002:a62:454d:: with SMTP id s74-v6mr25034589pfa.136.1539736307864; Tue, 16 Oct 2018 17:31:47 -0700 (PDT) Received: from majic.sklembedded.com (c-98-210-181-167.hsd1.ca.comcast.net. [98.210.181.167]) by smtp.googlemail.com with ESMTPSA id e19-v6sm21781102pfb.153.2018.10.16.17.31.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Oct 2018 17:31:46 -0700 (PDT) From: Steve Longerbeam To: dri-devel@lists.freedesktop.org Subject: [PATCH] gpu: ipu-v3: Fix CSI offsets for imx53 Date: Tue, 16 Oct 2018 17:31:40 -0700 Message-Id: <20181017003140.27248-1-slongerbeam@gmail.com> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Wed, 17 Oct 2018 06:40:09 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: open list , Steve Longerbeam MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The CSI offsets are wrong for both CSI0 and CSI1. They are at physical address 0x1e030000 and 0x1e038000 respectively. Fixes: 2ffd48f2e7 ("gpu: ipu-v3: Add Camera Sensor Interface unit") Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c index 48685cddbad1..f487f25ed577 100644 --- a/drivers/gpu/ipu-v3/ipu-common.c +++ b/drivers/gpu/ipu-v3/ipu-common.c @@ -910,8 +910,8 @@ static struct ipu_devtype ipu_type_imx53 = { .cpmem_ofs = 0x07000000, .srm_ofs = 0x07040000, .tpm_ofs = 0x07060000, - .csi0_ofs = 0x07030000, - .csi1_ofs = 0x07038000, + .csi0_ofs = 0x06030000, + .csi1_ofs = 0x06038000, .ic_ofs = 0x06020000, .disp0_ofs = 0x06040000, .disp1_ofs = 0x06048000,