Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4782244pxb; Tue, 2 Nov 2021 16:00:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiod4iGyAHgtAh06TDjJZJL+TUiJMqiAo+QKt6l+lLwTOvxv95xJbIXn6McSRchz1155OR X-Received: by 2002:a05:6638:d4d:: with SMTP id d13mr9342150jak.53.1635893999959; Tue, 02 Nov 2021 15:59:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635893999; cv=none; d=google.com; s=arc-20160816; b=F0oX87g/FJDtumM+lEjSsHywf5F7F91zjlLGsOjhsEn77xJEf3DyurITWwehIK0Y0K 7OpXJZk6uSNMKZGzvjM4mzHd83BHqNLANPJ3DCRhhBChEIlxFkN7kfouMiFXv73W0uyE /8PD40+KbTTSfr3VxdysGZiwykyfcWR0vrGdvq4RTcCpBNRmgsb1R7cQzR9QWdRd/Okp 8Yrq7kvpjp7RvgigAMCfkwdP6kUtkaHD/U1OOYhmCRu0IJl7FXrROWqXpmpZrpTNWrpr 1K9hpe8Vr34Qb5jjubgo1YLiaXtRKK+5EVK5jHm8Pa3jrfN1pFYlfPfF8psd9kb4FXfl jI8Q== 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=6IuAL4Jlzfho0dMKI6upYj8AX7/wi6KQMfdg/5Bl22U=; b=j0GtGZMhEmfG4o/A0ZZdFpwdW2+OiuacYf3O74LPBY3/QxKgJ2c3KYqVq+LLtjH93e LaTcdaAhvnj2LOpG63hC1dKCrW6+TMj/6tDaBRI9nLc8MnR/IKTxpEpwT5szJ8KVoVE3 XcTCwmSRSf+OA1sXPkO54+URCQvMzuGcHD1acLmQAoPLH4Rch84IR/J4QzGWOw/VXB3x SmKdLXPUaXCYesClj8Htb94psgDePOeohp/mQlqT+B6y/s4pNvSyMMWKuNJGmT5HZhk1 8n2YyIgESS2TZ+d8MnOlK+/Zz7eBdc/E6XubKeb6lNLQi9EmEMa8XPwNVa3ZDCXt1EEH 8eXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="X1Se+/P+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si720725iov.104.2021.11.02.15.59.48; Tue, 02 Nov 2021 15:59:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="X1Se+/P+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232222AbhKBXBC (ORCPT + 99 others); Tue, 2 Nov 2021 19:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232116AbhKBXAT (ORCPT ); Tue, 2 Nov 2021 19:00:19 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F1E7C06118D; Tue, 2 Nov 2021 15:57:22 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id k29so609421qve.6; Tue, 02 Nov 2021 15:57:22 -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=6IuAL4Jlzfho0dMKI6upYj8AX7/wi6KQMfdg/5Bl22U=; b=X1Se+/P+UHBy7XOEMAwQGKZ334vkvS3+fxh4jNtT7kNH60uqY+xs0iN20h6oke+Kqk jMzTEgedqjZIApuJzXvVzjns9hh5N6d11kJxbtgCIS1SdzLerQKt20R/maVRHA1lSrJf 2E9k0Hi7G4nBCopvOfXxQH1lB5aeorUYBmAZjX3J8IW9nUSqpIuzalDlalg2uEkuw4z0 xaYjySUs0f6ynS01TaYs+tX9zZ/IGM+75RJmoHiiKmBb2Iap1BCSj/dk7MjuGO/yNEEG lNZzbc437lH1dDY1PAkMy3ibxwXVwX0pjtEkLrshRlx/ym+/2OfbinS/fqCT0VBT4AJ+ CjvQ== 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=6IuAL4Jlzfho0dMKI6upYj8AX7/wi6KQMfdg/5Bl22U=; b=LaNVKmOeIQISAKmSg4h/b4r28aRlmEhCZNt8qocg1sNLBhapnumckSqhwVEG9JVImQ 09O2vp3Brj/7B2DejKTfu54OHajdAl+iMoX3exppQu1I9OIpXcIZisJOKtNvIogVlZHq MsZFRpkqnhqeNLkSD85jpmvTI0TxKvLAIdYltUIpAnUtnAFQH1C2Bw4sE4Q9ZE0rqNCt 9XJeie0/svNqXLCRW0YWLhxAe/4g/TQQBDI0/rs0VyFklDb+sf/KWbHCWU8wDSb6d7+q RXexWUk2t9ME4KthcfutHMd0EO0eFsZJ4TooLHgILKM8vYwPaD1DrNp4hmDkCyEGvHUW pBbQ== X-Gm-Message-State: AOAM533nXWpIsDOwOHfar6RSB9pBIwfeYYXVhlDM9dT3MP8kFcdPS1ST P2P0dudfELXaph8D9O71ulg= X-Received: by 2002:a05:622a:134e:: with SMTP id w14mr21406824qtk.33.1635893841490; Tue, 02 Nov 2021 15:57:21 -0700 (PDT) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id v19sm351222qtk.6.2021.11.02.15.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 15:57:21 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: linux-imx@nxp.com Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, ulf.hansson@linaro.org, aisheng.dong@nxp.com, stefan@agner.ch, linus.walleij@linaro.org, gregkh@linuxfoundation.org, arnd@arndb.de, olof@lixom.net, soc@kernel.org, linux@armlinux.org.uk, abel.vesa@nxp.com, adrian.hunter@intel.com, jirislaby@kernel.org, giulio.benetti@benettiengineering.com, nobuhiro1.iwamatsu@toshiba.co.jp, Mr.Bossman075@gmail.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, Jesse Taube Subject: [PATCH v2 11/13] mmc: sdhci-esdhc-imx: Add sdhc support for i.MXRT series Date: Tue, 2 Nov 2021 18:56:59 -0400 Message-Id: <20211102225701.98944-12-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211102225701.98944-1-Mr.Bossman075@gmail.com> References: <20211102225701.98944-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jesse Taube Add support for i.MXRT1050's sdhc. Cc: Giulio Benetti Signed-off-by: Jesse Taube --- V1->V2: * Nothing done --- drivers/mmc/host/sdhci-esdhc-imx.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index afaf33707d46..c852a6df5611 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -305,6 +305,12 @@ static struct esdhc_soc_data usdhc_imx7ulp_data = { | ESDHC_FLAG_PMQOS | ESDHC_FLAG_HS400 | ESDHC_FLAG_STATE_LOST_IN_LPMODE, }; +static struct esdhc_soc_data usdhc_imxrt_data = { + .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_MAN_TUNING + | ESDHC_FLAG_HS200 | ESDHC_FLAG_ERR004536 + | ESDHC_FLAG_BROKEN_AUTO_CMD23, +}; + static struct esdhc_soc_data usdhc_imx8qxp_data = { .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING @@ -357,6 +363,7 @@ static const struct of_device_id imx_esdhc_dt_ids[] = { { .compatible = "fsl,imx7ulp-usdhc", .data = &usdhc_imx7ulp_data, }, { .compatible = "fsl,imx8qxp-usdhc", .data = &usdhc_imx8qxp_data, }, { .compatible = "fsl,imx8mm-usdhc", .data = &usdhc_imx8mm_data, }, + { .compatible = "fsl,imxrt-usdhc", .data = &usdhc_imxrt_data, }, { .compatible = "nxp,s32g2-usdhc", .data = &usdhc_s32g2_data, }, { /* sentinel */ } }; -- 2.33.1