From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753637AbcK0QdQ (ORCPT ); Sun, 27 Nov 2016 11:33:16 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34702 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753149AbcK0QdF (ORCPT ); Sun, 27 Nov 2016 11:33:05 -0500 Date: Sun, 27 Nov 2016 18:32:58 +0200 From: Krzysztof Kozlowski To: Sergio Prado Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, mark.rutland@arm.com, stern@rowland.harvard.edu, kgene@kernel.org, krzk@kernel.org, javier@osg.samsung.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller Message-ID: <20161127163258.GA4423@kozik-lap> References: <1480085249-25014-1-git-send-email-sergio.prado@e-labworks.com> <1480085249-25014-2-git-send-email-sergio.prado@e-labworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1480085249-25014-2-git-send-email-sergio.prado@e-labworks.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 25, 2016 at 12:47:28PM -0200, Sergio Prado wrote: > Adds the device tree bindings description for Samsung S3C2410 and > compatible USB OHCI controller. > > Signed-off-by: Sergio Prado > --- > .../devicetree/bindings/usb/s3c2410-usb.txt | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/s3c2410-usb.txt > > diff --git a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt > new file mode 100644 > index 000000000000..e45b38ce2986 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt > @@ -0,0 +1,22 @@ > +Samsung S3C2410 and compatible SoC USB controller > + > +OHCI > + > +Required properties: > + - compatible: should be "samsung,s3c2410-ohci" for USB host controller > + - reg: address and lenght of the controller memory mapped region s/lenght/length/ Acked-by: Krzysztof Kozlowski Best regards, Krzysztof > + - interrupts: interrupt number for the USB OHCI controller > + - clocks: Should reference the bus and host clocks > + - clock-names: Should contain two strings > + "usb-bus-host" for the USB bus clock > + "usb-host" for the USB host clock > + > +Example: > + > +usb0: ohci@49000000 { > + compatible = "samsung,s3c2410-ohci"; > + reg = <0x49000000 0x100>; > + interrupts = <0 0 26 3>; > + clocks = <&clocks UCLK>, <&clocks HCLK_USBH>; > + clock-names = "usb-bus-host", "usb-host"; > +}; > -- > 1.9.1 >