From patchwork Wed Jul 13 02:06:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9226719 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 96ECF60868 for ; Wed, 13 Jul 2016 02:16:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 862D426A4D for ; Wed, 13 Jul 2016 02:16:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A38B27BFC; Wed, 13 Jul 2016 02:16:53 +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 248E226A4D for ; Wed, 13 Jul 2016 02:16:53 +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 1bN9i2-00013B-Ux; Wed, 13 Jul 2016 02:15:34 +0000 Received: from mail-sn1nam01on0045.outbound.protection.outlook.com ([104.47.32.45] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bN9hk-0007xm-Dl for linux-arm-kernel@lists.infradead.org; Wed, 13 Jul 2016 02:15:17 +0000 Received: from BN3PR0301CA0014.namprd03.prod.outlook.com (10.160.180.152) by CY1PR03MB2412.namprd03.prod.outlook.com (10.167.8.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.539.14; Wed, 13 Jul 2016 02:14:54 +0000 Received: from BY2FFO11FD039.protection.gbl (2a01:111:f400:7c0c::152) by BN3PR0301CA0014.outlook.office365.com (2a01:111:e400:4000::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.539.14 via Frontend Transport; Wed, 13 Jul 2016 02:14:54 +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 BY2FFO11FD039.mail.protection.outlook.com (10.1.14.224) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Wed, 13 Jul 2016 02:14:53 +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 u6D2EQew028042; Tue, 12 Jul 2016 19:14:47 -0700 From: Peter Chen To: , , , , , , Subject: [PATCH v2 3/6] binding-doc: usb: usb-device: add optional properties for power sequence Date: Wed, 13 Jul 2016 10:06:47 +0800 Message-ID: <1468375610-18625-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468375610-18625-1-git-send-email-peter.chen@nxp.com> References: <1468375610-18625-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131128496939019484; (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)(199003)(189002)(2906002)(48376002)(69596002)(8676002)(8666005)(305945005)(68736007)(7846002)(19580395003)(4326007)(19580405001)(36756003)(92566002)(356003)(586003)(2201001)(50226002)(47776003)(50466002)(8936002)(2171001)(86362001)(87936001)(105606002)(229853001)(33646002)(11100500001)(6806005)(106466001)(104016004)(81166006)(50986999)(76176999)(77096005)(5003940100001)(2950100001)(5001770100001)(97736004)(85426001)(189998001)(81156014)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2412; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD039; 1:Y2u26i5u2OMTrXjgax6Ma5g4nzmX4WDRhHONNjFxTlheTw/KXjn8J4GxvXgkWrzvjkyHWRwORSGcmA8o4s5a2VdqJK9+jDwIseJxDw1mKSdAOEBTvMqg9xu0elsEBc/p0UnShyKRJrxyEZQGDPvd3mnhsGOxSMTobnVu0S51zo2k5q83dRC/JJHvMu8q7W2gvxILcM87svGu8Thvv9rXZ3UkNQYhxLJyDVylYzIH9QPdCiKY6vwPbEkyCJqnXiF2FLPrkKSf+/T6MAU2VPEiTFIts1IgK3tKfRuXeaNadeI4TDlH6Wbrx2+rAmv3+H3GNYpRUv7mLou6DIy6UGOprB5+0siQG6QLA948Cf/xhEvblgarsh7aMALyhnxLYABAoVuj9aHyDVSnD0KTZtlVu+dRyDynvCTnZvnuawGbPAVXzw3r1coMvCEr8/KzJfExUs0Zp599wlZqC8dImoEf+5a+Pp0XJyY8eTqhVsltB8H7trMgt4thTTNDCGyUCryxrMAZenMqtD4GzM7jhe1XsE0Te007C1Gm0QwvgNt9LE6IMi8U3hoCZGWWWxMIg6nS+lymMm8KtGYQPOBJKLvoAobEQAYi1dZrQBTvXdN+Ytduu7BuVF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tgj+Sk/K61hblT207mrg5oVs967wLxGEsjzc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB2412; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2412; 31:x7udBIuQ/IUpKHzyCZ9on35i3uH7bBof7caMGaQrZyi3TJPdrXVTzE5b3trytIS5PysVKV7EQ5JRwjOB55tIB/+FJGfpjQ4scp9H92qlFgzYAE9VPSLB6JBDcjwNOcsdpq8GmlQ+Zmc+WNcwHEBrHAyZHivEvl6DXbfkZU4Lflh/MtTy+lXh+SCtS8zjEdrgbtfIubbcI5tivCgYjMXeLA==; 4:QZmP3gjWp9xVFBjr4I2AbkYnCBdm/mlypmB/IGZKHzIt/zhQpavCTd5g5PyxwCDb1iNvHlOTyOf8h06dRpAkDJiE9Tyo7+Y4zu/PoaZsYi8LxrFS8I6TuWGspYWXc3YhzLEPQPZjCuFnDlagTYqcdczGTKUgVrJb21d7CJ0Oa4E/TGy+iio1W2cwZ043OebfMQxmJUIg2xOZQ7zG9hz0rliD5FLr3wsVpmSdeSNtB+0ukGoE1gnxRBQeDVbHsD9FKVIqwoCkMvyiSHE/evpVw7hpN13t1+LUFCp3zJewyPRGzUv8bQlaOx95amImAfrV9JgO3qga3m2l2SoSu/2NGkrl9AKufyJspqIwkpJX5O50XieaECu1y3T09ggxgo3VLp2OTI/ucXOd4CAhWtg+nFAQcHXzzhY9qFQdcoC8F6PvryWPkeJE/NUw8eMWyuuLEJ00ksH93tchafFw9X2cCx+8cZUx20Sxw6ftaCgaAgDDbEn/qIzoA5yNY1fLiKLwUxqn0ObrminsC/J0urreyA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13018025)(13017025)(13024025)(13023025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:CY1PR03MB2412; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR03MB2412; X-Forefront-PRVS: 000227DA0C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB2412; 23:eAcp6j6Hz56LI6XicDY5dbT0edrNVZLBmyJk30EwR?= =?us-ascii?Q?k7Z1WcFUjKL8uaF4VyabytkwQa/ZBkudXGgSY1ay0Se18vqDsO88Qtde6da/?= =?us-ascii?Q?9Y5xpZxoP7Us2H4Cs4dq/w6dO+StDmtZb+SefWtixL8O/lyySmcFEKMl+YuM?= =?us-ascii?Q?AOq+PrkEa9S04ZH7Q5HWEhneJZfl8nGYOpus62TyTIE70mjJC6BqZ3aklGdp?= =?us-ascii?Q?f1skxAVqmUVmwYvaMC1n/2UyYTomhIf/EB5E5DV/LKvJbz2An0rQeP27lqFx?= =?us-ascii?Q?igPwUpdhuQLbaRld/T4mzj1aW7RTekvm2ovmrWS1f/IxRsMCiq4WqVLl2+C4?= =?us-ascii?Q?Q9mJgT7SJFvezSHN1QgpdMgejrX/7TAa9KlTErVinFPTHRr5L+DFZuSAtBaj?= =?us-ascii?Q?2mbvx62dU36txpAPdRQSYEgvb685evUr1GB5lTAG4UmWSfzVmSYgzbFaK/jD?= =?us-ascii?Q?WDJukO9oG0hmubexVPKHwqptO41tKlBUmRvgoA9u46nXBwkT9Ha/Pmc2sSvN?= =?us-ascii?Q?vXwHGTKT5HjUGPNx5zlAHoxNZQOJYTW+u2q185UN07I7T+ZJEFyERI8MDS0R?= =?us-ascii?Q?Chj78b1Q4ukajtm8Xjqzg//o8dDbsKNsX+prE9YJ0EQDuRGYsGxEouazt/Q6?= =?us-ascii?Q?zdHMU6f7Jd0numN9zR68zmqZHDnhi7t9Padz0DGqu2JHZe0lax6UZfORPJLu?= =?us-ascii?Q?FL8X7xoL5pfs+QykHyEqlw36eMLSirfcJ6o7ibdYk4OoA9JmwH/RiAl9U9BG?= =?us-ascii?Q?vVIMNcBqtuKEidg22jT2G2fiDk6oPlag39b8XNU9+WyY42xvHlobNWABhx6S?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mpCjjDhrWXqBqjZOneXsHN1KlaOBdI=; 7:yrCWNoqNM+JZ3MdPTovf5xCLt4wujfXmrwsnUvywlRHc06ZLjYLRji2jGv21lz98pB/2NoDhRwJeQtziKkHSG/X9obNltUH77fg9POizChux/O9gg7h31OElLT3kurLeTlK2JWPbxFnGE7x6vwuemlbqviFvtf1lvDDJ7UbKRhWlcfKHaZnI/p3/X33clxTwx17kMI5gqfL+kJJF0CZCFj1D6yCOTs3ujsvrkdEllLk+UZynIqPRCyNHxtutdtkk SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2016 02:14:53.7459 (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: CY1PR03MB2412 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160712_191516_699571_C620F39B X-CRM114-Status: UNSURE ( 9.08 ) 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, stillcompiling@gmail.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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt index 1c35e7b..0ccaadf 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,10 @@ Example: hub: genesys@1 { compatible = "usb5e3,608"; reg = <1>; + + power-sequence; + clocks = <&clks IMX6SX_CLK_CKO>; + reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; /* hub reset pin */ + reset-duration-us = <10>; }; }