From patchwork Sat Feb 11 01:27:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9567735 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 E24D460572 for ; Sat, 11 Feb 2017 01:50:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7F52285CF for ; Sat, 11 Feb 2017 01:50:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC098285EE; Sat, 11 Feb 2017 01:50:17 +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 429E5285CF for ; Sat, 11 Feb 2017 01:50:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752877AbdBKBte (ORCPT ); Fri, 10 Feb 2017 20:49:34 -0500 Received: from mail-by2nam03on0060.outbound.protection.outlook.com ([104.47.42.60]:2592 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751959AbdBKBt2 (ORCPT ); Fri, 10 Feb 2017 20:49:28 -0500 Received: from BN3PR0301CA0076.namprd03.prod.outlook.com (10.160.152.172) by CY4PR03MB2949.namprd03.prod.outlook.com (10.175.116.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Sat, 11 Feb 2017 01:48:15 +0000 Received: from BN1AFFO11OLC003.protection.gbl (2a01:111:f400:7c10::183) by BN3PR0301CA0076.outlook.office365.com (2a01:111:e400:401e::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Sat, 11 Feb 2017 01:48:14 +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 BN1AFFO11OLC003.mail.protection.outlook.com (10.58.53.74) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.904.16 via Frontend Transport; Sat, 11 Feb 2017 01:48:01 +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 v1B1kZwR001095; Fri, 10 Feb 2017 18:47:52 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v13 08/12] binding-doc: usb: usb-device: add optional properties for power sequence Date: Sat, 11 Feb 2017 09:27:19 +0800 Message-ID: <1486776443-2280-9-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> References: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131312512940693493; (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)(39450400003)(39410400002)(39400400002)(39840400002)(39860400002)(39380400002)(39850400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(86362001)(39060400001)(2201001)(356003)(36756003)(106466001)(77096006)(54906002)(7406005)(626004)(48376002)(305945005)(7416002)(50466002)(81156014)(47776003)(8676002)(50226002)(68736007)(92566002)(2171002)(81166006)(8936002)(53936002)(105606002)(5003940100001)(2950100002)(38730400002)(50986999)(6666003)(97736004)(5660300001)(2906002)(33646002)(4326007)(8656002)(85426001)(104016004)(189998001)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2949; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11OLC003; 1:+GIRl9aE/lHAx12ChXaHyMwYliH2ps/88ZtFL7/gjFMbwEramSirg/z6HskR/dUd4nNzrmu2hx3n9Oa0TWJ9ZApMrzhLD69wcZLbiWNAIdxqC1mbum9KeitcBUK1qsQpZ83Tpw7sMS8TvhirgQkJkUhQdTcjBsNSm1M066Fg63/tZEhwRevRDiPGFCujFw9xK8tT3Wj8Ox5VPI/DNo6Yt6r99v8wYMbyqAhnqreFKb4P0be67/73BvrP4n1NszQ018tuzcamAgJyyzofwyORKvw3xg6hHONUrk713MYEf+/6YmqQHLJBCipvL/oxaMuXzjJ4dUEdp13FXtuyHAQEYuUNVPZ+UZomN7WJ+zgZH+bHO6WdLW/YyLL9sWWeuA2pa8zVKrAkL7Ej9pVr+aQN2A2AzUTInf4sdAFCm38+yuqDpvHTs9fnB11DaRR7Z0phRdVUJNj+kiA/Cixj68kr22dkINmsgqgeUmP7+K4f187jx5zWn9kA0PwSf6XvQR2aAOzOluDPgcEHW2qBLd6Gk5eqPZS70MSIzu8o7FRC+eI5Qn+7EgKL9Yr8ez7oSQhnQxGv0ZoIk6/wKHx/P3bgqvp+OctlfqiUiwpZSbfwc+VveRVR8Nuu/1vdCiVgdwbae9NrAdGlx3jo1Vz5UAezQigBMGJOXG3qmGLxNrft717QBzv1VzETCykXvf+R3IEpe4mjxy35z4oIAfsPtEFR9k7QpRB6JDdKqJqCiCDlqtKAPWkifH/kZnnnG4ARFlRA MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a1792cbe-7d93-4a6d-7698-08d452200ad9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY4PR03MB2949; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2949; 3:TMxLaP+PZfsGDhOosgm0yMHcPXxDEc/xQm47PPFTxC0NdZU8tSYBvy/gCkdVeK2E9xul0xaGn4MILCTDzvprg7NKg68PG1CsZSEYQSjNwRtkh9wXl15M89FiA7/4ijnCQ/14Y9DQxniF5nSdddCok7xxx5IiU314nKdrFH+Y7UKmZp5G+au+Wwi9+zSWw29IcCISTNC0t7O9pF7C5+20gY5VlKgqeW19Eg5+t0e8W2ZwIszTLvMW8YATe2MUuXTXN7uIXLvvxha5IqziSe13rtKIetWRE+8KTl/FgomUZQsfbGl2gmKn/ntV2x2AscHr7qmQNutmowyK8SJd873bl8ZG0kStZ7VMN2zmUT4OAP9uzn3G+hTWORgSXqNah4Rb; 25:/n4T00YJu+W2rcMvkTefZSkBs6N1ZNTNSCpiCoh/zPrUttrWXR2JPO0hRAYPjVRnQCGxjoEwTGsVnFLZeQlC3iKfASIXuOmwYB3cZm/TFqZJnqz3297a4V6cerS5chcVTfKZIybqMqN17NrO/WC8r29qvWhm6QvCk2PGNHxKDN3y6ea1YaBr+kQMzTKVgCjIunvktnSbwCaczz1JnOZj7fTfUEOVIkEjmO6SLVZGykRc4dDCZw2yp5qx+VHuWiT/x/FTrkei3SUFVCUoF5VPYxH313wPc8VZjxOkXw4Whe7RapzG9k7aDTKHxGECTy1UfMbJjuioYT+Acwzjzmvv2QGjhRLTSAViqun5Mx0xCMinDCExw3GnT4GSaWC/3ZMxs8cGDDwEc3ZKlYJseO6iaq+Rz8wP9aLHNV4dd4xZptuewb8Es6LiGAQbb40bu9qfZ08Yj9Ia/Ti+Pjj/Q5xUhA== X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2949; 31:3jxXP2p+SDhDd3UkZ9aS9mq44bYRTUxyma/OmwNTlUvPlTBsv/7OAqzcs+i7RMwmBvLRtVTHXcH+Lu4xIj2pCyBqzYEohuUzz/EQe2V2j1nlrVOuUdPAgnK9i1YEawTuZ4fCEDz4wh/JL3Fq98LAX4iChGz4FgDYhvsgnVebYEGA/9erM0bjTO3lvh9TijzM+f3JEIWBifkLzEOvGtUrTpyq8vdRRQvQha0+/auin53nsM0gHvEQiyp8RfI7FF5bPSlxv+i+oqLH79WXJ1AT0r60DanLN+rcxC3v16p83KY= 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)(13024025)(5005006)(13018025)(13017025)(8121501046)(13023025)(13015025)(10201501046)(3002001)(6055026)(6096035)(20161123559025)(20161123563025)(20161123556025)(20161123561025)(20161123565025); SRVR:CY4PR03MB2949; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2949; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2949; 4:4riJYYHjBYZNjaJ5TdeCR3zVCwZYNGvkYd0civJG8K6O0RbclcuNL1yJePy4wLyAr6BGaXQ0OmjHlZ28x0yt6gZwIot/yak6V7DcNBAaAFIHHVsEnC+KRi8pcSrqC9EuJdTbBvm3uEPOEjWatzbaeAfx56OfjT6W2FCo3gVg/03xBZ+Qn0DLgsQHVo9q0sLcwtTiCdIOMvj3+RVjiXbbnhM2vDF5KZH+wlyDggh3m3ZtCAmOnJZuqvFPagKAdU39wl7lrXXbQs+FiThY7OeTrYy9a8oUJUlaT1Cnw+iOYdxGT2NaYq/TaXcrCnPujwQKyDNHxoQOZmRx7kBXjWVWEKVXmBm0t33+turdoDxKGuYeZiNL9ukCiS72ehhN1ZizQO/BtqLXq4ihxReb88pFcJP9+zCmoHLK8pz7yakynQTuFc97CnZqMup/q9heyrWlYFFImuA+bx9w2viKlNKHDj3fS8uV2oA9R2l3l7XNefbSqF/GDo9C/1Yg04mXvmKTQ0JaFCPNvQ2wp87l1EADUILfVIWutNiWhsuDQX3Gy3mO3Uq+alVi68NiA4vWmuR0Q2t9HuDXl8EXQSW6vxDJnhGW+U7Yx7yiDPAn+yqbVpSflKXYH1A0yrzupXJgZYMvFfeL4S96emLn9JisVXaZIbYH6TTAOUyxdLAUXnSoNm82w8/C+LvaAXaHSf9m4F5BHGgxhKQledbFHsf1etjMswtHrKfwBDzid7kbFB9HvUcRA07370yqx4Yrb8UXMy3a X-Forefront-PRVS: 0215D7173F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2949; 23:xcg3QsnXkpHpRTILeBxSmQaL+FbsQM9tIsWX5cgQB?= =?us-ascii?Q?l/7wQvoQGSuhk48tA29EnA+yRjh+ajTzGqFTOZpZPjXlqW7t7efj/35jNdkr?= =?us-ascii?Q?FTSryQ2PF3gd0MC7ArlkKjnaHXqNunW2tH46omi4H1UuDwmLl7Kdw38ToRL5?= =?us-ascii?Q?xBYTLq2TBj495IhrCfjyRp+EmLChe6i6q6dO9l55E+bIeS97q4Ok9SEbbZVd?= =?us-ascii?Q?zWf40d/g658PADDSeEUt6bv+LUZH2Q7hnmJSJURLlOu4TJ7W+halov6wi9Il?= =?us-ascii?Q?31bcCnk8RNfGrZw61a2i1Nc1J2G1RXhayInA3DM+CF5qx6kY/JDDMzy/zHm1?= =?us-ascii?Q?5UDsJblCLb9z+Kq+dOvzaMNpEAuCedFfbr03qXP8foMEM2V8u5S474CZY2e5?= =?us-ascii?Q?OJ2SGMCQ9NaE2Ag0r1V8pE9sL9NjJJOFIjt6pxQuk0Gf3/yQjgJwISF5/8S8?= =?us-ascii?Q?Ga6APMoGjcQrb5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?us-ascii?Q?lO9vw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2949; 6:zNG6YsVxSOrhBOv1Hp+2TFiJSXDWDLVlld0yQAOj/ITCl7zZnzjs8qXHxRgusySbOCqMcHonKUwUh/a87s2fT1PxT7zW5FSXrL0WNMlf63I4dP81/nmjm9NciKFvZjKfwfr8QP7EJqmHz08YNm5v2fo8NOS0xau/YonU/au9ToOg5Bqwya3SiptdjQEizfkDGcrjToCehMV9VU1BCSUWV86eUiyauqDuq0FUH73OcuclrXkRU3PrFSOi0N7wG7oRm0O1BItBujVMnnr0MFvZ/Bhu3H/uipLLE53v2O99OA4nThJerc+bzd3XOwbFPZxo3dETlTDpYg9tNZcQNRL9ZgEWi5wRIEdMsAApYPfJ+w4hrBid/c3RGjATRm7lrEVmoC2ExRx/nutDSn5XI3z92pA5KdqxpsX2KST4zlsZpgw=; 5:mDxQ/qXZBK4HVRAvWtmC3h6ax1Mzj2dx/+1PcSjJqCfI7nzMfhc5aSPpkH4gR+KPlyNmjDjRT7BpSWH666BYrBxy8YAsGK9Au+CMzS+7pQimufi1uiXaejneFUWvpxM4urDvvMEiVCQPIM1qsLcVyWqGN7MFhd6aNiPt/9EMnomeHpYNAoOC4FbfeY13E9iL; 24:8b/I4fKF2LubulBPSnu1xLHiBE/VsQ697Ys15CBYHz+qDJFGQBxlr+wQHiK9JZ5EOsibO7VggZY05XgKV0LDmfzOQnRIiXsQ6UGPybSZRpU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2949; 7:MzE2xNUbWWsikWf5vRn5aPAKi7GM/5fs0ho+EFkrn151A3ALK6/LLSGwEAHO8KO8NLrjM3FUPxgZ16eFfAFu5uZBW1JSHakVeEEAHH/NAO1vsmQOYMdLJVKBWHXVrzpND5nHko9eFHRTC6zVoGRk+gWCLdOTAp4T9iLc/zZlFLxXk4h/au+SmZ4OtkGB0E5DmgAQQZi/VF2GhSl5SPJMYeXiU6HOT8m2PvTRs4lZrCdkFNCn4qxvPp/HZ3LfwkZLPVHWUUkhsxysHC0RrWLMmpk7dtRCyhxMeHl+2LV2UlNRUohEZs1f5cnAjPX924wV6IiDkkhMJFE2DdEmyQoDaJN6Uu8MMdwo2v67Y7gGgxzeMVJHIIW9MTbkQltvZ4L9tPzFaBkoGEKOMnEcPTXQlshBvnrdgRv7q+c7Ylha+JZ3bSYeEwQK9s9dAkrBS8ReTrQ0QN6rhdN8mBzLfdGYLi6wdJmMWBjJA9C+G8pCO6M9lg/1B9cwHoeavKtVDTzAsSRckDyqllDwE44o7EwfXg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2017 01:48:01.6831 (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: CY4PR03MB2949 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>; }; }