Received: by 10.213.65.68 with SMTP id h4csp1243359imn; Sun, 18 Mar 2018 21:21:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELuqzKIYlU7mwEqwwooaVjoInu0K0jqBzo2YFLOGWyuhGFPxKzVAGSpGrGY0T0DNHugtoq0D X-Received: by 2002:a17:902:8c83:: with SMTP id t3-v6mr1165869plo.391.1521433297808; Sun, 18 Mar 2018 21:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521433297; cv=none; d=google.com; s=arc-20160816; b=pGPlhk5X6E2y+GltywPkdDRD/2jdCzFftV/Lbrmjeijjawl8sEWm6+nEx0Hx6P+KMF YakXkX0t4ENGG1RoEL4sYt5WeUhcRn4YoUlV7iZukDYxz2s+YhOX6Sc8DaLQ+TxdMaZd FvzuIwZ5NExsA13DoFmgPf0iDiqT0UmxKa2tTiY127Z8G5xzKBYxG/ZuaNOlBbIhddgY mmFySgsHoLTj4eOCHB4QcIDwO+R10Ky9pfykn00uMigxK5DZE99qfroQJGzewHGUkBT0 4WCjKRhBui8AjyQWbHmHn1nRPNtjx8slPDJwAunV4eKKoDi8kXwt/mth90IADG+5evfm dbEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=jAeN2vlY8K3mat0tGbsDVRiA2pihGM2DPQ3LB84S+00=; b=AfLo7/upuFa/v6vzmyJ1FFWnt9DCMk2prssf+FYovnOQQk1cGjXp2w+L/BEN+KFkYs btCKaE/wqFXN/mqhz6/mB67G3rt8Rkyu8/anTgLhiqzVJwcxYgD87sfWZmK9083VjNAe mV6nBbEmRm4/xoBGlrrd6EyjsARcbLv0VvPdwlA1kEdFi1YglDwWxme9+8FPJlIagjbD 4IJMyruW4gWeGFLNIbbfiBBYB0gJWvLk/WTyOYWDGRYUWWn2Z+GC0E+uRIs9E6/zfiVN CM7jS4YrFxI27XDqhiMHVoIGf9VrOSRiRW2ZMOhqVQvtGXbhSUcXoMJwDRvS/AlWNpPk fERw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=D1F3tNB7; dkim=pass header.i=@codeaurora.org header.s=default header.b=D1F3tNB7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3-v6si7487232plh.49.2018.03.18.21.21.23; Sun, 18 Mar 2018 21:21:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=D1F3tNB7; dkim=pass header.i=@codeaurora.org header.s=default header.b=D1F3tNB7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755149AbeCSEUa (ORCPT + 99 others); Mon, 19 Mar 2018 00:20:30 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:46996 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754723AbeCSEU2 (ORCPT ); Mon, 19 Mar 2018 00:20:28 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B05D860590; Mon, 19 Mar 2018 04:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521433227; bh=GBhTIRT2yC5X6aOMJJscM1/U9KbgwcKTmi0eFkqx8h4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=D1F3tNB7pdyoYBF+kN5I5UtTZYJYVnHc0LoIR6Q2IvwQ0ZgnD38rHGIly81O+pvix /Co0Snq03S1v8WhiVKPm8zudryduWsUgkyGcVM2lPdpJ01zjprdaxYyw+4zkQ2o09K 9Hhux2cyhrqkQ42fvrVtXmKitfu8Ll162oHy/5uc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.206.25.65] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C17E660590; Mon, 19 Mar 2018 04:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521433227; bh=GBhTIRT2yC5X6aOMJJscM1/U9KbgwcKTmi0eFkqx8h4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=D1F3tNB7pdyoYBF+kN5I5UtTZYJYVnHc0LoIR6Q2IvwQ0ZgnD38rHGIly81O+pvix /Co0Snq03S1v8WhiVKPm8zudryduWsUgkyGcVM2lPdpJ01zjprdaxYyw+4zkQ2o09K 9Hhux2cyhrqkQ42fvrVtXmKitfu8Ll162oHy/5uc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C17E660590 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mgautam@codeaurora.org Subject: Re: [PATCH v1 1/2] dt-bindings: usb: Update documentation for Qualcomm DWC3 driver To: Rob Herring Cc: Felipe Balbi , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, Greg Kroah-Hartman , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list References: <1520937362-28777-1-git-send-email-mgautam@codeaurora.org> <20180318124922.kxa5q2vmhvydfp25@rob-hp-laptop> From: Manu Gautam Message-ID: <835029bb-08a9-16dc-e107-870615f57124@codeaurora.org> Date: Mon, 19 Mar 2018 09:50:10 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180318124922.kxa5q2vmhvydfp25@rob-hp-laptop> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 3/18/2018 6:19 PM, Rob Herring wrote: > On Tue, Mar 13, 2018 at 04:06:00PM +0530, Manu Gautam wrote: >> Existing documentation has lot of incorrect information as it >> was originally added for a driver that no longer exists. >> >> Signed-off-by: Manu Gautam >> --- >> .../devicetree/bindings/usb/qcom,dwc3.txt | 87 +++++++++++++++------- >> 1 file changed, 59 insertions(+), 28 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.txt b/Documentation/devicetree/bindings/usb/qcom,dwc3.txt >> index bc8a2fa..df312f7 100644 >> --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.txt >> +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.txt >> @@ -1,54 +1,85 @@ >> Qualcomm SuperSpeed DWC3 USB SoC controller >> >> Required properties: >> -- compatible: should contain "qcom,dwc3" >> -- clocks: A list of phandle + clock-specifier pairs for the >> - clocks listed in clock-names >> -- clock-names: Should contain the following: >> - "core" Master/Core clock, have to be >= 125 MHz for SS >> - operation and >= 60MHz for HS operation >> - >> -Optional clocks: >> - "iface" System bus AXI clock. Not present on all platforms >> - "sleep" Sleep clock, used when USB3 core goes into low >> - power mode (U3). >> +- compatible: should contain "qcom,dwc3" >> +- reg: offset and length of register set for QSCRATCH wrapper >> +- reg-names: should be "qscratch" > reg-names is pointless for a single range. Ok. Will change this. > >> +- power-domains: specifies a phandle to PM domain provider node >> +- clocks: list of phandle + clock-specifier pairs > How many clocks and what are they? I will add description of the clocks in next version of patchset. > >> +- assigned-clocks: should be: >> + MOCK_UTMI_CLK >> + MASTER_CLK >> +- assigned-clock-rates: should be: >> + 19.2Mhz (192000000) for MOCK_UTMI_CLK >> + >=125Mhz (125000000) for MASTER_CLK in SS mode >> + >=60Mhz (60000000) for MASTER_CLK in HS mode >> + >> +Optional properties: >> +- resets: list of phandle and reset specifier pairs >> +- interrupts: specifies interrupts from controller wrapper used >> + to wakeup from low power/susepnd state. Must contain >> + one or more entry for interrupt-names property >> +- interrupt-names: Must include the following entries: >> + - "hs_phy_irq": The interrupt that is asserted when a >> + wakeup event is received on USB2 bus >> + - "ss_phy_irq": The interrupt that is asserted when a >> + wakeup event is received on USB3 bus >> + - "dm_hs_phy_irq" and "dp_hs_phy_irq": Separate >> + interrupts for any wakeup event on DM and DP lines >> +- qcom,select-utmi-as-pipe-clk: if present, disable USB3 pipe_clk requirement. >> + Used when dwc3 operates without SSPHY and only >> + HS/FS/LS modes are supported. >> >> Required child node: >> A child node must exist to represent the core DWC3 IP block. The name of >> the node is not important. The content of the node is defined in dwc3.txt. >> >> Phy documentation is provided in the following places: >> -Documentation/devicetree/bindings/phy/qcom-dwc3-usb-phy.txt >> +Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt - USB3 QMP PHY >> +Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt - USB2 QUSB2 PHY -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project