From patchwork Thu Jul 7 09:14:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9218649 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 538CB607D9 for ; Thu, 7 Jul 2016 09:24:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44C37287E6 for ; Thu, 7 Jul 2016 09:24:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3942C287E8; Thu, 7 Jul 2016 09:24:25 +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 DE2AE287E6 for ; Thu, 7 Jul 2016 09:24:24 +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 1bL5WW-0003V2-LD; Thu, 07 Jul 2016 09:23:08 +0000 Received: from mail-cys01nam02on0087.outbound.protection.outlook.com ([104.47.37.87] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bL5WO-0003GK-M4 for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2016 09:23:05 +0000 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 To: , , , , , , 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/7SJFVxtns5IvM5GKnPzxUJISn8iI68322zbmOlCMUg0Aqu6uNLliTdQePSZ7JxyFyQ5jcUm9kKfT6bIf7uuUPj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yS++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: 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/EtWBX+DCLrmmZYm3vqKMfgxfFvHII+wIHIDfsNnPD?= =?us-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R46pwdyidDWcxRmYRv4mEbp1GA=; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160707_022301_201231_BAB8CAC2 X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. 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, k.kozlowski@samsung.com, stephen.boyd@linaro.org, oscar@naiandei.net, arnd@arndb.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, mail@maciej.szmigiero.name, troy.kisky@boundarydevices.com, Peter Chen , p.zabel@pengutronix.de, festevam@gmail.com, 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 --- Documentation/devicetree/bindings/usb/usb-device.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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>; }; }