From patchwork Tue Aug 2 03:30:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9255061 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 5E0CE6048B for ; Tue, 2 Aug 2016 03:42:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EC9E284F5 for ; Tue, 2 Aug 2016 03:42:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4335B284F7; Tue, 2 Aug 2016 03:42:14 +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 E8D6C284F5 for ; Tue, 2 Aug 2016 03:42:13 +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 1bUQZU-0007wC-Az; Tue, 02 Aug 2016 03:40:48 +0000 Received: from mail-sn1nam01on0080.outbound.protection.outlook.com ([104.47.32.80] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bUQZF-0007iT-E1 for linux-arm-kernel@lists.infradead.org; Tue, 02 Aug 2016 03:40:36 +0000 Received: from BY2PR03CA052.namprd03.prod.outlook.com (10.141.249.25) by CY1PR0301MB2060.namprd03.prod.outlook.com (10.164.2.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Tue, 2 Aug 2016 03:40:10 +0000 Received: from BN1AFFO11FD045.protection.gbl (2a01:111:f400:7c10::161) by BY2PR03CA052.outlook.office365.com (2a01:111:e400:2c5d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15 via Frontend Transport; Tue, 2 Aug 2016 03:40:11 +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 BN1AFFO11FD045.mail.protection.outlook.com (10.58.53.60) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.549.5 via Frontend Transport; Tue, 2 Aug 2016 03:40:11 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u723dYUK006554; Mon, 1 Aug 2016 20:40:03 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v4 3/6] binding-doc: usb: usb-device: add optional properties for power sequence Date: Tue, 2 Aug 2016 11:30:49 +0800 Message-ID: <1470108652-16812-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470108652-16812-1-git-send-email-peter.chen@nxp.com> References: <1470108652-16812-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131145828117536587; (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)(199003)(189002)(77096005)(50466002)(81166006)(81156014)(7416002)(68736007)(5001770100001)(85426001)(105606002)(36756003)(8936002)(2171001)(8676002)(50226002)(50986999)(97736004)(48376002)(76176999)(19580395003)(87936001)(2906002)(189998001)(7846002)(2950100001)(86362001)(47776003)(106466001)(11100500001)(2201001)(104016004)(4326007)(586003)(33646002)(229853001)(356003)(305945005)(5003940100001)(8666005)(92566002)(19580405001)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB2060; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD045; 1:N2fgFTNK3KE/78MI+mIBSUqIjQQC1ImTTFMCWnTUOPYWW0c8hR2GSORRpw1ZNNB1GO0Qj1mXdxDeFEf3/TH4EHkP3uYAKGbCUYjPVO7vE7AEJqkHOXUCCafp+OIxDzrzsy+i7rqb+sALO8fAS+z1OO2L++Xs85jMOuPZF53Q2PnoMRjW7b9ZorvoXuy2ACrMqNQ3EZCgu+OJBUrNm/9wNoe4JHOh6ei577sMkiKODtGR55mV3pLvigGAy2EHQBhw/fisX9kf9zGlXknznRgem8V4bl0XSaXD/vtYI7nzQtoJulGCAFgt5gqgXh+stokpRnyugvNAAChYe7mp8V//b95mPHI73tysXZVsjK+Hcp8FW2e6DFTfCbuu6dVRBaLB3GAvoOoSfFWKazdDupmRCDse7ut5FFGRJyNYDk1MKLQHK+L4AI7Yp0fE3iojc3G9paE7//6eFm91UEv8R0XFEtgFEO3x/o0Y/WUn5Bf22gR0lXUiL2M8HK3KSwTtTit6ttCyaDEo9ONDKnYppilAEL8zVBPWRHWYzt1ETX1/M42zY96KgxjoMzRb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r+gYTaAZN6R/P4KGCblILd8sYCEFbOsYNtWC5gUnarODPN9vIWH0qqIRLpFasNtvPoeXu1hs+xoSteC/FfCG5HPEWH6Tjzh8= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB2060; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB2060; 31:vcPX0I432Dd+N+NzNghoEhAxo09om8WJD0cA2fd3eET4dayFaqP6PF9QKC6AGaQ8f0pnGsR9LPpbR7ALfukq/sCXtWWB1J9iEy6JwAcaKuR+w0oIhx1ytA18O6QGmugHT78C7OmP+xcKCxZSXF8rxhjA1bwmQeezBmO8hgT5uYjDvqKm5dSHTHz02BE4rxSQ6TizuhxQ8wdI5NioES5erUp4JFqQMT6kodG8xko8qAY=; 4:oG5kRGUKPCd1m2SACi5sEK6HqaKHwdj7d80+JcMgcn78bJsGAN0F+61nE3RgJBDwvZn1BcVynqZ/Mk84CJ8AFp+bhW/qiI9v3Db+oTJ2Aoq03WNNZSX/cReQBGGSUni4DfdBivgOrS+RPFEzLoUMe2JbaH531Be058bPhi48jCLT+V5jnXBTWdp4HFnbgK+bA9f6UZ1quNMM8KrUnZ4zpTmirk1sE3ctsmPTg6iklTCujHNJG3a+WqZd9LqtySVBfPeT90U88TR+kSP2aHKxi1mkM5yw46s0mzyzaxbognaCYj0KiTAp95Sql9chOjo9f63C93SesXviYgUQHXUSIn/Zi/ufynmLYflhl1HpPfBe9OIj5Fyce9IPqylFAenoDmy1IgY9+KzNlHZEvoeEP0BZgZ9uGYoCfHNCF7bV3ET/guDwNvhKlAidmtLEs9vfe6fPMpontLTpiiWGOPTdi+oTZLrUkfu2uBciclR2pnXU8q9Kh6x2n4ufBBywzNFbWChsgaGwykGsesOqvSKpSQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(13017025)(13023025)(13018025)(13015025)(13024025)(3002001)(10201501046)(6055026); SRVR:CY1PR0301MB2060; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB2060; X-Forefront-PRVS: 0022134A87 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB2060; 23:YrGOInExyDoy6MjOKoV71rlUgKLiU4dxj76w4U1?= =?us-ascii?Q?ewkn+E5fIhJycj4dJPZBYVNaKg7Hfe505uR91EG3B00Om9cNMSJ+4SVvUWpN?= =?us-ascii?Q?KZ+RbcVh1OmN2kJpOkrzDX71JdO1Jb1nPnqK9kmtYmXDz8qcXsQNZqZB6tHg?= =?us-ascii?Q?cjcKGv+clGlpmeHkgxf+Is1x4USnQgyB2gjn/9uFLNb4wIN5UG90wmYkX97f?= =?us-ascii?Q?+FQGJxuyAxNsuOqVrpSy/LsYjqP6X7tkBybD0LZTKCciMYJIvke8ClwevZYQ?= =?us-ascii?Q?SATi7I5fmUqauiZ9c7DUOWsXzKex4U3WhFY2DAqpK46HtXRnfKf9Rh7sZGVG?= =?us-ascii?Q?gZH0pNtroA7IBPTK4EgUSkJQTv5CqHyJjitgpU4BaXQyE1RZkU+wHM3v845H?= =?us-ascii?Q?oPwBg9fx75DPmFG/8FR0w7kW4NOsgRJFWsQrWpSnNNeDr0sUWgZTXO1Je9b/?= =?us-ascii?Q?YX1wsLbrjlrBm3d4bF+6S8WUKW716LGBSdH87WekzXHmLIAx+8XioMlzFqoQ?= =?us-ascii?Q?C1Szt4yN6qufDLwxnCu2hJiE3DmkMnVj20RcKSWAVPYAUdp/QCgyJDpEe2Z/?= =?us-ascii?Q?XlKMRK27SoFPL/d7sDfEZUubUII9KMVF7THufL2xXXgNWRoIgLJ8WZXsmhi9?= =?us-ascii?Q?tUFB5d7dENfvcbaJJu6WJDMETNBkgmPnsq9G3uheX+OtxMJU4pm0NfreKjL1?= =?us-ascii?Q?wRrYJtxt9vi294vbK/XMQMv/ac1CPx0vn1i1kik8I66ynY+ii1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aKYjEuUV2rTXJ52PrpXuX74Te51VjPTCVQ=; 24:+mVpBDDXHR3mctDkY60Btc+4BI7xteqaHiaHXqCQLMVVPAu4yq+If9qx/RvEIDpN/mKYCwn6jKaI5fH/Lto0zdtKErRsuiS5zgxCyICYpQI=; 7:UiKPL1S+ZCrq7FedO2Xp7C6kHoaTQ96UJ+R2EbddfltrsvrERvxI7632YEaRf9jJVVPFb22/MmOOwxIEOx6J0a3aVSa59IIEG/Q/KB5Vxa3umOYB1LI7/8GiLhWtICWVaaZn8Wg5VJsTuEqzvKsgxAwlyh84VMMDLpO3AlmWJ1G3jMOUJxRPxwsekiqdaSs2855XVJUXm2MwS5CJfHSSLZhiLcj2sYnJgJogmo9bGGcJ95tyqNjoCq3nO6QZ+zYi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2016 03:40:11.4728 (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: CY1PR0301MB2060 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160801_204033_843599_2E137193 X-CRM114-Status: GOOD ( 12.90 ) 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, 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>; }; }