From patchwork Fri Dec 18 09:33:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7881591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E569A9F1AF for ; Fri, 18 Dec 2015 09:40:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 128EF20263 for ; Fri, 18 Dec 2015 09:40:47 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 38486204A2 for ; Fri, 18 Dec 2015 09:40:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a9rVQ-0003Ud-EV; Fri, 18 Dec 2015 09:39:20 +0000 Received: from mail-by2on0148.outbound.protection.outlook.com ([207.46.100.148] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a9rV1-00039S-3e for linux-arm-kernel@lists.infradead.org; Fri, 18 Dec 2015 09:38:57 +0000 Received: from BN3PR0301CA0041.namprd03.prod.outlook.com (10.160.180.179) by SN1PR0301MB1997.namprd03.prod.outlook.com (10.163.225.26) with Microsoft SMTP Server (TLS) id 15.1.355.16; Fri, 18 Dec 2015 09:38:33 +0000 Received: from BY2FFO11FD054.protection.gbl (2a01:111:f400:7c0c::143) by BN3PR0301CA0041.outlook.office365.com (2a01:111:e400:4000::51) with Microsoft SMTP Server (TLS) id 15.1.355.16 via Frontend Transport; Fri, 18 Dec 2015 09:38:32 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD054.mail.protection.outlook.com (10.1.15.191) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Fri, 18 Dec 2015 09:38:32 +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 tBI9cGKm020738; Fri, 18 Dec 2015 02:38:27 -0700 From: Peter Chen To: , , Subject: [RFC PATCH 2/5] doc: dt-binding: generic onboard USB device Date: Fri, 18 Dec 2015 17:33:56 +0800 Message-ID: <1450431239-16439-3-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450431239-16439-1-git-send-email-peter.chen@freescale.com> References: <1450431239-16439-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD054; 1:TQoNWNGUMMotFPgDFtZnEKXPX+FgZsUdqf84JEJ8EbsjM/BITlGyzwaoZo1HmCcO9cLodubdI++RHw2IauI2IFBqCNUODYQhnw32CFGwrY+/895j6MDhJhOny03XLMosK/TpgVDG9W/DWtp0jaHGGlQva8zApoq2TX4RKU8+MwKtjocNtwoNivSnIRikRwEOFnFRwKFR9nEEDejfQ+IwV0h4qHM2Z69fSOKY87v9A+FsnwddMHCb+SyAFBav99VfEozAoJoRQk5SQO60+lsp/31ioiE19fIdWU550NPTdzXYDqwGbBNrD/9uqCl1ieLGemHj/edNtpDWka7BScQjrg3pZt6i/Ln1tgIF0gSxg/2iLxszwYcCgPDEVp57bXbGIecd5Dofd4d2kB00F+BvlNsHr+hGdbMzgvhODzUJOF1igDK+9jEHXeZiF/Vb24B9 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(3190300001)(199003)(189002)(33646002)(106466001)(104016004)(5001770100001)(81156007)(19580395003)(2171001)(107886002)(6806005)(5008740100001)(189998001)(5001960100002)(87936001)(50226001)(5003940100001)(229853001)(85326001)(19580405001)(47776003)(69596002)(36756003)(586003)(11100500001)(50986999)(1220700001)(76176999)(50466002)(97736004)(2201001)(92566002)(77096005)(1096002)(4001430100002)(2950100001)(86362001)(48376002)(41533002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR0301MB1997; H:az84smr01.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1997; 2:YcTxxccGrReq3Ga32vWp1kQ90Ukr6ImlAhxkGvDKdghDmRwK3ANA/3m3XqhAzI+/qbYGAIsSjJs6MB6gExX6Hyo+hoxtWLm2gn8jQ0oVjuIJDtiG7mziVdfZe7VdOqDnQXnd+It9wYu4arN7u9Av0w==; 3:eWoh14ovXQPIZm9VvYB+TydiHg2m6YdLMNPG8bF4DIRsoUApcy4bQCAhXAiA8VwQjicI/xs4IC5fs0r/6sAI5MN96zkI3iKtrx6AnqytWb2lfiWMgtLk7MYs7cjbxDSd9ikX+/AfrJKHt3EVDLBNFjwGlL+4zsUM3rV+iVzlBmJx0StZYT1H9A1R0SgtXzmoSj8zHaDhcjO6zQUvS62hnVIOfCHN24lEYTr1T+jF3xo=; 25:9Ohi7qH5NopRLGW2oRBmb+g0ZPLoyKcC56JOk8u0Wqgn/Y3uNMMQsqdtwdU5x1Ky+ePaU8V8zKPK9DZ0PX+/eG36GRaMRGr5LWx6oP/L+V4lE/g96YpQXu8jzcdOkED2zTKUEwPpVFDDFE0RUhnf8X8bzxkGqg0a5FVDklQLnHrEFevxbCYE0bhqNmoRWdBHMweMZHZS+BP75NH+Hlv3nEFWz2ym/IIi8ms7qAGHScupYWaZ+Q5bXQzWRJY7Wy8Z X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1997; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1997; 20:7rhdlpMto7XK3eteL0JTuDd0L8EvpO2AtORcpGI0+LTYDka16dGUHMQw2+13hPPZnTu77t3oFaUf0o2WxNdrYVDTvnuqB14mWRq6/2JmZeeb3ernGBv0OSTVuFF9Je81+6gddXy7kZo1D7+tWJlqxBJM/QBTu7IVg4tHNEp3qiBScmnRaxLueqz1EtARSmGBuTU5hx6YTdnxYkRRsiTQgk/gb9e8oaqpUmGAJqkbhpk9f1FneFQkuvAt0fqvDUhCLi+OKjyqASrsb+O/USjlwk1m54gNU+wSB7mB6cGuS7ojGPkVW7/3K+BZsJY2mFpQlXszstEOrirLKF0n6gkDBioXTPseoWmcm2Cm+Xit0Zs=; 4:4Dcjr5f24tGu1SZ0iVlWnl6UixcGgRbhlQI/j2LGhBSGVLIrEIc0IGecgFOxvYQv56UdVFxvEPI5SQeeKY2go4x8syap7YW0zlr8G8JGDUYvYZVWVFw0BHS9ik6GkJyyg9cQedKiOdkm9qFkQ6V7DoBEystUwAt6N4XiRlcPKmzBLKdVlIx3shFXcGoyX6weiaZbnHxI+pgz1q00vuGNqHv5y0ZFRm3mNuIrGIPEhM+8nq66aJlPF1d51UOVksUdb/qKIOLiFX3rs6LyL95YOYKlwK7L7JUQj7pJP7+uR9XW1EIJAHxMNzvfNARQ7m4aWxJT4N7Yu4nBwm9k2MLN/VULm+I7+q1a3CquLF9rW7QKRHxfFsPSfE6cWg09Rs03hBmEzG8tZJkDLzBzVwN2zFY7ZABpOdRK0KG6+KCOips= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001); SRVR:SN1PR0301MB1997; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1997; X-Forefront-PRVS: 07943272E1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB1997; 23:pmF+E/eRzV3FkWCW9zeMWsQjL/Mc35ZbJQFBF/r?= =?us-ascii?Q?Z/xWEK6qjtwXORCsYXt39OT6HRBMhgkjnBwFTFbwXgk3JRardQfC1h+jjIr+?= =?us-ascii?Q?7ixZVYXgs1JWdOlBpG1oSrOH9CuGdn5aiDU6+zbup4/bxkQFy71EeA/rbWbr?= =?us-ascii?Q?Ov2x+YCvnC1qpxVYTMCYs/sk52hYNyUyQIDt62dm7UuJVh9SCQ3MRKveLGks?= =?us-ascii?Q?/XWgOQMxvrZomT6NwGsRnG2IAUDTUjFLxnY3BtQyGfX7rXvDxHzNY5CxoItA?= =?us-ascii?Q?O5WNszGmmbkW6t7ZpewVYhUlWns6+vsAOWoSvUJiUWaHOg2UeShMGYqI8iwX?= =?us-ascii?Q?wlGMtyCi+WPmkh/WRn8vqczrJh8lbMiRoNzRgpxmLDgaKmKE3wxDRGxAL6NV?= =?us-ascii?Q?hOmlCZLzEe0YckfGIEbzDzypKJJKnkN5gbmcu0Dz6z0CMbeT74RcZzR8EfGm?= =?us-ascii?Q?SquSbkhBbugITzEtUHUeiMmQF3gCcJ5+2BjEndJCWwaB7uCGbHsMZwCLCgdt?= =?us-ascii?Q?bQEzSj/s7aFHS0xqVC0Wd5es79a+QsybBpyLii5uQWk35TvlCnegXN8Ur9kS?= =?us-ascii?Q?Yk4liCUQzDlMbTvkF+7Rn4B5vh0Tv3IwWUdy7K9LJYoy/hIxnEXMiN2ZUovR?= =?us-ascii?Q?86lh4r9PellyldtfFbQkFVY92btpjzVgi8wSODHkiJ6gG8JH+Zg15l8rufA2?= =?us-ascii?Q?o37w4EzgLuLiMP/C0HBYDbRU4PyePT7fw7u7I+tk+3OpjAGZOK/9/EISS1L9?= =?us-ascii?Q?R3c+dRUoqSJjQ8QFRGvlO0jg8qaxv8YLg9M69bS7e0rHa7sDeBQJjmsu9RkL?= =?us-ascii?Q?kpTaNC35om/b+A3d1Sq03l6y+gJLIZFdNTY9mqPVRl6VQVU/jbh+FgV9fdR1?= =?us-ascii?Q?sQO0H4OrnfNcdPu4I7MJq2INhY+olAg+WHiLNdvIIznuAt6y8ZKX6q/YLcZd?= =?us-ascii?Q?ZHtCjoEqYsjImWUtjTogdqHI2zFuXkZkwakimlKvbqm8bDbLAxtGdq+C3qAn?= =?us-ascii?Q?4O8czw6spfuDeL0FG7CagPCcKCPcgHigXILi6ec7udwBSoANzkaEuUCMnVP2?= =?us-ascii?Q?i2FzxL22zuFrzQ+LKSDEdNtMWoueBswhh2BsNKW/L5uDIko2hMO1g4iJP7ZY?= =?us-ascii?Q?r+wqIBrQfXxFl+ayX3OMng2+mjsIp4Pz5b4JI1cLoTguKC7dlTtv/VA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1997; 5:NrtWn0g+bKew5Q11DvxkEYbb4k5c9Gr5MlJAtWTI5k+aEZUIcz4tqA8DlvQ+cMllk8ojFos+K4lBF2w87/6BjYpQB4054DlCb6U9MPrK7DAs8Kg+rRQmOPJ6vIMi5dpiomq/Wjo+SEbZjKNG8VVPqA==; 24:9th7fvO83H/X6c1p9bP4D84NyHpDNJF8S2TdBqG/pl9RKZQkTARTptrFkzjMlB2Cbdh24X+YR0swHgW0iCAz7N+YVNPdct7lAbH/1DXhooo= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2015 09:38:32.6029 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1997 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151218_013855_410146_529B9C46 X-CRM114-Status: GOOD ( 13.08 ) X-Spam-Score: -1.9 (-) 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, p.zabel@pengutronix.de, pawel.moll@arm.com, mathieu.poirier@linaro.org, linux-usb@vger.kernel.org, patryk@kowalczyk.ws, balbi@ti.com, robh+dt@kernel.org, arnd@arndb.de, Peter Chen , kernel@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-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add dt-binding documentation for generic onboard USB device. Signed-off-by: Peter Chen --- .../bindings/usb/generic-onboard-device.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/generic-onboard-device.txt diff --git a/Documentation/devicetree/bindings/usb/generic-onboard-device.txt b/Documentation/devicetree/bindings/usb/generic-onboard-device.txt new file mode 100644 index 0000000..cdb3014 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/generic-onboard-device.txt @@ -0,0 +1,31 @@ +Generic Onboard USB Device + +The node should be located at USB host controller's node or +any USB HUB's node. + +Required properties: +- compatible: should be "generic-onboard-device" + +Optional properties: +- clocks: the input clock for USB device. +- clock-frequency: the frequency for device's clock. +- reset-gpios: Should specify the GPIO for reset. +- reset-duration-us: the duration for assert reset signal, the time unit + is microsecond. + +Example: + +&usbh1 { + vbus-supply = <®_usb_h1_vbus>; + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + hub: usb2415@01 { + compatible = "generic-onboard-device"; + reg = <0x01>; + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <10>; + }; +};