From patchwork Tue Sep 20 03:36:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9340991 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 4CF59601C2 for ; Tue, 20 Sep 2016 03:48:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3235229AE6 for ; Tue, 20 Sep 2016 03:48:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25EB429B47; Tue, 20 Sep 2016 03:48:19 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A533A29AE6 for ; Tue, 20 Sep 2016 03:48:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmC1h-0005kl-31; Tue, 20 Sep 2016 03:47:21 +0000 Received: from mail-by2nam03on0059.outbound.protection.outlook.com ([104.47.42.59] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmBsP-0006gj-9b for linux-arm-kernel@lists.infradead.org; Tue, 20 Sep 2016 03:37:47 +0000 Received: from BY2PR03CA043.namprd03.prod.outlook.com (10.141.249.16) by BY2PR0301MB2007.namprd03.prod.outlook.com (10.163.196.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.619.10; Tue, 20 Sep 2016 03:37:23 +0000 Received: from BY2FFO11FD028.protection.gbl (2a01:111:f400:7c0c::161) by BY2PR03CA043.outlook.office365.com (2a01:111:e400:2c5d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8 via Frontend Transport; Tue, 20 Sep 2016 03:37:23 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD028.mail.protection.outlook.com (10.1.15.217) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Tue, 20 Sep 2016 03:37:22 +0000 Received: from b29397-desktop.ap.freescale.net (b29397-desktop.ap.freescale.net [10.192.242.114]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u8K3antk006721; Mon, 19 Sep 2016 20:37:14 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v7 3/8] binding-doc: usb: usb-device: add optional properties for power sequence Date: Tue, 20 Sep 2016 11:36:42 +0800 Message-ID: <1474342607-27512-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474342607-27512-1-git-send-email-peter.chen@nxp.com> References: <1474342607-27512-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131188162431564623; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(104016004)(626004)(5660300001)(5001770100001)(7416002)(97736004)(50226002)(8666005)(85426001)(2171001)(87936001)(2906002)(356003)(47776003)(8936002)(305945005)(7846002)(33646002)(11100500001)(81166006)(586003)(81156014)(8676002)(2950100001)(189998001)(105606002)(106466001)(229853001)(36756003)(68736007)(92566002)(4326007)(19580395003)(19580405001)(76176999)(48376002)(50466002)(77096005)(86362001)(2201001)(50986999)(5003940100001)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB2007; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD028; 1:BY8NpBDhYxAZFnZe1sPav48Gjh28b3R5VslqtaKVR+b20Zl2+mbYyfR8Fb7iOdX9NTP2PORG/nC74sXtjJ2WtiP7jecFUYqsb5xc3LL41gYENeDYHLfY/AfXalWLC/KSVmgXaEYrxFoWuCMimds2Em+k/DAiltz1WDpn/xRU+4T5E4231WdcOTa9lIPwO8XXCEQdMv8H055xCt++t25EsiXwV7xS1TWZt2yry6lQuC1hdLw7vnIsnAuFYjBdkYY3yX0G9w2MsMzs5FkP9IQdB/1077ZrjASjPt+KDgRW+Zq/BFjiWmuVIwTW7wJcxtb4F5HD9ZZd9yIJFidYEXPnNZDZ+M3VU9Kwo9Ami7o58aAnEOjuXREava9nBlqgaBUo5sTZ1HUFZfnLuja6xDWaAVYsn9O7xI68hMI/qhOdOzchRzHHQKNRPR8+ViUUVJKnvzUFBOJsjweDFS5nUT8o4kOEWEYuAaCzJ+HGnG7EtJjARInb1vVFszTS7T52nGxcmcyhJkkHKNPPy+Plmx0DnyselZrcNY0NzLS2iVFYzfgAKN/5g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b0o1WiMP+krURgn9BkcbIgPKzDqm21lMlUZJCuWthCn1X0FxbVrRbOkOxITaeYvv/NIf5m0NbDSrIL3FC9ox+vUBwp4+61kx3rOArgUgms= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB2007; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2007; 31:v2ji12HeLtSWiE/p8hMkOhJS5wUwp8H0oagw6RVG+DkBkfryuMSzVD6wfY2+nqGsjfcVxE5EzLGJ5cqlMgPzTDw0as+eyzOXDGBeFJzrp1CEtaPaCrvd4MoEJ2JwqKLHr1Ph1ko/O98n63irRaf3wngDQo0K5aAynlSNlU3UM7gAHQxpbz4qzAu71yQvGEI4hTDkorYW4oCNDPBU43ZXsDK/+GijBz93lNUUg2w3zqg=; 4:GF1pFm6qZTFyFowSU+G3XLWGXfWAby6HByFeQc9sV0aCFFb6lGOs1udhqPAKzeSvQ26B6T0NPwjaCYaAUOZkZyzaOcwHF7BAO4P82t/7ahICqbCi0F63vSIFjMjiHddspoyy+I0uZBfRCn78et17ymtS4mniE6Rk5s++TjLcX/9UXtUGoSjiG1zucxwOY9JVyf+0TPebsrRY26s5+jSRnsfZDzSmrAy+MMFxvfVCHUVVk1B947E9U5PiJwm8J55xIzDQPEU3pW6fRn0m8s7fe19Wk720oI1GerAJzfmzXV4vGNUJEVOxCpeRdK8WbILX0cZ2gGZGetuhq3Cw/arcigQM4aCp1P+3qaRENqhSQFtChZUT0UBm0f5yKiZk0KyuPNYiwPsu22vIotvtMLDnWKXlSZKEPZeJK87bfHkiGYvCfgJbCvZPBpSuoJYqW5IHMJzcbCbP3xtyhypa6YI42EFrpS8Go18tBV+rVGeR3BgucYm2jhA5vU6tJk5QylF0uRmk6aymnFsV6AOeJGF6wbWwT5Lq2yUYmjTbQ6k5Odg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13015025)(13017025)(13023025)(13024025)(13018025)(10201501046)(3002001)(6055026); SRVR:BY2PR0301MB2007; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB2007; X-Forefront-PRVS: 0071BFA85B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB2007; 23:uGoLMo3cntIZYJpNGrodf0ihASR+yFe862D/Sd/?= =?us-ascii?Q?uiskVVXKrHMi0ts3Qcv99ZJSKGru5+9hunGO1PK4WmW56rNUGIw7OnMrzYP8?= =?us-ascii?Q?Hf8yx8DRuKGzzlf1upFoFwv+59owNAmsiquLgXUbpBM4nLHPKxkY+nC43j0P?= =?us-ascii?Q?jJ12sUUxfr/4GURZbOOsjOXYsI1WlYbl5wLTSIcSDjrW1npzw7YluCp4gt+9?= =?us-ascii?Q?PPaIyfRPrMlaYsRUUHdSpJJ3Zx/53SecdvKTkwZyOyfQgL1HRhexExvu2YzQ?= =?us-ascii?Q?paOeCX0ITAr3Q2XimKRGAbFiBy3x2rZAJQTyabdzeTxLoxIfOhaxHSmkPF1H?= =?us-ascii?Q?YX2ZACYyqveWjHqihSGW7FRkP3v0co0ZU1iLD2MnDiVg0Ea6IJ2ZA+wX+21W?= =?us-ascii?Q?SLGgLHsac2kBuTOPH1yCmL+sHircEnBm2NS6kiZ6PenAreSBivMWbJ23O4dC?= =?us-ascii?Q?prpBD9HSaFsR7ytaRMJtc4XCFspOz/mZrNWYh792MOWRfVSDBp70ilG7+gtW?= =?us-ascii?Q?vTIdyK25pKhIB9gZ+p8p2fzDt4vlW8jFl8JvVyY4gOjqzIFQJc88rXtbvf27?= =?us-ascii?Q?peVn6MYSz9YRLsCxBvwQcBXbbSJNe5VyCghEof+EuG4NPX5kP8sbve59Rq1+?= =?us-ascii?Q?egbSz8NzdoqpFbzMrHY0K1oU2dKMPpc1LeLJ12lH6duzWqv87pMn5JsVOrh+?= =?us-ascii?Q?tao9Xf1b1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H9GbCDp3Oz1iyaYbt6hN0MQvsVzqtbAr6Tm3p1Fj2hgdk1YY8An2f2648vzBGMDy9A2PrL8K+XYeh+4renBSEH2vpix+zQrnxnFTquU8cMLQ+Av2qLS5Ickcw=; 24:vu7mnryi8CeqBah+qx+GEL6koBm1YJ0SfnG4fTaitIDXlPzAb4xq29umZS58YSV6qC1Iq0qzHwCH9hf1y2edM59aPuvuPE5SMxbEuQXe88I=; 7:1/FpUu/+865ot6wkWEru6HCsBkzjng0kbp2t/sXh5qAwyS1bxUSJNvFOjcey22eNRJkfxGIMHP82Pi+7UtCKENvYnQbHi18q5bNRBHTd9ne5YO4KMdV/xfbPRNsfb0CQ7OLiNgY/WxBJ4boag9RSySVM6q/0NTdmjhRGy4X5i0NP1tWRiFCU7e/fEEDN2azwFmhLT7fxinORrZsfJabeT/6GHyVQZqq1gxSZ0Ib9bfXgH/B2WABpdtx3LU/cPMQUhYZCJr4zQyTuSGSGAf5ZPBenF58N68x/ZzFPUhkfl8lbON3l1X4VCQ+vQ5zE/k8U SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2016 03:37:22.8912 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB2007 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160919_203745_455432_679A4AC4 X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, k.kozlowski@samsung.com, stephen.boyd@linaro.org, oscar@naiandei.net, arnd@arndb.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, mail@maciej.szmigiero.name, troy.kisky@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, Peter Chen , p.zabel@pengutronix.de, festevam@gmail.com, mka@chromium.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add optional properties for power sequence. Signed-off-by: Peter Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/usb-device.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt index 1c35e7b..3661dd2 100644 --- a/Documentation/devicetree/bindings/usb/usb-device.txt +++ b/Documentation/devicetree/bindings/usb/usb-device.txt @@ -13,6 +13,10 @@ Required properties: - reg: the port number which this device is connecting to, the range is 1-31. +Optional properties: +power sequence properties, see +Documentation/devicetree/bindings/power/pwrseq/pwrseq-generic.txt for detail + Example: &usb1 { @@ -21,8 +25,12 @@ Example: #address-cells = <1>; #size-cells = <0>; - hub: genesys@1 { + genesys: hub@1 { compatible = "usb5e3,608"; reg = <1>; + + clocks = <&clks IMX6SX_CLK_CKO>; + reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; /* hub reset pin */ + reset-duration-us = <10>; }; }