From patchwork Thu Jan 5 06:01:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9498457 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 E0D84606B5 for ; Thu, 5 Jan 2017 06:09:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDA1227FA8 for ; Thu, 5 Jan 2017 06:09:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1DAE27FE4; Thu, 5 Jan 2017 06:09:04 +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 5550F27FA8 for ; Thu, 5 Jan 2017 06:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030768AbdAEGEJ (ORCPT ); Thu, 5 Jan 2017 01:04:09 -0500 Received: from mail-dm3nam03on0066.outbound.protection.outlook.com ([104.47.41.66]:28848 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030644AbdAEGCm (ORCPT ); Thu, 5 Jan 2017 01:02:42 -0500 Received: from BLUPR0301CA0027.namprd03.prod.outlook.com (10.162.113.165) by BN1PR0301MB0740.namprd03.prod.outlook.com (10.160.78.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Thu, 5 Jan 2017 06:01:47 +0000 Received: from BY2FFO11OLC006.protection.gbl (2a01:111:f400:7c0c::114) by BLUPR0301CA0027.outlook.office365.com (2a01:111:e400:5259::37) 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; Thu, 5 Jan 2017 06:01:47 +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 BY2FFO11OLC006.mail.protection.outlook.com (10.1.14.199) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Thu, 5 Jan 2017 06:01:46 +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 v05619tC025211; Wed, 4 Jan 2017 23:01:38 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v11 3/8] binding-doc: usb: usb-device: add optional properties for power sequence Date: Thu, 5 Jan 2017 14:01:54 +0800 Message-ID: <1483596119-27508-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483596119-27508-1-git-send-email-peter.chen@nxp.com> References: <1483596119-27508-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131280697067621311; (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)(336005)(39400400002)(39860400002)(39840400002)(39410400002)(39850400002)(39380400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(86362001)(2201001)(7416002)(33646002)(68736007)(104016004)(92566002)(48376002)(2950100002)(189998001)(626004)(36756003)(50986999)(356003)(2906002)(5660300001)(4326007)(81166006)(81156014)(6666003)(8676002)(8656002)(77096006)(54906002)(38730400001)(85426001)(76176999)(39060400001)(105606002)(50466002)(5001770100001)(50226002)(2171001)(305945005)(5003940100001)(8936002)(7406005)(106466001)(47776003)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0740; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC006; 1:fUbcU0dHHFwWX6TO3aBA2OpIvSbNh6JIPX3R6x4UsftVMBPYfAS9ZZq6sSizI0EOt+gJccb2aGEPDus4XIi0uS8XPGf2bbRwG59FBdnSG/e5sScNEJhAx+TZ6EYUNvVwKbURBwpXYspAG/jYQ4cPpCpy2y748IbvUpkm94MKrJne83ptQiwawR9J8tiCG9Y8v8Hf9XmmBYEpC26tOfu9aImtx+tmGNBI9scsswf+GszM1DvlZs+XuaFCOrxOjd2rvNpy9RAZu4qKvj1S7ydi1K4FSkW+BAv8g7I+DM7i0+x/n4aB57BN/Z/NYP7PqTsYiQRYnYbjqRWwmUzJZtuGIu7ngjdo0b8XCo7S7OUWEhx9coOwdIMGYNhoy5X2Lwn0fk0Fp6dKtNNwW6XoMpC41TvTQi2Fy4vLVggk5ulvgCDC1d4WKw3MGqbgpFaf5/UCZeVrXMNxhhffYYYxyjcdP6E1G2iwhPy8r/ZAKSD4JDbMA0UggWgKyGawKW5v1enwpRgTcYG1CdezgKMz5utm72OId08akUo+Mriwo9KQ2Y4oHCCGx6cP+u90Viyh0Ye266bFlRA4qsVaGfLyDmWD6P4tlg07tCpPa1bKw80BWnt8eH8aNr1HzOAmOk+YvzWU04IccecrwJ0i10SuO5K5ufdE3LUk95Krxh7U+RMUopA7InuJTyfWPUwZ/9hYcagT3/hgq9Y3gVlFYZeq4KE2csPosNrhiIrnmVx7na/caoY1c8Wu+fpqO7Z4K0tySCi5 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 25860490-e2da-4d71-6a67-08d435305509 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR0301MB0740; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 3:rE2xz10ms3gE/grMOmBBscxIRP2PB6FYnLqf0dgQ4FjsEQjFambzRioVblQVbstKBpxm5JqA04Y7hR2jrWypeGiBdtzLRqi0eB76TktIjgHbyySpVwrxfsv0tR1ZryFsZvcDJaQhYZ9DGURmmtgE+jtqXm55qvQd16Tvl/qgJKjuk71Fl0PJ8MLTq8XjSn42xfcj7tl1s0yzpaI/d+HglkqzwJxoFpDu8XrFrgm+vRAxeMe8UG62humxEIpIXNx21F2o7dP/rJTahnFDYS4orJuVxwlbQfOv6jWSpsZQSUdIUfLLQjs3WnuoJ/R/H7qsCYC1p6vgv4W6+MQn/scRc3ArjmA4QG2FkFexbcQqeZV8hfEe0XkSMXXEtMW90lCB; 25:AOigTqdQnrf6+OY0NIHZp/cU8X3F1FsIu3rBsYPj5nitws8xP/HZqPjjomctxBy8NwSP7q4o+K7KiewbfYRv1PrQfhv9LgRYzGmAl/XhPTPGlnJDKip/6zlq+T4/HFu+qENGtOGIpr+cjYA95erMRruMlHyYz53xNPwSVQkDRXb17OGwlj6baqcCAEM0g8Mm8SiG3WvpFVfZspKv3LVoIoTvGcmxxgb5XhuS5qDuATaCEdMFtmuscSptpv90m18FZvlPMLYS7m+F/rJuYgm4TSvhAYvXhgKlIph2WkaV4rUZhhizy8LYNlmX3Ri2QI95GBEQkJJQfO4vZOL87w9FgvcaRwICBeAPXsnoybBScwimvEgAbIsNdYuFnrAZG+3aNFPirq3Q3JUY/f/Utikhk1rV+eEH+PjKnv8VbJxiAvuDnl0RfxAQPCRbC6FNhqwa89so8upbF8MRBkIY9JZg4g== X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 31:5Jt8cceU4rxJhzRKBQ7efBZ5gfSsce8OC8KYBrx2myXmwluDFQiX/mrt1kr9fUK96U+0Cny9EErm/ZHflQEp2trt6UdFSKFDPrbkfdBnpNNmtaXdObeCTrJgfAmz1Mgx/4Go6aEttlNZRO+qUWlmNoDkrMKhEu+tEttisuAd9tr8mP7oXaAoToJ0SrwADvl1+UWLCZ8GecDM/1jLxUa/3us975PafwrcHoafyI83PhZCOGkHDqpC9r4a1hmToBhh2NK4Y+j6XA7Pxc0iiJIBgj8IlDAlf8dXYjnl14ckDBs= 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)(5005006)(8121501046)(13024025)(13023025)(13015025)(13017025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123556025)(20161123559025)(20161123561025)(20161123565025); SRVR:BN1PR0301MB0740; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0740; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 4:vajA4c1gwz+CUh+jp/zIsZGMjMRswEOPGWTVu/FdIFUY+L9wowolFZE7YRa3l5u/p8mK7d0mfxnLGRCfu+U7yneRwsxWxsYs9T5DCZ5cxvku6YGN3ZsDfwK93BIDey93IEQirTBVv+bzHhw4CTez6DBZ52gNbPprv7j3JT/E8TAfpBFn965aoAiug3aLvhL0Ru5lk03jN+9bMDJN2Nslpvb00as1A4Ro3/ElT4ULkQAx2YFjASJ6NubyKQPu0o7APZsdzWEVuROoo326NLd6Ql/QrfXfEN2zWPa+HErNpaf8vBs58dpDbJZVd9sJZQ6DVJPyYJfFpyuaB3X1t6I4i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Qx/Mo0l6pZobP/oAqIQ+GJOGxh1V4EGDKUpDL8wXa6CNZLUxB1O1RTVvvIBlgJi1UAI9freYBC2ttYFkiIepWCkntlhgwoAPcfU/TzVNelA566WIgjy1Nk/6nDVPQCvDzmOaylG8vqd4csjGWaHRwqo8T3HxG7z4KdvECNjWSREuj4ei3Rdxkj+iUhsDsyDNga5EZGgWD4iaVbNkywvpwSmlMzgfzJYHDWvQEbogjTbPTsolj3jjkWSR8wkB+yK84CzXEn05rWwpjmMfR1R3SNsn4QO+93R1JkTSvGWSGeibSkXExjPw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2017 06:01:46.4345 (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: BN1PR0301MB0740 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 Acked-by: Krzysztof Kozlowski --- 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>; }; }