Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp220160ybl; Thu, 30 Jan 2020 20:45:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxsO7fIeeWoAZbZ2+bOh+R5Xct6eqt8EvVJvFjnWWDygn/jCCojDEZ5NIH+7iT333xcImPf X-Received: by 2002:a9d:58cb:: with SMTP id s11mr6564425oth.55.1580445914873; Thu, 30 Jan 2020 20:45:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580445914; cv=none; d=google.com; s=arc-20160816; b=0yL3Mgrsm2dJoK0YnULDjaiO5mVYXghBMq3y0VDVMB53d6rNXmU6bgXDKOMgdmVILR Q3kqHVnP4OaWzwtXWATxCQY/mUBkjxXuY6L+yQBQVDTsnct0dnBNPl6vlLjuhwJIFbKg iNO9lbjh/Xu8s1OdK9ktqYG0LRPHZZdLleB7icQjyWb7E3WYjGkzzcYGsE/+D0HdHdPK nEFYBwi85GsQWbQD8QCujggazGKqUhamGu+doC84bnwBKDgJ2T4itZ6ARRvGVCxkI95j gu48aTa/N1linZpAu72V2CGQjKtWEOT8wHt17QcyNgol92nLetF562BvcWSUclS9LufV VAug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature; bh=qNj8xP/kLjNsXDUk3IJIZNbqPlN1q/5xE81JMsNfNqY=; b=e28cuRaQwA2j/UoGve4xGKfAMzgfnazyxCKWU8XDhxOVU3ae85LdmaBx9b/Gv5fqba WC+SBwT3H5otKAFfdLz8Mf2gL53DB4T90ojFkQs8sdpSnYeGwfAAKj0zcIaciCPvQLaU USfAhsA085hgjAp6DDbYGaR+q39m2r56GiBt2LCBarFhvZYwx/QXv+gcwORidjAjgh8Y XRO0IxJSPZi3K8JzH6TsiJ25r86agNWPdAPSLkMV6hFg784//qA2v08iM2JpnIqHn6UO 8d1Hfs2EJmTbVPY+icQRdYwAM95UA4emmkyp7/eR9VzLxygjWvj89exRmykEkdLgBBZB 2quQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=NDoG70tM; 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 l2si3781650oti.303.2020.01.30.20.45.03; Thu, 30 Jan 2020 20:45:14 -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=NDoG70tM; 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 S1728081AbgAaEoA (ORCPT + 99 others); Thu, 30 Jan 2020 23:44:00 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:30592 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728005AbgAaEoA (ORCPT ); Thu, 30 Jan 2020 23:44:00 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1580445839; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=qNj8xP/kLjNsXDUk3IJIZNbqPlN1q/5xE81JMsNfNqY=; b=NDoG70tMZs0+i0/RlAIBpedla6Yr0GZZAJTmypyXjkLRnPcxfA9jZ+U9efdx1WzV9ex3n58J UahiZKFYkFlxmIoEdGlwXG3S8xhjFlnkQAVPlbrmCldkQ+IZYIyapXwdgY9MQb+9zE/41f2l mxXAf/T3virNJWIlS1IZ6THiNEQ= X-Mailgun-Sending-Ip: 104.130.122.25 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 5e33b08e.7f37cbe42378-smtp-out-n01; Fri, 31 Jan 2020 04:43:58 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5DAE6C4479C; Fri, 31 Jan 2020 04:43: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=ham autolearn_force=no version=3.4.0 Received: from akdwived-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akdwived) by smtp.codeaurora.org (Postfix) with ESMTPSA id 66F8DC43383; Fri, 31 Jan 2020 04:43:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 66F8DC43383 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 From: Avaneesh Kumar Dwivedi To: 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, Avaneesh Kumar Dwivedi Subject: [PATCH v4 1/2] dt-bindings: Documentation for qcom,eud Date: Fri, 31 Jan 2020 10:13:30 +0530 Message-Id: <1580445811-15948-2-git-send-email-akdwived@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1580445811-15948-1-git-send-email-akdwived@codeaurora.org> References: <1580445811-15948-1-git-send-email-akdwived@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. + +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 +attach/detach event) and EUD is established via a directed graph. EUD +act 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. + +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.