From patchwork Tue Nov 8 02:51:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9416359 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 A461760512 for ; Tue, 8 Nov 2016 02:53:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9381528EB1 for ; Tue, 8 Nov 2016 02:53:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 867EA28EBD; Tue, 8 Nov 2016 02:53:58 +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 0DDA928EB1 for ; Tue, 8 Nov 2016 02:53:58 +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 1c3wWV-0007hr-Ts; Tue, 08 Nov 2016 02:52:31 +0000 Received: from mail-cys01nam02on0046.outbound.protection.outlook.com ([104.47.37.46] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3wW6-0007Pp-HS for linux-arm-kernel@lists.infradead.org; Tue, 08 Nov 2016 02:52:08 +0000 Received: from BN3PR0301CA0045.namprd03.prod.outlook.com (10.160.152.141) by DM5PR03MB2889.namprd03.prod.outlook.com (10.175.106.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Tue, 8 Nov 2016 02:51:44 +0000 Received: from BY2FFO11FD013.protection.gbl (2a01:111:f400:7c0c::135) by BN3PR0301CA0045.outlook.office365.com (2a01:111:e400:401e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6 via Frontend Transport; Tue, 8 Nov 2016 02:51:44 +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 BY2FFO11FD013.mail.protection.outlook.com (10.1.14.75) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.707.3 via Frontend Transport; Tue, 8 Nov 2016 02:51:43 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1464; Count:10 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 uA82p7JQ005180; Mon, 7 Nov 2016 19:51:34 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v9 3/8] binding-doc: usb: usb-device: add optional properties for power sequence Date: Tue, 8 Nov 2016 10:51:07 +0800 Message-ID: <1478573472-29516-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478573472-29516-1-git-send-email-peter.chen@nxp.com> References: <1478573472-29516-1-git-send-email-peter.chen@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131230471038141932; (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)(1110001)(1109001)(339900001)(189002)(199003)(5001770100001)(87936001)(2171001)(356003)(97736004)(2201001)(50986999)(81156014)(47776003)(8666005)(2950100002)(8676002)(36756003)(105606002)(7846002)(81166006)(4326007)(5660300001)(8936002)(626004)(2906002)(77096005)(7416002)(86362001)(50226002)(7406005)(48376002)(50466002)(189998001)(5003940100001)(33646002)(104016004)(229853001)(106466001)(305945005)(85426001)(586003)(6666003)(92566002)(76176999)(68736007)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2889; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD013; 1:ieYqbYE4tHz/qrd/yf0V0cLhIxWZhaCU/VF4WQkwJ8828v2u74nfdZ6Ce/sis/H/5GDsc7/lBNYs8JVfZ7T/v02Ep5ZXPIgy8uG9YSYP7Tz2Rthxig2CWWTadK24wmsPApqjdOEsDHHNFvReaHpvQo+hyiCoJ6Ibpu65vTO1oHrxSMPXNaxAChFVb+PwTgSmchor5zYGdV8Q0R+RCfd9lnV/rk5owY71SNAtRwtis//DF4rvYiZtv32MqPhAYImAlwpr7k0AUXv2lMfQRLZIjsJQxovLhfW/yCQXg/0IwGJSsoDmctCsHvzIxm+wuiJuSwZBxsOlQCVJCjrMWfo38crNu7ya36MIMx4U+xTWosbp7bbz4jKfssEcJKSxyh2jvsxHpjMaErhkyiY7D6wqGuthQfyNZ5UQc99EM/Zuja4JmytzCwbnJV2bx/JaIr+T8YVPMxC89WkGV6hWEQUjk09fbl87IzVash3TJkgdlYj/m1NqOCTzpDNSrbplaP6YV3fXSAN/ifuYmL0HA97IUr1abHcIObvZgrSoEyZPjq8jMpFJ75UYbySeXIZstvmx4Xos7AOQGgoudNIVIwCjTce+9JHErUliiQBf+qqLRv4xVKeyLs1pIsRAr1ga2tKYigIgGgFSRNff/vD4XoborMwih/Y9ni5sld6xogHaoUPsREoPI0ubbwqRCYsw+h3ILqbRX1ya2T8HZBhjydJx5iA41pQCaWGK5Jpff5/TiIR67EAUKsbvL+vLfVd7z/pI MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: bdd9dc12-f22f-4461-1983-08d407822c51 X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2889; 2:xui+6VIWosAiJDtEGee76OqcjE5BIOQktjtYjXy7jBf2BkR3DGs5SAtp10zfEuntd5Kz926kUEP7xvHSECXHptb1cgRaNNrjH2fHEAmOjVgDWn33Of9pgFC2m0pQOYN8sWIgPgpe2esE8Ueg/lNiaAtAe5tuPn9D9fRA72ShyG53bXdcIp2+K8IUEFiIDlPT0ymnycOOkepMFBUZlWr3MA==; 3:4jHxaPiut/vK8ZwzlghTD7kIse7hw1NcgkyB0qyfVYKoQ8HnH57UkRkiE+97TCTH2LneCDSqo4IayK62kJm/V4BGX0lKAQJwnqXA//0hv2EApn04jgx6BtpBcI6XEeXFXlmdPtxHcc6Oaeo1VAspFn3yFaTP71ALkX0pbODZJvYOuqn9wvKuWGBrSwS7TofPhTXP/NDjaex4z24YSTkWehgCpDO5m1jp98OMzyORlSMyCY24oL+r3N58FdfWt6oo X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM5PR03MB2889; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2889; 25:YOYVjVV3VwlSMF+dCvUR0i5EDs74K5yEqC3rlzYpa4Hz/IEvGVm0Lw03vBNMTLdn6vDDcNMTcUqI0FyfvvzHerBCu/OZaWHD9Wt48fG6eGZp07Qcv5wcnilrurOPpXiKgO0M1v/sspyV5eqPkL9wCDXmwSjp1IDoUwUjg4/SxUHbFb7d/8vTawunhW9QNwWKk41RvTND6x3ixZjp6m/i69Weuep7Q9l4dyI5+Rotub7QNb4HHIhdedct64g8Dxn1B7oR9LbxuXYNdtXZ3rZP4tFSSu8ZlYHDY35ALBimljKD9llgF2nYA6FxyNnnR6GRXrC7QBAi6oif4Ojo0Y/g6CavGTnixRIGXKvB5TfitXIAxx6/f+sq2a6Q4e4D4oveziKuWcHEBDShMTqXXrcQhUADbyaUan3NchCI3Z7Zlw/xhjTD2cNwbvE2DWa5Lu0f6rvPhH6K3JKmT5nUpm632g==; 31:Vw2EGbCNzSqoHvs8xGfxGZvtQzojIP0dFouxCqOL921WTSWKgTLhYC6w6Rmf/HJgHirs2evHMiVA4tyJPdwDfnYp/BS5FGScp/q/Q4gNfPPsVtdcdRmmhdk9RN/yEg78XgmnusqYrFmyP3mvF7tIAcF0S12xBFvAb1/AX0aDbvdRP7UMCln2LUhyBynri4ocL6DD0dyq/LcAugzjY75Pqfr7HaQDllF9oXBe7ZozZIQEvyVSORiClnl2ostuB1WnYUSj2WasvBEPuWqSIGlYqQ== 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)(8121501046)(13023025)(5005006)(13017025)(13015025)(13018025)(13024025)(10201501046)(3002001)(6055026); SRVR:DM5PR03MB2889; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2889; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2889; 4:0ZuQaV30dYJnplR9bW/QfqkHCQCxkT5eozeGNXi5++sK4tAMhRUh7JiQOm1oyIk8hmjTa4ro92LPe0ekgDAY7ih4+oYGndbbniutxr3e9geDn196od595eFzzLhB0XpmrUm4VFBfgG/UeD+lrCJHyhRmMFANMUdbOidY2BoRmsoPUJf6HBsSXP3r/r213CjYQWsaYrtR2xZMCq4z6KYmePfixK4dclW+PR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CUS6Hrb3ZMIytGSLb8W7FB927+bLY6eOiBa5QL8za/fJXRM6cUKNUnyhteHxnUyvttws0hzOD/Ipl0u86Uh+k9W1xnImFiMf33EMLeR9YWFFvbtN8; 5:brJ8L01U9SnCcZEzc4S3cgNRYBVS4zllJB2OJqCZqTY2m02HecCqzdKb2SKuw2sYu/2y9IbJV39VemdQ4fVetgDjUm23utqLnBgL57wfPl342C7T0rsNAQs4nqlmuyh3JxXJFU5wDTr7Ua2jpvEoNejTbMdqCIiDZDman6vTnsdkfqpzOn30Ptu/ce7WqfSt; 24:UOdR555mgymp9FAr3cv6J7t8d+WlpD38l4sgIsfQ4FOs8zERLfhiWFh/z71DQC+Jbj8hq6xGE534Tp4iUMiX3Lml5f+QRgu9/PbYCBNo2IA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2889; 7:ULXbofCtqPSFh38XYB47w7SVbcF5jjKQSSteoK2Fmd/Tj1pQXTBzHmBIe3XX2HLMn4ERw/idsDl421TCJC+PwmNjq7zoOz1Y7tA5mIEZeW//nCWD23nOcZVifYvWbfaQqkhyAIf2Pk7LupEQgIEtW/5dBHFFHO8Qz9dB2tb2UzzQdcG9963dG09dyzZBQh1HarJb05K+KT3IUY0rirgVojk1o4kQZ+Dc4j+zGb0PyWzJF2toCwHHqgpkxfrDPTKpRoQzUGOFRTq1W4ByRrbaeQL/YoL/Hpo4JfsiRrCD5CEDeFeFCnsvfkhyEugGRhQXKSGMzfGAgCd4zByvCBwgd7puje0PrWPmP79zPf6QRVA= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2016 02:51:43.2525 (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: DM5PR03MB2889 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161107_185206_933951_568A4688 X-CRM114-Status: GOOD ( 12.49 ) 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, mail@maciej.szmigiero.name, stephen.boyd@linaro.org, oscar@naiandei.net, heiko@sntech.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, Peter Chen , s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, troy.kisky@boundarydevices.com, gary.bisson@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, arnd@arndb.de, 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>; }; }