From patchwork Wed Nov 16 20:35:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 13045726 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 94390C4332F for ; Wed, 16 Nov 2022 20:37:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oQ59NRmylcpxDhE80Q6hD4cz5r7zHXAVRbQACEpyFZ4=; b=FGOZwTcW9MzICy m4gJdV6QU8YXDRlzePcPgKad3u50vuKFo06ETe5jOLPYIn3HUs9Q2OEPhP0yooC/HdvKKL9cLHUX7 HAZVVwYKHWlggrVSyjAHcugC1rQyVRBK+zkqcgUFu8rFrN9T50jIN1ZDASPcfqOdjw3Gbv5+WFjlv EAKi+NI+wiNIsiLLM6uqD0u+q581VzmavTjIJzgIL9J/rL9ERdubhfw74i3nmMY4mJQ0etM91pTct Ml/oOvfTOh0nNnMlWVE2kdeGRFqocmyPL7Y/DiTzlVQrH8IRyBVmvfxd+VEcNyBL8sT97DuUomY1W RIfoyvIibR/tgaHxzqtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovP8m-007jyM-CE; Wed, 16 Nov 2022 20:36:12 +0000 Received: from smtpcmd0986.aruba.it ([62.149.156.86]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovP8K-007jr1-Nu for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2022 20:35:47 +0000 Received: from localhost.localdomain ([146.241.88.137]) by Aruba Outgoing Smtp with ESMTPSA id vP8FomxyItoIqvP8Goagxh; Wed, 16 Nov 2022 21:35:40 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1668630940; bh=Fh4mbulo6FHv5De1d10u87IV2cruNNbHjVbqsAACBS8=; h=From:To:Subject:Date:MIME-Version; b=AGDVwmtS3aJ0mmwTavxzSBolO1TgCarY9OpvselZDyrW430kWoEAophTNw8bdaRrq UeHhLv5PaF+osPuQM9Xsy7XP+eu9Y8axIcHgZRJRwoTOSb93HX6GEpARpHC8aQ+ooX ZfmuDQzrschCBUgYt7NART4xRWocA7Yq9+s7OPetTZ+91+OpD7xQ7pzqsIvpM72Dct VxedLWvNM8rdt6daXInzNwD/ygQLD/QnVZwQ2dIG+yhT1SnFI4Sz6Og7praEtgf3nu 0p33HJcj3mDhGugFvGhOjMSjv+sU6wip1+ERTifKEts7AoqWOJiVBHdYgF/rZM6I6O FbkAoQiDVGwCw== From: Giulio Benetti To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Abel Vesa , Michael Turquette , Stephen Boyd , Bough Chen , Giulio Benetti , Jesse Taube Subject: [PATCH v3 1/4] clk: imx: imxrt1050: fix IMXRT1050_CLK_LCDIF_APB offsets Date: Wed, 16 Nov 2022 21:35:17 +0100 Message-Id: <20221116203520.8300-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfAfxVgfJweJS6Vdvtz2HYiuEmyNRKGqCeoiUtpP+84sQyUnrk+eb21ftZA0ylW2DcVbxhyuERT/1QXde/oTq1AiAE6dN+PIsOmjOGhipYGnIOr4Hi3vr ZifsOOxsA0tBeg9YZWBKSAvQ6cBKguWG3PVfoavLilLaFiLGiUJWsUB2Zxgt0hysUt4T5wvLdvaFhZagAZ9oiGIBtcArrne8EGw1WO4CsB9kumNvjp3E/r8s jXq4/4IzK4Y6xVOYoB/MA1OjS8tbraBNpffVL1f4YLFF74OkrWRdeieAez/GhFigfZbgvzdFMHxSBiLuTd6Zzv3S9vm1stRRdFxo8t/maIHBt8tv5loakFZ5 P7rUMN4cM6GCaqDcHWAEkjFwnNiLKF4yQK/Lj+Ga2tiXt4WH9fIFb2WHJazbcQlHuniLkVL9uQncH2bvKG2TG/fsxYQeXwUMwnrRK9/CZ+gsNMYddYAW59RI NxDai6GoWw+fDOjBMsUpMunL58vu9sFf77lEFicycuUPCE1z4SQOhUjlQxMVEd7YuxZ95cmSoUpwfYRtFdBfOncZdpt7lZRYN0LSe7m1SJ7kJvxAtUlj6+IR YrLUFc0iBESDXTJwqjNI3DKlaHPpRn/drmVEfpJXIysPX/TyvjbxtTvFbhMiOPhQOjhZo01VyWNIyyzElKN3bEpEIDnz+qm9idr5iZBDP0lXIY9SpxXbY8/c RjGzOvdlx/4VdkjRDQy3Y4vl1LdhbSFXohGq4Z8t+WmFEUtHVjR8ST2fsTissdnIIxCxYxcIMDadQoRy/eJndI7p8lJ+HnDQYBV8qZR3j7+DskyMrW/qQQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_123544_957300_C1BFC346 X-CRM114-Status: GOOD ( 10.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix IMXRT1050_CLK_LCDIF_APB offsets. Cc: Jesse Taube Signed-off-by: Giulio Benetti --- V1->V2: * nothing done V2->V3: * added commit log and not only subject as suggested by Jesse Taube --- drivers/clk/imx/clk-imxrt1050.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imxrt1050.c b/drivers/clk/imx/clk-imxrt1050.c index 9539d35588ee..26108e9f7e67 100644 --- a/drivers/clk/imx/clk-imxrt1050.c +++ b/drivers/clk/imx/clk-imxrt1050.c @@ -140,7 +140,7 @@ static int imxrt1050_clocks_probe(struct platform_device *pdev) hws[IMXRT1050_CLK_USDHC1] = imx_clk_hw_gate2("usdhc1", "usdhc1_podf", ccm_base + 0x80, 2); hws[IMXRT1050_CLK_USDHC2] = imx_clk_hw_gate2("usdhc2", "usdhc2_podf", ccm_base + 0x80, 4); hws[IMXRT1050_CLK_LPUART1] = imx_clk_hw_gate2("lpuart1", "lpuart_podf", ccm_base + 0x7c, 24); - hws[IMXRT1050_CLK_LCDIF_APB] = imx_clk_hw_gate2("lcdif", "lcdif_podf", ccm_base + 0x74, 10); + hws[IMXRT1050_CLK_LCDIF_APB] = imx_clk_hw_gate2("lcdif", "lcdif_podf", ccm_base + 0x70, 28); hws[IMXRT1050_CLK_DMA] = imx_clk_hw_gate("dma", "ipg", ccm_base + 0x7C, 6); hws[IMXRT1050_CLK_DMA_MUX] = imx_clk_hw_gate("dmamux0", "ipg", ccm_base + 0x7C, 7); imx_check_clk_hws(hws, IMXRT1050_CLK_END);