Message ID | 1469007629-31757-4-git-send-email-peter.chen@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 CEC8F602F0 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 20 Jul 2016 09:51:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDD7C26C9B for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 20 Jul 2016 09:51:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B26A32793D; Wed, 20 Jul 2016 09:51: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 A43CE2787C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 20 Jul 2016 09:51: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 1bPo8c-00055x-OP; Wed, 20 Jul 2016 09:49:58 +0000 Received: from mail-sn1nam01on0040.outbound.protection.outlook.com ([104.47.32.40] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bPo86-0004km-Sf for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2016 09:49:28 +0000 Received: from BY2PR03CA059.namprd03.prod.outlook.com (10.141.249.32) by BN1PR0301MB0739.namprd03.prod.outlook.com (10.160.78.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.10; Wed, 20 Jul 2016 09:49:04 +0000 Received: from BN1AFFO11FD019.protection.gbl (2a01:111:f400:7c10::194) by BY2PR03CA059.outlook.office365.com (2a01:111:e400:2c5d::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.10 via Frontend Transport; Wed, 20 Jul 2016 09:49:03 +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 BN1AFFO11FD019.mail.protection.outlook.com (10.58.52.79) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Wed, 20 Jul 2016 09:49:03 +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 u6K9mT7A026979; Wed, 20 Jul 2016 02:48:55 -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>, <dbaryshkov@gmail.com>, <dwmw2@infradead.org> Subject: [PATCH v3 3/6] binding-doc: usb: usb-device: add optional properties for power sequence Date: Wed, 20 Jul 2016 17:40:26 +0800 Message-ID: <1469007629-31757-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469007629-31757-1-git-send-email-peter.chen@nxp.com> References: <1469007629-31757-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131134817437913211; (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)(339900001)(199003)(189002)(7846002)(2171001)(6806005)(11100500001)(97736004)(50466002)(87936001)(5001770100001)(189998001)(48376002)(104016004)(356003)(106466001)(92566002)(19580405001)(77096005)(47776003)(36756003)(2201001)(586003)(68736007)(305945005)(85426001)(50986999)(8936002)(33646002)(105606002)(8676002)(4326007)(50226002)(81156014)(81166006)(2906002)(76176999)(2950100001)(19580395003)(8666005)(86362001)(5003940100001)(229853001)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0739; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD019; 1:AkbN3YHYUO+5Xky1m/z9xB302IdExXQ9U1ENS9NJOZ8FhBgAoqo+kqxbiDyFNNigKVIg9sQO9u8/eNX8jskL0+dKEsgJkjAEyZgit4DW5O+2IyezrcWBUpo/866gRCG3WBJVLzUzty6/VQtSqftvOCihJj5GeEvpDyN4MukSpTlX3xXU6tg/SIEBsIDihvLG9Vgu360uKfHl+IrltxYxygl8sSQdriblyKfje9Huf8rE6R/LV7ZK6GV8nceSd44UFWKXsYUhmoB6V/x5oJ0DwX1MzAMwjI80A+linZp123KtNHwJ+C1kGI6UievTe2MM4ojNpDfte1UkVNICqbzi+4Ae3pzpa5mhI6s5jE4DsjQVdcYQv7bYDjvBbgfljIBTJuGoNn5SODCg5LJPAge9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QxZMwNrkhdo737Wc5zbgFk9UBxXIPyaCZl4pb6pGplISajwqvG9rEkGPlzs3GaOdZ212MuefTgarmZOBAZItfrtvh0vQjZT8/8+xBJSswVsE+yceGMQzH5YzB/1+xsYZX62yXyuKlE+UssJ/Tv9KG01DeCDoUC8gFLhcHrq6itiftyp8BBB1GKViOWtwhUaJqXyzonvt9n1ZWLEhafd6L5062E5ird/7zxizFFitQfIe6KCgDULaEl1MfRuvUDIQOfaQfXho5bljI= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0739; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0739; 31:lKf4kncrqFebR95TyNxD8oM0oSHyUN786OqhLcstTyIT97sszugAuLd+NqSqWOXRK1ZeNwdUsU66m/ne4sRYWVmMK+tJbVbLqL17Gli4M8Q6BXfeIVoWn10TpYDQo2HT8/yifp7DYI7xr+A97W8+zgbyGhpowaehmU/kEiLUqqeKe8LZuCWBe+h+syoiHzqv0o1o6InYRO0UH0JwQPXRug==; 4:DXQCvlIowqOU1eYFzC+NTirpAbJmRUnVXqkTkXba8tjcdT1HMMEcbREvTP0P+IwYUO3Fn4FetZB/bfYdcc1fa9rvVhp/OZ0m7X4w/oFxKNGarwz99Eqt7GCKD6OR/vwsP8362731o+NBAx4MkuiU9tK1ElxJo+SlLNXB2BsJoxs9hku+gmyTIz5EkkXHle39vbasBD0I7t/+2OAy10af9hRX8a0LHVfdWbQxn39Qlgf4QCl5+QZKESjma3xFMviA4gD3eXxpO0kXGgpOXJlv1YhlZHuPJ6TNpAySKVTZ4Sjv0ajOfpNoIkPRlYAYUPrxXpfw55Q+rX5k4icZ+AvQ6VHxtdamk+f8fsUssY+mW3Fu2UgL3iTTwlLrIv9asqFoAuRXh/gmoKt55gD1GyRN3j+xVwJ4AE7qfuBwgyBVQz8ZQutOpYcKOz8KufzKjbfEj3y4/T4ErXZLyENAy8wj6dt8W8dtpbSannpkoILrk35KQCyE18AQyqwz8sGx8sGItBxquy62/1/HVqzHFcaAZA== X-Microsoft-Antispam-PRVS: <BN1PR0301MB0739842DA69174AB07DBCAA88B080@BN1PR0301MB0739.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)(13018025)(13015025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BN1PR0301MB0739; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0739; X-Forefront-PRVS: 000947967F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0739; 23:TVDbdneBAIADUhaNI8tUUORg6MIi2W0EMbMdMsS?= =?us-ascii?Q?GvJ7TQiwtkDxHnspWKxo7cbnFYgR6QrNUUr7QdgSz/9mS1V/CKyF50IPps2E?= =?us-ascii?Q?A+GeL8LeKzDdXmz6Djx2mKkbw14JzFu3yLdwdKMmNnOhoeuVM5UszBFeovoj?= =?us-ascii?Q?FFd2BB2/OahgQHIMfFLk4Xay0dYowq+CplyFeje6yz4IVBFadqNUjrpVpDjE?= =?us-ascii?Q?sUhhQOb7DmECXFIlq9hhFMz+r+PCntyBnuuNU5AVdevcqz9InuMnqjEilD7a?= =?us-ascii?Q?PpHNiL+7/2OP/089XZsk2rQSXrqxNk7RgIxgipJMCZl6vrCKhJYe8Tpd5pj1?= =?us-ascii?Q?p8Y4BU1Vom29iuZ5bGOSb9rr3rUBDrNwm0VprVE/4/UkTdoVQQAYRM7V1W2+?= =?us-ascii?Q?wq/wl6oWKI6TO1LQppGubKkaxEqBwSwMWvObjZvBt+7fqKIenIyQlNx7gwLB?= =?us-ascii?Q?uZ8aoUNTLfljyFky6SqiBcQJcAfoJloJ1eMFjzXH2E2Ezb6bAA3K8wcMbZd7?= =?us-ascii?Q?wBhFqUAEV84H3xD8b5bX19mzehUNNoZbtWkoYwfvT+cWe5ETwqtaikdHPg4F?= =?us-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pdzigNWparSKHFUwDTJAlxq17/tebH/1MVFbnSs8Qsi8U=; 5:lOxaE3IB4trbEYYhCnhorkFoMtK+SyxYjMqSyV/K9F2x8N+4duJA6G/+GxsE9ZKnbwkfW05giVHwPGZGY3f/9xI3sOBrqKlgQH7Rs6rDuct9tQkIGhJxdGJ5bmzcpfHSHpQEE/3Kbh+mdMgc9fcgQ7ZAjvoKCcT2iY6UJ2X1OdM=; 24:Zv3DbZelxH37xAmQd/IarXiY7xkOG1omNyAjOlyWlWai050sKENPoSAXRq4pNks0tRWSYfVmMYSnUWCC56FNZ0hqHjCGkiJPsQJy5j7hiIA=; 7:VbHkUZ5UcXzXcvvv71xlk+Ra2Hr4RW9wEYd3+pvHmhwfdm8MyNfi0CvX6Lql1D4X37ciLD1284+rGBh5OiAfKNVbr8yXHS40B+kFxnLxXg34oB/N7PY6zv7wmE5MODsjS/mmMvJN9Whx5R5mQ8qevggB17UHd9ljeGEtZ8HG3yql8IVDaPQ61aRCXWeIcR4kFzxEYUKQuw688tQqLbBsfYl1qHZ46UnoBKFuhl9B4bh4jX3LRTM4cydvWidTjDxF SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2016 09:49:03.3701 (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: BN1PR0301MB0739 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160720_024927_211260_291F7E56 X-CRM114-Status: GOOD ( 13.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=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 <peter.chen@nxp.com>, p.zabel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Wed, Jul 20, 2016 at 05:40:26PM +0800, Peter Chen wrote: > 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, 9 insertions(+), 1 deletion(-) This probably should be put into a binding doc for the specific hub chip, but this is fine for now. Acked-by: Rob Herring <robh@kernel.org>
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>; }; }
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, 9 insertions(+), 1 deletion(-)