Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753447AbdFMCAg (ORCPT ); Mon, 12 Jun 2017 22:00:36 -0400 Received: from mail-cys01nam02on0082.outbound.protection.outlook.com ([104.47.37.82]:31904 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753421AbdFMCAa (ORCPT ); Mon, 12 Jun 2017 22:00:30 -0400 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; From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v15 3/7] binding-doc: usb: usb-device: add optional properties for power sequence Date: Tue, 13 Jun 2017 09:59:22 +0800 Message-ID: <1497319166-17287-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497319166-17287-1-git-send-email-peter.chen@nxp.com> References: <1497319166-17287-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131417928263646340;(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)(336005)(39860400002)(39450400003)(39380400002)(39850400002)(39400400002)(39410400002)(39840400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(6666003)(33646002)(8676002)(498600001)(105606002)(48376002)(2201001)(4326008)(50466002)(106466001)(85426001)(305945005)(86362001)(8936002)(5660300001)(7416002)(104016004)(356003)(38730400002)(8656002)(7406005)(54906002)(36756003)(189998001)(53936002)(50986999)(50226002)(39060400002)(81166006)(77096006)(5003940100001)(47776003)(76176999)(2950100002)(2171002)(2906002);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR03MB164;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD041;1:hi6OLdNNwooZTVgt0JUBRiPeJZrhIqpvidy7iZsWjvwWI9/txGTgyp8cQD0DPx0rQTvTldZGEmONqHRU9Rm54SQgmqUERzxO8jJqvBHVQaN0mXASR+1Fc4ZHIt9PONWQPC2gJXjUtlA+mCdf+9OX6of0DuSs78Y42B8hjB+TebMm4GuyXkbYyHH/vwwS18MrDK+GqHmnshxhDgS2KTHX0b1nohTqyEAYfTUxWtZLtG9Hsa66Vzl8kkZqEZg8xQTTBkYFQEPGZaJoHA1jqFyFE6H7PuYp4OELk0LSqoyjb3KNqVKwpotOAdOZNb3KvyHptCSQClCDiPvIr/ck4PeLXzMZRGvZhoLLPJdOQ21Pep5qQ5foxfTBpmW/Roc8yS5FJNi3A6dQhH9C5FXie9alsNRfkJN5aD2bEz0Stfsk/qAcmAtDx166hzstT16f9PML2KriLbKnH2X5D1ep5UkxtK5kTta9eWGnr3vP14lKDqwWv12JDGyyQwYTmBiSHr0g93s/C/6MqwcXiXt/j/8wEc2RD99gstlQ21EAT4KVUrBNyLnIvlJ4ZbHleDJ9wl3WyFlmz29mX1KlMQGfeAKG/yvbBdRS3ZYti16F7VPlYNxjQWgMnvEK0YS99XE1j0veJkoSpqzdWvHaJtosFXULC4QGBm7v5kVnITlCTvibiewNKnA9KkENVb+l1bc11/0cSG2rO0+lcANCBRYvTDRyEf82nNx7Y4kNTv/8d2vUHpw= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL2PR03MB164: X-MS-Office365-Filtering-Correlation-Id: 4915605a-2b46-465e-bc84-08d4b1fff5bc X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BL2PR03MB164; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB164;3:U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+m1rL3HE+GsnB9DZ43EkHow1y8QkG5IZoBW8hajEVGGlQHMCQr1xMFmd4cUH93Wy2xTm6y8hjcEISEc6FWtad5N+NcyvWGxtauzs9S/1NKjEKEXXxjHjCkLQFIjiQYJSf8C5pMtPI4iCSLBi9lU6ESJk+ZVfogWA634Rupe4GmKNEMA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(5005006)(13018025)(13016025)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(20161123563025)(20161123561025)(20161123559100)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BL2PR03MB164;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BL2PR03MB164; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB164;4:PqYSMptxUPSUwI1kIuH/TUIPcRnWz9HPkLsKfbWylRE?= =?us-ascii?Q?xcaMt731HspN0YkwP0eSc6FHxFeoOER+Hn7wrYcKkPC8NRwss8TbQemnF7LM?= =?us-ascii?Q?trPJ8+8wApoa9bYhAMUnQb+CesL4UqZVU4nhVNcAgV+EljhX/qLOQ3nlxvCq?= =?us-ascii?Q?8I1daGbchlAi2GTmR5Slp+z1fZdTKfzEWAdCwn5lWFgG/iYGZPzQkqSMjCYK?= =?us-ascii?Q?c0BJTE+kEevaAyZ89xxjnePrvbrY3lkV1bbJg9YTRt4Ky6OF0ypyIUwnrwoN?= =?us-ascii?Q?prLMyoVfq73BPUADbyDZI9H1MBfTjEqNKzBY6McH0N+VbVG3kaWb7TSCI3I0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iM04mKQ7KuSTg01EX3?= =?us-ascii?Q?wBStaxumg7SH5rqS/yu6qirr6hbXXItKNUVA4?= X-Forefront-PRVS: 0337AFFE9A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB164;23:FmEE3ypORx1DvXqvzqsX7MFyyuxV4pmhLhTgMZtH7d?= =?us-ascii?Q?zSBTXpl/la+mGiiPTXWoDrM/p4hQT6BWoLvvvNWuInUrr4ivW0Si5diLDiYX?= =?us-ascii?Q?vc8Y8t5loATjYZoV15V4TfwlsrB4hOKPaKy8t2DRnmc+OYFJGh2r2ocHUCgr?= =?us-ascii?Q?ZIMK41NI5kxw26mZ/h3YZm2gQEpfzioRVz+a2Yxd1RSe4aQfy82VRhY0I1E8?= =?us-ascii?Q?dyc7atTpo3igwr+GZQzjv8fQB6aSPPrWf2H9fQlERpRCk51woXdWAMU9ZEo/?= =?us-ascii?Q?/CqDPo7iFiveUuy4ficZ0ueS5PZJAyZ53z4c8GzPg6c8RPY+gW2vB4kSqGYu?= =?us-ascii?Q?2F2ZIci4TLGGyb9SNewFutGlth6ecegQYIcdABLpUeqL1Gq1YdXhIc74xS3n?= =?us-ascii?Q?ipIoaxZBc67O1OnXbvJisx8NTSn57WDk2zwJ4r26AojLb+neg1igkEqv6d1R?= =?us-ascii?Q?GXuCmhiV3KI1VnFN95eE8AJhT4y/NbaO9zInRnolmumuTvmbP896Ln4cpatj?= =?us-ascii?Q?l398Ttw7TDZsZup/FhsgcJ+OmlUsh1TJu9h1GsGMwhqMwza4cxRBZwlhIhwA?= =?us-ascii?Q?FuzCKlsmE0ifOJOTDSAGFqfb4Q0eaA4FTbyws733nIUYDSKKGu6QDijrDxQ2?= =?us-ascii?Q?HrXgXbvqKGyRWD5DnjytaJqFpu5g43lWpvb+F2jtzYSB7SWCQxAWWmrl8hPE?= =?us-ascii?Q?zooyAGFu6zMFND4DbgNUeijgNVLqG0Qc+mmliq6lLMJ/dWDqnAcMTOuxn9dZ?= =?us-ascii?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xQCOYHYk/1xpACJgHAzThWybUharv3rHo7iHt4EjpiICY8SGr/diw5KpTIEUxVk8M/wNiKIG9cheV1hHP6XkrvINdZDJKCMbNyqL+usenVOLZoDKK+HNQlMQ/sWkvWOlF/udmkHb13Ec+Vqw+rrloP+6ILnTsLaBklhdw== X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB164;5:vtDjsQvZ+Ogp2xgFJoCYwQxZ7LtpZfqETg19//wkT+kR4GOIprxsqiygUCW9BngjoZP/UyXiVtXkESWuakkhJr2ji8DFK9CDZDftQGoVWiFfHOw/WGlB4VG1vviza7mTglFr8c78l/1aZePIf4KN7JmAZioE1GWcwyU8jPrg/XshjeKiRAa6my3GhZXqbpZ30wQR1drj48V8DK+qHapPZQTuOy8S4empZFfyWND9aVzJjFXVfWL02O92RVcOpumTaqTgHVQhVhikvhHJp67q0FIBWQWHET9siS6VmS7iJ48VU+vg9kxkSHk/AP8zVOhAJnijdYGXES0LNBqU6tUHT8NHO+P6IiJDdnvbTBxxCGFu/uWlyImfJIYPlxFGDq3Qfyde+W0RAS36NfjyKaAxASSpZSID3LTGIdVpJgwzFwrhdql8jxgXW+OuyGNjYrohw8GkCJUEP88b2HhHWeMa4e/iNGFFc6yfe39feHOsZy/RCYRzkWG9Asuh9qVTjnR9sbgaKrT9ZOP28qwXsX5jaA==;24:bCpVZt9T622powjAy+2TGnd9j49Mr1F7qO2S5WYCCTvzxAnSXYb5WSda40d+lpWauvJFD44lTv3JAQFczbT/6RRem1/YDX90pkOJn2xBB9g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB164;7:7jES2IRnRx3N5So9qqujGWE7rXoTlz1y8g2pLj0HXji11fdmbhRMcLq2honVmEHfaSCBvXvoYU1Ny2ZAeDI3/n+BdOAfKhW8CUczmvFB8b7Y+3YhENkouEvnD7qNg/e6nD32qizN4fjoX7YuuHqngz8sf8+Qct9TTv7PURPMc/No75vxC1xl0V5OCFeG93qb90IkYQNJMHdE3IPoCCe92c4gu+H+bfSSD6yUecdyZhT8EMWIdCGrpTeo/vkcKFHBi2OHb5hofgWtmkj5h9zDzp31muhGuzQR/IZe8okLv4/Le8bHHkJkQIukjcoRhLF8nyIXzVsbwVyl9fpU+pCLsw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 02:00:26.0526 (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: BL2PR03MB164 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 39 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>; }; } -- 2.7.4