Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755995AbcCWRI1 (ORCPT ); Wed, 23 Mar 2016 13:08:27 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:56797 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755241AbcCWRIZ (ORCPT ); Wed, 23 Mar 2016 13:08:25 -0400 Subject: Re: [PATCH v2 05/11] dt-bindings: Add bindings for phy-da8xx-usb To: David Lechner References: <1458181615-27782-1-git-send-email-david@lechnology.com> <1458181615-27782-6-git-send-email-david@lechnology.com> CC: Petr Kulhavy , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Kevin Hilman , Kishon Vijay Abraham I , Alan Stern , Greg Kroah-Hartman , Bin Liu , Tony Lindgren , Robert Jarzmik , =?UTF-8?Q?Andreas_F=c3=a4rber?= , Sergei Shtylyov , , , , From: Sekhar Nori Message-ID: <56F2CD16.9060106@ti.com> Date: Wed, 23 Mar 2016 22:36:30 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1458181615-27782-6-git-send-email-david@lechnology.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1333 Lines: 37 On Thursday 17 March 2016 07:56 AM, David Lechner wrote: > Device tree binding for new phy-da8xx-usb driver. > > Signed-off-by: David Lechner > --- > > v2 changes: This is new patch in v2. > > > .../devicetree/bindings/phy/phy-da8xx-usb.txt | 34 ++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt > > diff --git a/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt b/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt > new file mode 100644 > index 0000000..ed6b710 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt > @@ -0,0 +1,34 @@ > +TI DaVinci DA8XX USB PHY > + > +Required properties: > + - compatible: must be "ti,da830-usbphy". > + - #phy-cells: must be 1. > + - reg : Address and length of the CFGCHIP2 register. I am not sure passing CFGCHIP2 register as reg property to the phy is future proof. At some point, we do want to move to common clock framework and at that point USB clocks controlled by CFGCHIP2 will be a separate driver needing access to the same register. So I think the CFGCHIP2 access in USB phy driver should happen through a syscon phandle. This needs to happen now, not later since we cannot break DT backward-compatibility. Thanks, Sekhar