From patchwork Wed Mar 23 13:40:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12789766 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 9B863C433EF for ; Wed, 23 Mar 2022 13:40:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244395AbiCWNmL (ORCPT ); Wed, 23 Mar 2022 09:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244393AbiCWNmF (ORCPT ); Wed, 23 Mar 2022 09:42:05 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B2E7D02A; Wed, 23 Mar 2022 06:40:35 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id e9so989203ilu.9; Wed, 23 Mar 2022 06:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S0yGfWVmwvBNXjV8YPBIOWgjw8QQzbCwNdOAxvwVYTE=; b=U6wM5GzjHJQC3hlOYG2GxK4bQbvQp3hRDn+95gNbAfEFuk64fLKwY/tFSnVyK+NOj4 vZdXztglI5nT5OqVgR0LmqQ5/zLQNrcB9NcwH/1R8NuihQSH1k1uVW77r0Ph/WLqE/1u 3WZfIcLcgFQHFNonYfaUPVRIeWPEnR0wrr4wXtBarfp/4sMKCVkpxJ0FrnXP72vEPY8/ SxMiB6fvPl/UooyAOhFgBjcUFQlLjrd3xbGBHnpHjGtWD9TE9pBgLTBMVUTVlfYxQBeQ kVDerAky8jen0gUdFCVIf0t4Fvck8cdKvgKzNb7XeZr6gopmbUli8TaQx6o01i2hM48M XUMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S0yGfWVmwvBNXjV8YPBIOWgjw8QQzbCwNdOAxvwVYTE=; b=ZSaJSQ0Yy4z4glXjGB7k+G5hJb/4fCU3U5uQPC41UAgGhbDuoEsUeLsQRGrYv5xPA4 gXNU0T0+RUkwDU8v5914ZFpJ2th7IOpZ6HhEuTrVUbiZTyjmOcKSUb7U0HuezmurSp4z oS8Ag3QobU6nU9lFkVBR2z3B1VkCCg0teoxYouwVXspXwMQ5snJx1k8NGxPQiJ+hRBxc Dw/qaWNxFETdy6+C/67fZ28yy4MwwRYbRLePIi7DdUjlFtkfp5TT+M8/MuMUpLM7KpxZ TJRax6ms8vaAobTZIt56bG0a2UTmulJ7W8fRLYbO1o8DYIP4yDyW1Qo/rNh5oWi/5qRG NZxQ== X-Gm-Message-State: AOAM532TO0dzbMyU5M7q7Crf3oj+GCjUhrgT8wGyHvDsfxQum5Cyl1yk DxxBszLtb/o44osdr1I1dso= X-Google-Smtp-Source: ABdhPJzb6EZp+G+otRr+uRIAi5dKKi+NDQ5nUb8OUQKG4oZdIcQqV2tuKvBx5s3aRxvoMx2tKK+wvg== X-Received: by 2002:a05:6e02:1ba8:b0:2c8:218a:24bd with SMTP id n8-20020a056e021ba800b002c8218a24bdmr41690ili.198.1648042834178; Wed, 23 Mar 2022 06:40:34 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:3c99:2d92:f93d:dc94]) by smtp.gmail.com with ESMTPSA id y6-20020a056e02174600b002c7f247b3a7sm35253ill.54.2022.03.23.06.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 06:40:33 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: mmc: imx-esdhc: Change imx8mn and imx8mp compatible fallback Date: Wed, 23 Mar 2022 08:40:17 -0500 Message-Id: <20220323134019.3796178-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The SDHC controller in the imx8mn and imx8mp have the same controller as the imx8mm which is slightly different than that of the imx7d. Using the fallback of the imx8mm enables the controllers to support HS400-ES which is not available on the imx7d. Signed-off-by: Adam Ford diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 7dbbcae9485c..d6ea73d76bdd 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -39,14 +39,14 @@ properties: - items: - enum: - fsl,imx8mm-usdhc - - fsl,imx8mn-usdhc - - fsl,imx8mp-usdhc - fsl,imx8mq-usdhc - fsl,imx8qm-usdhc - fsl,imx8qxp-usdhc - const: fsl,imx7d-usdhc - items: - enum: + - fsl,imx8mn-usdhc + - fsl,imx8mp-usdhc - fsl,imx93-usdhc - fsl,imx8ulp-usdhc - const: fsl,imx8mm-usdhc From patchwork Wed Mar 23 13:40:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12789767 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 4E10CC433FE for ; Wed, 23 Mar 2022 13:40:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244402AbiCWNmL (ORCPT ); Wed, 23 Mar 2022 09:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244396AbiCWNmG (ORCPT ); Wed, 23 Mar 2022 09:42:06 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABCCF7D036; Wed, 23 Mar 2022 06:40:36 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id r2so1679671iod.9; Wed, 23 Mar 2022 06:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bC9rTh2FGaAT6ZiIunAd/+2aVgoCUzEEMyUVt1pLXug=; b=TaWbvjP6NbIEayvUJGiwls9xaONscOusJCNIbfVt6iHPOS4YmwiIkFD9wycKsb3PYq ZE6prIRo5ILQ2ol3in2Ja4/+R6QMJXEtZJm8e+dyQtpF12NKVJYOKgK3eVPmULa2g0jl I365mnUix6SiU5oAOUNFz4CR7Iw6hhDKJ/fSKqsr/tlGNS9nPTNBBDoFtzmoyJ9Y2CX1 +NgiwBL6C6CTPqw/5m/vAfj7+gEbliHMfrTjoFFTI7P19Y0MWruCF68DgJES0KTkPR2l wyvVqyg1u9ctdmzZB6xjIMa7YIdbSU81+tBRBgpmJJCJRCxcDH1x22rxfCY4MRRbN4e+ PihA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bC9rTh2FGaAT6ZiIunAd/+2aVgoCUzEEMyUVt1pLXug=; b=I1zeM1He9fBBZqq8k7RN5VPfjmK5/O2VLuLVuds0vUaApYXMRS3ifyeT0QvqJUn1C9 9P07YR0mrd9jtUik0XnMgkNRNRpDxaPJrbVP25oyh+XjhyEuWsUuUO87X4Jr12RoSa7K Dld2I5YwbBNomn0uzvuTFgt1d7D4lwrKqzM4r3SqRknn+X/x+oFm4h6BQO9vy6jbCkSr 7206EX2hGNWYONlPjNXjWiSYCLVBJN09De/ejOi+ck8hvEGn8Ct66LRGlyT0zqwpaALS KlLsDf15/yV54mdOYpniYXPlDXzm68bHX4WQM18HpDZpPAzwtS4fUKB/Hlf2rNv3B9IJ mPnw== X-Gm-Message-State: AOAM532jz7RWXs8Gkt6+h5rQO1mcVZmgjZTDUcyiI91MoLqhcwybPa7K 671x79W+VYCay335Nqv2JxI= X-Google-Smtp-Source: ABdhPJzeNWcNe/DSLtlxCZTTRGlJKGNv+pY57/wb/eQkxlBYLP1DMdFcTOG1j9nFeJeR2v4euaEbvA== X-Received: by 2002:a6b:7b03:0:b0:648:40c7:309d with SMTP id l3-20020a6b7b03000000b0064840c7309dmr33671iop.15.1648042835788; Wed, 23 Mar 2022 06:40:35 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:3c99:2d92:f93d:dc94]) by smtp.gmail.com with ESMTPSA id y6-20020a056e02174600b002c7f247b3a7sm35253ill.54.2022.03.23.06.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 06:40:35 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: imx8mn: Enable HS400-ES Date: Wed, 23 Mar 2022 08:40:18 -0500 Message-Id: <20220323134019.3796178-2-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220323134019.3796178-1-aford173@gmail.com> References: <20220323134019.3796178-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The SDHC controller in the imx8mn has the same controller as the imx8mm which supports HS400-ES. Change the compatible fallback to imx8mm to enable it. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 99f0f5026674..959285c3fee0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -933,7 +933,7 @@ mu: mailbox@30aa0000 { }; usdhc1: mmc@30b40000 { - compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mn-usdhc", "fsl,imx8mm-usdhc"; reg = <0x30b40000 0x10000>; interrupts = ; clocks = <&clk IMX8MN_CLK_IPG_ROOT>, @@ -947,7 +947,7 @@ usdhc1: mmc@30b40000 { }; usdhc2: mmc@30b50000 { - compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mn-usdhc", "fsl,imx8mm-usdhc"; reg = <0x30b50000 0x10000>; interrupts = ; clocks = <&clk IMX8MN_CLK_IPG_ROOT>, @@ -961,7 +961,7 @@ usdhc2: mmc@30b50000 { }; usdhc3: mmc@30b60000 { - compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mn-usdhc", "fsl,imx8mm-usdhc"; reg = <0x30b60000 0x10000>; interrupts = ; clocks = <&clk IMX8MN_CLK_IPG_ROOT>, From patchwork Wed Mar 23 13:40:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12789768 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 E8C39C43217 for ; Wed, 23 Mar 2022 13:40:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244394AbiCWNmM (ORCPT ); Wed, 23 Mar 2022 09:42:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236660AbiCWNmI (ORCPT ); Wed, 23 Mar 2022 09:42:08 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58C9A7D037; Wed, 23 Mar 2022 06:40:38 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id h63so1669371iof.12; Wed, 23 Mar 2022 06:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GQySUKGIltsbUwKlkT+gfNkYaO0VnnadkZePMUtAOnM=; b=Xab3EQk0AiiE+ZzfpqOlkCBxpLAANEfxFck8rV/+z7Nn89nxokbnh27DOb8Heicc1n KdteK4KTex1wzhST2nP6xZJ5BQSYGJYxkZKnWY4zorTD6MBO7HVnkqe06D+oND5LjtMA 0JilncoaQO3DP9Y0IuYaqz9uGNj+LPIe8gLY870rOxY0p0gl5MMhpEu93vU+yZs+4ZJo FiVmTA+Nde8iS1NZBMxMJcMhn8KMCW2ZKzRXRc7TP65Aki+HMDbrH4d07tOW1LGrzW8v hs/ZwpNtJm7qcb+R7ROuHIuU8sTG0yhUwuvIgLv6xIquanYMi5GxaP2+KgiYt0eZf9Es Pa7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GQySUKGIltsbUwKlkT+gfNkYaO0VnnadkZePMUtAOnM=; b=Be9OAbxUJJlVsVpuNaXEONQQxO5kLXIWV0cHAFjh6rPBzSWvcURXGd1r8ehDsFdqeX JK9CjcddSCUlBfCoUTnFWp9XPZdZdfk50KzupTd1n2EjBaqRvgYUA/jibPpYFyIToAuL kuSM/aKCjb3YuVrAr/UWLH/088Ash6i6Q75D9yeBkNZHkwe90YuvR1SHUeGHFDydFWMz StVyJd9isVqZVzcjBcd2yUhd5nS9l0euJZPKKvQHe9rrYiloEDtoWCWWwVwouv+X4FG7 O6o1oy8B32ZqP9MuV/tYLBLuXDe0eG65cqljGHdXe7Hdrw+wETUZO28vFzFZOw2fPoad sOCw== X-Gm-Message-State: AOAM531y8obGyxTRK2JmXpH7mjyYUndbDqENMGMXLFxs808j7JrI1EJw cTlERN1qBnITicNQFZ2kCmQ= X-Google-Smtp-Source: ABdhPJxP+bKnJz0eHLW1UowR6ozFmv5/SYa3VZ4zAH003deMZidQ/UF5f9v7UWjo96rvT5kia5VGIw== X-Received: by 2002:a6b:8bd7:0:b0:646:2804:5c73 with SMTP id n206-20020a6b8bd7000000b0064628045c73mr42297iod.112.1648042837385; Wed, 23 Mar 2022 06:40:37 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:3c99:2d92:f93d:dc94]) by smtp.gmail.com with ESMTPSA id y6-20020a056e02174600b002c7f247b3a7sm35253ill.54.2022.03.23.06.40.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 06:40:36 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: imx8mp: Enable HS400-ES Date: Wed, 23 Mar 2022 08:40:19 -0500 Message-Id: <20220323134019.3796178-3-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220323134019.3796178-1-aford173@gmail.com> References: <20220323134019.3796178-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The SDHC controller in the imx8mp has the same controller as the imx8mm which supports HS400-ES. Change the compatible fallback to imx8mm to enable it. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 794d75173cf5..d5ee1520f1fe 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -769,7 +769,7 @@ i2c6: i2c@30ae0000 { }; usdhc1: mmc@30b40000 { - compatible = "fsl,imx8mp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mp-usdhc", "fsl,imx8mm-usdhc"; reg = <0x30b40000 0x10000>; interrupts = ; clocks = <&clk IMX8MP_CLK_DUMMY>, @@ -783,7 +783,7 @@ usdhc1: mmc@30b40000 { }; usdhc2: mmc@30b50000 { - compatible = "fsl,imx8mp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mp-usdhc", "fsl,imx8mm-usdhc"; reg = <0x30b50000 0x10000>; interrupts = ; clocks = <&clk IMX8MP_CLK_DUMMY>, @@ -797,7 +797,7 @@ usdhc2: mmc@30b50000 { }; usdhc3: mmc@30b60000 { - compatible = "fsl,imx8mp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mp-usdhc", "fsl,imx8mm-usdhc"; reg = <0x30b60000 0x10000>; interrupts = ; clocks = <&clk IMX8MP_CLK_DUMMY>,