From patchwork Sat May 8 20:56:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 12246247 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 B70AFC433B4 for ; Sat, 8 May 2021 20:59:38 +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 4D09D613F0 for ; Sat, 8 May 2021 20:59:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D09D613F0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lynxeye.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=NIDawQdZPXoZlIF2vubMgHtZj0EJTvXEuFic2MnbTK8=; b=qAzBklrMLEZl28StT4Q+x6CguD hNfbP4dD0+tiFt5T9W1ITI7rAb/Iak2XUGw9hMnywtqRbIZtkkFEg71WtMBWUtNJhlMqniGhg27xe JCHU/vGbEs8vnVMPUVdvrs2bLyl8AOHyHla2wId9e/VnaPl34YS1Ey7yNHuD/MZ4tGDJ0hDF7i9YK z8bfVyVrlv4Rbi6TKmQ5kqfzFe39XfhMJjR5mNMnO0TsOes06WYzthaOEeD3FHbw0TMqUoaaYDb6j IhRq++T4T5i/CKlA9WRZZOGorMn7RlZH82KEeezmsPhVqWzYAWh19bsHaxp+oUpznObhDFich5rHg LZbpaKTQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lfU19-00AKJC-8t; Sat, 08 May 2021 20:57:43 +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 1lfU16-00AKIw-DC for linux-arm-kernel@desiato.infradead.org; Sat, 08 May 2021 20:57:40 +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=0eTY4vZSI+/lIy9Q0mlS2m9o7hwqH5QA3QX3BwfZqP8=; b=GBW5DgK3oxRZj92s8TRSZz7fWd D7Go1HNA77RcnReQrszBIutusd6rJRekmGsTqa5VFAEImmJRoHdxy1iq6Mxu5Zd1ZCvCSCKfVYJYF BKreOljLE21LrkHiumW5hAYoIuY+jMJaBMl8z504xzg9iRBkHeznBZx2ntgRcRCpNRxQOPa5Tpjgw sJ2/UNf5yynGc8BFBqcOonY6F4a8b9u/xjbYYG0oPnoXIUjKNpGIBK55MMu9+iBsGiENjNDI8aXPe 29QtbYkNLJL8woyIolDyvQeyaNWfwcJjqfRoG91mm/pvtkrB4bdPvrt951a9kjcn6j3VHP7yI3+w/ JDxKbvuQ==; 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 1lfU13-007iTh-IP for linux-arm-kernel@lists.infradead.org; Sat, 08 May 2021 20:57:39 +0000 Received: by lynxeye.de (Postfix, from userid 501) id 0DA46E7425C; Sat, 8 May 2021 22:57:03 +0200 (CEST) Received: from astat.fritz.box (a89-183-71-68.net-htp.de [89.183.71.68]) by lynxeye.de (Postfix) with ESMTPA id B0865E74214; Sat, 8 May 2021 22:57:02 +0200 (CEST) From: Lucas Stach To: Rob Herring , Ulf Hansson , Adrian Hunter Cc: Pengutronix Kernel Team , Fabio Estevam , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: mmc: add no-mmc-hs400 flag Date: Sat, 8 May 2021 22:56:57 +0200 Message-Id: <20210508205658.91105-1-dev@lynxeye.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-20210508_135737_802906_5FFD7DB1 X-CRM114-Status: GOOD ( 12.77 ) 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 HS400 requires a data strobe line in addition to the other MMC signal lines, so if a board design neglects to wire up this signal, HS400 mode is no 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