From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752766AbcGAHsC (ORCPT ); Fri, 1 Jul 2016 03:48:02 -0400 Received: from lucky1.263xmail.com ([211.157.147.133]:37230 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932108AbcGAHr7 (ORCPT ); Fri, 1 Jul 2016 03:47:59 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: shawn.lin@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: <5a378ef19ea70d542d00f46442907590> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Shawn Lin To: Ulf Hansson Cc: Adrian Hunter , Jaehoon Chung , Rob Herring , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Doug Anderson , devicetree@vger.kernel.org, Shawn Lin Subject: [PATCH 3/3] Documentation: mmc: add description for new no-sd* and no-mmc Date: Fri, 1 Jul 2016 15:45:30 +0800 Message-Id: <1467359130-11409-4-git-send-email-shawn.lin@rock-chips.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1467359130-11409-1-git-send-email-shawn.lin@rock-chips.com> References: <1467359130-11409-1-git-send-email-shawn.lin@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds description for no-sd, no-sdio, no-mmc. We expect the specific boards adds these in DT to improve the initialization. For instance, for a soldered eMMC slot, we could skip sending SDIO and SD commands to probe its card types as it's always should be the type fo MMC card. Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/mmc/mmc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt index ecc007a..b2046c6 100644 --- a/Documentation/devicetree/bindings/mmc/mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mmc.txt @@ -49,6 +49,9 @@ Optional properties: - mmc-hs400-enhanced-strobe: eMMC HS400 enhanced strobe mode is supported - dsr: Value the card's (optional) Driver Stage Register (DSR) should be programmed with. Valid range: [0 .. 0xffff]. +- no-sdio: skip sending sdio cmd during initialization +- no-sd: skip sending sd cmd during initialization +- no-mmc: skip sending mmc cmd during initialization *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line polarity properties, we have to fix the meaning of the "normal" and "inverted" -- 2.3.7