From patchwork Tue Dec 8 01:37:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7793511 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 359239F54E for ; Tue, 8 Dec 2015 01:44:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 62AD02056E for ; Tue, 8 Dec 2015 01:44:43 +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 7A397204FB for ; Tue, 8 Dec 2015 01:44:42 +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 1a67Ih-0004AL-B7; Tue, 08 Dec 2015 01:42:43 +0000 Received: from mail-by2on0121.outbound.protection.outlook.com ([207.46.100.121] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a67IH-0003y3-Je for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2015 01:42:19 +0000 Received: from BY2PR03CA003.namprd03.prod.outlook.com (10.255.93.20) by BY2PR0301MB1990.namprd03.prod.outlook.com (10.163.196.24) with Microsoft SMTP Server (TLS) id 15.1.337.19; Tue, 8 Dec 2015 01:41:55 +0000 Received: from BN1BFFO11FD035.protection.gbl (10.255.93.4) by BY2PR03CA003.outlook.office365.com (10.255.93.20) with Microsoft SMTP Server (TLS) id 15.1.337.19 via Frontend Transport; Tue, 8 Dec 2015 01:41:55 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.168.50) 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 tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD035.mail.protection.outlook.com (10.58.144.98) with Microsoft SMTP Server (TLS) id 15.1.337.8 via Frontend Transport; Tue, 8 Dec 2015 01:41:49 +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 tB81fXYg002656; Mon, 7 Dec 2015 18:41:44 -0700 From: Peter Chen To: , , Subject: [PATCH 2/3] doc: dt-binding: generic onboard USB HUB Date: Tue, 8 Dec 2015 09:37:49 +0800 Message-ID: <1449538670-7954-3-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449538670-7954-1-git-send-email-peter.chen@freescale.com> References: <1449538670-7954-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD035; 1:0S1myKyU/AJSkpWAfKLtEOkgKyNAavnwmV1OjsGtv2EegQvvF70J8Ry3mi6ov6q096vzVnn13qtxR6pQpSJygRANprHv5oGokHQjlHYH7hZpXFbmM4E+fHrXkeZbvhpC1sAmJB52bAFDR24zVV/ar4gOd5oFb5gxcJVe2C7yF1gEcDJJvS21gOQnBgi+K6ljoIXQE+bLNJex/JpNd4PK6ogBnZgIc6yFTThUxPnQRf6uYgekfMmCHqfFH8ggKSuk/Uh7lo5s91nh/f6Im3mwAzuIiCKRbtYgYI5bYkNUC38SerezwGehrvfoeFTHlhI3dguL4BaknRaVR9Zb3oBv7INAIALD6KOkWpmrjq9Qu1uglNffgCbxD7xdAH5Hvd48c/pQfzoJ/wQ8bh8wva9cvtX85XSVgcIBQy2HoZ5PSnILWwNaYUiN/YRqJLZ5C7g1F0Y0OpC9f2dgjohnHuXcVA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(1060300003)(2980300002)(448002)(189002)(199003)(92566002)(2950100001)(36756003)(50986999)(4290100001)(5008740100001)(106466001)(76176999)(229853001)(77096005)(1220700001)(2171001)(48376002)(4001430100002)(5003940100001)(606003)(87936001)(50226001)(11100500001)(47776003)(19580395003)(5001960100002)(1096002)(104016004)(81156007)(110436001)(2201001)(97736004)(19580405001)(33646002)(6806005)(85326001)(107886002)(50466002)(86362001)(5001770100001)(41533002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0301MB1990; H:tx30smr01.am.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1990; 2:ntR0zgoWGeTu5KcCmnhAovw6Ta5CjgSMfg7V9XIgCvVER448Oirg2XhocWhWeu2dWitWTiE63h3eqyTxmNWtA/sBoX3KxdzRc7Yk7X27E5SjbwOGBGun0r7vEMNA7eUMaWsBJS6AF982wnKNL2yhiQ==; 3:DYaJhhS1+M1JpUS0VmWIzt0cxWPSualxgkri/lmQda4gVGm47IIKjI6UzRJ2Ni05/dnE+ZA1x9EeV3MONpMmjEzrLaO86uegCcyDSERz8UZlZkB2595uX056CcAm8/s3gmsEejqzQ0boptZdo0y69lopAvpLxJzSn5wBmJSy/axa3B9FxbxRMo8Ov8vnCoV7LuLP9Roe+mWPPb82nGHvCN7WZ1NrV1VWhUOsbGlGN/I=; 25:ycfSVXP9EeP4MPGCouh9mKpyIVzoVcwiLdjsnqVYg0owoxuQyJdgnsSQxANh+ZhopJ6LbhLLI4UaFt/QUnEgxE8pW2e4KLN5hhSAYZFMZ8FcmuLe2YAHMWpXbOVR6Dwa2OT+aD75ydquIsCGTTvtV7b6Yz8CMMOfkwZg5rCl13GtO7cZLyMD2qC5/k9SfqNW1jEZhgp/GTKeA1E/W28MDBfE9/vsI+U6wP+7U89ZvWZuZLpRMobGw35CqYcXpmwnEmkLvZtZcWxKmTdkCLK7YQ== X-Microsoft-Antispam: UriScan:;BCL:1;PCL:0;RULEID:;SRVR:BY2PR0301MB1990; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1990; 20:bJSJZdARWHMr+i6+/rsXm2Ar5jF8HNb6c0clJXNDH1kWONcfMfVr6e2ET3jclcibiNRdBI1Q1qdN4CjrpDwZf5rgt5lLC1dQOhgIsGSsGieUaN7zztl0lpf0pfhUXJTo1+F+LjGfN0BhY3dwqscP7qYqfXyzRbCJ/H5MCGGMsr8JtjiashbuP2zuybjcIjtT/hem5iPu7owBdKFB4jCbV/dxDDkB6nlQTbQraPHjc/ucp9unrq1jAPxNrVhzGJNa374AnRxklxs7cohRM9O99A+fSg5ryy8+xV0FZct5hvmoZlVn0ZzAgayWPvBhXRVO27Ax+eIYhY0DSyr0Kfrt7NQByV/7bTt1/GoUSQPSKEQ=; 4:YGCtpZRQ15JE4OQSbyZWl73q4HdSu/9LTIRgqHoAEfoMl7up+sL2km9o00OgWlenvndiIPjIE9m39zX6n1/3Rp4whVe0V128WDTTVJvZBJFjI1EArl5Dhp1rsKQlx96bpNp1fdm+uZlbK5ieYSj26TwGFOSDCKarna0Z5xSp0aI5yLiQD6xNIN7S4R6xl0LbxN5/lYjBi6oiozVcuE9/HdU1Cx8cCtWUDC2+aKgc6tTdrVJY/As8IpLLnb1HpZQq1mE5IDtJE9KZrHVAVRzFmb7QlTv890bneHx8niY1FD4fRI2BZGd/lchiBC7ysYlYp0E647frkCkFq5qNsP/6Nf500rXkzAN+z1k9I/G5WvRrZ1g66ILK76Lp8PFlAJu17l9fuXaii4PVqhDtvwJlD6wrtnGJcPnWZQ1YsQceSnbMP+PNQt1SbuiXwMdo8PbE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:1; PCL:0; RULEID:(601004)(2401047)(5005006)(1201001)(520078)(8121501046)(3002001)(10201501046); SRVR:BY2PR0301MB1990; BCL:1; PCL:0; RULEID:; SRVR:BY2PR0301MB1990; X-Forefront-PRVS: 0784C803FD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB1990; 23:p59SPojrYJUiDHwK+puJ+EQjd9g213prsAg97uv?= =?us-ascii?Q?6sprZNc7gUnZpTY/BWh16e0oo1c59lPGHzBQNMFlaiT6hy1OcruiyueCCgeX?= =?us-ascii?Q?PVwgz8Fz9kOQQUcZA7ITg2mU+Mx60mVhl9aoJfTBsycvKZTRMusl4XW7oa0L?= =?us-ascii?Q?V9Ds/pX9pZdqPPDudDAMwrBo9OpSjhMyxZt+wm63aevsm0rrk8euGauxP0yo?= =?us-ascii?Q?aX/dwkMykDlPv/VpbnTrtmwpUbIin1IvIi7/Knua+WF/nDUJEkVl8w21w4b2?= =?us-ascii?Q?hA2XQhpe8iwAcRvsQQzc9EydGN+ZfKod0oe0yAHU9NljWC4fl90YjHnBb+xC?= =?us-ascii?Q?dQ78D5ANWqTG7C+p3FctQWBDuHYewbYPfKBGw0sgI9CXdqw+rtQCzJFcBppb?= =?us-ascii?Q?oB0cKZyT8+0U3eWcx1bKG2PdqwDGZUwSJDQ+noa7wQxvrQ+N5ZJasxSHSyiH?= =?us-ascii?Q?abHGej5NDx9+E4Per6wqB+tO7bPVMtnI2jogKC+wXN3m1SSrS2TtBEp3g+I7?= =?us-ascii?Q?P10jO8usKbhEpMtPBqNfht/xo4G9eYQhdwWYy/xfFyoSipLCe+QmiI2k+hv6?= =?us-ascii?Q?2uW0eTm/1sLlZ1fFLFiP2VZr8YTIKBeYaMh6sh5miD1tLJNdpqJ+xpy6nuFD?= =?us-ascii?Q?sLXaT8DECp9Ocgyp7ahlMrwo6tyX6n4grMYC7dBqmBCaA+90bFVDvC6fZF2g?= =?us-ascii?Q?/2QuR60VJ6piFC6zz6e2SmJYBB68SklW/y7X3FXkk9XvHRNE4JxAo7y4htbR?= =?us-ascii?Q?8nVMEWqs1W2JIQB676XO3Eb7lXBsYRsK4MLOIeBYTON5xCh0orIWh26ElNlu?= =?us-ascii?Q?BQDpc8GxOFycY9AwC5VZUVzSYrc2mejkUJnYKmEt9cJfeNsFtuziga83GxaS?= =?us-ascii?Q?oZ/eyEODkIUZbFHx9dsBPtpX/s0Z4GOItBLqnoQlRxVKpgwfgkGnWw1Pg9K+?= =?us-ascii?Q?GW+70/L1k7/PXTuIO1eaIdbMY6vcfEu777MjCeZBSTR6S3lzZCIF5U1MwBT0?= =?us-ascii?Q?8ij2nnPWePhpo1pPRloxQfSRjioHocwRl8kbLrfAsXJgwsXk2GX2TuARJb9X?= =?us-ascii?Q?Urfp/lBm7k73R5miFQj+NFF8Z/40aFvscKVL/1vtZVdjhE8NwFco1uT3WGU9?= =?us-ascii?Q?Ug5/ddwIzs5sSQ7tSuARWkPQ2dMnwWNYK?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1990; 5:Qir2TouLM3SyePpy+XXERtjk2KVdB2MDmRxlHm1H4mtSAoQ9kXsvYJUpjPGnRCcgPJfg2FZtuAX8tNCNPnZ0I2nnJSIT/P+4DooOaPJA1S/zJ1LYuNzczCkhRVOjRG3tyoySFW2Tkd5rP14vbVjFcw==; 24:z/PRvpoe7Ini/OUVkkXRryy7fFAb78BlDt9xoEDb1SNR1JmqNUtsAShooBl4Q6NGJ/3JAhQc1+5qFxmEjRkWx+dVhC3yHbogOhDCcAeME8I= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2015 01:41:49.1313 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB1990 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151207_174217_853989_B65B710B X-CRM114-Status: GOOD ( 15.63 ) 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, linux-usb@vger.kernel.org, patryk@kowalczyk.ws, robh+dt@kernel.org, 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 HUB. Signed-off-by: Peter Chen --- .../bindings/usb/generic-onboard-hub.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/generic-onboard-hub.txt diff --git a/Documentation/devicetree/bindings/usb/generic-onboard-hub.txt b/Documentation/devicetree/bindings/usb/generic-onboard-hub.txt new file mode 100644 index 0000000..ea92205 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/generic-onboard-hub.txt @@ -0,0 +1,28 @@ +Generic Onboard USB HUB + +Required properties: +- compatible: should be "generic-onboard-hub" + +Optional properties: +- clocks: the input clock for HUB. + +- clock-names: Should be "external_clk" + +- hub-reset-gpios: Should specify the GPIO for reset. + +- hub-reset-active-high: the active reset signal is high, if this property is + not set, the active reset signal is low. + +- hub-reset-duration-us: the duration for assert reset signal, the time unit + is microsecond. + +Example: + + usb_hub1 { + compatible = "generic-onboard-hub"; + clocks = <&clks IMX6QDL_CLK_CKO>; + clock-names = "external_clk"; + hub-reset-gpios = <&gpio7 12 0>; + hub-reset-active-high; + hub-reset-duration-us = <2>; + };