From patchwork Mon Aug 15 09:13:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9280623 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 1805C607FD for ; Mon, 15 Aug 2016 09:23:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 036D628BF1 for ; Mon, 15 Aug 2016 09:23:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA0EE28BF6; Mon, 15 Aug 2016 09:23:35 +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 571DF28BF1 for ; Mon, 15 Aug 2016 09:23:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752930AbcHOJXW (ORCPT ); Mon, 15 Aug 2016 05:23:22 -0400 Received: from mail-sn1nam02on0044.outbound.protection.outlook.com ([104.47.36.44]:9217 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752917AbcHOJXS (ORCPT ); Mon, 15 Aug 2016 05:23:18 -0400 Received: from DM2PR03CA0024.namprd03.prod.outlook.com (10.141.96.23) by BY1PR0301MB0837.namprd03.prod.outlook.com (10.160.193.143) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21; Mon, 15 Aug 2016 09:23:14 +0000 Received: from BL2FFO11FD031.protection.gbl (2a01:111:f400:7c09::129) by DM2PR03CA0024.outlook.office365.com (2a01:111:e400:2428::23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21 via Frontend Transport; Mon, 15 Aug 2016 09:23:14 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD031.mail.protection.outlook.com (10.173.160.71) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.567.7 via Frontend Transport; Mon, 15 Aug 2016 09:23:14 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u7F9Mh8d020596; Mon, 15 Aug 2016 02:23:06 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v6 3/8] binding-doc: usb: usb-device: add optional properties for power sequence Date: Mon, 15 Aug 2016 17:13:13 +0800 Message-ID: <1471252398-957-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471252398-957-1-git-send-email-peter.chen@nxp.com> References: <1471252398-957-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131157265947746445; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(85426001)(50226002)(87936001)(81156014)(8676002)(11100500001)(5001770100001)(2171001)(81166006)(97736004)(626004)(8936002)(189998001)(2906002)(229853001)(48376002)(36756003)(33646002)(19580405001)(19580395003)(68736007)(77096005)(69596002)(76176999)(50986999)(104016004)(50466002)(5003940100001)(2950100001)(2201001)(106466001)(8666005)(305945005)(7846002)(7416002)(47776003)(356003)(105606002)(86362001)(4326007)(92566002)(586003)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0301MB0837; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD031; 1:RkhiTiXe6PLOEVFQ/DUhvINWo0rUVtCt3usQLnP8i1Px7GP8FCb3ftL9/qlmeUeQLaPDYjzO5+/ZgE4xqcGfWX97n/kIhtMkSqOfIj+MkwszBk++qTaFoC+6kmab+loR0CQ20hfTSOPoJdLB2FPE4ABeYuxgh9W1tsRJGkOmBQnWGdjJkdLXkkD9yvY3YGxc2jwmZHLZzVnQqyPQPIttDhWi4u0GMIA2ZlQnsaY8/AswrGlODI3cXI/LClCl2In0dr3A7sVN4rkoeiLzeRyBfljkW6uREPpelVmc42VHBbx4JpdbOxv/lP1Tjb6XDpkSAA4gZfJwDhk3F4WhpJ5/OTIIhJya8uoZhYt8/MdGKOYwTsMiDf43j2+uI/PsLT1emOkh8F8O2DX7wudkIMq9+WM/Ryr7LIDOj2QH73bC+b67/Kx5IirTa70tXGjAaDJs8wK3rNOuvCy+44Xy4iL7JT+tX8lBe4cuN1oPwluf+qeIqsICDlczQ5bzYrRjRw0vtR10gVTkFxEGW9hYh5j5PdCiKtvwwsR8Z/l6r3pfbyEk1iEXX3U3oI9/0OGRLLoiSEAVwmKUV0K7xFSHc9olLLqwLcp3+vVfsLXgivkqpsvLl1vQ1B4EQR2afOo8OfMLY8iAyRDeEtu2tQSIPT555qWZzev/Yk5hg+Bj9goh6ExjCD1RPv+3gCYXLFQbecvSeG1NocOudPQ13TDnt17+U5Or3MIoChLlBPImNwW2XVGYfPsH4OWYU4cLFvFJOIxH MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0b7ba0f2-c03a-4cd3-7f2c-08d3c4edc8fb X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0837; 2:uXyReezjNH48ntp0ZXFhtcpS0q/9DDrylHabcCEYJyycIEAlc9OFREdzBuFXetS7hg+civmekErOF0qEytfQ34MRUbZGao92npqd/WX78rphNkEPJ8wcjplACOu/tDqCqPmW8cWjkdz7ymTbQKCUGX8d6gAYCXmRdcbABIq46ggIZ15BEQ9536KJh6FGvj3c; 3:Z1WWeZrD8A3h0T9vygapD6dOs2VxaiOoXP+ZaYoUQTtSblTdOh2GBQHZRIrIAI8jJpYWsK3j9EDtErG3N8h550lZRhnEFA0LEdNRpQN+sylp073juQfPHg3JFj0/FhKl8e9kl4NZnWdhd1PxBNdF8k85QjhGbQbXUnJehsT7f9LnZok3trKoawgPKxUUTJCt0YtlU7nrfH2PiN5U26JdQEKASRF7Yh90PrO+YosERQE=; 25:bwkmO+CWOP4qf1URTkP4PoVfss9Y28nNdgrMcJMd8eO9H5xr0qWCpzyggEu2KiwIhS9j585U8XagGIHkby2WWTwUOWRz3tEiYqiX/8fWvAjFhDNAeFe4Xp+RE1AwgyfM/fCie2GBGIS/nzUV/1PvE49JFE4MWJqIr5QOmNoSDGb0kxp2KxdXYQo/jXw6scAIDRv3sgzX5yTVikvcTRTZk1pbd6G/g/3za9nLi56wSqyUqV+HpC53NHx6k87Qh5ah9E3AIOA8UgSSe5VxWTQ3JjgojXjC6C61EFVrRw9e0XvBgnB6hmnnR2poppAgAj2F/2IXXeKDaNDiCDWoslmXtfehNJ755i8BUu7NE/ZbjjEuP5/ELyNPsigPmCv4okKG6IrAaWURjcoBnlLVjkJAzhk6ryYSa6UfPEKxmoKWUwo= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0837; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0837; 31:zN+Ok0TEW/QUJB79mPJUN1HbthvJwm/9AEOuNzjQdkidqBFQ7AKEUZzahFtJFGjgBWnTSV4E/T2RxL+UrznJh78Q9k6TS9qowxLZ1liINpxWscAZGhjKQy+Gv2r1gGRtZFHdLhVhdix1LHeq4Oq84joKGXAGC3yGuHaZrmBwSNye85y9UAgLUWiius+w93Q/YMHpbi9pvmloDF/Yn8pYIaKkc0NcjgxbdBbgEgKG5LM=; 4:Uqp2ALRET64agBxwiKpyW5N9WOaJmDg7peU8TpoYITEypna+P4bfz+ahe6ZOkMbZbnknyLQxuq/FSSzTrLbwmpE5vpS95I1x283qX79AbBtP0b4RBNgFCj/xl621qZl3Xhz0BRc0KJ38glrw5/F7ZvcDgAzX6VhGu+UL6u0/KJHW5zJWHWpGppvWpwaJJX4zFE364Y14IM+mWGSbfsm56JaJ1ZqGsS4hxP7Gpj6BQ9S5ePpZ1D5dv4q4cWfvddlx4Yj9MinPCJhOmskJnb3l8/NfZtqN05fK0k9G4POxvt67OBCEfUDoLCO7lQuMrtuRP7Wb8c8yEE5cQ18aXNS4dCaC6EPeCi88k+PNc7H1GRIOZvCHqZyF+Vc0ExCCSLvs6kKPnJrF2Acv+EC9TmRq0esT1kxBdrXtiJKgzATZ2L2aMHGLE1hEZo8xhj8M5Iqvp1w9D4dO/T9ixVhbAzBeZmpJ8+XtNR7X/AvvPRUN5qTFx1XfbQLSrBdbYfX0dC4GXsGBYqBH0OOHNXyHZbpkUmrRt0a/XNmX/tLgt919Fo8= 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)(5005006)(13018025)(13023025)(13015025)(13024025)(13017025)(3002001)(10201501046)(6055026); SRVR:BY1PR0301MB0837; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR0301MB0837; X-Forefront-PRVS: 0035B15214 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB0837; 23:iLtrj4++tbQhgI1oXLMSNeBB9fNoN2PZovSOFy7?= =?us-ascii?Q?4/IkM4ke+JqQTcj5NhXaYgxdPnuxrNzGbyKnM5Ed6yOB5YzC3kwWQom8ahr9?= =?us-ascii?Q?BsjhszBVrk6WnP60DYw8F4KWilf6jhmHw7pKNebfTLPc6gW4+R5M3m7k063R?= =?us-ascii?Q?l8CY37UGB323KfOZOU57NM37JTksbFFpc9amEwXlVOvZU+VTnJBPlklxAxco?= =?us-ascii?Q?Kho7m7cLNr0vooRsptgqsdvff+wsiXsr7MwqhUZerxZgxltJMgBwxfU6gV+t?= =?us-ascii?Q?gzISb967kaEgenoIv6fjhWQq+MVu+VEZovvfOF1/YHjMQ7IPEZBqQheygwCt?= =?us-ascii?Q?qQO4SRXvBdmZN9suM1Alsn1uDrvWrsU2Ywj3Rdf+NA0r8exKM3hYNBI1zU3b?= =?us-ascii?Q?ctNaqy1lObhpkTp+OqiR52Hvq3ZKIANvEDHL1r2V0kKHxxdDRc5Kl2Ai2ZxV?= =?us-ascii?Q?tCbYMdKf4XZl7F7swto6q16ilIqh7HLb08GVH+5kzxfZwlHnB4oMcp3QJd9/?= =?us-ascii?Q?0BKzv1+yQHH2HsXm6TcWSXuLb0jpgscUJKZG1BjD4eWlUXUnKnQLUPvszAZ7?= =?us-ascii?Q?Z9hLKvHaRnoaAvwN192Ert+P90qI7ZD8aTKm7mPOnnekacg8BupVUy2U6EVA?= =?us-ascii?Q?Q1JFB0/ej1mRBlpYPNTDyatb7H2CcSUytJxkfL65VMFqk2LwTJTKQS5UZhWq?= =?us-ascii?Q?3o8E41jIO5uBHxu3ZvHyD8D1lFevy/anxRdj8KD9342WIyxxnnBkJSYWzpF3?= =?us-ascii?Q?OccjKsXnDxSBsLZoC3Tbg+IYt0DwcUeuZ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0JZyxjeb8=; 24:jIE8Y0zBfGl+yS/PP3tEWvbqfHnUPnTPAlKa8d7BO4fRrUvYnWevmjNpo3200GDv3KJvzzdZBmsORRo/zxnF/7rZLQ+BhquTGAWzBO86eCo=; 7:QOs9oe0yyNSmyE7VK9fyafIEv813XSvjZBci3bSptBytvx3QHgEuHJrNpU1CQjrGAXbxgV1FvQGAXN7l7k1WO+AKmOT0lsgnXaIzfm0O4TAjJzBsbs/q58LV9h2Ggzvwd7x458HaF3Z+/IqNqj0vCc3r8jUgY2YSw8Uco5Dsgr/N91DHKG/MFPr00KMIvUB4KGAtc/XiAfav0Pih+/GUjJTS5FtAYfPxism+5ZpgteIXrRhXP7Mbh3xb7YQoWsXU SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2016 09:23:14.3534 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0837 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>; }; }