From patchwork Fri Nov 25 14:47:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Prado X-Patchwork-Id: 9447683 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 56FE46071C for ; Fri, 25 Nov 2016 14:49:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 479F227EED for ; Fri, 25 Nov 2016 14:49:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B5CC27F90; Fri, 25 Nov 2016 14:49:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB80527EED for ; Fri, 25 Nov 2016 14:49:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932266AbcKYOsd (ORCPT ); Fri, 25 Nov 2016 09:48:33 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:34822 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754740AbcKYOsK (ORCPT ); Fri, 25 Nov 2016 09:48:10 -0500 Received: by mail-qk0-f193.google.com with SMTP id n204so5215838qke.2 for ; Fri, 25 Nov 2016 06:48:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=e-labworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4tKfUP0SNYg7WoXtzsU6xT0wT2xrBs1A4bgsCwNbO3Q=; b=zlcFU9AJY2uis5UdxklXjUTyGoWy8ok/0B7a6TNbMIFFtGgbHkZ0pjaS1lJLJzvKHw N0CH7keNA5j4GiI2wib/Gd1r/L3ZOXIk246f5OLZbs3ZdSWzRGM7IuHNC7qXKbqqUrGX hSUPmIU6FVBmjAiyqmgzadnduhxyBOfCpMPm9F/ihNCMtYK91AJaBfW/rj3Xy0zRuWpg +I1+XkOWDa10TnBsIZKrW+dHMdqGrxb4/ylY1wmQos0Oh/WLqXU/WByVZWov7zi70Cen hdq2P8U9tS+CHfPybVET5KurenZhNnDqwgv/E/rtIH4/BBPjjDePkIM+2y0upC3pZo7E kb5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4tKfUP0SNYg7WoXtzsU6xT0wT2xrBs1A4bgsCwNbO3Q=; b=YD1qNhPeP/FENSeFqMHxUxTj/bS8p+aQovfUrNWKWxE2zff/REpOc/p1Qt0XD7U5g0 flrIw+d4n6Eu+CSXOpg01kSjjSlwHNCt8lHoLSmOr1YVGzM6b1158IcZPJq/xRzBUOIc CvdWex6F0jxPzVd+l98YvGJHRSPqPug7atSvvqubZOmhRySGhfNI+5B4YN7Gh4hYcPaf OVH4z30AcpQom78YtGabt89IzSaEOO1uJcR18dStNGn9g2Csk6XIZXgo3cAq0oYGeS6J VMwQ7fbmB098jW6wHwHVBZBTfCms4OMy7fiXirbnE12qZtF4ID69Ys2mR1X2VCsnnSMY 1lww== X-Gm-Message-State: AKaTC03RKNHDLRU5L8D1WWVtB4QeRZVw+1MUocSgcq+ZhgUCbQZDnqVmI6W6fICXwYI3sg== X-Received: by 10.55.68.80 with SMTP id r77mr7891404qka.318.1480085285067; Fri, 25 Nov 2016 06:48:05 -0800 (PST) Received: from localhost.localdomain ([177.32.224.184]) by smtp.gmail.com with ESMTPSA id f36sm21545865qkf.43.2016.11.25.06.48.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Nov 2016 06:48:04 -0800 (PST) From: Sergio Prado To: 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 Cc: Sergio Prado Subject: [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller Date: Fri, 25 Nov 2016 12:47:28 -0200 Message-Id: <1480085249-25014-2-git-send-email-sergio.prado@e-labworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1480085249-25014-1-git-send-email-sergio.prado@e-labworks.com> References: <1480085249-25014-1-git-send-email-sergio.prado@e-labworks.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds the device tree bindings description for Samsung S3C2410 and compatible USB OHCI controller. Signed-off-by: Sergio Prado Acked-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../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 + - 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"; +};