From patchwork Mon Nov 14 01:35:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9425265 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 C6B34600CA for ; Mon, 14 Nov 2016 01:37:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7CC728876 for ; Mon, 14 Nov 2016 01:37:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABAA9288C3; Mon, 14 Nov 2016 01:37:56 +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 1CE9328876 for ; Mon, 14 Nov 2016 01:37:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752059AbcKNBgf (ORCPT ); Sun, 13 Nov 2016 20:36:35 -0500 Received: from mail-by2nam03on0089.outbound.protection.outlook.com ([104.47.42.89]:17664 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751971AbcKNBg1 (ORCPT ); Sun, 13 Nov 2016 20:36:27 -0500 Received: from BN3PR0301CA0064.namprd03.prod.outlook.com (10.160.152.160) by CY1PR0301MB0746.namprd03.prod.outlook.com (10.160.159.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Mon, 14 Nov 2016 01:36:24 +0000 Received: from BN1AFFO11FD051.protection.gbl (2a01:111:f400:7c10::110) by BN3PR0301CA0064.outlook.office365.com (2a01:111:e400:401e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6 via Frontend Transport; Mon, 14 Nov 2016 01:36:24 +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 BN1AFFO11FD051.mail.protection.outlook.com (10.58.53.66) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.707.3 via Frontend Transport; Mon, 14 Nov 2016 01:36:24 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1463; Count:10 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 uAE1ZnfI007215; Sun, 13 Nov 2016 18:36:16 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v10 3/8] binding-doc: usb: usb-device: add optional properties for power sequence Date: Mon, 14 Nov 2016 09:35:54 +0800 Message-ID: <1479087359-7547-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479087359-7547-1-git-send-email-peter.chen@nxp.com> References: <1479087359-7547-1-git-send-email-peter.chen@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131235609844217502; (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)(336003)(339900001)(199003)(189002)(2950100002)(6666003)(5660300001)(5003940100001)(586003)(33646002)(97736004)(2201001)(48376002)(2171001)(87936001)(8936002)(50466002)(81166006)(5001770100001)(81156014)(189998001)(85426001)(86362001)(50226002)(305945005)(7846002)(68736007)(8676002)(50986999)(47776003)(76176999)(104016004)(356003)(106466001)(2906002)(105606002)(8666005)(4326007)(92566002)(626004)(36756003)(7416002)(7406005)(77096005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0746; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD051; 1:OaWda/V3Op2UUOw5Eh63ehPsa7oleA2GzNvJqvH+0pcRKGsPX6Qsaw0e0Wu4UerlkSkvDP1X4b/u2BV+sqO3HzQOBGYcx3+Anz783i6amN2ZiblKzcBsBldjb61cUMruI6GPZi5BZQq/2B73+abHnkPH1ce3n4ygQUsVjG1hNAmd02IzOnZghdvLzFKqu3jqbxyOos2h6rLYU/qmbYKy5rMN1OMtEFS5LMGXZjzbjsBKzm0JXCrVA5DMlmmo/A4BB2bq7RCey493ltKZuG3QTDekzGRLuT+pwSj7yeiQmAbqX8vZ+eDolnW37pebAxTvk+Gl2bxoyF2LRn2QwtDrsl1QspCZr9LPSwMo33npjaxWOi3oqSKdDeJn7hUdp1hjZmDXMq2q/NFzpxRRtSa6yP7cZHKXrJSnWesr3u8ponZJ+NYfiUZ5X0MVlGbE7EAmIMXPXw5dNNjNUAf3sG94erdLrgZ24ul659sXfAt2hx0sOSV6DQDV8b2Un48o+q3vmEpu2SVa06J/reVUaxWuDKSkcxDdkTlaSFoEsJXnMrceV6k0ptGH7Riey3ixhjO48iIUrEd5DN6orE4kuPd7BzkDeNWWwsM56s9vgoK0pzxs96E8/+vN9ysOPwX8qcPhjw0gbWnfe5u+SNbs6cCv3YqdZVmgezOitzBDk59PQZtx9yisj0NPBSddGgRGK5LOthppSsDC1PEUrBG8MCC9aNu1Atz2uWi+s2w24daDs3Jt596ZSfOkNvxmNxSEcbP3 MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0746; 2:H2pSjKJC+1KsnIj9Bvumjjw5MdRmUib1P4ogdsoadGdE9iv5JPaEkMTdq0ZMl8PztLBNk1PRmf+VW5632yy+8c36eCC+omL+/kEK5jk/e0wuv3nDlDgl/I0kZMGavb2txwFL8rFLc5hr9L2KaTT7xDqFYLV47z/qgGztVkEwM0s=; 3:cSuy25jfqEgVVFlcY2MF/Kx1FqlRr9fYvuYSDwE+8+K5ZB/6oe8SYfIiSWAsJN4a4L6vkyx0IMK+DS7MSdWvxAr1KC5S3f/F7gPfwvyVclsaQEmyyDrkA1lCgqpCNUc4Nd59ve3s+iTsVoo6WwHc4KwL6mHZJNu7OsTyaIQc9OZZ4EFneY8ruDHEiVnWIxcVJedxqgbcmAiKHSve8e02MLFvpooy6ETjkC1prAKUc1U2L5Un1bEhb8j8khqrowzBYjQemYXn9nd7iVx+LmVd3w== X-MS-Office365-Filtering-Correlation-Id: 4f494b11-0a65-4e3e-769e-08d40c2ea51c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0746; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0746; 25:nhR1eTaTmENLu/B+vjrOsBXj6V/xm93pDK2lUVhT+2ePAwQhh/68g9dI2rpaPUslomKyu7xs0K6EpZcRiBFXBN4mfrSlOMrnwYNwNJew4C41T5NupcbMwfwTTkvoKEUGDhsfMp4TTctTl17eKF9be8TVa95Ezcln6O500Qv4OUEwh8HAs5h/bDYmedSk7b6f50XwtUCh1TV/cY3QT7zKXeZJ22d5o8HO+9wUDorUwq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1xV3W4o/dIb2aSrIfyjyHOaXd/cK+vH8oV/ROlZFpEmznZEPe/43q7G+UoIYfeHvzvIGuhdyNer5SK8SBmOxqFBwVapqpW/gZ5grFmYcYVdsL8yVptobWg7I4TF0forYX337haES2qdBQom3bDDD/PZnL4hozliPGMfMrE7UPrmgn4uxs9+fME0qaakTBR3yCXDDjekjPj9/LhJhuhJehetKcOJuRGOtJp9WKxap5f6Nn4jPm/FmCRdhjnfx4YKrblf3HhTFcjJ995/awbdHInSuykxJ0Nl+juGd/xocvMtupT/gD+GSxsDJR6WzajttdVST50GRUE78vdcHv9Z5waK9s8ohSzUwf5JTcHxOzl2MBbipwqRv2NItr0wtAjK7uRsWgZp9l73 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)(5005006)(8121501046)(13023025)(13015025)(13017025)(13024025)(13018025)(10201501046)(3002001)(6055026); SRVR:CY1PR0301MB0746; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0746; X-Forefront-PRVS: 0126A32F74 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0746; 23:wRTWeyT1IvaXIoOUTIqfgh8ZE9UZRo2jlzWOEyp?= =?us-ascii?Q?d8YD4E1qM88LHXGu/lluUkbo8QYQMnKLgreiR05YaAM4XGAGSHXERreqMWct?= =?us-ascii?Q?cWtF7rwwZTpTXQtyFtOx+c+v53YNPgZ7NiAsoEdYaMdOctUg9Qi2n90/cxmn?= =?us-ascii?Q?qO7z61egFre13tC54wy5kODUi1f7We6ergey1O/I81epD3h//Tt0okZwSnzW?= =?us-ascii?Q?ZRzWglUqqESUGM0QGJVb+fd2mlsPsWD99nbbemhGweyqnvXR11tf4YS84+gP?= =?us-ascii?Q?eA1TREgQtG//2YfuQ6Z0KieP8ytJMf9ous+KKmzjcPn9TTbiJkM4UWFtkfrq?= =?us-ascii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: 1; CY1PR0301MB0746; 6:MvTjABz5iZa1ztQDv75JR33kPa9OXxvCsTfINYCV+soevEeyl7qZbJWT4qTFDRNjrSeQKjQ3mS1F0JJo0j5rtJgpEemafGgnJkvGB7fWDTgKiKkpCuCAgnLRCmYAbXtL4sRxXc9FKiL22sh1kctk7lbkBZT6s9HRxt6rakzTQ9vNleKaEWhv8YqtsS8KjDFNJ3jRpc4P1JXebnkT0opqWBjDr4jDHJ8UCkVra8R5xJeUltQgAipyp1th0uUWDCCTl8bOzPKTFWNf1GNZIHTO+2CCqCcmIG+Xw0rkPbTtzRMPXFocri46m5ZNG81eW5Oc; 5:38U1ted/XMWoz0j+8WO267JGEnyyOyRTBSfG07jkSNf5ed7q9qbOcUq1TjA22SF1Lw0qEfGqphA9na2OPR0dQwqwfptF3XswBMR/NVx8ulkKH+M9H77bM3whcdjXWsEldYGQJzEu1nrQbJ8m+ACSRloR7MX1lGse1cP9P8tGyGRfxxwAMCygLvr2S20many2; 24:uLhKkwDODUMTO3iNmU5UFZCYsTJv3/hadU3QnrNKMCh7WoO0Q73l6ECzzErG/ieamlOjf/DY8LAdgD61DXUsv4S0+zmBw3tUUAdQx5Ts37E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0746; 7:H5L/499JsMvyNXBDOjywjrnaGzBKswGfVy3ZOvwFZhnSAG6xECAyeHSFToJA7cZ7gaAcvsUAMRAXHD0TCOPER/bfgYRvejKOrQOGc//w4/tCiXBS2dfMVKKM5+pjZ+zJ44+9zEnXbe9yAzQ1tuCJyUHnsMXcxnPKMer1BWqpXHtBPRT/3I3NNEVzestoeA2nDd+i+FsXmp+2OQLu1QRshePsuLkPW+E0yOPQlVOLXyiYG9l/es111xiauqVr1r+fViqdGPIk0Vapl+VttpxotSrc4RztmDaDl2R9Bz6DBtdG+rfYvqDOrVniawI33/2tmz+oZw6CaqxTamt/fEJ1vAy2b7wxiTTZfSWiHN6VnVk= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2016 01:36:24.1253 (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: CY1PR0301MB0746 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>; }; }