From patchwork Thu Jan 19 10:19:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Mao X-Patchwork-Id: 9525401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 23A3760113 for ; Thu, 19 Jan 2017 10:19:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1244E284FF for ; Thu, 19 Jan 2017 10:19:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 034F12850D; Thu, 19 Jan 2017 10:19:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FC39284FF for ; Thu, 19 Jan 2017 10:19:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751596AbdASKTb (ORCPT ); Thu, 19 Jan 2017 05:19:31 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:21850 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751571AbdASKTa (ORCPT ); Thu, 19 Jan 2017 05:19:30 -0500 Received: from mtkhts09.mediatek.inc [(172.21.101.70)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 859450402; Thu, 19 Jan 2017 18:19:23 +0800 Received: from mhfsdcap03.localdomain (10.17.3.153) by mtkhts09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.266.1; Thu, 19 Jan 2017 18:19:25 +0800 From: Yong Mao To: Ulf Hansson CC: Linus Walleij , Chaotian Jing , yong mao , Eddie Huang , Chunfeng Yun , , , , Subject: [PATCH v3 1/3] mmc: dt-bindings: update Mediatek MMC bindings Date: Thu, 19 Jan 2017 18:19:14 +0800 Message-ID: <1484821156-20565-2-git-send-email-yong.mao@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1484821156-20565-1-git-send-email-yong.mao@mediatek.com> References: <1484821156-20565-1-git-send-email-yong.mao@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: yong mao Add description for mtk-hs200-cmd-int-delay Add description for mtk-hs400-cmd-int-delay Add description for mtk-hs400-cmd-resp-sel Signed-off-by: Yong Mao --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt index 0120c7f..149f472 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt @@ -21,6 +21,12 @@ Optional properties: - assigned-clocks: PLL of the source clock - assigned-clock-parents: parent of source clock, used for HS400 mode to get 400Mhz source clock - hs400-ds-delay: HS400 DS delay setting +- mtk-hs200-cmd-int-delay: HS200 command internal delay setting. + The value is an integer from 0 to 31 +- mtk-hs400-cmd-int-delay: HS400 command internal delay setting + The value is an integer from 0 to 31 +- mtk-hs400-cmd-resp-sel: HS400 command response sample selection + The value is an integer from 0 to 1 Examples: mmc0: mmc@11230000 { @@ -38,4 +44,7 @@ mmc0: mmc@11230000 { assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>; assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; hs400-ds-delay = <0x14015>; + mtk-hs200-cmd-int-delay = <26>; + mtk-hs400-cmd-int-delay = <14>; + mtk-hs400-cmd-resp-sel = <0>; /* 0: rising, 1: falling */ };