From patchwork Mon May 10 19:03:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 12249243 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 307BFC433ED for ; Mon, 10 May 2021 19:13:41 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB28961492 for ; Mon, 10 May 2021 19:13:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB28961492 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=KDShubiAk+cMaM3R5JIBJbz01fkTa87Wg3NsprypXZU=; b=X8BbMHEWaqDWlXVlQHLPx9EC4r xpy0znSaPF7iwcKkMnD8h/TWhh22bYXBowY104N/Yr6IWBK+L01VaXQ6aqAH/BGOJZeTw/LWo9ssz TyZW5zJuHIaz09xsZe5+tE8hSYqYMgMx6s+4ZOjv6vMEb8fnczjGOsi6iklgbVxMQUkyIOTCgvqFH CMSaabMYeBuZsqOSg6uuH8ElsrDkmsL+ICe6iMzyIQAHu8cOWxqjHCbZgw/DpXddPjlRnlXznQ1H3 gDeoTK5Ne1ll4XyrIUzuh9/XLH+f9OwGGKjEXWxkDqmPtrUpad6zzKXb6AasDjGRLcNa5ce8/7RrS vcuu0Tvg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgBKA-00FVhG-PV; Mon, 10 May 2021 19:12:14 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgBJj-00FVdM-BA for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 19:11:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=EOpCGYb128srcVvLheynyLyqdLPR6Ab1k/ygRhChrdk=; b=KKHjPNdziQMNl/+FVhYlYtBdVh tfC/G1eGXPISBcEJ+gHSjlY5Of6GJasrxkDQe9AE1H3bxcVidOh6wR19PUuv/L0JMoGu+gCh1/1Fn C8iEPzCHtSzgoOIJ6XPte75kHaKfof9tsvOljMmVCq6C+a/0QdxRU0DIIz9rqvb5ZgZMqUazA0eMs c5LxuREaIUFR1SH9OehqdImzW2Nf1FEio/6/ihlQ5e8LcFt8/I9i97mo6jwsbfXyN0sfHzQJ5590f ExK5YmRr+qtGbtdQ4HeUB84Uy+976Ryz7lX9yt5FhvBiJ3lcIuxojpzTvuclaa8halT0wAsChXbTG gdrzG6gw==; Received: from ns.lynxeye.de ([87.118.118.114] helo=lynxeye.de) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgBJg-0093i6-MR for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 19:11:46 +0000 Received: by lynxeye.de (Postfix, from userid 501) id EF290E74268; Mon, 10 May 2021 21:04:04 +0200 (CEST) Received: from astat.fritz.box (a89-183-115-43.net-htp.de [89.183.115.43]) by lynxeye.de (Postfix) with ESMTPA id BEA98E74268; Mon, 10 May 2021 21:04:03 +0200 (CEST) From: Lucas Stach To: Ulf Hansson , Adrian Hunter , Haibo Chen Cc: Rob Herring , NXP Linux Team , kernel@pengutronix.de, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/3] dt-bindings: mmc: add no-mmc-hs400 flag Date: Mon, 10 May 2021 21:03:58 +0200 Message-Id: <20210510190400.105162-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_121144_889773_01BDCDB6 X-CRM114-Status: GOOD ( 13.57 ) 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 From: Lucas Stach HS400 requires a data strobe line in addition to the usual MMC signal lines. If a board design neglects to wire up this signal, HS400 mode is not available, even if both the controller and the eMMC are claiming to support this mode. Add a DT flag to allow boards to disable the HS400 support in this case. Signed-off-by: Lucas Stach Acked-by: Rob Herring --- Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml index e141330c1114..ac80d09df3a9 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml @@ -220,6 +220,11 @@ properties: description: eMMC HS400 enhanced strobe mode is supported + no-mmc-hs400: + $ref: /schemas/types.yaml#/definitions/flag + description: + All eMMC HS400 modes are not supported. + dsr: description: Value the card Driver Stage Register (DSR) should be programmed