From patchwork Sun Mar 27 12:38:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12792815 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 A189AC433F5 for ; Sun, 27 Mar 2022 12:40:44 +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=KBjKNrEXoROkVyJXtDimgA5hp4IH/CMRji10zrSs0ZM=; b=tTMTwKR1bk5V2n zYKz45rp8ozadUp4ghWY/b7/bxA/9rJEkp4U7OAeVRtLR6xRaRSqRtxVQSfeuhDzUnCjfXCWQE0ei 0QLA6F9jlIoUTCn2WDROUE2SADhgJu7ZuG0Pf0sj27a9BjG+Ic6y8d9hJ72Y0lJCzwrKXMzfjkkwT e+WpRQm5W3w/mT6cGBDuSy3SWEDQYV9TzNKndyvHLjwBtJRh8P0JohFCVgvWHjMLQCrRQ+/dKG83b 7bZynb6kCPX0z3HboOvKaf2i9m+sWAftzA1/EXyJ2ZL4mOAqqj8KmMYcY9EuY96GdtoXwq1Lwey6r jgduSxocwEjqIrTXFS3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSAz-005WYz-P1; Sun, 27 Mar 2022 12:39:21 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSAw-005WXn-Aq for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2022 12:39:19 +0000 Received: by mail-il1-x12e.google.com with SMTP id x9so8160505ilc.3 for ; Sun, 27 Mar 2022 05:39:17 -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=mK+dixa0LoEPtfSZUPyenmhOFOLQVwPd2apmwWfFfKk=; b=Cxc7UtWsWbPr0EBSFHG/IsAtFw218VBBnQUsXTeD8TC1O3/IQwAgLSAnhIKh8kiKD+ 8O87BfuhWAWrv9wbYS905+MbxHmX0MjQJ8S9nHQux66MYNNQFE6LzVDEPjVAlhpHREgx LPzhHdMZwLreadrR/Ou64OmJuu2UgmzWiO2jTRJpgl8PNdvir4kQPmkAtFlkwEA9y1zy Hd1re5B5QP/Fis5oTFZpc4qfX6e5+S0rhed8AX2g0UK+iVa4kIrdsuVrq3Cby+prjNYj L+bKvysgtw9LuL15b5k2mwYu3mRsxjC6aFk+ikTfIO9zZ3pTNA/AgoPEnablN36BWs1Y 2RWg== 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=mK+dixa0LoEPtfSZUPyenmhOFOLQVwPd2apmwWfFfKk=; b=eplhtzkDfnD3o9joouN8tTHy0YRo1jckLC1U7ulSvDoaUIub4ATAS1oCh4I6BjLK1M Nlz7f9QHIq7samKiElu5mNIIyFqqsXgEISO/3cZcEvebdRo7p/8F5ZxLl3tNBuNXrLLC XnR1oh34CGTHPUbyt+bwU1GpAh5Lf/FYgHxmQhKJ5UwVu0CF/WIxFHk32UpGf/ezZ1r0 SRDsn2mpvoNo/knPtb9uPw+A42vlfO1vG57Y3+2g8UNyKi1rJLINByoN92pEPMflNZ4t j9k7VcIEewijiUIX3F+NKWCRleVTstaODPQmz07WzdZjcH3JhMY2gzy2q3+VcotT9OmQ Av3g== X-Gm-Message-State: AOAM5338hWiXrFDK8/GFYAGxFxNluhw/f2iiL/Kz/V/Bz6AGJ0OucAOW m8tCVFYuFu/L84YxV6NcMkE= X-Google-Smtp-Source: ABdhPJxucE0TY7Eko2gCyimMqt3jAoPXXrivt7GCnIyK8+KMY9Hs0ZZ1RQapuajVqIx3CVVscwBhmA== X-Received: by 2002:a05:6e02:12c6:b0:2c8:5969:104a with SMTP id i6-20020a056e0212c600b002c85969104amr3180676ilm.73.1648384756584; Sun, 27 Mar 2022 05:39:16 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:7073:b368:2f66:5e36]) by smtp.gmail.com with ESMTPSA id t7-20020a5e9907000000b00649d6bd1ec5sm6134534ioj.31.2022.03.27.05.39.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 05:39:15 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: haibo.chen@nxp.com, aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: mmc: imx-esdhc: Update compatible fallbacks Date: Sun, 27 Mar 2022 07:38:30 -0500 Message-Id: <20220327123835.28329-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220327_053918_397943_E25604F0 X-CRM114-Status: GOOD ( 12.97 ) 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 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. After discussion with NXP, it turns out that the imx8qm should fall back to the imx8qxp, because those have some additional flags not present in the imx8mm. Suggested-by: haibo.chen@nxp.com Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski --- V2: Added suggested-by note and imx8qxp updates. --- .../devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 7dbbcae9485c..1427e9b5a6ec 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -34,23 +34,25 @@ properties: - fsl,imx6ull-usdhc - fsl,imx7d-usdhc - fsl,imx7ulp-usdhc + - fsl,imx8mm-usdhc + - fsl,imx8qxp-usdhc - fsl,imxrt1050-usdhc - nxp,s32g2-usdhc - 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,imx93-usdhc + - fsl,imx8mn-usdhc + - fsl,imx8mp-usdhc - fsl,imx8ulp-usdhc + - fsl,imx93-usdhc - const: fsl,imx8mm-usdhc - + - items: + - enum: + - fsl,imx8qm-usdhc + - const: fsl,imx8qxp-usdhc reg: maxItems: 1 From patchwork Sun Mar 27 12:38:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12792816 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 DBFB4C433EF for ; Sun, 27 Mar 2022 12:40:45 +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=o4foAVwYCM79Fv8yQw6tptMnJkK8TuwEa1y45yHjSIA=; b=JRW01AgUujh2n9 sBh9WvGogyiJ6lbN/qhrf4x2e1bFalLjqaKTgtJUgt0Rh+cIONeuFqI+z+iJ3IF4ZRgwgyEH38j5Y CLlAd9P4iO1xwl+dRZRTnu8PbKk3qSLj8UrrG34D9IZA3/Strzi2yQUj1CP7o4fOxvK8CihsPUHUZ a+H1JnkiD8fOunrn+hXFY1BX+R8Fdc5P/GGwvtCwFdAY1Wxo8trWxKVtCCpOCbG8NrWh+LPne3Qy9 pGjeKS5zDi0tW58Ong86ruGNDsvpJT4+AgUeqQUicMRh19pSuOs/8OaBByZLowK6DKeOon5b8ZOVg ZRXNsAky9l6Wa8+Mv9Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSB9-005WcU-JA; Sun, 27 Mar 2022 12:39:31 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSAx-005WYS-Cb for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2022 12:39:20 +0000 Received: by mail-il1-x12e.google.com with SMTP id b9so8143459ila.8 for ; Sun, 27 Mar 2022 05:39:19 -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=L4YCgujv27+woyfX0FEzZgY70JuHa3urHBxFeIijA2o=; b=Vl9OvyTBcamMB+DBnmsjvio3b1Q1L0IOI47z9vKDe7Cx2sPI8kdMJeVgCYcLWVvZol uUk7niO3ula5zUxe3u0pyvTwVMmgQoA+LyFoqgBno5ZonHAv6JkrtEkgionyqklvjbKz VsI9EDekcfUmJ/UtaCCshDtBlBxn1o77KTf0pgoegd5tdWxgZ7aHcB8jCGy+g6QOD6MA nb13Q7Tr0vSUWTyw5zydjvLHXKJ0+QAIYHeJwsn5eJJQOA1Rtm/FcY+s+xpqX/s3MK+x ro+68Bc1qdfIpPvsKe4N7lnFxDjiUcb6vLMhafy0cnK2VSX5qpCt0XDWlOQ74+OId5+y JBFw== 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=L4YCgujv27+woyfX0FEzZgY70JuHa3urHBxFeIijA2o=; b=iKtFsYMxEj4Oprly46spqA84/k3IZatn+LrhslsyiI4bTfUqC+XcNCJsCV0wBsbAYN fqOsCKkURssTBKoxzWVpfjNFful3j7Q42uTHuzXV6EQrx3tVTPm8MYKPJWK8VYKTut3N o1D2pKqSZgoi6vxmyrSI8diSe41rutM4bzxjaBwY7d2gklgchuSJLr9w2WqqdAwRmLql XXlOpXUHYG87fQ9h9uCa4Kuqzms9mWOoz3yQQPF5rNfFYToMqoGpFhQAHoIbnP5gl3X+ NgvzX5jTaLwxtq/FPG15ivHWrkc0669gqK6cEERvFkkJ+RJ/PXmsQrDaWxI36u0Kdgra eysQ== X-Gm-Message-State: AOAM530zqGeQCy3aytufXsLoWpONsWBtYV4Qm//qPgcrut3jkDoVKXQD 0gtaUn4NpTx6HM0BasiqODY= X-Google-Smtp-Source: ABdhPJyWZn2Fl0JCU6vjMYac2Vo5YOOmyLLN/6PEU/jRVxmEe89gaAT6y7GwciQB+PUlcdlPa5aNeQ== X-Received: by 2002:a05:6e02:19cc:b0:2c2:82ad:7c92 with SMTP id r12-20020a056e0219cc00b002c282ad7c92mr3263154ill.258.1648384758777; Sun, 27 Mar 2022 05:39:18 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:7073:b368:2f66:5e36]) by smtp.gmail.com with ESMTPSA id t7-20020a5e9907000000b00649d6bd1ec5sm6134534ioj.31.2022.03.27.05.39.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 05:39:18 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: haibo.chen@nxp.com, aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] arm64: dts: imx8mn: Enable HS400-ES Date: Sun, 27 Mar 2022 07:38:31 -0500 Message-Id: <20220327123835.28329-2-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220327123835.28329-1-aford173@gmail.com> References: <20220327123835.28329-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220327_053919_450283_7EDA128B X-CRM114-Status: GOOD ( 12.61 ) 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 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 --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 Sun Mar 27 12:38:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12792817 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 E6378C433F5 for ; Sun, 27 Mar 2022 12:40:49 +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=33t8OrJaWjDUjzYRgHP7i+54cKs0vV9ufxjZYs6/6J0=; b=qw3PlgzQslgWHV yB2ciIRUqgDjPqtzkMnESe12yWgiFpRxpqUFB+/kTp4ee6p4plznJ6rwY/czHLcYHS7q7TwPsM31U dph/6gb8H/uPAgwpt04HlFLfE3tflr3Wblstsa3fso2RpqFM+WFZxNDSICRlgUYi3SOE4Ju0MVvrV wJNbwirCAMFgPyOHszGyD2/8DlIDiDQssIXc2vBYJ5YMzXMq6z/OScrRXGEr19RLBSr4yexxi91am IXXMddttEDc0lkJTyN6PfssZL9CACpUIJnRcr9m7A6ikLiGqA5XFq9yilBRQegHJAQ1YGsbB+6U3J mM+mZWdnr/sjZs9efCbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSBJ-005Wg5-Ig; Sun, 27 Mar 2022 12:39:41 +0000 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSAz-005WYy-Lh for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2022 12:39:22 +0000 Received: by mail-io1-xd2b.google.com with SMTP id 125so13994311iov.10 for ; Sun, 27 Mar 2022 05:39:21 -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=K59qz1G2zKVvVRHr2vVCcwY/6us/MZyOmmgWHFWOKtE=; b=QbhmwVwkxWaKmxIFmg8ktSCUDcEJAfI6obT/CfofXbF8/YfPHUmD0hrILEdjTMl5pa /ixczP59Q45H0x1O5olB0Pop/q8oml5l/u4wGvz/k3kR+4V1Tc0jQsibBty/+rZVS3Zu GvKZ2wXJyQ/+tTcP5n3rnnSQJHFPC0EnA2L43AlJR4lBud+nCseacVC3fFKHtmpT6IDM EYC9rif9ZjDK+0sK72Zk5vL02Bq14sWeARWdQxZyxBtr7o1HCVFqNHmoYr2iRel5UE2K W9UFeZQgRGbkvwJQLSJ6lrbekNlOKwjXWi13aH0Qx7tGowpMd+3S9c0tGx5hpkJjSpdk BL8g== 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=K59qz1G2zKVvVRHr2vVCcwY/6us/MZyOmmgWHFWOKtE=; b=YWDAk08LLYRFPJmJ4VRTXyFQ7st5sI4KF+BArj4HpT/Kife6VZQWj7+cjLtf9px9yV DAcHav5qSiTSus66NomqW2VUXZGlhzDxo/Tk8slDkHPImxYBKc7YZUfDGWAsuHeHLIHv Fmnb0b/DbdxUby3lVmTvfaOjfl/sKkytch1FYUYf8WaD/eFQV5R7BVHJD1Dao57M462H E50sNecVcybwtbXWJGjSb2zOE8wm4YvC5Srvnv6W+yNVVM6rjxjtRc87l6vyHMtzmr6W N3pgrB50sZVp24BxvwDopVIEEcJfi8Y/Y/ygMQ5OW2SWn/9rcbXLjsNhPiICPsYuujrD 9U2g== X-Gm-Message-State: AOAM531kicdxFNxCmyc4CbChgowa2wE2zXhy00KS8IHaq6h3cTCeTs41 w9rX9ZYpxmIeSOXnoFrBI+c= X-Google-Smtp-Source: ABdhPJw9+L+Qv1shPiCtCjTb8zGBkRjbKxf06+lFS0kJCnQMnE/mil0W9J+A5cCPpBQST3JuKvoJ6Q== X-Received: by 2002:a5d:9955:0:b0:63d:a8e7:538d with SMTP id v21-20020a5d9955000000b0063da8e7538dmr3928050ios.207.1648384760591; Sun, 27 Mar 2022 05:39:20 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:7073:b368:2f66:5e36]) by smtp.gmail.com with ESMTPSA id t7-20020a5e9907000000b00649d6bd1ec5sm6134534ioj.31.2022.03.27.05.39.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 05:39:20 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: haibo.chen@nxp.com, aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: imx8mp: Enable HS400-ES Date: Sun, 27 Mar 2022 07:38:32 -0500 Message-Id: <20220327123835.28329-3-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220327123835.28329-1-aford173@gmail.com> References: <20220327123835.28329-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220327_053921_739371_D1958630 X-CRM114-Status: GOOD ( 12.72 ) 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 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 --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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>, From patchwork Sun Mar 27 12:38:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12792818 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 21B52C433EF for ; Sun, 27 Mar 2022 12:41:00 +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=rmn7ixIocivGvcVFMOMT2th4ERyQJxfQvrDwZtu2osQ=; b=YLMF6yT+Sk+ZcP mcmyJR3Da2gz94iJtRaD7ENHqSpwJh7DYd93E7pEDyq7F1cnqOYpX8uLKnGg0XVPPd0gO690EtA87 iwGVNpurBs3lLLJB/MAI/blCoGndI7jfJ1SrpstUTLqh3gjvSdEWajA+oDv88m8hvhrO5FcFcFB7x Gx9LEeXMejG15bUM06cXXBcw4DzKSL9t1KOJARW/s4EfLHSCbki13DvSWOQUmnvD/0S3vZQZoPHr5 hfFYDBq20N9b3hZAqbigxBBHVJH3BpjkgY7G5rS3VLeYI/MvRVfFPSNX+SBLUhY0643ISIG57bzHg E23uWSXTcIl+VvK4toCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSBT-005Wi8-Fg; Sun, 27 Mar 2022 12:39:51 +0000 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSB1-005WZV-E5 for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2022 12:39:24 +0000 Received: by mail-il1-x12f.google.com with SMTP id y7so8152223ilv.6 for ; Sun, 27 Mar 2022 05:39:23 -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=Db2FgafGdIhiWGFMVMPKe9KlxkIGLYfI01dwnul3AK8=; b=UQn1hkvuN4yYBZysacrXMzgOjFCbxMf2DfmKbgjl5Rg8v4ybdjp/JZCc+fvt8GjvyZ 2vHpbG98OiAAVlGkI3UVwaPBnos7OCeEkPWT51fZA8yRcBmhjfzFXol3md3KSTU2xEqo Lj/i/uiPIXKsZTDOsZTK+w0XIFJovcf4MoFn7ESzsm0+sA0s+YqHnY7NX0xTIv0tMOvJ TQcJjJFzNrFU0GiNW4T3/wS2YFR5oEajuCQ6B1mzwxKZFYA2go6fnSqZLF+1s8GcpK6p 1aCOO/qVyUtEag/KFUF2ufErJTUdg+gYJdN3T6Twmp/z0WAn0QYnvwixPE7ddEiT86aJ +Szw== 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=Db2FgafGdIhiWGFMVMPKe9KlxkIGLYfI01dwnul3AK8=; b=TQxYbHh4yR1BfQnf2xfKM+7du5jD3eKuTGaHjhx25o+yUYWOBFuqABDsBc5rdqgXxr 9RPYFPlLnTeWiw0vQUfFrz/M6Yuq0MRPUCq4/MW0Mx3hqS6YUg5SiwwEDLvJGJnqcFXb 5KjZ/F3rndobOwO977SWPa5n7Wo1l/FdQMdwnK0cQaujwvJ2KkxArqI80AfHrXCO5Bv9 SuU1GBy68rR7bcyls64/Mo3tlAPWSowX5qHS3C1ZVmypwibp4tI2n4qGxIktoMgo7OsW BNqjI6DbzSqhf6Xo3ww+qw1uW4Z/hq/LcBr2zjQotLkqEhERxtzhOZAus+XwZqco9Db0 HpvQ== X-Gm-Message-State: AOAM532XB01WhVlwj/YNiL2pila76FUsCbd1hp9hF/UH6tD2Ah0NMayL 1U5Dapt6edQ9Nan1RJyMZmE= X-Google-Smtp-Source: ABdhPJybUAAqFZNNiE14C9c+Svi9NSPW079QGvVzWsq5MFjow7kiB4/68j70romv42SMobrvWhgoqA== X-Received: by 2002:a05:6e02:783:b0:2c8:4fe9:5e74 with SMTP id q3-20020a056e02078300b002c84fe95e74mr3511131ils.148.1648384762446; Sun, 27 Mar 2022 05:39:22 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:7073:b368:2f66:5e36]) by smtp.gmail.com with ESMTPSA id t7-20020a5e9907000000b00649d6bd1ec5sm6134534ioj.31.2022.03.27.05.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 05:39:21 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: haibo.chen@nxp.com, aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: imx8qxp: Remove imx7d-usdhc compatible fallback Date: Sun, 27 Mar 2022 07:38:33 -0500 Message-Id: <20220327123835.28329-4-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220327123835.28329-1-aford173@gmail.com> References: <20220327123835.28329-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220327_053923_507729_B5364172 X-CRM114-Status: GOOD ( 13.27 ) 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 Since the compatible flag for fsl,imx8qxp-usdhc directly matches in the driver, there is no need to fall back on the imx7d-usdhc. Signed-off-by: Adam Ford --- V2: New to series --- arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi index 46da21af3702..75fc951bca25 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi @@ -5,15 +5,15 @@ */ &usdhc1 { - compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8qxp-usdhc"; }; &usdhc2 { - compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8qxp-usdhc"; }; &usdhc3 { - compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8qxp-usdhc"; }; &fec1 { From patchwork Sun Mar 27 12:38:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12792819 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 2CE39C433EF for ; Sun, 27 Mar 2022 12:41:15 +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=MwnKVEgBKN1CyHMJLcMtih6tvhN80s6eENT255LZrOI=; b=2cz1H1oADBcIcQ KmuPXg7QZa61nEitCrjzFNU/Tz7YxtVS/BSP+RcBWHnHzZlWRjHAWMDcJs2EKE1K0Nv6AO7ImJUEv swZSev9+ysq5K04PX1KbbshuZcRD5DAgfFqt0jRQNeWf1/9EtCnvOp5xNwSfYxal67Klb94/Ld47a p0zk3y27ueKFcgHntvlnsTItBstIC1HnBjAFFBBt3TukBohALN3FK/Dt16nD1tJb84wGMyvXTV6gH wpkYkc0XFMe69ChvDedcGbnYm3vBTkEHBiEU/y5eHfvYmGvnIZwPlE06vlK6sBM/r9zt2I8ojbhpB expb5bJPTEGlll4qVOPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSBd-005WkI-Uv; Sun, 27 Mar 2022 12:40:02 +0000 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYSB3-005Wa6-9Q for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2022 12:39:26 +0000 Received: by mail-il1-x12a.google.com with SMTP id e9so8138913ilu.9 for ; Sun, 27 Mar 2022 05:39:24 -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=EOKyTZ0MHbuBrMLYUwj/DaXVPHkzGJ/MdORrc27Sp4c=; b=G5i5dsVJBuclAECK6fgs5/2d9WmYJx2BhGGIPWUdWLsVVXQIUKirMMxg0MhIUNRxxT WpPRZP5HwlQf2XnpiaGMSsetyB+pG78KbdYjUjvRW4GRfIVV1DAvM+wcAGfRoUyfLGIx 7nPKbXhOWLk4lmNGrai0T3iDwldkU6T+PetftsM4zkU/kMUbKWb0J9wDUEtXlM4agmf4 c5jgLEoJhQ4Z0ZpBNbYuXhzQTBE3joBdupHFUJQDxzCTwnsHJGZYJ9zx5tn2zYgYouP+ EjyGBSurMuzkaxAWdfs89H4zVjr7/CJXiqoRcoG6Jyj2MFlvzSB7zXubkxHsvypQm6dr FDOA== 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=EOKyTZ0MHbuBrMLYUwj/DaXVPHkzGJ/MdORrc27Sp4c=; b=rRIipS3ZYJietYBWMzCrjHfWWSO304gdE7cPn8Cd4I3d5ud4dKxccnnoaTzoeG4lsL jKt+lzjnVJJ927GwezoYC/KXNXsFVihvV87ufqZZU0UBhsaZ6vnqOr1F3K9T6RipoCSY xvvmzcKznFZ3XWKSuBPTiOLMudTpkmBMpORXJrny+NFCVTOHKpUqlpYb5EoYTX2BBNvo AN3ihTJ7FxnjLpVXZPdcGy3UtVRIUsBlLKsc402W9s0S4IZj41tOzf2U4uYO8+nfQbKg jyOEStWD3G2502V2QByH+O6y05FO7Fumbjw8Jsm5XgkIi/c9olXsRwMDcGHplyXl7iKJ PS1w== X-Gm-Message-State: AOAM532k0Jzfa8yDkZgoyBvCErunB63awY8VkbNuq71Fcea9zll/A3AF 4p5tTvi445caVqhYnFBA5hg= X-Google-Smtp-Source: ABdhPJwOgGfZHeF+KeTKAyl5nYTr1kYDkrcxKObLP5Bwz9aT13RyU1bcdXcbD+8aVKW8ijwe+VL2IA== X-Received: by 2002:a92:cd85:0:b0:2c7:f152:7161 with SMTP id r5-20020a92cd85000000b002c7f1527161mr3380794ilb.265.1648384764282; Sun, 27 Mar 2022 05:39:24 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:7073:b368:2f66:5e36]) by smtp.gmail.com with ESMTPSA id t7-20020a5e9907000000b00649d6bd1ec5sm6134534ioj.31.2022.03.27.05.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 05:39:23 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: haibo.chen@nxp.com, aford@beaconembedded.com, Adam Ford , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: imx8qm: Remove fsl, imx7d-usdhc compatible fallback Date: Sun, 27 Mar 2022 07:38:34 -0500 Message-Id: <20220327123835.28329-5-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220327123835.28329-1-aford173@gmail.com> References: <20220327123835.28329-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220327_053925_390096_8E855F29 X-CRM114-Status: GOOD ( 12.09 ) 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 The correct fallback for the imx8qm should only be fsl,imx8qxp-usdhc because fsl,imx8qxp-usdhc is a superset which contains additional flags not present in fsl,imx7d-usdhc. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi index ec1639174e2e..336f0ea7e7b5 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi @@ -13,13 +13,13 @@ &fec2 { }; &usdhc1 { - compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc"; }; &usdhc2 { - compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc"; }; &usdhc3 { - compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc"; };