From patchwork Sun Apr 10 19:35:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12808245 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 19C2EC433F5 for ; Sun, 10 Apr 2022 19:37:25 +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=b0fu532IFcXh4Iotn3QwVHqWKLw1LyABy0hE0jH0OUk=; b=pZskp9UvrIgpwT 6eAr7kOns36cmglm/nZIrp8AnVNXWTwniODkI+XL8K6Rg02PPS3C8fGsWPV7tfnxC5+Y7S++zEK2f aiMTAwoRxweWx+rL+SK10A4flJH6334QihsdrH0m9/xSn2/c8AW40vhmOvf5v+ymp6oSxXALZkl4M NTsIPUNZf8SNUC79SmYbYne9Rgz3kekem3sH5u5mqOADT3CA3U/9hs8+a1rUQHLaM+3pb+Lg9TpU+ br5itguhJIvZDrVhZFxahwOyTcgJ8PT9pwb2AV+dA6Vg4Z8ztARllBGa9nnKoWBcYOMTi9dpBNMGR lZTt8q98iKJlHL6d55UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nddM1-005MZa-IK; Sun, 10 Apr 2022 19:36:09 +0000 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nddLr-005MWb-Pv for linux-arm-kernel@lists.infradead.org; Sun, 10 Apr 2022 19:36:01 +0000 Received: by mail-io1-xd2e.google.com with SMTP id r2so16413928iod.9 for ; Sun, 10 Apr 2022 12:35:58 -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=+80NmnoxSiKUBJ9sZPBxOdWSJwSuD1484dBqAZ+IV/k=; b=jPpM24NiXXpeaMcG15L6VwN9JJHGgB7Y7BVPOvW9j1H8kGwb5HJLoAyZtPiHyko/DR GmT2D5njYRzIGZ7mm4NwVNj9H3ZGf9qtW4ePQQPtAyzRRDvRO67MNAzsOaBJQe/RsaBT BBTs/sCINlnXN76RXFx6WeW2XG0IOhJ+KukjjDyiOAL3hsAvofWIngf5wI5Lbsiout/3 N9AX8pouTfBL9j5sefV6A4zdEgt6qpcKWa3iRECAWIE++hSZUAktDdh2ZbZOjQTtuPeP OAOZu1z0gkEyprs6w7UUOatHJ0iy0Um5bRWr3vCaIIL5p9AN6pNUonBQV/Syj58zYFfp Ugbw== 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=+80NmnoxSiKUBJ9sZPBxOdWSJwSuD1484dBqAZ+IV/k=; b=RfBAvFGCzzFk0Lho6Bna1YNWP+kDBpQJOAhJw0VA2QlmMzMBES8l0yKfKVaYBY/0Sm x/VhPr1QE3xETkMS2c5byWrvnHbYJjb/Bt5/juIusIqlQFwOKWYx7nBuDcnz4Hp52Ip8 4U21iKBLi8DWck2CuoLsElTUmVhG38AfGaE/JANQRnWNy6DuulMaglSCC+MekS6yLMsL 4tzl5rBMCXubiNzIiubPutfoIY4zIjag9Ou3OKCqbvgqhxWwjnTnVTEn+xTH9cCQuRlo L8B3oKwp5zscbmgNtM6h2mkS4NKuP3l48uGHyG8pKsCwZso4bJZLrXPSmxF6JSl0r1MK /Rhg== X-Gm-Message-State: AOAM532ThP4/sKe+3WGmRMr1cwhBbvZrOxFmLi95yu78IxzkKtdraT5c s9MxnpseLACRmLvvghIEJGo= X-Google-Smtp-Source: ABdhPJx5T0mO7NTeAYUHEz7JUdoiRpWnuaK1nmYmVishki1RLaX4oXJQ+opjZ6Rqtz0851OHnlflDA== X-Received: by 2002:a05:6602:1648:b0:647:9f39:1272 with SMTP id y8-20020a056602164800b006479f391272mr11425002iow.146.1649619358264; Sun, 10 Apr 2022 12:35:58 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:1e67:6f3b:4d7f:4f90]) by smtp.gmail.com with ESMTPSA id m6-20020a923f06000000b002ca74f4fab2sm7218409ila.14.2022.04.10.12.35.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 12:35:57 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.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 , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V4 2/3] arm64: dts: imx8mn: Enable HS400-ES Date: Sun, 10 Apr 2022 14:35:42 -0500 Message-Id: <20220410193544.1745684-2-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220410193544.1745684-1-aford173@gmail.com> References: <20220410193544.1745684-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220410_123559_878664_CC60538C X-CRM114-Status: UNSURE ( 9.43 ) 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 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, but keep the imx7d-usdhc to prevent breaking backwards compatibility. Signed-off-by: Adam Ford Acked-by: Krzysztof Kozlowski --- V4: No Change V3: No change V2: Keep fallback to fsl,imx7d-usdhc to prevent breakage diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 99f0f5026674..13c51363cc06 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", "fsl,imx7d-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", "fsl,imx7d-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", "fsl,imx7d-usdhc"; reg = <0x30b60000 0x10000>; interrupts = ; clocks = <&clk IMX8MN_CLK_IPG_ROOT>,