From patchwork Thu Nov 17 18:10:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 13047161 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 5C232C4332F for ; Thu, 17 Nov 2022 18:11:43 +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=RTfa3GeMwj6iMzM3XDqQ4hCBK1a12br2VC+kpq7U7JI=; b=PARYll89VZJuvW UuYjuXELpy0eASBvbdXRGO0teuCV9EpOzqyWV3RFhfpbg4gxtbpkGoGEXv40BZcpX2g5ztYdWXpjj x2j+Sal2WWomN+bt4f/zsvwBte9ovfPiFzfB2Mv8B8ZH8JfnVSl/IURACFnffRRSDHBUxVV4mp8pN y4da4yFno9ZVR7vvUR3m7lFgFi8Mr+oCedyhhTw716i/T4pTftI9e26KlyeqHZLlhiJRECCKWZm4t jxdRo575bWpk8TUHfLC11meutcxDhxUzCz5Iqbw53ksj3zRvrBzrEyv6exgbNHRASzxdrlU7xW2gf 8Iwy6GZUjSWLvXcTkaTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovjLF-00Gdby-Kk; Thu, 17 Nov 2022 18:10:25 +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 1ovjLB-00GdaE-Jc for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2022 18:10:24 +0000 Received: from localhost.localdomain ([146.241.88.137]) by Aruba Outgoing Smtp with ESMTPSA id vjL5ohRGp6OFPvjL5oOWAI; Thu, 17 Nov 2022 19:10:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1668708616; bh=DkD0FT6uYp5PVEwHynX8RbPLNYVMQoXPIJI6hhGbE00=; h=From:To:Subject:Date:MIME-Version; b=bNO8Qyxjl1HcvXCgM+DH7YLuJQNnlJf+GDOGxsMS62ibounZzmUi24sw3G5YVBhcE Q635xLP5MTcuTGzYi+6s4UbeL5eBGnWW3s+hO9slPotM1fI8j3RJ3dBF1cgcuWhGJI ULbttpOLMrPUPqRqS8Rj7QmMxRqhv0ja9qM74XgesaC6ISy2XdpwO4bLsk9aE56Ncy BgpqFim6+V4HfUo5pK1hGD8qhmufcXOHED4Jcdnwj8z+g0YtYTxueOT3jBbBmauNte hfD+B8ZBpOc5VyXDjzDNtxIflKZ3Ytz0z6fPLYTi49zam0OzTdQxolGFCc8FHfOlVB mnQo8JCM0F7LQ== 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: Bough Chen , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Abel Vesa , Michael Turquette , Stephen Boyd , Jesse Taube , Giulio Benetti Subject: [PATCH 1/4] clk: imx: imxrt1050: fix IMXRT1050_CLK_LCDIF_APB offsets Date: Thu, 17 Nov 2022 19:10:11 +0100 Message-Id: <20221117181014.851505-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfAT4tLLIX8LwkPEPsgf5zfUM23STm/KarxmCHJZ5jZe3wzxKcQF//zBr0dWDUhOCKovxe5gzDQX8EMNDgLi6HivYqerbbJdRTRHxN77PHACFaRFfxOUt NgagsNVF8AAhylhDkdyqOYeSxK6ayJn62YPHhw7G9Q2+aOPGVLeqifaHhL9kWNyjWzfeUY1Wu8J4WnigiQBQyliIJBzTfzzAGSRMDK+Kg2Klg8OGVr3pqMLL /xeUWkXhRcDoyQMoYnSfEBwBktbpd4WhVrQ58rXgtiIghAnFMxWzYs3SC4paajitxGEhwfsZLhhkZKZJRpbXwGx9HFAG7AAxUQVoiePWheYRfsXxRbD8soXG 6ZCID992Z5Qiel8YvuFPtHOvU0T2AtXkPhD3xCjvOyHkxevvrxRwF7Kz/oQCf5ILZYOqg4gB+vvZ10MzjAinkqpEAvccrZ0qx6I8d45DQ04RvB9JtpITQDof 3nJK9ZgaZDNAFP5TPEk0PJCfkuNoGRg3e1XJ+gD6FxPACC5aWRunLar5W1v9Qr1GnR4onhvJzLiPrh1gMreKlidSbwQ+WmO7IUr55yumjCn0EsenJNaofRFO PVzL/DIVShFor6Mx8XcuVwk2dntqt1SzNo5CU+/eILDdcUvnkHAPEhVimA874GdHOTB0QEw3WnikcTYvZ5c/xytTpDbq2uSeM/yvBTQXvl8dkQqlQ6oHfG3j FNiZQxJmwEQz1FHoDtzClvT59WZ065gcfECv7F5c23MeST4N9HIPiwq2nryqCosPDvsg6VTX/spB4tEGbcO7NBhrdnz8uJSIiDiY4B8kjqomVq+qT/9DYg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221117_101022_152172_AC383029 X-CRM114-Status: GOOD ( 10.59 ) 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. Fixes: 7154b046d8f3 ("clk: imx: Add initial support for i.MXRT1050 clock driver") Cc: Jesse Taube Signed-off-by: Giulio Benetti Reviewed-by: Abel Vesa --- V1->V2: * nothing done V2->V3: * added commit log and not only subject as suggested by Jesse Taube V3->V4: * added Fixes: as suggested by Fabio Estevam --- 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);