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: 13009733 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 5E50CC4332F for ; Mon, 17 Oct 2022 23:57:19 +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=w5G1i8YahzJFFHMCKwbvGQA0GBKkxv3MURN0ZyN5trM=; b=usJvenDh1AnA8Y ANZZXHhOdjnEpbM4D+U5HUp3FysQmSKB6i2oNGq3puiDCkMyrlQpyDb+odaz/aWYqkqqkgkenEvNt 9ffIkKA5fPnjamJiG0GbpDvqaz15DRSmgb9FrBNH3K61bnVBi73ZOSl79fMy4MULWew/MXbcsJdtV UzvC3WRIvnmrUKjq+iUdTrpBsFwTlBsTFC1eAFLx3CLGyWxjdlVpYnNbuCpvAaqrm4k+9xTLysKyY nReHjCQWO2hne5XbdPb4UepcLykviPCMB/MG38EyazIQ8Ae+aFjS8NmlX+qmojUG4YE98iJTEyfzD phgDND3kCMOozRcjqXIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZy1-00Gd9L-Ne; Mon, 17 Oct 2022 23:56:21 +0000 Received: from smtpcmd0641.aruba.it ([62.149.156.41]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZxn-00Gczd-Qh for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 23:56:09 +0000 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_165608_361343_B5F54A9C X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. 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 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: 13009735 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 6BC6AC433FE for ; Mon, 17 Oct 2022 23:57:36 +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:References:In-Reply-To: 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: List-Owner; bh=Gj4i2JbD5mr14rta7zIJbFSikWBNMt9k3ZEaQ+2l1Rk=; b=gAYJeyouGTs+1X NAef086YKenabzAkOtee5mRquznAl+vimbWddhCk0o7mrWcdRvOKweFxzGppgYitRWlalcRtfMs/w VMIBrYtxGrBB+1IUFv7AJNSKXYu2L/YR3NHJ1c7a3yudqZB5wQPDzqW00c8JiNKcw1ExsBn+Es8QF AQA6Msys83u2vWeMPVvXys6lU0wh9CnzrjnRSzsEWaVC6JL9ccLHXn/jc7pIjLo1CFgm15FMtMdxP slpGLLr5Hg5RziSYhoiKr1GbH1VZIoOgdV9eIzle2b7TZdV3V/R8wZuUWrI6e9lhWcQCsvHpJ6KDb 3C3pfwm79MHIBJgL4WNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZyK-00GdJV-PW; Mon, 17 Oct 2022 23:56:40 +0000 Received: from smtpcmd0641.aruba.it ([62.149.156.41]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZxn-00Gczj-Qg for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 23:56:11 +0000 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_165608_373948_52359BF2 X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. 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 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: 13009732 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 8FE0AC4332F for ; Mon, 17 Oct 2022 23:57:14 +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:References:In-Reply-To: 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: List-Owner; bh=e0RJHILeAuPNythXLpT2Hb/s/iSlHMtAUO25UUUYyv8=; b=3qSxLjxqnNDkBr zx/fT4bsfcHrL3SOIZdCz6GaPSyuNVwFuHmBkmSBfRDZ9AHARtTfY/PGTh+AcWcqdQT6NIJKr1utf ge3JqH4Hq0QumjDh1XbFF3f8xMgRmzsQtMMI3J/PejiPYd+Mc0dSIfUPy7kuvvuXmAHvyLHK1Nl7w WLPw6LD+2L3IGwNK5Opcl76B+JA/pSW2WK0snIqBHzgH/8GF4/iFhkjjsaGJ3Yd9hYGZnJqqTBS0w PspuRTi5LQaM+PC7vO5ZtzLKOvOrqloSbYNRPt3DEnEFm5g7DDrct6nR8RHVjaiwf/UpEdm6EmLT3 cyYzrml4Gx6K05j3rkzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZxs-00Gd3L-MH; Mon, 17 Oct 2022 23:56:12 +0000 Received: from smtpcmd0641.aruba.it ([62.149.156.41]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZxn-00Gczq-Qe for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 23:56:09 +0000 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_165608_354898_B5391E0B X-CRM114-Status: GOOD ( 10.15 ) 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 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: 13009736 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 9DBC1C4332F for ; Mon, 17 Oct 2022 23:57:52 +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:References:In-Reply-To: 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: List-Owner; bh=KSIe/sbpb2R2U4Sny/yapU7ZcU+lZ73SLyIS4bQM2Ko=; b=lPhRCsehxmLaCk ak/nEEIt1lbBeniHNRi2i16sCOLhkqoncp8PlMdOgTIv94NzI2tbIC9iYSDNDYhqMsq1X4CQLB/Ww rpgjM6NhDu8MU8Shi0tmgkou0qVwO0+0UdYX+l7A0CiTIZUbmGkv5vtX+n/J+hx0COy2ATKk5VBut HMNyh95ZwCf+4CPRLYOvXIiWdG5mVNpWhYTNrt5JSnPtfv/SSePFpVL6skJQ57pHovR8FMnds8MC0 JQHmi7/z4s9+BHs08G9Px7opSKA8PZft1Hak85GvICk8olB9tbIwgXaKlGX8+ckTmzkE/tPIeht8Y 7xgZ2wEX0u4dwmJmiVbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZyX-00GdQL-U3; Mon, 17 Oct 2022 23:56:54 +0000 Received: from smtpcmd0641.aruba.it ([62.149.156.41]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZxn-00Gczr-Qf for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 23:56:11 +0000 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_165608_371700_E9187F7B X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. 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 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: 13009734 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 D48C5C4332F for ; Mon, 17 Oct 2022 23:57:26 +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:References:In-Reply-To: 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: List-Owner; bh=ZZMBdPRPu13rou0MyrRHvVx+Y5g+UDmQxNriRgXrl14=; b=i6ypMDwM6vb+uw r70tFAsNvdVxOGmNDvGI3izm8JAWr2HBdYfnF7iGRd9lRMIilKJot86JwEBJtDqy9mxe36+9GZxlv L7k+wMlnPADxvoGzmY38lkpeHNGGl8T0xuy3AQ9REG11LrkYvfQ4pb2LGHXppx8P4IG0z3bwTJoFm TEzews730XFHqzJlZQxLoAgLnKycD1KDYNTAxRFnUonYKaFFut/U6LmXzexLtF8W89e8jEujIydjr 8P06yImj09h7CM2i7i3EsHwbo5w/SxKTp7zILmMUZnWzbppz9mrzgwYspTxc/FGdVnSVebBW9jTCr dV2ThRLHvDz6byHFIymA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZyB-00GdE4-7f; Mon, 17 Oct 2022 23:56:31 +0000 Received: from smtpcmd0641.aruba.it ([62.149.156.41]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okZxn-00Gd0G-Rs for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 23:56:11 +0000 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_165608_370861_4B200BB5 X-CRM114-Status: GOOD ( 10.55 ) 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 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 {