devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
To: <linux-arm-msm@vger.kernel.org>, <linux-usb@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <pure.logic@nexus-software.ie>,
	<bjorn.andersson@linaro.org>, <greg@kroah.com>, <robh@kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <quic_tsoni@quicinc.com>,
	<quic_psodagud@quicinc.com>, <quic_satyap@quicinc.com>,
	<quic_pheragu@quicinc.com>, <quic_rjendra@quicinc.com>,
	<quic_sibis@quicinc.com>, <quic_saipraka@quicinc.com>,
	<quic_schowdhu@quicinc.com>
Subject: [PATCH V4 0/6] Add Embedded USB Debugger (EUD) driver
Date: Fri, 21 Jan 2022 19:23:45 +0530	[thread overview]
Message-ID: <cover.1642768837.git.quic_schowdhu@quicinc.com> (raw)

This is a series of patches that implements a driver for the control
peripheral, EUD (Embedded USB Debugger). The EUD is a mini-USB hub
implemented on chip to support the USB-based debug and trace capabilities.
Apart from debug capabilities, EUD has a control peripheral. Control
Peripheral is on when EUD is on and gets signals like USB attach, pet
EUD etc. EUD driver listens to events like USB attach or detach and then
informs the USB about these events via ROLE-SWITCH. At regular intervals,
the EUD driver receives an interrupt to pet the driver indicating that
the software is functional.

Changes in V4

* Aligned the device tree node structure of EUD as per discussion.

* Changes to usb-connector.yaml is no longer required and is not 
  included in the patch series.
  
* Implemented the rest of the comments on Version 3 of the patch.  

Changes in V3

* Removed the patch for registration of EUD connector as it is no longer
  required.
  
* Added the description to include EUD in usb-connector.yaml  

* Implemented comments on V2 of the patch.

Changes in V2

* Fixed the yaml issue and also implemented comments on yaml in V1.

Changes in V1

* EUD has now been mapped as a separate DT node as it is an independent QCOM IP.

* EUD is attached to the connector child of dwc3 via port end point since EUD
  driver needs the connector for role-switching.

* EUD driver has been moved now to drivers/soc/qcom/qcom_eud.c.

* All the comments from version 0 of the patch has been implemented.

Souradeep Chowdhury (6):
  dt-bindings: Add the yaml bindings for EUD
  bindings: usb: dwc3: Update dwc3 properties for EUD connector
  soc: qcom: eud: Add driver support for Embedded USB Debugger(EUD)
  arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector
  arm64: dts: qcom: sc7280: Set the default dr_mode for usb2
  MAINTAINERS: Add maintainer entry for EUD

 Documentation/ABI/testing/sysfs-driver-eud         |   9 +
 .../devicetree/bindings/soc/qcom/qcom,eud.yaml     |  77 +++++++
 .../devicetree/bindings/usb/snps,dwc3.yaml         |  10 +
 MAINTAINERS                                        |   8 +
 arch/arm64/boot/dts/qcom/sc7280-idp.dts            |   4 +
 arch/arm64/boot/dts/qcom/sc7280.dtsi               |  39 ++++
 drivers/soc/qcom/Kconfig                           |  10 +
 drivers/soc/qcom/Makefile                          |   1 +
 drivers/soc/qcom/qcom_eud.c                        | 250 +++++++++++++++++++++
 9 files changed, 408 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-eud
 create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
 create mode 100644 drivers/soc/qcom/qcom_eud.c

-- 
2.7.4


             reply	other threads:[~2022-01-21 13:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 13:53 Souradeep Chowdhury [this message]
2022-01-21 13:53 ` [PATCH V4 1/6] dt-bindings: Add the yaml bindings for EUD Souradeep Chowdhury
2022-01-26  4:22   ` Bjorn Andersson
2022-01-21 13:53 ` [PATCH V4 2/6] bindings: usb: dwc3: Update dwc3 properties for EUD connector Souradeep Chowdhury
2022-01-26  4:21   ` Bjorn Andersson
2022-01-27 10:58     ` Souradeep Chowdhury
2022-01-21 13:53 ` [PATCH V4 3/6] soc: qcom: eud: Add driver support for Embedded USB Debugger(EUD) Souradeep Chowdhury
2022-01-26  4:47   ` Bjorn Andersson
2022-01-27 12:01     ` Souradeep Chowdhury
2022-01-28 16:11       ` Bjorn Andersson
2022-01-31  5:49         ` Souradeep Chowdhury
2022-01-26  9:30   ` Greg KH
2022-01-27 12:04     ` Souradeep Chowdhury
2022-01-21 13:53 ` [PATCH V4 4/6] arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector Souradeep Chowdhury
2022-01-26  4:28   ` Bjorn Andersson
2022-01-27 11:00     ` Souradeep Chowdhury
2022-01-21 13:53 ` [PATCH V4 5/6] arm64: dts: qcom: sc7280: Set the default dr_mode for usb2 Souradeep Chowdhury
2022-01-26  4:29   ` Bjorn Andersson
2022-01-21 13:53 ` [PATCH V4 6/6] MAINTAINERS: Add maintainer entry for EUD Souradeep Chowdhury
2022-01-26  4:29   ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1642768837.git.quic_schowdhu@quicinc.com \
    --to=quic_schowdhu@quicinc.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=greg@kroah.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=pure.logic@nexus-software.ie \
    --cc=quic_pheragu@quicinc.com \
    --cc=quic_psodagud@quicinc.com \
    --cc=quic_rjendra@quicinc.com \
    --cc=quic_saipraka@quicinc.com \
    --cc=quic_satyap@quicinc.com \
    --cc=quic_sibis@quicinc.com \
    --cc=quic_tsoni@quicinc.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).