From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752682AbcGAHre (ORCPT ); Fri, 1 Jul 2016 03:47:34 -0400 Received: from lucky1.263xmail.com ([211.157.147.130]:36013 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752628AbcGAHrc (ORCPT ); Fri, 1 Jul 2016 03:47:32 -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-FST-TO: ulf.hansson@linaro.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: <3929f9367d1f04dd1ba2f3f1820eeb1f> 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 0/3] Expose new mmc caps to DT Date: Fri, 1 Jul 2016 15:45:27 +0800 Message-Id: <1467359130-11409-1-git-send-email-shawn.lin@rock-chips.com> X-Mailer: git-send-email 1.8.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I sent a RFC patchset[0] to invent new caps for improving the initialization of mmc core. And Ulf merged MMC_CAP2_NO_SD and improved it for the latest patchset of sh_mmcif[1]. So we could continue to add MMC_CAP2_NO_MMC for a sd or a sdio slot not to send MMC command during initialization if failing to probe the device. Also I'm exposing these new caps to DT for the specific board to improve the initialization. >>From the test, we can save nearly 2ms for attaching emmc against the original 8ms. And we gain more than 30us improvement for sd card for each insert. [0]: http://thread.gmane.org/gmane.linux.kernel.mmc/37933 [1]: https://patchwork.kernel.org/patch/9190529/ Shawn Lin (3): mmc: core: Allow hosts to specify non-support for MMC commands mmc: core: expose MMC_CAP2_NO_* to dt Documentation: mmc: add description for new no-sd* and no-mmc Documentation/devicetree/bindings/mmc/mmc.txt | 3 +++ drivers/mmc/core/core.c | 5 +++-- drivers/mmc/core/host.c | 6 ++++++ include/linux/mmc/host.h | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) -- 2.3.7