From patchwork Mon Aug 8 08:52:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9267141 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 1EE256075A for ; Mon, 8 Aug 2016 09:04:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DCD427FA4 for ; Mon, 8 Aug 2016 09:04:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 017C127FAC; Mon, 8 Aug 2016 09:04:17 +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 7FE4027FA4 for ; Mon, 8 Aug 2016 09:04:17 +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 1bWgSF-0006X3-6v; Mon, 08 Aug 2016 09:02:39 +0000 Received: from mail-by2nam01on0051.outbound.protection.outlook.com ([104.47.34.51] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bWgRn-0006Af-D4 for linux-arm-kernel@lists.infradead.org; Mon, 08 Aug 2016 09:02:14 +0000 Received: from BLUPR0301CA0022.namprd03.prod.outlook.com (10.162.113.160) by BN1PR0301MB0690.namprd03.prod.outlook.com (10.160.171.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Mon, 8 Aug 2016 09:01:47 +0000 Received: from BL2FFO11FD017.protection.gbl (2a01:111:f400:7c09::170) by BLUPR0301CA0022.outlook.office365.com (2a01:111:e400:5259::32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15 via Frontend Transport; Mon, 8 Aug 2016 09:01:46 +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 BL2FFO11FD017.mail.protection.outlook.com (10.173.161.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.557.8 via Frontend Transport; Mon, 8 Aug 2016 09:01:47 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u7891D1s013331; Mon, 8 Aug 2016 02:01:39 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v5 3/6] binding-doc: usb: usb-device: add optional properties for power sequence Date: Mon, 8 Aug 2016 16:52:08 +0800 Message-ID: <1470646331-23227-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470646331-23227-1-git-send-email-peter.chen@nxp.com> References: <1470646331-23227-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131151205074256075; (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)(1110001)(1109001)(339900001)(199003)(189002)(86362001)(7846002)(2906002)(8936002)(5003940100001)(7416002)(19580395003)(36756003)(105606002)(4326007)(50226002)(356003)(305945005)(2201001)(19580405001)(189998001)(8676002)(2950100001)(77096005)(50466002)(48376002)(229853001)(33646002)(97736004)(5001770100001)(81156014)(81166006)(2171001)(586003)(104016004)(47776003)(50986999)(68736007)(87936001)(8666005)(76176999)(85426001)(92566002)(106466001)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0690; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD017; 1:XyC+nvcqCY6LIvos7gKGNJxEZmLhV/fRV2v0gGU/dkV0P1ImH5KjNBwKWEipZlgMCGHK6H0nd/645KJHTvQfy+jhsGXygQ9Ln1iGaE4LGwrGFH01rcU3v94W5jPy2MDoymwqTOz7JY7PP6Un2lf5/xI4Bu+WJ6mhvfZlI9/HY1bJV2h1E1GjyeRXEpnBRMRlKNBTltSFixvlqm4C5/+NgGswBBx6JWfhSfp1WxqGcAhzX87RQiwsytBWilpqyTtLmXIjM8o0U5d/kl6y8pldAbeQKofQzsOy6RGAwXOSQ4jSmAhocaF4HZVFgRyMQe3F7ZfzAR+T8LT8IEdwGN88VdVvR5j62zAXZrdfxoB4K71ntTkun5237EMpJ8abNJzmpOgQg6RN3c1fFkrByavocV8tlX9zsZMu66oLZcqS4M4gx2+BMSsK2HOFhjzDCHzwxqN/b+W7la+EeRlC9Mc6c2+sb9oYc25OUK/mBj+DSPrBIUD39p8gpjI9XvkVZWpeD9JeVZMzB1z4UXUCv2I0PGZv51Ys27r9Xdwsr27urWwBJKz1eLPrMBO0V0ksv+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TYlUnwhJxFSDXQKugNXeHibjU7iS5NpelilMffFxoKXrw+6D0s3Vi1Se/uoDTwFj3aZCxXpO91GmKJvelxl2nlq7ilCPjGgZ82F0= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0690; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0690; 31:QP9GMgxk/JxpFr75AIYLdkgqO1N65YRMEnd0VBXyWKiMATbuCXrumuHhV+kxZIMtzhPsoVyM9NOHh174P907Q0PsBWvuIWlxkMM6cHI7H70Eq9AJFFyVzau4d2kxzfw8jj6aNELR/6vE3I8rz72DBvIb284O2SbBKgo2f9L/2HqoQ7JM2Pn+qvGQzwFJCkLqbKp+hf+j72QMIM2s/6lTGrpy3pqAy4dzl1dzFaediOE=; 4:nga7uR1Pm48lIhRgRWiIJh4fc4x3LCgvi/Ggmn1iTRSsBSFAOnZMxhHDDwUyDySWXcrBRLGB0wp8fBPE2FW91xqIMFgy8O+fgGSdDufvsqBAxS5v8otCc+eYU5U8dFs6evp6kLR4LTvEuli23UY6B9eRPYYJ97BX+NdwV/mPEYzGBkWp6Y19ZCrcEUkNRaygD8rP8BxXax5kLbvck7ccqO3uIh0KQlTzngksVjfFxeD9qTgCC7T882jKXH4a/CmH+4IJLrGzofhbnLUNXa96WkTPCk7kp79Fx/t96U7inj+m5wOGMAy6sRf/+Ib4V2f33DiNEf5PH/jZ6Ysm6BwMlsBSLknoV0bD/xMbWFCbgb22FN4CwJtHlZNBB/niJy4IVCjwf/p+6iH0ft3LGPSYz1AHa+3hzK9pE7WzInAh4SXr/41LP8B3QY76Xbdh6Jaga1jhbSwu4RcyDHk/csdjl6nBgGL14wRQsWVGqeSeCUFr0vtVZGSQEyPoik/wAk56qDEE9HMQd5sfmJFnlpS+aA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13024025)(13015025)(13018025)(13017025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BN1PR0301MB0690; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0690; X-Forefront-PRVS: 00286C0CA6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0690; 23:N24t/8+ek2DkjWW3rCmPVT42kEiGBr1w14pq0M1?= =?us-ascii?Q?RDUlqS3atqDQckUndt18FUvSpWxR/xMjmG2sKnWF6R+d7csPlMbJ02YlVJdb?= =?us-ascii?Q?T0F6HMNL6ye2BRI3Dirgiy6ttKkjd4xh7BVcxUWsa8ZiTfnHdBc23kc3hx69?= =?us-ascii?Q?Gao6UyzxEAp0IVZDOga43nwDx/nNeHF8REMuNzPB4Vxv1QwfFIGGhwTwxM15?= =?us-ascii?Q?4ivgNyu6qYeBMOwH2TH2ioa88FZiXZWSSZ1p9H85Vuq1Sl/74PP54XDONgyV?= =?us-ascii?Q?tG9kJs1I2SYf/MmYwfdfDk76QJ0WZo5P28YDM1DdoJd36wQr5DTFNnfo+DX2?= =?us-ascii?Q?+Xc7mkJjTXqNE9exCRYjP7jF9lcUhwDl91WjV3WsjyHF932IeURDO4uxlGQ0?= =?us-ascii?Q?LH3RVG1y0YJ7YLeEWV0bmuBMsNC5n/gjgu1iEv7dMgdYWFQOvFFwXUUi0/a4?= =?us-ascii?Q?tLQzNyox7HgSe+fyAuv9waCjAAq5xKthXaC9rhdIcF6bmcjwDmTT0z7FTWS1?= =?us-ascii?Q?CBoIVehtGbEiSntZeflD8YA9zicH8TUpnxQMyB05fs4pghC7VR5paSfGRwgk?= =?us-ascii?Q?GBjUF2oP6Clds2Hy5A7xE/j3Q8GiM6DwQ+H+8poAj0+8J/kdEjkwtRx5OYv7?= =?us-ascii?Q?ivxPwIg7WFoARpq45+4ROLNsdyQ/W71lKMGztyCyfdQ3CPGS56H0ZAXmrYes?= =?us-ascii?Q?+AKUGbdvsPqBXl1luqTK6yQu2nu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tU8=; 24:4tX01eL2ZPlvrDKtQglz0H/nKbDy9ziKJ3p9xHVBf4r9EbqC+DSmWNd8T1kc6zwFOcGUUsmsjDuEQETdXXg7pzZRl5TsJHH/XoiJuIEOlc8=; 7:s7l5dp0hH47uFvEfqGW6u5JVZCOI+WEZPcBUa6bTvfyklIkYpHyf61XFmPgzvU7kbGEaRRc4vbfQDAXbJpIDBzLHVs5n09ZM5Qb8g0aouM6fvRnxxzVpSFCXe4bEFz9pRKjFu7LY9GBCePf0ImiSwD91GpSvBWp9MfN9AMtcI5Erb97+eHjfhXLuh0qx1xbtayFCeUsp1EG6H6f1xymgEHOpNm3zEmJjtV402IE/DEP+tzRxsVHHkB1mRR3mEo/1 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2016 09:01:47.1916 (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: BN1PR0301MB0690 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160808_020211_614571_47822BC0 X-CRM114-Status: GOOD ( 13.63 ) 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, linux-kernel@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, 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>; }; }