Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4429692ybl; Mon, 3 Feb 2020 18:53:04 -0800 (PST) X-Google-Smtp-Source: APXvYqyrTtVjMst0pLmesZGjN2c53G1eM6Qu12JP4ahsBqguvCBIoREjfu6G3hOvX2UJyOdEolB7 X-Received: by 2002:aca:b1d5:: with SMTP id a204mr1828825oif.82.1580784783474; Mon, 03 Feb 2020 18:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580784783; cv=none; d=google.com; s=arc-20160816; b=Wh36hAsF7WOfoixTeCkWTxNYOq5x737E8f5o1f7i/958t8ndm2WkAY1K8fmF5OkJkR jUuixnzW7Mcbuy0i4ZrQjP13mu4/DWFTXK3tOw9TACFvLcwNyB9YdUn2Rgq1d+ok2tce XMDmCDzGgqvwrjWiW5ysbbRyRLliMxqu+4W6u87rE6U/JVo0LHh0lCWB0aJFz+hoB/AK +EPHzjvfS8Qd1UmiM4ti99YCEa3LenkvCoj9ZanD9YOaR0HF8cBSqva9anSobtu83dRK h+xVus8GfgcEVbVb3gW1qC1dBM9wU4Tp5QHzX5o2PJn9yZKcbCFBjhRrXCCr6jBG7J0g E70A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=325lqkSDMMWaBbJgLVgP2ODozFzfO6WA9dT9uwSiycs=; b=GxePj6Vv77v54wJ+Abgo6XDtYwsRH6nu42p25ZVnul9gERTsdADHW8LWG1OI8px000 ndeJkPx/sweBtGvHEVJt+9obGa0FQJHsAq7+dqv407jVeyeBcgu5tOVRT19N48evPU57 DTRJVZhzCS1ZE/Byxb0vuzvv62++fy7LOM4wqLaQ/Y4qKg83bAAIpT8gVTtzqQSXKaKC svk7tPe2u0/UlLpSPwfdBW8cUakDXle+RNnR9rtL1sgBeyXmEh/TyZ0vLyEV/7Ker86f qiiOVi5m3KG/cZqDge4Td1w//1T5h3b+q1P8VCJBjFoWB/Og6uG2W9Gxe2rVrbPkVsoq F6nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=BrjeL9Qi; 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 h21si11213451otk.196.2020.02.03.18.52.51; Mon, 03 Feb 2020 18:53:03 -0800 (PST) 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=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=BrjeL9Qi; 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 S1727127AbgBDCvb (ORCPT + 99 others); Mon, 3 Feb 2020 21:51:31 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43090 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726930AbgBDCva (ORCPT ); Mon, 3 Feb 2020 21:51:30 -0500 Received: by mail-wr1-f67.google.com with SMTP id z9so8793157wrs.10 for ; Mon, 03 Feb 2020 18:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=325lqkSDMMWaBbJgLVgP2ODozFzfO6WA9dT9uwSiycs=; b=BrjeL9QiNkL5n/ulUmoBejQ/k71MXIMuV8g+UV2GFsXj/FA2TgaZMOqLXXOgjSK0b6 xTQn1QmWn/WjyI5mpAcscdlvWXaCKIn+DRciPDX8m4E5NWnOFlwq8ttBgyh+mfmc26Wg fZDsNkaAXKblnrRkLKL3AtyXdpTjeloGDqnpKpJVMC6ulejxBp2/sB2TmKtioDoNt9op x7HVk1x50w+4njRBK0idi+iGB5I0tK7ajDPkFj2elkhaLG9/eR9ibEU4oeHzv+tozAEa 7/xB6uOJNFkS2N5tB9/RcfGIZTN3b8BC5IfWgIO7vOAS5PW2Lur4y/g4VVWhUdU9XwNj 8mZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=325lqkSDMMWaBbJgLVgP2ODozFzfO6WA9dT9uwSiycs=; b=PPxecAzJOROShCyKlq6F6r9zRzSqtRWTrF2UgsO2jFpmvSPprkCzbVQzDOqrnWkKw9 wr+WEHO5p+6ByYuuJg3mt2LUOjWtnY8Cr4WD8smI42MotFje0quytLGPXBaBCIIpK5dQ 3/2F+JWaFtmuznge4o71EZhic1Vn/1R7dMrEWo125oclZeQte6a7n4VOhBc/Al8986+H uscV+/wYRlIDZHgpFs+SgUTX1r3Ilb9TfP+4clq0fvVOVVjMWSee+h6pU/3Rbqn3NymL NUZd65qOItGgBnfzXxH60uKABynNVZ68nSMlFKW8xpOU45XvRrlvHYEEmSYS/Mne/oQW wzrQ== X-Gm-Message-State: APjAAAUbhdY149xZchc1SXEDkWLRWv2LJoMNpkr1KPoJRtJUeVyR7zE1 xBSyDtb1rBpHtWr2VIgy7dtxgg6Q+M4= X-Received: by 2002:a05:6000:108b:: with SMTP id y11mr14291242wrw.187.1580784688422; Mon, 03 Feb 2020 18:51:28 -0800 (PST) Received: from [192.168.0.38] ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id c9sm1691940wmc.47.2020.02.03.18.51.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Feb 2020 18:51:27 -0800 (PST) Subject: Re: [PATCH v4 1/2] dt-bindings: Documentation for qcom,eud To: Avaneesh Kumar Dwivedi , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, ckadabi@codeaurora.org, tsoni@codeaurora.org, bryanh@codeaurora.org, psodagud@codeaurora.org, rnayak@codeaurora.org, satyap@codeaurora.org, pheragu@codeaurora.org References: <1580445811-15948-1-git-send-email-akdwived@codeaurora.org> <1580445811-15948-2-git-send-email-akdwived@codeaurora.org> From: Bryan O'Donoghue Message-ID: <9483dfa0-15ea-e9ed-79ee-3dcf97e98136@nexus-software.ie> Date: Tue, 4 Feb 2020 02:51:31 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <1580445811-15948-2-git-send-email-akdwived@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/01/2020 04:43, Avaneesh Kumar Dwivedi wrote: > Documentation for Embedded USB Debugger (EUD) device tree bindings. > > Signed-off-by: Satya Durga Srinivasu Prabhala > Signed-off-by: Prakruthi Deepak Heragu > Signed-off-by: Avaneesh Kumar Dwivedi > --- > .../devicetree/bindings/soc/qcom/qcom,msm-eud.txt | 43 ++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,msm-eud.txt > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,msm-eud.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,msm-eud.txt > new file mode 100644 > index 0000000..57476ce > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,msm-eud.txt > @@ -0,0 +1,43 @@ > +* Qualcomm Technologies Inc Embedded USB Debugger (EUD) > + > +The EUD (Embedded USB Debugger) is a mini-USB hub implemented > +on chip to support the USB-based debug and trace capabilities. on chip to support USB-based debug and trace capabilities. > + > +Required properties: > + > + - compatible: Should be "qcom,msm-eud" > + - interrupts: Interrupt number > + - reg: Should be address and size of EUD register space > + > +EUD notifies clients for VBUS attach/detach and charger enable/disable > +events. The link between event consumer(i.e.USB controller for vbus missing space consumer (i.e. > +attach/detach event) and EUD is established via a directed graph. EUD > +act The EUD acts > as an output link and clients of EUD as input link of this directed > +graph. Events flows through the directed graph only during debug mode. Probably this is a very obvious question but, you mean debug and trace events or do you mean VBUS/charger events? > + > +An example for EUD device node: > + > + eud: qcom,msm-eud@88e0000 { > + compatible = "qcom,msm-eud"; > + interrupts = ; > + reg = <0x88e0000 0x4000>; > + usb_con: connector { > + compatible = "usb-c-connector"; > + label = "USB-C"; > + port { > + eud_usb_output: endpoint { > + remote-endpoint = <&eud_usb3_input>; > + }; > + }; > + }; > + }; > + > +An example for EUD client: > + > + usb3 { > + port { > + eud_usb3_input: endpoint { > + remote-endpoint = <&eud_usb_output>; > + }; > + }; > + }; >