From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751504AbdATIB0 (ORCPT ); Fri, 20 Jan 2017 03:01:26 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36243 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751397AbdATIBZ (ORCPT ); Fri, 20 Jan 2017 03:01:25 -0500 MIME-Version: 1.0 In-Reply-To: <1484821156-20565-2-git-send-email-yong.mao@mediatek.com> References: <1484821156-20565-1-git-send-email-yong.mao@mediatek.com> <1484821156-20565-2-git-send-email-yong.mao@mediatek.com> From: Ulf Hansson Date: Fri, 20 Jan 2017 08:52:25 +0100 Message-ID: Subject: Re: [PATCH v3 1/3] mmc: dt-bindings: update Mediatek MMC bindings To: Yong Mao Cc: Linus Walleij , Chaotian Jing , Eddie Huang , Chunfeng Yun , "linux-mmc@vger.kernel.org" , srv_heupstream , linux-mediatek@lists.infradead.org, "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Rob Herring Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +devicetree, Rob On 19 January 2017 at 11:19, Yong Mao wrote: > 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 Please change to: mediatek,hs200-cmd-delay ... and if there is a unit, like ns or us, please add that a suffix. > +- mtk-hs400-cmd-int-delay: HS400 command internal delay setting > + The value is an integer from 0 to 31 mediatek,hs400-cmd-delay and add unit if applicable. > +- mtk-hs400-cmd-resp-sel: HS400 command response sample selection > + The value is an integer from 0 to 1 mediatek,hs400-cmd-resp-sel And make it a boolean value instead! > > 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 */ The rising/falling information belongs in description of the binding a few lines above. Please move it there. > }; > -- > 1.7.9.5 > Kind regards Uffe