From patchwork Fri Oct 14 02:59:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9376047 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 24DEF60839 for ; Fri, 14 Oct 2016 03:02:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 123F42A182 for ; Fri, 14 Oct 2016 03:02:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 065F92A196; Fri, 14 Oct 2016 03:02:57 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 813EA2A182 for ; Fri, 14 Oct 2016 03:02:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1buskZ-0002F7-CH; Fri, 14 Oct 2016 03:01:35 +0000 Received: from mail-cys01nam02on0047.outbound.protection.outlook.com ([104.47.37.47] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1busk3-000214-CX for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2016 03:01:05 +0000 Received: from BN6PR03CA0008.namprd03.prod.outlook.com (10.168.230.146) by BLUPR03MB325.namprd03.prod.outlook.com (10.141.48.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5; Fri, 14 Oct 2016 03:00:41 +0000 Received: from BN1AFFO11FD039.protection.gbl (2a01:111:f400:7c10::183) by BN6PR03CA0008.outlook.office365.com (2603:10b6:404:23::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12 via Frontend Transport; Fri, 14 Oct 2016 03:00:41 +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 BN1AFFO11FD039.mail.protection.outlook.com (10.58.52.243) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Fri, 14 Oct 2016 03:00:40 +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 u9E3085R011345; Thu, 13 Oct 2016 20:00:33 -0700 From: Peter Chen To: , , , , , , , Subject: [PATCH v8 3/8] binding-doc: usb: usb-device: add optional properties for power sequence Date: Fri, 14 Oct 2016 10:59:50 +0800 Message-ID: <1476413995-20361-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> References: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131208876411576641; (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)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(8936002)(47776003)(6666003)(81166006)(5660300001)(189998001)(8676002)(2201001)(8666005)(356003)(81156014)(36756003)(7846002)(86362001)(50226002)(48376002)(68736007)(4326007)(33646002)(11100500001)(19580395003)(85426001)(19580405001)(5001770100001)(50466002)(2906002)(586003)(104016004)(97736004)(229853001)(7416002)(5003940100001)(92566002)(2171001)(106466001)(2950100002)(626004)(77096005)(50986999)(87936001)(76176999)(105606002)(305945005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB325; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD039; 1:QJHRI4rjGY99GyzMZ+OzwWGFqlUN7195XBOqkJyzy4ISDwDhI+b+0IwaN0NMgmHpuXsdKczIyt1OYFUsb6C3BwbrfIFvT0eHr7j5DGRw5yVJuvsAAbVu2tTWFNKAzbn+8dqeUPlr8jogcKjUo+W325SxqGODFq6Tn8lhxiKAN7xgkY+SleDcsyL3RraBbxXRzr5Ap8zwpWPQjzHCujq7026lgMCd9KfTt3eWV3N3eEKh67TgGFf5iqdvy7q9gUfKUP2rV6K+FfyxCDp3nQAbuavunxu4qWOlyzneUPQZBtsY9AuNy6KyXrOmmHlVLFcN36+CMbvuU0WksM0LWvKM3GbWwNte3OFPdRjG8YHT1bIk//zabugjTCzm1Q47uk3w9pvq1CCmMpxs0Z0d+RALflFPc0/FXDCTxFlUCVYxstyslnPQUc9+VQq9l1zVBOUIBUUtvi59kJZS80jgGQlCWEvx8YKLm0dBjuSTMPuEtu9jyEuQWy7n/hHLWbvoyXIKvg5SZFxiPezG6bhQdOTYbblgRhA+n78isU+WvJ7edBBV4axO6x9sQ1xjCmKH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soft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13024025)(13017025)(13023025)(13015025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BLUPR03MB325; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB325; X-Forefront-PRVS: 0095BCF226 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB325; 23:Wz18wqSiTBXM9WdhTEjgmXxJMheFGE4FzIBqrwSD7O?= =?us-ascii?Q?AkgdWFyrRBofYADrskMWiDGNFj45GfYGMJmPse8pWUCYWs5MK1+Bv4WqVrc/?= =?us-ascii?Q?XY7tj+5UylxMfxPsIFPM1mKAo9jNHTUf8pgbj/4YGZC6rgUYR5IHgwPIuXNN?= =?us-ascii?Q?BlW1Cyva6NByLQeqSBP8HtukVJBm4tjdgJCU1jPXn+KtC2RgZ138jrc5p6Z2?= =?us-ascii?Q?zC/CssAk5iKYo97SV5jJPQhExN3g4ecN10xK+/Xg9pYf5sOmU87LbzoXjtO5?= =?us-ascii?Q?DugKSI/Wqc74Gg5PlFoGBrBerYMk39S7a+6VsohYuLWOQ7X8U7Z098Estipo?= =?us-ascii?Q?T0tM2+ESpNTlHNAVDh+ONKrHpp0JaXrtR1hyuvRGJkQyy+MDMq6guC5enJ7v?= =?us-ascii?Q?y4IQFEoVpTVeFCBx2kaf/UVBIm1RQoyU5ONA4Q3uZVJZLh+kU9uuD6GPbp+s?= =?us-ascii?Q?XtJOAmubr2lvraLeu3VONECKROnZF5JBCPmph10DXGCOASZKHeUwwa3RFO/c?= =?us-ascii?Q?ZyLlBdDVICVNiQWpzrw40i1iLbXJTUQsqmxZJxZ72ufexgXPT25VVGTd126z?= =?us-ascii?Q?pN6Q9a+wrrjQqMEnG+02VN+V1c9u3xiTM5ptvZdcd4aA1GOgHeGpFgXDTOOF?= =?us-ascii?Q?k5M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CYzxIX/GAlUS05OdVy2i4QdtLtxuc=; 5:De4x8G33gg3dTk9Rf8Nmgy9pVH9RbMVUWaCgevopN5ooRwhnnMvnLFsBNUxhgIFXB7vxzYnai9hcqNGUBuitKMonJ8917B9DGqxLZecil3hmoktJF3TcnyxTiipYNiewBoZQ9zBx4iXO54otqr1LUy6jZjN/vVQbekWNnF5m8nA=; 24:HwLixafWHgAB0j0q2cMw/l8/a6JQc3fHnTEtGcBwWf3EaNaR/xAvKdKxatbrXrc0ZBjUJm6dQAZooA9/wln0w8y6wdPZNO9kXlXvxdVAjjc=; 7:UmTCMOhde7XY8PqnF1l4reOW9ewpbWSVFNhBj9yVU+gg5MfcNVi0L4rpvrWek0F1EF0xQZ3Imw9U9hn3ilsXx4K6G+fRkxCyuE8qjGOz97tZmlNslryPH/Jo5JAVEAuqczc5j+9QU2Fcq/j0v/iFMyckPgf4onpuF0KPNCNXqlMEGwFDGzYmU/oQNvgm4hwqiFR6GjnJLUOUbuaS23VCrD398hN6X5ZOAzx1gJmVN0/fWFaNKjAOhksrLCMniixy/BeEj4x0jBAjczNCIHS/Pjb5rj51WTuNHne+bCJgCAqDZyI6IebuLVb9Lp+5GGqClAPGxRoP+hC9mfeEYfYB/Q== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2016 03:00:40.8768 (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: BLUPR03MB325 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161013_200103_753987_69712E35 X-CRM114-Status: GOOD ( 12.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, mail@maciej.szmigiero.name, stephen.boyd@linaro.org, oscar@naiandei.net, heiko@sntech.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, Peter Chen , s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, troy.kisky@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, arnd@arndb.de, p.zabel@pengutronix.de, festevam@gmail.com, mka@chromium.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>; }; }