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: 21252 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp51721wrr; Wed, 16 Nov 2022 12:39:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf6xy5wS2emSOCa0jiACvawttYFREn9QCtw6QTC3pzq64Aoy7xpvqZBRWUKzeKZK7F7SSSGR X-Received: by 2002:a17:902:aa47:b0:186:8af2:8bc8 with SMTP id c7-20020a170902aa4700b001868af28bc8mr10451736plr.146.1668631161066; Wed, 16 Nov 2022 12:39:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668631161; cv=none; d=google.com; s=arc-20160816; b=OU2GXmcyAa5GH0kLGS4iVROENsLs2JdbJ6uAaA2ZwDL1G2K7S3jvwG5Mg49rLlX3DN ToXG2VDt3jwfzbytVIflLPV60Wx6VL61iMssspFLc+8zVDEWegrQ96ZKLMKmz8VjXNXj sL5R9FHd2prWlzFT0qbXSJvVvZTXvC4xb94p66HZexRZYjrpHut1IZdKoWM4YMzC7OgD 8kRCQ4beyX8Kb/B2E+cu/Q3dy83GdoMgqxQ331NKH1XPPff1FOGuSVcBICstn+hFug5S 5E6xUi5X6nQGZs9iLxuxngw1fgIKR3eGjdnB7HAxWNDO7Z4KjVR1zIl183N/GYQhLa94 d/rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jh2nyVM9uPqR+SMVBkuqK/Fr/smSZv1juQzpCnOAiOA=; b=wRSkvPtcLnktMoW1Vpy6dE6NQRvltj9gAGCDjDdeevJ7gXzqbtdIKclJqTUPUY31ID ou859cS2Qx750oWssPZCKKDubKlRuxc0fxpoK1fydycW/NfUqRYN6QybjLTE2Nqf5QDw R151avlVSMYmDQPBGXeerO1AWPnGcwgX4c0rLMA5bP0R9ddrn9FRWq/WLI9WacRYPUKk 6uxWf22oISnpl96INSPf0Et03L0UWwd0urbURHw4ooLYGuBv0sRZCZgrOsLbCZk84WFi ruHzdj4DFzfRAQP/wUGRe/bwelousmjyNaPjnvnTSycUApBZw1XXFEPMO3z0BMvfSb8z Mb0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=AGDVwmtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a17090341c800b00188b8cf0859si13026276ple.57.2022.11.16.12.39.07; Wed, 16 Nov 2022 12:39:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=AGDVwmtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234118AbiKPUf4 (ORCPT + 99 others); Wed, 16 Nov 2022 15:35:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234176AbiKPUfo (ORCPT ); Wed, 16 Nov 2022 15:35:44 -0500 Received: from smtpcmd0986.aruba.it (smtpcmd0986.aruba.it [62.149.156.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E2D43CE1C for ; Wed, 16 Nov 2022 12:35:41 -0800 (PST) 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749686588295341989?= X-GMAIL-MSGID: =?utf-8?q?1749686588295341989?= 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);