From patchwork Wed Sep 23 12:54:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subbaraya Sundeep Bhatta X-Patchwork-Id: 521689 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D08B31401AF for ; Wed, 23 Sep 2015 23:09:22 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754786AbbIWNI7 (ORCPT ); Wed, 23 Sep 2015 09:08:59 -0400 Received: from mail-bn1on0058.outbound.protection.outlook.com ([157.56.110.58]:34541 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754368AbbIWNIx (ORCPT ); Wed, 23 Sep 2015 09:08:53 -0400 Received: from BN1BFFO11FD047.protection.gbl (10.58.144.30) by BN1BFFO11HUB011.protection.gbl (10.58.144.158) with Microsoft SMTP Server (TLS) id 15.1.274.4; Wed, 23 Sep 2015 12:54:31 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BN1BFFO11FD047.mail.protection.outlook.com (10.58.145.2) with Microsoft SMTP Server (TLS) id 15.1.274.4 via Frontend Transport; Wed, 23 Sep 2015 12:54:31 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:60354 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1ZejZ8-00082H-4W; Wed, 23 Sep 2015 05:54:30 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1ZejZ7-0004k8-SU; Wed, 23 Sep 2015 05:54:29 -0700 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id t8NCrttA006745; Wed, 23 Sep 2015 05:53:56 -0700 Received: from [172.23.64.207] (helo=xhd-lin64re117.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ZejZ0-0004iB-HS; Wed, 23 Sep 2015 05:54:22 -0700 Received: by xhd-lin64re117.xilinx.com (Postfix, from userid 12379) id B275620906; Wed, 23 Sep 2015 18:24:21 +0530 (IST) From: Subbaraya Sundeep Bhatta To: , , , CC: , , , , "Subbaraya Sundeep Bhatta" Subject: [RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver Date: Wed, 23 Sep 2015 18:24:01 +0530 Message-ID: <1443012841-13673-1-git-send-email-sbhatta@xilinx.com> X-Mailer: git-send-email 2.1.2 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21832.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD047; 1:jn1Kt/L7IPPS+XPG8oT7NFUgNGI5qrvCv459PnLFHTh2b9dgQ21Hu+4JVQaRObMCPKIuYcpAyg6MpQgiscjG9LM42r9tR+8zwxRLDzf9O6rB36GCMiv7AJHrQKfoynWTfmLtya2WzXg8tpRZroHoKR6GB5/rux0KVoXf7KzU80WkooMxCY8zvVobhXt28UGkNURpz2GRNbwL47HO8+xIOqCoMauOENZEEr9XgQINb+wj6kJnE7qE5DyP30s03iJCHc18nGjxxFWm0n8ovTOtbPiSVXJC+g8Edf4Wml/DOz4rprmeEP7vldarm3stFH4V+/8hi6DdR+dK1uyKmRLC7qmmrPTtBv7cPkzrALFmSeWt0X4F/37W9HJdCGMnJyln3y15N2nhE4kLv9o0g0RBqQ== X-Forefront-Antispam-Report: CIP:149.199.60.100; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(2980300002)(438002)(189002)(199003)(107886002)(5001860100001)(47776003)(2201001)(52956003)(46102003)(48376002)(5001830100001)(81156007)(50466002)(6806005)(46386002)(36756003)(50226001)(5007970100001)(50986999)(19580395003)(86362001)(36386004)(45336002)(11100500001)(19580405001)(92566002)(62966003)(77156002)(64706001)(87936001)(103686003)(5003940100001)(189998001)(5001960100002)(4001540100001)(106466001)(33646002)(63266004)(42186005)(229853001)(5001770100001)(7059030)(107986001)(4001430100001)(217873001)(90966001)(5001870100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1BFFO11HUB011; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11HUB011; 2:xWoIczjhkKn3u7OYXJrddKmMWQTvE7JVZSLWs1lP6WGnLod1ebI+u1ceyAvh7KRF0XNtlK9Z6EgsxCObJSm2G+EgzZu2/lG+PNrwEcET9tHNzZOsIjxk8c27rcJtW/Vqt1VofnpyM6XVT/18nBySce/vaeMZ4NOXIpGgQSi+5tU=; 3:YqP9iGETIifV4uOst/uP0q3oKLlFdGCwL3u+AoAg67vpVS7x1YB91VXUM+aRsXiZXu77utZ65VsRTXlMesUU6zAXQHb+h70z8y2ywVojA+cK9rKzCFgwNKNcVvoB2wOued5tjQmHwktuXByJV//aHJMkyzdnq5v/uxn3iADXfIi8upWBaGOVzh7uJvrEeQqzPBvewG2erOEDWl9cF3akz4+JpMGb4JjSuAVP7GtCDKBjnTEBMmApCHMYFZooWrYV6bUMkaTzpnK2l/e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kUTLwJD0lY8iM+9EJwxbbxRL0xGrrA9SfggYter7n4rm22FbJ5IN+G3YmAH5IGVzuGs95cBDHatxxY5JH2s8ZvouUlX1JAZuroBpylYUfkWmr8/YAh5yTkWvtp8YCCFwsYvZrQWkE9NNAplAI8B/yYA5Hz8M5gqVolAXmoVFULt7C/cvWAiwc7LskgjQo1aCamVXSs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:BN1BFFO11HUB011; BCL:0; PCL:0; RULEID:; SRVR:BN1BFFO11HUB011; X-Forefront-PRVS: 07083FF734 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11HUB011; 23:k76UetVpiuZX6Nano1pwnJbsEoYnz8F/s8onklE?= =?us-ascii?Q?+3OmSYZSsrXXhjxwHze3dDQFLcYGOA9ld9oJ+VeymKsP6ekWBKS+G5jdpUTY?= =?us-ascii?Q?tM9DZhdvnBZRHhGdpdeBVJx9dMchTNIaL3aaeulIjrGLGKwiqMdsluUePXOy?= =?us-ascii?Q?ik1CAE53T3MrZaePiBl9p9WoE78kffc6WMYugrZLssKLj3OfLTUpszTCekAq?= =?us-ascii?Q?eynYg7M+6172hKGjBeMXW5QMM1ecCGtViqCLw419to8cMAbuDucjQgRaFrSw?= =?us-ascii?Q?9O4a72G6x+U1UMSbgJDEMyreUMl07alghPHrujX/XRZcmk8/+iUY1yrajuos?= =?us-ascii?Q?NRCaf4yKgs+A9eQRkDA8Z2WaTytrqleC5OetT2jUt2jKgBl0wsaNFaMDI/8p?= =?us-ascii?Q?uk8vtQQjfLNaYnZDyqhuSBZo3231uqz/GKD5LUIRkpOr6x1iGj5MD3p8OB6v?= =?us-ascii?Q?85X/afmuQ5m1VQF5uzJ3U066IrGF4fKIHGQfG2ntYj5fKt35C+hPYwg/se1E?= =?us-ascii?Q?fguCgoJjsmu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qp1TW?= =?us-ascii?Q?9UpTKGsT/RQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11HUB011; 5:yj3P3jHPVLfmxxoBCmNJUSD46M9ga4NuwvQPI3VeQ4gFnnItBKwv+Tm6EBUBUkCt5WuzhrIF8i7QefNCP8Tbk5aCnypKGfG9VM+VZvE/l0qrc7/XjO5QAhO200sGnrdfSR1kcssEC5l0kYwY0lS5AA==; 24:mXHkn17Z4NX/4xdHrgDwEX1W1q7Q+n34mmnZWHQFdOP4joaVWbJnH4hZAhLHQy5WQflWSPNv2fU/4TaI//rkRi+ZO8U2ToHguuWWyY5+xts= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2015 12:54:31.1587 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1BFFO11HUB011 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds binding doc info for generic ULPI PHYs platform driver. Signed-off-by: Subbaraya Sundeep Bhatta --- .../devicetree/bindings/usb/ulpi-platform-phy.txt | 34 ++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/ulpi-platform-phy.txt diff --git a/Documentation/devicetree/bindings/usb/ulpi-platform-phy.txt b/Documentation/devicetree/bindings/usb/ulpi-platform-phy.txt new file mode 100644 index 0000000..7b8cbb4 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ulpi-platform-phy.txt @@ -0,0 +1,34 @@ +Platform driver for generic ULPI PHYs + +Required properties: +- compatible : Should be "ulpi-phy" +- reg : Physical base address and size of the USB + controller registers map to which this PHY + is connected. +- view-port : Should contain viewport register offset of the + USB controller to which this PHY is connected +Optional properties: +- drv-vbus : required if turning VBUS on/off has to be driven + by writing to PHY. This feature depends on board + design. + +Example: +Below example shows the PHY binding for Chipidea USB controller which has +ulpi viewport register at 0x0170 + + usb_phy0: phy0 { + compatible = "ulpi-phy"; + reg = <0xe0002000 0x1000>; + view-port = <0x0170>; + drv-vbus; + }; + + usb0: usb@e0002000 { + compatible = "chipidea,usb2"; + interrupt-parent = <&intc>; + interrupts = <0 21 4>; + reg = <0xe0002000 0x1000>; + phy_type = "ulpi"; + dr_mode = "host"; + usb-phy = <&usb_phy0>; + };