From patchwork Thu Aug 1 09:19:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 18720 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 82EA4238F9 for ; Thu, 1 Aug 2013 09:36:07 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id z20sf2344302yhz.3 for ; Thu, 01 Aug 2013 02:36:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-removed-original-auth:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=dQ4O2X42lc+y881eJ+tk/DsG1yTEfc9zft4Ir2O1Img=; b=lxNoNaBiFabIbN1xlScSm7E8l5hyQffzI/OUqYhY1Qv9cW2qiVzwkb4GARkJJp3yvT 7z0qL/ujS1WopYpZXw/RO40UCz5ecVMeV8gcMcVQHQCAVw0RlQazvKlKAfp7eh5s27DT LBtx61RT5sO1ZP0zQRLckK2QP8h+981lrJTejy1gg9hsTDMXMQYW0Hl3uQNpFmHC/W1a fftwXZqjgtCYlbyrIU4tXpNTaohjpXBCkRBL5bnIbGJLPqBkDUSeyo+oWfPbHnCchF+1 ndJVwKo3CLsbvwoU4YEzcQA7rIj2W2/O5t4vYalUQup3H/0049BpKRToFVKJ/pPi9Elk N7OA== X-Received: by 10.236.62.132 with SMTP id y4mr294637yhc.13.1375349766733; Thu, 01 Aug 2013 02:36:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.110.195 with SMTP id ic3ls1085830qeb.62.gmail; Thu, 01 Aug 2013 02:36:06 -0700 (PDT) X-Received: by 10.52.35.40 with SMTP id e8mr175727vdj.37.1375349766551; Thu, 01 Aug 2013 02:36:06 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id zx19si440576veb.63.2013.08.01.02.36.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Aug 2013 02:36:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id oz10so2023927veb.3 for ; Thu, 01 Aug 2013 02:36:06 -0700 (PDT) X-Received: by 10.220.164.138 with SMTP id e10mr207161vcy.27.1375349766423; Thu, 01 Aug 2013 02:36:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp287085vcb; Thu, 1 Aug 2013 02:36:05 -0700 (PDT) X-Received: by 10.68.103.228 with SMTP id fz4mr778544pbb.101.1375349765112; Thu, 01 Aug 2013 02:36:05 -0700 (PDT) Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by mx.google.com with ESMTPS id vw7si1916225pab.114.2013.08.01.02.36.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Aug 2013 02:36:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.49 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.49; Received: by mail-pb0-f49.google.com with SMTP id xb4so1860295pbc.8 for ; Thu, 01 Aug 2013 02:36:04 -0700 (PDT) X-Received: by 10.68.233.134 with SMTP id tw6mr892384pbc.9.1375349764734; Thu, 01 Aug 2013 02:36:04 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id bs3sm2928519pbc.42.2013.08.01.02.36.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Aug 2013 02:36:04 -0700 (PDT) From: Sachin Kamat To: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Cc: gregkh@linuxfoundation.org, kgene.kim@samsung.com, stern@rowland.harvard.edu, rob@landley.net, swarren@wwwdotorg.org, gautam.vivek@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] usb: samsung: Update Exynos ehci/ohci bindings documentation Date: Thu, 1 Aug 2013 14:49:32 +0530 Message-Id: <1375348772-23357-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQnP+SiOhPMTC7771crNgxIK/D3vtWhwh152IDEalI8TmAQXLlEL1NRBKI5y0zHraMiauxYs X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Updated the document as per the latest implementation. While at it also fixed some trivial typos. Signed-off-by: Sachin Kamat --- .../devicetree/bindings/usb/exynos-usb.txt | 38 +++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt index d967ba1..16a2c0f 100644 --- a/Documentation/devicetree/bindings/usb/exynos-usb.txt +++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt @@ -5,13 +5,15 @@ The device node has following properties. EHCI Required properties: - - compatible: should be "samsung,exynos4210-ehci" for USB 2.0 - EHCI controller in host mode. - - reg: physical base address of the controller and length of memory mapped + - compatible : should be one of the following for USB 2.0 EHCI controller + in host mode: + (a) "samsung,exynos5440-ehci" for Exynos5440 SoC + (b) "samsung,exynos4210-ehci" for all other Exynos4 and 5 SoCs + - reg : physical base address of the controller and length of memory mapped region. - - interrupts: interrupt number to the cpu. - - clocks: from common clock binding: handle to usb clock. - - clock-names: from common clock binding: Shall be "usbhost". + - interrupts : interrupt number to the CPU. + - clocks : from common clock binding: handle to USB clock. + - clock-names : from common clock binding: Shall be "usbhost". Optional properties: - samsung,vbus-gpio: if present, specifies the GPIO that @@ -23,7 +25,7 @@ Example: compatible = "samsung,exynos4210-ehci"; reg = <0x12110000 0x100>; interrupts = <0 71 0>; - samsung,vbus-gpio = <&gpx2 6 1 3 3>; + samsung,vbus-gpio = <&gpx2 6 0>; clocks = <&clock 285>; clock-names = "usbhost"; @@ -31,13 +33,15 @@ Example: OHCI Required properties: - - compatible: should be "samsung,exynos4210-ohci" for USB 2.0 - OHCI companion controller in host mode. - - reg: physical base address of the controller and length of memory mapped + - compatible : should be one of the following for USB 2.0 OHCI companion + controller in host mode: + (a) "samsung,exynos5440-ohci" for Exynos5440 SoC + (b) "samsung,exynos4210-ohci" for all other Exynos4 and 5 SoCs + - reg : physical base address of the controller and length of memory mapped region. - - interrupts: interrupt number to the cpu. - - clocks: from common clock binding: handle to usb clock. - - clock-names: from common clock binding: Shall be "usbhost". + - interrupts : interrupt number to the CPU. + - clocks : from common clock binding: handle to USB clock. + - clock-names : from common clock binding: Shall be "usbhost". Example: usb@12120000 { @@ -51,14 +55,14 @@ Example: DWC3 Required properties: - - compatible: should be "samsung,exynos5250-dwusb3" for USB 3.0 DWC3 + - compatible : should be "samsung,exynos5250-dwusb3" for USB 3.0 DWC3 controller. - #address-cells, #size-cells : should be '1' if the device has sub-nodes with 'reg' property. - - ranges: allows valid 1:1 translation between child's address space and + - ranges : allows valid 1:1 translation between child's address space and parent's address space - - clocks: Clock IDs array as required by the controller. - - clock-names: names of clocks correseponding to IDs in the clock property + - clocks : Clock IDs array as required by the controller. + - clock-names : names of clocks corresponding to IDs in the clock property Sub-nodes: The dwc3 core should be added as subnode to Exynos dwc3 glue.