From patchwork Mon Oct 17 23:55:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 13009730 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BB61C43219 for ; Mon, 17 Oct 2022 23:56:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231171AbiJQX4Y (ORCPT ); Mon, 17 Oct 2022 19:56:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230048AbiJQX4V (ORCPT ); Mon, 17 Oct 2022 19:56:21 -0400 Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CECB57E000 for ; Mon, 17 Oct 2022 16:56:06 -0700 (PDT) Received: from localhost.localdomain ([146.241.87.206]) by Aruba Outgoing Smtp with ESMTPSA id kZxkoIDsHJpY4kZxkoMdsm; Tue, 18 Oct 2022 01:56:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666050965; bh=Cs2BTahNhYGQT+BUpkMV4KQNAvoojZ2DWm+w744j3f8=; h=From:To:Subject:Date:MIME-Version; b=E0p9tmO5b6etadFD6I/aB+KXEqn6DN2lKdtYWIkOgoR4RciOD/qXWIOGDfBvaII0N bM3LQre3JlAxuaYHc/YtYaAm40x0Qzzef5xQLivjRUB1DAtOxOw9wUugbmf3zdUeYf XFb1ICudEnnlrZFbiauKi83fvM1r8OCWVcpEqhvdDE9CDo0THm+D/RpDOQxxCf298a stX9ZoIJ0zqsoUPhdrSk0N5ZyZRtipGuEvIB0nMwQ9Q1Cn9RAIqugtgxRlaBKvP3Fi kq6iVRUVXkrizCu41mPR/A+Cag7IZ1Geh+G5pziNCIQyD4upxesNVk+0aHTEC04eqN /6xDyE7gk4HmA== From: Giulio Benetti To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Stephen Boyd , Haibo Chen , Adrian Hunter , Ulf Hansson , Giulio Benetti Subject: [PATCH 1/5] clk: imx: imxrt1050: fix IMXRT1050_CLK_LCDIF_APB offsets Date: Tue, 18 Oct 2022 01:55:58 +0200 Message-Id: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfPrn7ntQdoekybvwfhFyO67CFnqXTpbenwSu5crc4XKZ5ExrFtLgKub6vuPX7iwmOxEApIB8wqcmul4VKipnrJ27OwlZeUrE7KmNoEviAUNFWy5I+1jK Er10ZCTFieqmKEHNcDB6Ng7qMSpyAFxg7ipKt/VcvJolwBx6RX8S+M39hOOc/VOvYWnecqGjNzK/kVcPY7JZifJTtYIWPnYAARwEY58+xTp/XQvKvyTSFB1Z C6UfaD7j4D19FwrNcGCHX8XhVIyVugL4O+RAAdaMEbh0+fJZoac2gSx1NlaWbiZ0GahmGCYIP4Ef8QqEsEFQjxYu/YKQCY+GHHY5/pq4+U1hGkFOaVRTtlTO 76N/gnGQVpL9VPF1n4+10sQCFizSAjUPk//MMKeog7rVul0qYBwEpbOcjfEdXAqD7GKRmoQlasBn9eNPFXU4SDIgx2ED23AbFRi7yN7afF1dJDEWDsehoKq6 5hm0KOOkD4snEZOezBo0yu/wvojYXOX7oST69pEwuYUGzCrQgBGb2mMAqzvcrQzCVF/Va8oAv3VfNQWwQvrhCOBmx1SGBgA6grB4179aeZWCL8gwLON7c5MZ TY0= Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Signed-off-by: Giulio Benetti --- 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); From patchwork Mon Oct 17 23:55:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 13009729 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B98E1C4332F for ; Mon, 17 Oct 2022 23:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230480AbiJQX4X (ORCPT ); Mon, 17 Oct 2022 19:56:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230167AbiJQX4M (ORCPT ); Mon, 17 Oct 2022 19:56:12 -0400 Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1EE017E003 for ; Mon, 17 Oct 2022 16:56:06 -0700 (PDT) Received: from localhost.localdomain ([146.241.87.206]) by Aruba Outgoing Smtp with ESMTPSA id kZxkoIDsHJpY4kZxloMdt3; Tue, 18 Oct 2022 01:56:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666050965; bh=9AqIDwasHv/H4KU9S0QioOQou+hO6NpojAdY9uHOcbA=; h=From:To:Subject:Date:MIME-Version; b=LH2MqRH3B9uHU6tD9Dxd44gak30mkP0K/k0V5kUUBnOHawF2Olhg2Xu8xW1ShplNr nwm3vIx37EAooAhU0t8Z07ZytmJDi0TeJ1812H3rBUsXqp2jysrqSNFzI/TWtccsKW q0JDIcYjpcI4ITusCSNt33Gy2eM1VJ5H9sAcLIPpSRz9VfnkZL/JroakrNZ79k8wBj lpszL44jGfsdP8hixzwOqCyaPwWSVQZyeD8lF68SWc3nt2mxEh5upDhPwOHEnmUChI uKTbltN7gXOvjyNfTWLd62hqb+TWq3S+wzaZ4zYWe12TEP0L1oC2qfqTqY4BPGgNHa tN3G5hlJVpYUg== From: Giulio Benetti To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Stephen Boyd , Haibo Chen , Adrian Hunter , Ulf Hansson , Giulio Benetti Subject: [PATCH 2/5] clk: imx: imxrt1050: add IMXRT1050_CLK_LCDIF_PIX clock gate Date: Tue, 18 Oct 2022 01:55:59 +0200 Message-Id: <20221017235602.86250-2-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> References: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfPrn7ntQdoekybvwfhFyO67CFnqXTpbenwSu5crc4XKZ5ExrFtLgKub6vuPX7iwmOxEApIB8wqcmul4VKipnrJ27OwlZeUrE7KmNoEviAUNFWy5I+1jK Er10ZCTFieqmKEHNcDB6Ng7qMSpyAFxg7ipKt/VcvJolwBx6RX8S+M39hOOc/VOvYWnecqGjNzK/kVcPY7JZifJTtYIWPnYAARwEY58+xTp/XQvKvyTSFB1Z C6UfaD7j4D19FwrNcGCHX8XhVIyVugL4O+RAAdaMEbh0+fJZoac2gSx1NlaWbiZ0GahmGCYIP4Ef8QqEsEFQjxYu/YKQCY+GHHY5/pq4+U1hGkFOaVRTtlTO 76N/gnGQVpL9VPF1n4+10sQCFizSAjUPk//MMKeog7rVul0qYBwEpbOcjfEdXAqD7GKRmoQlasBn9eNPFXU4SDIgx2ED23AbFRi7yN7afF1dJDEWDsehoKq6 5hm0KOOkD4snEZOezBo0yu/wvojYXOX7oST69pEwuYUGzCrQgBGb2mMAqzvcrQzCVF/Va8oAv3VfNQWwQvrhCOBmx1SGBgA6grB4179aeZWCL8gwLON7c5MZ TY0= Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-imxrt1050.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imxrt1050.c b/drivers/clk/imx/clk-imxrt1050.c index 26108e9f7e67..39f77c03b892 100644 --- a/drivers/clk/imx/clk-imxrt1050.c +++ b/drivers/clk/imx/clk-imxrt1050.c @@ -141,6 +141,7 @@ static int imxrt1050_clocks_probe(struct platform_device *pdev) 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 + 0x70, 28); + hws[IMXRT1050_CLK_LCDIF_PIX] = imx_clk_hw_gate2("lcdif_pix", "lcdif", ccm_base + 0x74, 10); 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); From patchwork Mon Oct 17 23:56:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 13009727 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99622C433FE for ; Mon, 17 Oct 2022 23:56:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230267AbiJQX4W (ORCPT ); Mon, 17 Oct 2022 19:56:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbiJQX4L (ORCPT ); Mon, 17 Oct 2022 19:56:11 -0400 Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 285B27E02B for ; Mon, 17 Oct 2022 16:56:06 -0700 (PDT) Received: from localhost.localdomain ([146.241.87.206]) by Aruba Outgoing Smtp with ESMTPSA id kZxkoIDsHJpY4kZxloMdtH; Tue, 18 Oct 2022 01:56:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666050965; bh=ASdoZ49/eBN4z0vuWYdhxmygfqGvGO4gQmCrBmTGXXw=; h=From:To:Subject:Date:MIME-Version; b=bLivJUDKVqRo5A0YFaILlBLK3hI4GMlzR9+5MOK7UNcEjIiu5wNQz2dPyK+DnIBZO ugBrk8VvjfGhnD5qGuwu0PIorWUoLcuAeAcGjwFJDxx3geylI0NmORveU3BaqFLvyi h7zG5EA+VSe0W/QNOWavqo+kpzblkBsgzgZXaK+mLsfKd+ynXk5MD30fiiOXh2yyhG 9GPHMx+ldVbeiFwNknTcMurEgUxMkydYgdTTwcycT92Qt8E2pIseOur+g4UDZZAGU/ DDWOG3GnJhcuZADof6jW0z5ydBGfCipJ9JH+6PJKJ6QeCSOQp0YRgvGRTCmGvEjUOU luarMiz1Y0rJQ== From: Giulio Benetti To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Stephen Boyd , Haibo Chen , Adrian Hunter , Ulf Hansson , Giulio Benetti Subject: [PATCH 3/5] mmc: sdhci-esdhc-imx: improve imxrt1050 data Date: Tue, 18 Oct 2022 01:56:00 +0200 Message-Id: <20221017235602.86250-3-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> References: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfPrn7ntQdoekybvwfhFyO67CFnqXTpbenwSu5crc4XKZ5ExrFtLgKub6vuPX7iwmOxEApIB8wqcmul4VKipnrJ27OwlZeUrE7KmNoEviAUNFWy5I+1jK Er10ZCTFieqmKEHNcDB6Ng7qMSpyAFxg7ipKt/VcvJolwBx6RX8S+M39hOOc/VOvYWnecqGjNzK/kVcPY7JZifJTtYIWPnYAARwEY58+xTp/XQvKvyTSFB1Z C6UfaD7j4D19FwrNcGCHX8XhVIyVugL4O+RAAdaMEbh0+fJZoac2gSx1NlaWbiZ0GahmGCYIP4Ef8QqEsEFQjxYu/YKQCY+GHHY5/pq4+U1hGkFOaVRTtlTO 76N/gnGQVpL9VPF1n4+10sQCFizSAjUPk//MMKeog7rVul0qYBwEpbOcjfEdXAqD7GKRmoQlasBn9eNPFXU4SDIgx2ED23AbFRi7yN7afF1dJDEWDsehoKq6 5hm0KOOkD4snEZOezBo0yu/wvojYXOX7oST69pEwuYUGzCrQgBGb2mMAqzvcrQzCVF/Va8oAv3VfNQWwQvrhCOBmx1SGBgA6grB4179aeZWCL8gwLON7c5MZ TY0= Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org i.MXRT1050 usdhc is not affected by ESDHC_FLAG_ERR004536 so let's remove it. It supports ESDHC_FLAG_STD_TUNING and ESDHC_FLAG_HAVE_CAP1 so let's add them. Signed-off-by: Giulio Benetti Reviewed-by: Haibo Chen --- drivers/mmc/host/sdhci-esdhc-imx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 55981b0f0b10..4bc0a2914a95 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -306,7 +306,8 @@ static struct esdhc_soc_data usdhc_imx7ulp_data = { | ESDHC_FLAG_STATE_LOST_IN_LPMODE, }; static struct esdhc_soc_data usdhc_imxrt1050_data = { - .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_HS200 | ESDHC_FLAG_ERR004536, + .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING + | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200, }; static struct esdhc_soc_data usdhc_imx8qxp_data = { From patchwork Mon Oct 17 23:56:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 13009728 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2247DC43217 for ; Mon, 17 Oct 2022 23:56:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbiJQX4W (ORCPT ); Mon, 17 Oct 2022 19:56:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbiJQX4M (ORCPT ); Mon, 17 Oct 2022 19:56:12 -0400 Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 287927E036 for ; Mon, 17 Oct 2022 16:56:07 -0700 (PDT) Received: from localhost.localdomain ([146.241.87.206]) by Aruba Outgoing Smtp with ESMTPSA id kZxkoIDsHJpY4kZxloMdtZ; Tue, 18 Oct 2022 01:56:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666050966; bh=V+admxQwpLfW/V/+bGSuXav4uFvMNNrftW6txCx6iRw=; h=From:To:Subject:Date:MIME-Version; b=CXmSTPNv+sjLLeHTr9MgSboyhUdNZGdxctm70YpIHOJRBp5UsPS8fORljpbDc7Qlf H32XRZt4bOlaEhQV+7vXA0XiLLUB3/9alxoJ5+ZlicTDfTOieWcdZ6I1mZ4Dn7seQw fBnwahbGeclMjcJg1IX0D+rPh5QasBzYsZ0ladmh7/YZ6gFMs/fvYIAucwKlGTfh/v LLzU4bdCRXsPVnyF9WxHpUFDwYr8c8GtuH0DJB4Rf/pS8+XODy2KPIt18VYko00tvZ Q2atlRNtE99P+PjjsmUAMlBw46Myzus5aBwHYJpMaGEilInsFB9FYNbVSzr5blDfQu p2wJUP9TbeZ8Q== From: Giulio Benetti To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Stephen Boyd , Haibo Chen , Adrian Hunter , Ulf Hansson , Giulio Benetti Subject: [PATCH 4/5] ARM: dts: imxrt1050: remove mmc max-frequency property Date: Tue, 18 Oct 2022 01:56:01 +0200 Message-Id: <20221017235602.86250-4-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> References: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfJPiiR7i7lCy6Uzn2y/6TcFw3IkBM6IvSZFACENWKfnFdxiEKvsCk201PTya2kR/sMbSF8+kn6SIFMRLEbEa9epVh9dBM9z2XG7rHdStuL9DnZyi1aX3 wE9L05Lj8Gh4iZyg7/b5mN/4XN2WRdc8ZlhMW+dWt79tJUXGk48n1gCgHGnTuyubP3115nj9T8CQbHEWaVd2q22uji6mucyxAHW3divjewOqKB3hsZpDOsVB dR81CRik/xL4kbu6iHBEfGDHuulBynKZYP31InOz6FPQyDOD/LAzEeBaAvsnuySS4pZJajEgf5qSQkEvb3aDpGBrLM5BYZqhCYuHaVTaJtfUdVdhJFwuc8CJ DUFxOI6tZPRyjnc5Htn1GWgaOvIDlfiF9lMjOZpxwSj9gsKLP4WyticVFSblu3NyJDBUaVu4RuP27b6qK1kmQpTFeZ6mD3/4kgUTJInwn6tUZeg9QrvXa1HG Mwn3bFPI4SgKUuX7RkiKi/QdxxI7sb4BVrMl0OrCXI3KIROKT3QRqdpakssp/lxvERehuQ6u1iSe5GGVq5MOROxexWA72LGUsUGv5YVQvXBf1V3M3+cfCu40 BYA= Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org According to i.MXRT1050 Reference Manual usdhc supports up to 208Mhz clock so let's remove max-frequency property in the .dtsi base file and in case add that property in the board specific .dts file for a specific device connected to it. Signed-off-by: Giulio Benetti --- arch/arm/boot/dts/imxrt1050.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/imxrt1050.dtsi b/arch/arm/boot/dts/imxrt1050.dtsi index 114465e4dde6..0b44cc4ce6ad 100644 --- a/arch/arm/boot/dts/imxrt1050.dtsi +++ b/arch/arm/boot/dts/imxrt1050.dtsi @@ -93,7 +93,6 @@ usdhc1: mmc@402c0000 { bus-width = <4>; fsl,wp-controller; no-1-8-v; - max-frequency = <4000000>; fsl,tuning-start-tap = <20>; fsl,tuning-step = <2>; status = "disabled"; From patchwork Mon Oct 17 23:56:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 13009731 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45C8CC433FE for ; Mon, 17 Oct 2022 23:56:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230151AbiJQX4Z (ORCPT ); Mon, 17 Oct 2022 19:56:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbiJQX4V (ORCPT ); Mon, 17 Oct 2022 19:56:21 -0400 Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5E7E57E30A for ; Mon, 17 Oct 2022 16:56:07 -0700 (PDT) Received: from localhost.localdomain ([146.241.87.206]) by Aruba Outgoing Smtp with ESMTPSA id kZxkoIDsHJpY4kZxmoMdtp; Tue, 18 Oct 2022 01:56:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666050966; bh=AwSDPioUx7F0h3hwMs9mvaexbpHNhz0n7qe0CuDHMuQ=; h=From:To:Subject:Date:MIME-Version; b=eKrlNnf6iWMYVwdmA6Oru3LaEqzV7r9Rc0Mi2RoxobBH8odAp/6vs/34AOqgv/i1M HIsJ5F05xtZRAxc1q88gKqSLnQHm6WGeLxUFB9PGNnpzbt20cM26YExINwiYB8Ibb/ AS+tR+WQRfdc8rCssOjke1ykTq/Gg1MAlr0J9f4A4Hzx0f8/ZahQ5FIq2KyDo7G6Sn +x/kdjIXHeys/eVsqBWqm1HDrmuTX3e7chnKNH5ximcOPLMZNF5aQTY/SaLAmkHjwd 8OekqwMMRHQeasP7SpCPVFGMwpsxnFZCSw7FXTS0ahQll7Lq4xlz17JAS6zWWuxl0q aY7aRL+QHo5GA== From: Giulio Benetti To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Stephen Boyd , Haibo Chen , Adrian Hunter , Ulf Hansson , Giulio Benetti Subject: [PATCH 5/5] ARM: dts: imx: prepend a 0 in the memory address to make it clear it's 32MB Date: Tue, 18 Oct 2022 01:56:02 +0200 Message-Id: <20221017235602.86250-5-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> References: <20221017235602.86250-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfJPiiR7i7lCy6Uzn2y/6TcFw3IkBM6IvSZFACENWKfnFdxiEKvsCk201PTya2kR/sMbSF8+kn6SIFMRLEbEa9epVh9dBM9z2XG7rHdStuL9DnZyi1aX3 wE9L05Lj8Gh4iZyg7/b5mN/4XN2WRdc8ZlhMW+dWt79tJUXGk48n1gCgHGnTuyubP3115nj9T8CQbHEWaVd2q22uji6mucyxAHW3divjewOqKB3hsZpDOsVB dR81CRik/xL4kbu6iHBEfGDHuulBynKZYP31InOz6FPQyDOD/LAzEeBaAvsnuySS4pZJajEgf5qSQkEvb3aDpGBrLM5BYZqhCYuHaVTaJtfUdVdhJFwuc8CJ DUFxOI6tZPRyjnc5Htn1GWgaOvIDlfiF9lMjOZpxwSj9gsKLP4WyticVFSblu3NyJDBUaVu4RuP27b6qK1kmQpTFeZ6mD3/4kgUTJInwn6tUZeg9QrvXa1HG Mwn3bFPI4SgKUuX7RkiKi/QdxxI7sb4BVrMl0OrCXI3KIROKT3QRqdpakssp/lxvERehuQ6u1iSe5GGVq5MOROxexWA72LGUsUGv5YVQvXBf1V3M3+cfCu40 BYA= Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Signed-off-by: Giulio Benetti --- arch/arm/boot/dts/imxrt1050-evk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imxrt1050-evk.dts b/arch/arm/boot/dts/imxrt1050-evk.dts index 1d339f48899f..3de392d014fe 100644 --- a/arch/arm/boot/dts/imxrt1050-evk.dts +++ b/arch/arm/boot/dts/imxrt1050-evk.dts @@ -28,7 +28,7 @@ aliases { memory@80000000 { device_type = "memory"; - reg = <0x80000000 0x2000000>; + reg = <0x80000000 0x02000000>; }; panel {