Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754672AbbEUBqw (ORCPT ); Wed, 20 May 2015 21:46:52 -0400 Received: from mail-bl2on0111.outbound.protection.outlook.com ([65.55.169.111]:48681 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753055AbbEUBqq (ORCPT ); Wed, 20 May 2015 21:46:46 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; codeaurora.org; dkim=none (message not signed) header.d=none; Date: Thu, 21 May 2015 09:46:01 +0800 From: Peter Chen To: Rob Herring CC: Greg Kroah-Hartman , Kishon Vijay Abraham I , , , , Arnd Bergmann , Alan Stern , "Ivan T. Ivanov" , "Daniel Tang" , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" Subject: Re: [PATCH v2 4/6] dt-bindings: Consolidate ChipIdea USB ci13xxx bindings Message-ID: <20150521014600.GA26837@shlinux2> References: <1432087805-16671-1-git-send-email-robh@kernel.org> <1432087805-16671-5-git-send-email-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1432087805-16671-5-git-send-email-robh@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC011;1:WbYlYFh+2/JF79EFXH3Z2iH7J2W/fX1eMI8BXbX4qP19jZHhmV9g+I/MoOB2RJByZWfM3vNQ/D6LoTAuDq5Z5POfw5i/jDBU9q+TVtoMnnMSGYMnDnKY8uI1xl/epP1EGcFzaCSPD68S6CREDuawE/Q0TuNiXHMqW6fnw4VjsZl+6A8MlBA2J0F3atQS35+HHKUkCO5x+AEtCSpa4rHapTfh41VEUNYh46lBpYBYp7bcF5+nJI0wBl2YZBXPoeNX5kuPBzvVkgo4jKFlPA88Dx+HX/H8gTMNlaXMeoARiKLNGsITzrJQOaMKNzhf40R7 X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(979002)(6009001)(339900001)(24454002)(199003)(164054003)(51704005)(189002)(85426001)(6806004)(19580395003)(62966003)(64706001)(47776003)(69596002)(97756001)(83506001)(105606002)(54356999)(76176999)(50986999)(50466002)(77156002)(189998001)(97736004)(4001540100001)(4001350100001)(81156007)(92566002)(110136002)(5001920100001)(5001830100001)(5001960100002)(5001860100001)(68736005)(77096005)(2950100001)(86362001)(23726002)(46102003)(87936001)(104016003)(46406003)(33716001)(33656002)(106466001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB419;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB419;2:bmN2axhpeWPc08yM4CkuOAX2/IE5vtC+KNAV0KTHIMf2/vsi6QtgBnZAoFcASU7m;2:NUBiUxTpmbCXVzfUgqtFkZ4at2pVxGho5DHYviMAGpP8ix+UnKIBBLbVJ2W3E/7cyQLo/t+pT+4w0sYtTW+M3mCE+wSM6FlFyWKq2D9QnBXjfPoiC3EYWaUpkrq20jLSE2klauf2STiPudecdtPhR6xZxfvYssAITBXYRo0HdbqnsDcKqE0vNnr3kNzjUTYdVBR7RchLPrZDeXbLcbj/Kr9/+uWD1kSRQc7kDsUxDRw=;6:e1JTU4QAfNxvrGFnCIFT0dzJkgoyvzfc9A6qiQhnWzq1PAfoy4wM4eZs06XIQAbKp6xnZ9TatXMYrytcmA0nDlZlpD6gj0RcX7K/AS5Na42MneEsXeSp7hO79oNhgzFGrFVtOFOnmmZ89Obo3AeHwjYsVvEb+Z3MERrbA/eyoxvegj1t0mzmRZBj6h/OddB0ZEFn2StsQtzU1nt86+xsySmGC1vfRbw9Esrr6PSkulW1T04wbrldQWwiYkN8nySwQxFdh/kEd2vvGgJDmbVP/tZUkCNwewLC0R/3kcgI2j0Kr9+ZHRPRY0Bm6NiPCJkW6kYy8fwmvieQpKFEGeMepw==;3:9eA/Z2sQmluSl8itFFpR2TazH3nkhOvPNSIaWKZCC0DKijEsj3Zgn6EmNca6WIR4pUEv8iSdCc2AzqWlsuHiVFAvbdKma4VjpB4cNRMkxTlt6eVii2+oK0uVbP6kN/RSAel5SX63nCXAMos6tHNvLonIZgGo+FdRTNFmRfcqvSvk2n5p8rD/3lKivsIYAU9mrKRG43fMpBKffBPEY+IwvrZvdKA7hx41SkcKbW3ssd4UCZ+AeGgz1uBY9gHPy8ktPnNq13rOrJbTTwCfzCTjoNOuN4WaSAKIAXK9TU7Hkfs= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB419; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BL2PR03MB419;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB419; X-Forefront-PRVS: 0583A86C08 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB419;9:3B7TTbKhv0E5ydARHiIN4cte+QsHN2K1M1LlV0jWciN?= =?us-ascii?Q?qwSRAw3ceG6WFgkIWijgnPXR5Oni8snQ06PRYN7ydTWGso/liX2hoGnDAHig?= =?us-ascii?Q?XkgOoMUwTOE5E0oud3peD/NCkhqsKDue3FRjqES9f0tDXGShw5aJMpAp6G2Y?= =?us-ascii?Q?/f7oXRHjuhVF0ZEloY361XUPGWc5vIVhddE3u/LggqXQ1PKiJ47j2InMYHlJ?= =?us-ascii?Q?DHsKIMzftEBDwg6SL+SE9qgUD5GwqY5lKM34JVUM3BsHjBaDU+akwdp6vxv9?= =?us-ascii?Q?ZEysO4h8jYhu6JKRpto+7FLAvlmQMS3sDTWWlpLvhmguWQzqUrWFg0UNR4Re?= =?us-ascii?Q?BV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k?= =?us-ascii?Q?WikzeO7iKVAX/rbrhv9UFzAEgaG3R31zGaJklt4rcOUt7LQYh1eHTe1268w?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB419;3:VkK8eaW5SWK5kxUWT5KYX2Z28waScjTIjpzhbvHCwekKG6b7CFFg3aX1mAVd9X6abOlSwIQHkCnQG/+uDPx7eloOaKHUWhSh//+YH1D/GAP3pciijmLjcbS6rotdKVy/0KiliSUfWpktul2r3VGw8A==;10:OMUKfWdIR7J6U6SxGtuVD9STs0u4Y5ovZOKdUebejgJ6rJUzvz1W+D4LKEiSenuRMJIJmo+DULpzJpXdniI99mxujFlIkheZ5KzYb/0xJEg=;6:6ADVVpBdqyA+0EJzyhBGp2gZ5D5o/jPDP8quJy6u9Bm8cmD+lEA8kW/0DUKNRVKH X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2015 01:46:42.6070 (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: BL2PR03MB419 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2260 Lines: 56 On Tue, May 19, 2015 at 09:10:03PM -0500, Rob Herring wrote: > Combine the ChipIdea USB binding into a single document to reduce > duplication and fragmentation. This marks use of the old PHY bindings as > deprecated. Future compatible bindings should use generic PHY binding. Thanks, Rob. These are what I plan to do in future too. > diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt > index 27f8b1e..f074827 100644 > --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt > +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt > @@ -1,15 +1,35 @@ > * USB2 ChipIdea USB controller for ci13xxx > > Required properties: > -- compatible: should be "chipidea,usb2" > +- compatible: should be one of: > + "fsl,imx27-usb" > + "lsi,zevio-usb" > + "qcom,ci-hdrc" > + "chipidea,usb2" > - reg: base address and length of the registers > - interrupts: interrupt for the USB controller > > +Recommended properies: > +- phy_type: the type of the phy connected to the core. Should be one > + of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this > + property the PORTSC register won't be touched. > +- dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg" > + > +Deprecated properties: > +- usb-phy: phandle for the PHY device. Use "phys" instead. > +- fsl,usbphy: phandle of usb phy that connects to the port. Use "phys" instead. > + > Optional properties: > - clocks: reference to the USB clock > - phys: reference to the USB PHY > - phy-names: should be "usb-phy" > - vbus-supply: reference to the VBUS regulator > +- fsl,usbmisc: phandler of non-core register device, with one argument > + that indicate usb controller index > +- disable-over-current: disable over current detect > +- external-vbus-divider: enables off-chip resistor divider for Vbus The above property is only for fsl, we may need to differentiate generic and vendor properties for reader. -- Best Regards, Peter Chen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/