Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8440183imu; Thu, 15 Nov 2018 11:35:01 -0800 (PST) X-Google-Smtp-Source: AJdET5fzdcgbiOBUkqR5NJN9B8gcyDbTjjUFceFTo2A04kjwNe4XOQdYMEZw8F4c/k20OW+I9wy0 X-Received: by 2002:a17:902:2bc5:: with SMTP id l63-v6mr7631036plb.241.1542310501371; Thu, 15 Nov 2018 11:35:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542310501; cv=none; d=google.com; s=arc-20160816; b=kuNlHVrndBESJnDeK9mr/5wzm7TvzUMe5uwz6Ud2hwNtzm+qsfJEYNjqdVHyjWN8gq SsMNbjn0NoQT6iJIjG6wM09iuMN1/cgWdNVHRwTIWnUpKp9+Cdu4SGf7Hgs8NQFv882c 1OnqdNgIqY2/XUl73aLxRvLgF6vMQyg0ujaj+cUMd1dhiOQ1m/T11JiKgHzz2iaO/5cV 9HjP60goSWPamqL+stSNHKRI0hkTSydhb+9h5ZcVFx9W7svTJrSg3HA6Mn7ts5iAESFa ToF+p5BTI/oGVULTa2i4R6lPORP5Ab7/aUHHDkDxqpDdTSOL3bWn8NxtEg6wuw8SaXOv ldGA== 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:dkim-signature; bh=PCW8twCaLfQKMYDq4shbBYAYwA0ihoAFdraflg0QHEI=; b=X7dqJrmKPs1l142zrhM2B2m5VwpTo0i1PwkuOnvEV00Vmkl1hfbUQ8bBl7+hRDT+cX wqoJbFY8U+V1HwL8MWxyp1uXpF7XGW2rdknOtfLF6QCluSH0KOfNxgODrf5Ci0QInfQo jOkVFb3ny79f/ud/AUqn+RgOiv9EjfjlIf5HPsk1J4ECnG6CawYbL3fr2ujECcAMxsbu IgKdkVxE9spDh4K9PUzngW2QE5WPIkMDmVgaOgVdrsIJsw55XvPX36LyRSnRvgbCYF/w NywHpBTVbULgZsXFIMwzgQC2Vg3LlfHS4Y96I3NEBKq4uFwJLlJgq3Mdu4Xxhc6iGKbP pCXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Eb5ICQVw; dkim=pass header.i=@codeaurora.org header.s=default header.b=mKZAFlnp; 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 63-v6si26067250plf.18.2018.11.15.11.34.47; Thu, 15 Nov 2018 11:35:01 -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=@codeaurora.org header.s=default header.b=Eb5ICQVw; dkim=pass header.i=@codeaurora.org header.s=default header.b=mKZAFlnp; 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 S2388787AbeKPFmw (ORCPT + 99 others); Fri, 16 Nov 2018 00:42:52 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:51872 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725742AbeKPFmw (ORCPT ); Fri, 16 Nov 2018 00:42:52 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 25CAA6074C; Thu, 15 Nov 2018 19:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542310424; bh=bd3aDWywSJVMEIzz/0/t5upE2edTTMdONVG+x7tf1ds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Eb5ICQVwsvOBIFF7bLMf13aRIa+1h8coBUQTWjfkBZtuWl45uqiJgKkvzPKJb9s50 n+xBEl/NZMXa2VAd4hq19PYmcsIJXZKTGJNCwtHXRVGyw57YM09+AC3V66hyNXmwk0 HX2W4ErIrOkAPFtDvzh988vrQvqchsjK0X6vXs68= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from pheragu-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pheragu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5D3536020B; Thu, 15 Nov 2018 19:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542310423; bh=bd3aDWywSJVMEIzz/0/t5upE2edTTMdONVG+x7tf1ds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mKZAFlnpZdWVXxiF0BpG38pBgULhPrkSOfTjzljfWlsxTMP2rJ4XefEW9Ku12xbbH PscaHLBB0NGJIGXdyd0OTBK58jb23/ZD+HNWrfBIqiUPZOYo3q26FLurREFyCx/hh5 7V1mUmxKQh9WLrfeZOjpU0qySBr97h96VQqdMkCY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5D3536020B 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=pheragu@codeaurora.org From: Prakruthi Deepak Heragu 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, Prakruthi Deepak Heragu , Satya Durga Srinivasu Prabhala Subject: [PATCH v3 1/2] dt-bindings: Documentation for qcom,eud Date: Thu, 15 Nov 2018 11:32:53 -0800 Message-Id: <1542310374-18474-2-git-send-email-pheragu@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1542310374-18474-1-git-send-email-pheragu@codeaurora.org> References: <1542310374-18474-1-git-send-email-pheragu@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 --- .../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..6d339e7 --- /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 client and EUD is established via a directed +graph. EUD has one endpoint of the graph link mentioning EUD as an +output link and clients of EUD should have the other endpoint of the +graph link as an input link. + +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>; + }; + }; + }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project