Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3764031ybv; Sun, 16 Feb 2020 05:14:58 -0800 (PST) X-Google-Smtp-Source: APXvYqysU1RMIK/H0wykTyT5jfZb/IhaeoUM3nWyWDA/ZoWUxaDP30bY6BybDbWb8poBAlc2pt3D X-Received: by 2002:a9d:6653:: with SMTP id q19mr9147544otm.94.1581858897974; Sun, 16 Feb 2020 05:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581858897; cv=none; d=google.com; s=arc-20160816; b=uu+11X/alPMr3XuTCnMXjAAFIJkP4YJ3Mm7NAS/+VoKslWpCuEv2smjqVVKhj9lONn X7We17WY0tqBPonfkVmSI/64ff2x/VsM6gMMndjRgmV/2TdTY2OHxupYNcbfB2JN8kaa L/nOcpUA1DOJqYKPvAsKiIwoGyF/GckfMajwQp83HgsgHCqU9phXJmdxDo51VM/dWgH3 6LkcoNSd4RLeAIsAeLRxCOStVEYklKngcHtw2wfx3EZlXu692wI9zVwP6TCgFHr9pMMM 8op089uizNkZjZNrgPqvDGQ1qAOz6VR+fFl0zV9XoDk+wI3bVdlWK8L8ZVYmNAFXqK4q pxUw== 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; bh=A5ZI/g7WWcSZehWepKEyAPPOsuiaR/FmCfcQVi4vYPQ=; b=p8qC9bOKdS3ksvFkyRBn3bry4Dacp+VsAum74NX69k+YGZYhXt5362zPntM2Yii7TX P+8GYBtCnqeXoJtCnqO0qG+wAgLJa2V3MqsTBaQGf3n3oUNUa1AITJ1maZx2QbtrRv53 sp3eR9YIChS6v1eJZEQCFEPLPMtlyVyZ8Gq/n6kHbbZPI/EUXWh1mqnYY3WzNwu91sQc 7lcLm2V9+PdNjvgOtvcnjHpQWOv8BJ68JM6ttBizud9icwPu5uBLndO8S7E9whdLwBgI hqsArWagZ3aZyiipKq6VZoFwOYutX2+lV3Db6ERuRmzDhwhBZH0TJy6lf0NHiHTnFsBq XX3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="iHPFy/hl"; 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 p13si5710993otq.210.2020.02.16.05.14.45; Sun, 16 Feb 2020 05:14:57 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b="iHPFy/hl"; 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 S1728237AbgBPNME (ORCPT + 99 others); Sun, 16 Feb 2020 08:12:04 -0500 Received: from mail27.static.mailgun.info ([104.130.122.27]:21690 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728103AbgBPNMD (ORCPT ); Sun, 16 Feb 2020 08:12:03 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581858722; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=A5ZI/g7WWcSZehWepKEyAPPOsuiaR/FmCfcQVi4vYPQ=; b=iHPFy/hlBBgewZ/ol6Z3sKwvIy+od3ZVIYlotcVpRKR8NXBsFt3LcnNSacdBQSBTQk356A43 nIkBkFBk/fvPZG3KgwrFnfIgIWmEFr7OiXiRe5M3NzCUrNMLyxiHBim9LduGor6LC0AaQWaP nPqj56OkzH2qI5tzRrhtwW+PLls= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e493f9e.7f63ed18d5e0-smtp-out-n01; Sun, 16 Feb 2020 13:11:58 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 370FDC4479C; Sun, 16 Feb 2020 13:11:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [192.168.0.100] (unknown [103.140.231.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akdwived) by smtp.codeaurora.org (Postfix) with ESMTPSA id C2E0AC43383; Sun, 16 Feb 2020 13:11:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C2E0AC43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=akdwived@codeaurora.org Subject: Re: [PATCH v4 1/2] dt-bindings: Documentation for qcom,eud To: Bryan O'Donoghue , 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> <9483dfa0-15ea-e9ed-79ee-3dcf97e98136@nexus-software.ie> From: "Dwivedi, Avaneesh Kumar (avani)" Message-ID: <4f19fe93-3af2-1050-4d80-ed568865d825@codeaurora.org> Date: Sun, 16 Feb 2020 18:41:30 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <9483dfa0-15ea-e9ed-79ee-3dcf97e98136@nexus-software.ie> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank you very much Bryan for your review comments, will be working on your and other maintainers comment on this patchset and will be posting new patchset soon. On 2/4/2020 8:21 AM, Bryan O'Donoghue wrote: > 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. OK > >> + >> +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. Ok > >> +attach/detach event) and EUD is established via a directed graph. EUD >> +act > The EUD acts OK > >> 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? Directed graph is to show VBUS and charger events flow. > >> + >> +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>; >> +            }; >> +        }; >> +    }; >> -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.