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: 3841 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1696015wrs; Mon, 17 Oct 2022 16:58:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4VFBExZPUpLs9fYBjlFqPYFyk16t1fcQGB+isH+sRQqXfvMFmeMdsBDrzwm+bX/mxlc38V X-Received: by 2002:a17:907:708:b0:77e:ff47:34b1 with SMTP id xb8-20020a170907070800b0077eff4734b1mr149535ejb.493.1666051134069; Mon, 17 Oct 2022 16:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666051134; cv=none; d=google.com; s=arc-20160816; b=WKqrthOCth6Darjq8JETnzlrAurXBZnj7aMbZupx0t78fe+3q6c/4kCS67Asnm09hx xoAzcY6iyeQ4H6h1zHisxorvlq5tV5EaiAeccUygZ//Uf028YyeIgqTfzrzZ4ESLjCw6 hpGZaMq6XmKHDbcsoRDlz0ztqcLICb5cMjvup+QeDmL2UGmesJZ4ZF9XOzEow6CTOZUW MgjSzbhKRG5HhyYGEsl5HvoS9iq1CX0pYbNaegwb0/9vHz/yT+x8T3mvbI+p7Y0Q9A1m EKGQtI66n2KF9lccxf+wPzO4sainkCOxDjXMBJrc+gMbH2U7jjdlZVUVdPYHT6+bPhsy xlIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=u8ZiXf0pdsgnGiKSznuqKy4k/Dd6qd4M+Pa+yMdLF+8=; b=wPiCdYRNBlFZ3YG6VkkgGJ23IjCAKr8VRHgsSqPxzEx6x2XzOQA7wpcvHTAw/u3O3h BOGEbZ4KOspMCJqZ6Ue6wy6h00SWaPbNVatTKdUEMQkz854vURlBiDBHnOdnsGAxM+rt AWh6P4qdd3bxO100FwTB6g0HTG5huzQ2/rFU/HlpmyWPkJQhxlOiPdRufOvi0WTwow/B GGAtzOJtM/F7NC2zhKLqWvFVnrBVWXO8IIyBqVkP9R+hpORiANL/p4YJ3JetK45d3Lir Jci3L0cEFj1ihLd4AVERO8OZFluEhBNwerylOAusKOVrDehbzJq1VkYaLfaDxChusdfv 4i0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=bLivJUDK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a05640227d100b0045d5e3c7f44si7309032ede.180.2022.10.17.16.58.28; Mon, 17 Oct 2022 16:58:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=bLivJUDK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231207AbiJQX4c (ORCPT + 99 others); Mon, 17 Oct 2022 19:56:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230258AbiJQX4W (ORCPT ); Mon, 17 Oct 2022 19:56:22 -0400 Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2806B7E00D 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= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746981233836345191?= X-GMAIL-MSGID: =?utf-8?q?1746981233836345191?= 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 = {