From patchwork Tue Jan 3 06:33:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9494421 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 D14C9606B4 for ; Tue, 3 Jan 2017 06:34:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4586266F3 for ; Tue, 3 Jan 2017 06:34:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B868526C2F; Tue, 3 Jan 2017 06:34:10 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79DE5266F3 for ; Tue, 3 Jan 2017 06:34:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934394AbdACGdl (ORCPT ); Tue, 3 Jan 2017 01:33:41 -0500 Received: from mail-by2nam03on0073.outbound.protection.outlook.com ([104.47.42.73]:4738 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934334AbdACGdd (ORCPT ); Tue, 3 Jan 2017 01:33:33 -0500 Received: from BN3PR0301CA0038.namprd03.prod.outlook.com (10.160.180.176) by DM2PR0301MB0751.namprd03.prod.outlook.com (10.160.97.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Tue, 3 Jan 2017 06:33:23 +0000 Received: from BY2FFO11OLC013.protection.gbl (2a01:111:f400:7c0c::131) by BN3PR0301CA0038.outlook.office365.com (2a01:111:e400:4000::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10 via Frontend Transport; Tue, 3 Jan 2017 06:33: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 BY2FFO11OLC013.mail.protection.outlook.com (10.1.15.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Tue, 3 Jan 2017 06:33: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 v036WhRD011369; Mon, 2 Jan 2017 23:33:13 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH 3/8] binding-doc: usb: usb-device: add optional properties for power sequence Date: Tue, 3 Jan 2017 14:33:26 +0800 Message-ID: <1483425211-14473-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483425211-14473-1-git-send-email-peter.chen@nxp.com> References: <1483425211-14473-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131278988026866193; (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)(7916002)(39850400002)(39840400002)(39410400002)(39400400002)(39380400002)(39450400003)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(85426001)(104016004)(92566002)(4326007)(97736004)(2906002)(68736007)(5001770100001)(2171001)(106466001)(6666003)(105606002)(81156014)(39060400001)(81166006)(77096006)(5003940100001)(8936002)(2950100002)(54906002)(8676002)(47776003)(8656002)(38730400001)(50226002)(189998001)(36756003)(48376002)(305945005)(7416002)(50986999)(7406005)(76176999)(626004)(356003)(33646002)(5660300001)(2201001)(86362001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0751; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC013; 1:AkB2wL60iKYKN5y9HRYea5Hk6u0R6q94Lki6lOK+RY5SKoxS0VV1xMC9Z/9s8a3L+S4ZRerjsTX7qzQWv9poEuZovVigBTmAaoqgPjfi3xp0H/PhhfIHFRuVwGQ0mbb87aZ1zQ+Adbp/L6+ByuHN+t/C1MuNVSvhMLDawWmTCnNW3D/f2nM2MssPsOberc01IX7eYQlV8Fl3MAB0l6wqPwdBSnk6G/LONuEMf52mZs+zZIkB9Tmn9odszKPYhZ4+SePsqdY/NOw4VjCuUjTNDSwJZ7Rc+IxhXbA4HSODxPu7fp3je5q7I7kjBLrvvVGNaBQA3/uWpzM6L/UiEpUSmKr7dfcdsXUL0Tp05vC11JScdjvjPuGdX4WpsY3NsAVjBFIuc3rXpOepK1cX/HcaIy2LGiSe7ZD/zfjFA2BwoQ7EfXL8Wbq3i4YJvDfXoGmwSXj5eydBnBQeUKvhOLndjiveyNfsdTfL7Y24dGxELw6kZvM0dHSxlMAnrpjcNa2m5NnaCi4BDfFSS07VQksnQd5kif9/Nyex7k+jkZdPB1+YqcjbGTJUAvM/q8f5YxCq+ySPP5kksmPaPGq1EHreSC0fZglZ5alME/1WXOUoiVDakL6rvLuFR3UGmEBW0NQaPvPYske8C+ZUOJmmcpWPGqGDk0vv5oYvhT8N0255cdjwzIgH7R1utn4Np9NuchlaC00n1OY0j0GaDsCNjDeZBFt7HDoJ8uxOpwGCMBPtzcOarCsELY0uVnZomv8wWllnqh3T6WRV11QrBBRizfKTZw== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: cbe60e5c-6684-4ed0-6a11-08d433a26a47 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0301MB0751; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0751; 3:tRNP8JQOz1REE2C111OaDx7TesC1szWsb0VOViZNU89+qtYqpZCXjAoHsgnSglFGGOxrdenXjEZJtWu1bmD6Y7gUhshYQ4ha4lbhealfjajl7diI1I0tE/gFShtfOIYAhB+v343qAgu03QpxUfa/lHMNzFm0/3FFod5Zp2+oXYCj7+mZQx7N2AmCZLlYoY3X+o4ZoVw78Ex6ZV0k0iSqswGlzc0hC18qoGnZ0+h1/TqPZq8yU4PUJ8P81DDPW0wa9voFhu34LYxI/EADuk5X1Nog+LDLNStlBuUjSQ4Y1Si9WXwTYPT5RxaR3QLoElhEDTmeZ5ofhNU5mSS/coV+kfLFDl+f4P81JR+foxtZgSFjxAcJktctAkH48rkGG5vs X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0751; 25:8i98p7X/wjeNwqBEIV91Qsa50PmRm1KCZSheMCnygQ1lSaMCVXwVKJQxJQ+3NrW3o9HMUnsckWf4MtlMOxjDmSBbUqasUZRZTijqo2Yffq78LBVHVPocseaQ41MVVN6n2Cib/zeFduVTLJRAAi5kCEcekOt+QcrgoCPWrO6mkQtACpGQFdMDBbPUTEzvBvfeik5YfxSbUDZgKKHRzKO4Wsk8eeo7Qu4F9e8k/wp8y37CjyYIABp3ZplJQyAJx2Zomz1dMrTAxkuc+npAK/plaDPDalE6uXEENmERCOv+9hJxZNMogs4scFiQhyonCq3iiAK1rdCaAt6sjLe3FcUpU90v9+uvN6EiCTTqxB9eU3B1KIMMbsAql4IcuLt+9ishQsMl8EE0qts77C9mC+7OOsjyFojDqv7MCevlREX2G0kPXfU6HNlwlgfqLJIgUiiWpfwhcEKLnuEAkawl6lzGWkXYVNS4Zqal240nVlUI6bQqIP5cVuAilfydd/+U0Gc7DSusgvuJi+Zzi/dyTFvxbpU4s0e4BtaXXmjPWaslhOvw22VPY7jFQ8W+iw2E9aKnx3Rl9ToxBNMgZayv/TVRPxpLFr0tzEEM0QKlfQSyoqZwdeIhdprN2D5Jht3NwAE2DC7h7Jasa9q68fCYJRfj1SL9PA3jBf2pn1YtQYDZAypYlqbjtTxpW1p1LrkDJQZysczgWPYSiArw13qw6LVcNFo1rcZVB0r+N8ZX6v2iuEnzz8jshAs3AKbyJjkguTf2 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0751; 31:WiAhP1g6eUudgtZpe526HrTlqQWaHhtM+PPF9m016ZUrs59Gt1r982Sd1oJqv2SIJRGJtf/BiuRwBFji3uucn6uSIo6iBUDWPtJyx+Wi1QmgcF9Rl02Nq6ZvBSQWmOit4O5X77WqIK4kOJa5c7DXGtUl9D7FvfwycwSVOjynQbFJYdBR+RAj8w3l3Ph6G2eYyfykO3Sae+/1SsRfYrCvte1SAlBOrbtJzCtmUcCrtoWBGNPMItB6rzKPvwHmMwe2CLycdnjqD0TEmu5j3Jw4ap6sTWs6rmxZTOeXAcMmC94= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13023025)(13024025)(13015025)(13017025)(13018025)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123561025)(20161123559025)(20161123556025)(20161123565025); SRVR:DM2PR0301MB0751; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0751; X-Microsoft-Exchange-Diagnostics: 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ZUm4DgpYrYumojyxd8O2LSWsawnn3UiHQDHYop2dB; 24:YPTMMzb9BbwwSjshvQFrZSfds2H9j2rWJf4kw5xOt6sw6Ba6/VJLxIFNHF7mcB7Of5Xqn2QuxdrFw28qIL9afNmp5w8TWTpvGCUEHMz4+1A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0751; 7:qrGHaNRGf0kJrvBsBtj6FjQy0xhWCkT9E0Xjg1RJPlnsoNUTVUlXbPwf8tD0GRZMZpwxAkF7H7hz51ozMixjFpPyvoiNEb4Vv7yXy5cOUMBZliLtOqM+kPKomiM2dADbCVKP9V4pcriNEb6fusyqHrKNjK8oBvrX1JEPQsyT8EfRVowxJXJ4aplZC4a640nfRsFjMNhaGBs/yaUsG3JZo4KPxPTsAFSGJlM8AA1qXVbglB/Tyh62zFllHu5eA1wANgiUhVNnAEhor8PAGGY9H9/NtagIFtBWX0kUwiuKWzC9F+cs8zP2+9OUWlEBaKPbv6naEw4tGbNM7ZfoD/JG7LfiL9h5a0wMuI3vnwybzEb2daa9VoC1DJcLBlaDBArgb7I/g8eQr+/Fp+OZLBtrLvWr3IqoootY0LvcZB1RuqwT4uSNtOJGduHDvRfGzMmOKz+CD+mYW0xm6wevX5ue5g== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2017 06:33:22.3278 (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: DM2PR0301MB0751 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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>; }; }