Message ID | 1467882892-27589-4-git-send-email-peter.chen@nxp.com |
---|---|
State | Changes Requested, archived |
Headers | show
Return-Path: <devicetree-owner@vger.kernel.org> X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3rlY2W4nCxz9sDk for <incoming-dt@patchwork.ozlabs.org>; Thu, 7 Jul 2016 19:57:39 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752468AbcGGJ5d (ORCPT <rfc822;incoming-dt@patchwork.ozlabs.org>); Thu, 7 Jul 2016 05:57:33 -0400 Received: from mail-co1nam03on0044.outbound.protection.outlook.com ([104.47.40.44]:32784 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750935AbcGGJ5a (ORCPT <rfc822;devicetree@vger.kernel.org>); Thu, 7 Jul 2016 05:57:30 -0400 X-Greylist: delayed 2068 seconds by postgrey-1.27 at vger.kernel.org; Thu, 07 Jul 2016 05:57:30 EDT Received: from BY2PR03CA049.namprd03.prod.outlook.com (10.141.249.22) by BLUPR03MB1489.namprd03.prod.outlook.com (10.163.81.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.534.14; Thu, 7 Jul 2016 09:22:37 +0000 Received: from BY2FFO11FD033.protection.gbl (2a01:111:f400:7c0c::185) by BY2PR03CA049.outlook.office365.com (2a01:111:e400:2c5d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16 via Frontend Transport; Thu, 7 Jul 2016 09:22:38 +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 BY2FFO11FD033.mail.protection.outlook.com (10.1.14.218) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Thu, 7 Jul 2016 09:22:37 +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 u679M9nV024626; Thu, 7 Jul 2016 02:22:31 -0700 From: Peter Chen <peter.chen@nxp.com> To: <gregkh@linuxfoundation.org>, <stern@rowland.harvard.edu>, <ulf.hansson@linaro.org>, <broonie@kernel.org>, <sre@kernel.org>, <robh+dt@kernel.org>, <shawnguo@kernel.org> CC: <k.kozlowski@samsung.com>, <linux-arm-kernel@lists.infradead.org>, <p.zabel@pengutronix.de>, <devicetree@vger.kernel.org>, <pawel.moll@arm.com>, <mark.rutland@arm.com>, <linux-usb@vger.kernel.org>, <arnd@arndb.de>, <s.hauer@pengutronix.de>, <mail@maciej.szmigiero.name>, <troy.kisky@boundarydevices.com>, <festevam@gmail.com>, <oscar@naiandei.net>, <stephen.boyd@linaro.org>, <linux-pm@vger.kernel.org>, Peter Chen <peter.chen@nxp.com> Subject: [PATCH 3/6] binding-doc: usb: usb-device: add optional properties for power sequence Date: Thu, 7 Jul 2016 17:14:49 +0800 Message-ID: <1467882892-27589-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467882892-27589-1-git-send-email-peter.chen@nxp.com> References: <1467882892-27589-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131123569577125949; (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)(1110001)(1109001)(339900001)(199003)(189002)(97736004)(575784001)(68736007)(2201001)(87936001)(2171001)(5001770100001)(189998001)(86362001)(77096005)(5003940100001)(586003)(8936002)(50986999)(2950100001)(50226002)(356003)(76176999)(47776003)(8666005)(2906002)(48376002)(50466002)(36756003)(81156014)(81166006)(229853001)(305945005)(33646002)(105606002)(19580405001)(4326007)(85426001)(19580395003)(7846002)(69596002)(92566002)(6806005)(106466001)(104016004)(8676002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB1489; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD033; 1:wU0RuWQhqE0y15YuaNnQNlqqSuBlYudNCWRXeNzTguDA98MMUVp2JtXp7TJoVBVJN+QocMijCyG7PlttMqTsqp44PyjJBtZI9I5KBAoXVhTaIQL4T3vOrBTiXbtfTYAklARbANemA351Bs2aTrF2JibegGKeTAkcLfGBaDPq+xHH0u7VhDKEr2kSeXEBzlb+D+qkDu+8BrMbstuL6+COU1PsWf2fr+OH+MzHfU9NJ+G/YiRGP9oSHYF0adrdRlHGJUYElaiDqgTVGJgCL3jETGJr6Y5vtjctdLVNGM0du+nVZ0i6vv+VUbGn+aPmPVMdcZcqBPBkp0hlfHSoTPJIYxO99LQ/v8aZi+oEtBnIj28Pzuu8988mykLjmRreWJ+dv/XCahu38UarQRP4mYZU20gwth+dVLOiM/2G9WkeHQknbVR5SfJp/HHjrhoMuW6lMsC+3T1lwpSVutRv9zGXRFZ4Teyr6l1trs2kZv74bUERNxEoSn3YrYBMvLxp+G8PP1tQmkIurspVOn1kR0mAQBssXYoAnfhFiVtW/7SJFVxtns5IvM5GKnPzxUJISn8iI68322zbmOlCMUg0Aqu6uNLliTdQePSZ7JxyFyQ5jcUm9kKfT6bIf7uuUPj80HCXVc1KYIl5KiNLmrAh1vrxZtcKt2InOKNFJg6gzAVzNCbu1MRuJ5SgDrzPVW9VO8j1dlhVwVAcCQ140xDEoGu7/bOW6HOFfD1Q6tqKwOKRArhyayj3Luh0e78j1HsNETbK MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 2e404e67-a23a-4f9e-683d-08d3a6483cca X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1489; 2:+HYAjgUfPEqyC5FhCpoTkWN1i/nsvJu/c5jOZ6paX08AdlEr6SqxOLDr0krRv7btsKbxEXkRCHo98gVdRxijsBhw+vSeBR4Ieg7tcgaZcD5omZjBGn3ParJ/pbPh2CNRxnutigki56yNaJlnP3EvtAc5x9f+fN1OCUcCjZzHhNsEItWWk7C4Knwqwi6OzH80; 3:DvrgVjR9nxRJbCg0ty7WhUNFf4PuCZEOBg/J8KIbDjwMmibeGV/17JcFhqTf/qeCFenM9Ss0b/WlyiZQU2N9i3craYZFStW/8d0ECgZmrOCSKFofQN7AN/qnHM63nBVvcXIEMT9vqb2U24hL2X7ARo5qgwWLI7p5wvdA+GCBCnwAvirwbP45tgHE/XVEN3+oNji88tG9M17WHTQxp/yOeDtdgnWwRQ+uDWVVybVSuPw=; 25:nKnECITNwCh1OKpsXY+Q+zAxTz4vuCCXIVW13qbEnNEQ6rrQJGwJWCgsJYd8Yi6xL+DekKKOMzRZkqb1uetuHpQ/GICjvAERBAffs8XCxQUhE/vRgdrrqyqFMYT7OJy8aU3pZRjWWg8ix3OXy8U9TLSQUiLpyVUJHCffUutaHymEzQ/U/yaCxhE9fpfsoGaopd4NCX9rFw1aSfcPFhy4OBEngIeoVrHZWoRxFSKd9++9CwpwemOUWh2A5YP7mzBExhA+v7yFRIrgCWsOemeWMFt+g4uI9rtPBJV6dzRnMPZU+DX4YOlXRn0ey8e5C+tk7oHneyggeLeNxej1/MxJZvo7A5za924eIlwSc4L8l8Kd7fXRtpoCh6hFNoEtO9CkJVmZQyTEuKgaXaiCuj8yS++AJLxrWCyRCpeYFSvWXAk= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1489; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1489; 31:3kogiq/ihAxVqk1hUwYYR+N62B21fnHILUA5osvb+8Pu1t/sTlpSkX4lHf4aaDso+5cytm3kLrSp69uc4THAyyS2xGOYZKhtKQuMmKMLmxSuzRKOrnMPe0LAy9fgmoO4m6t2yF1XC70JABw0x++pa+WxIh2KXDW50IDOJdc8+WwknPMojdLPGlXtPi7vShySY3mcVsDeub07J8ZEHAqJoQ==; 4:f11i6wGrps9chHeyVroomxJO1pTLIbRY2883iPAFcrZ5KuXepSkHV5Pu7qW59QSR1+K4EFfbn3Au9Wn6HEA05CpyIR2rxqowN8WIXwVCEl/YyrQBeD5IkbCuv6TmG/KFxWrxNI7G2MRzmOyTmcwDN9twkvnmKXYUwbLK7A0T4wumELaMwFEQpI7YMmDlL4zI6DIgSoe1pIwTw8heFKhQD8QFcbd6VpeEtYmrB6+FqrBHLEzV0O6g6z0PcA0F/6K+Yehzzrp2Qi39Kqhe4Za36xen+pdh33y4MQ8GcNSCWQ1NDozdS5QqUXP3SxYw5ISex+30/bh077b2QLOha790UAEimgSXrX/i2XXALYNAzMMFMH6HeeidcUvRt3Arg1jtG1NHNLZFAw5xdOokMOvknGOxBPH861oC6X8kLxM7/RNWi1Y+J946lxfY2MFaY1FfT3EeOvmlJsTAT+iqudG9KzZCAGnCC0bMiIbw4kyBdr6NYyoVmQTmqwWjOiD+PuCDnuT+vnfwhTHl/kCjLZ9hZQ== X-Microsoft-Antispam-PRVS: <BLUPR03MB1489F5B777DDAE7B202ED7AA8B3B0@BLUPR03MB1489.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13023025)(13017025)(13015025)(13018025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BLUPR03MB1489; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB1489; X-Forefront-PRVS: 0996D1900D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB1489; 23:qZ9t9ERZN+6ObBk9mjd1C9cVLYAT1dYRdvp8FB23W?= =?us-ascii?Q?8ITApUWZT6BOMAv6cZyzSmzYMMntRCrh9d/4vvYcVwkWAk/DVn7mBTDDlKdh?= =?us-ascii?Q?9WN1vvZCl3Atvztx+KijNgCbmXibsb5U6GE2sRqoP+j2Hj0eiva+APiA13RM?= =?us-ascii?Q?vuxhjgBUJbGctTMCi4Sl3WxO4NWAQytRpE7SbpXGCjZ0PtbtVFKXYpiYMU7k?= =?us-ascii?Q?xn054ZMYG4tx00snFcoc9VvC7gESEhCyT/LlVxN/YQW7yUNCHIYAHH9w5X82?= =?us-ascii?Q?AhIQXbmXonh5uD5mkWqCpp0/NGeBt+8cIvDtSkbbVKmgvC7wt0nRPn9mLQed?= =?us-ascii?Q?YpJuTyh68FkyPR1CHKrdYr1Uob/FPk4y/kYZ81jroDFqC+r9KAU8i8LQbCp9?= =?us-ascii?Q?m3F1ROat8QQNlCqrD9GYLS7879vjuhTpg3qRx+TubCvZv4u/OWCZMUVxdkPq?= =?us-ascii?Q?klLeq0gC97kpQMyT2nizRFVwncCmeqBKglIXRJEORj0nxBh4aGZe9CSxJZMr?= =?us-ascii?Q?CmrPnTihE0sCLiFZF0UlSQkwTyJAu46GI2Y8DswEa07YZ5nOJFlKsIU+7ha3?= =?us-ascii?Q?OJhtB/9ce60PgLfAIY7ydEF8lofpeZPlvXbmox0pHAjjDTKYb+JgC2hneFt7?= =?us-ascii?Q?GMqHkRvQEtNLH9ZVZv/gHZOVIi29aL/J9MvzNP0A1ECiub0deR/7b2bAVYGG?= =?us-ascii?Q?pjf9wDeg7XK3O2dsCUXxN77DDn+UGtmGE+AX+xm/GWJSOKcZxnNXp8dH2aak?= =?us-ascii?Q?PymCN7689IzZJT6nNS/E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CGXBrxgUnhXGnp9RxdoqhcQIgCBn533CqrWqvfJYMObWnkpdR46pwdyidDWcxRmYRv4mEbp1GA=; 7:ED8U09HaWP3ZyAZCnT/X6CAEtK3GYYo5T+NyheJsLPJPWVU4gndJnJbU07RB9vRT3qiYCmzfj5Wa8jwJKhcz64uR0hz2taDhiTp02KAvp90/M2/jWnX9ExKkAj5sId2HzmcmJdLtnuoI3URvCa8TDZM8pXN1ve23eZ0ZuBmuNfURK8Bk0pgSWCjwwscrCP7sjGyNcXLi5Q56J2RFsRLWaQv6B0DZzKaPNQqAJ9Mm2cZ0zdi3k4DPlFRrODGfZbMh SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2016 09:22:37.5721 (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: BLUPR03MB1489 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt index 1c35e7b..ef0c9b2 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 { @@ -24,5 +28,11 @@ Example: hub: genesys@1 { compatible = "usb5e3,608"; reg = <1>; + + power-sequence; + clocks = <&clks IMX6SX_CLK_CKO>; + clock-names = "pwrseq-clk"; + pwrseq-reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; /* hub reset pin */ + pwrseq-reset-duration-us = <10>; }; }
Add optional properties for power sequence. Signed-off-by: Peter Chen <peter.chen@nxp.com> --- Documentation/devicetree/bindings/usb/usb-device.txt | 10 ++++++++++ 1 file changed, 10 insertions(+)