From patchwork Wed Dec 15 14:17:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Gautier X-Patchwork-Id: 12696273 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 166A2C433EF for ; Wed, 15 Dec 2021 14:22:54 +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=OqjxdsTV9k6J/tbyBcjEF6RwFMN2I1VlMXTGvNDVqN8=; b=3LZgq64NcyLcgo AF7oCFF8kR0dwggYP/hj0N19g5dWVEbgRj85NjW8WjqFEzIZqDRZ5OMZary4dHeFfWaxAOPWgjCdP 6nLQ+UoXq9MGCZO56BnTMCpbma9xWLTqpLNvYx+72h+j6grPrtB6gjGK9v9vOvKdMgIJg42ED+R38 y2RcQtwcd9SMMzb7Bu8gGPNd70sUEk/N5c08wMjUcLgVBKXKggSidtzQohRmbUZt5i67L1hNycWhB K1ABQaIoCE7w44ZwqRRdHX9a9VqogzzPWZontuq4DieolC/50QZ1HFHmf75ctmqsxVyEGnijNMSDx 3RgMbNoYylxUccZ0sfhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxV9s-0017mL-6g; Wed, 15 Dec 2021 14:21:28 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxV6j-0016VW-4V for linux-arm-kernel@lists.infradead.org; Wed, 15 Dec 2021 14:18:15 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1BFBf3DC026365; Wed, 15 Dec 2021 15:17:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=av9SREGRIP3BmGxg7nqmThmWDEKblw7r0lH+mZ9Ul9w=; b=rEDw3AhrFntwmEgHZNMhDhSHUQn5SIJti1sayN5WzG50wv5BqtT3leYvWcW+ZDeVmzbC CACX0pz1ixN2pc33je7+wu92/VgJRw02ETlYEYzjenpatRjaacflTV9shvoXq9v+WomV y7y+ADQ4B/6FNAoLp8YqDNu+j4zhkKcz5v6EE1iUSync6o+G8Eqkma9+5P0n1mjs5Rho 9uyhj3cRHViM5dSZUqrl+9R+7i3YxeZu2UowJ90PJF2xr2H+1vGRNPgd1bAbPP4nR2x+ RQmq0DEBI3hihGIuoDzLDvrH45+wn1RKQqpbIvi+YCGIEqfEgISxBMfffUImbXCxDDB8 Nw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3cyfpxgs9q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Dec 2021 15:17:55 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E7244100038; Wed, 15 Dec 2021 15:17:54 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id DCBDE21EB8F; Wed, 15 Dec 2021 15:17:54 +0100 (CET) Received: from localhost (10.75.127.45) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 15 Dec 2021 15:17:54 +0100 From: Yann Gautier To: Ulf Hansson , Russell King , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Linus Walleij , Vladimir Zapolskiy , , Marek Vasut , Christophe Kerello , Ludovic Barre , , , , CC: Yann Gautier Subject: [PATCH 1/4] mmc: mmci: Add support for sdmmc variant revision v2.2 Date: Wed, 15 Dec 2021 15:17:24 +0100 Message-ID: <20211215141727.4901-2-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211215141727.4901-1-yann.gautier@foss.st.com> References: <20211215141727.4901-1-yann.gautier@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2021-12-15_09,2021-12-14_01,2021-12-02_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211215_061813_572234_88024BCB X-CRM114-Status: GOOD ( 16.81 ) 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 change is only hardware, and does not need driver change: Added hardware flow control during transmit packet with variable delay. The new id is then added to the ids list structure. Signed-off-by: Yann Gautier --- drivers/mmc/host/mmci.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index c9cacd4d5b22..c0478dfa61b9 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -2435,6 +2435,11 @@ static const struct amba_id mmci_ids[] = { .mask = 0xf0ffffff, .data = &variant_stm32_sdmmcv2, }, + { + .id = 0x20253180, + .mask = 0xf0ffffff, + .data = &variant_stm32_sdmmcv2, + }, /* Qualcomm variants */ { .id = 0x00051180,