mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Piyush Mehta <piyush.mehta@amd.com>
To: <gregkh@linuxfoundation.org>, <robh+dt@kernel.org>,
	<krzysztof.kozlowski+dt@linaro.org>, <balbi@kernel.org>,
	<Thinh.Nguyen@synopsys.com>
Cc: <linux-usb@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <michal.simek@amd.com>,
	<siva.durga.prasad.paladugu@amd.com>, <git@amd.com>,
	Piyush Mehta <piyush.mehta@amd.com>
Subject: [PATCH 0/2] usb: dwc3: core: add external vBus supply support for ulpi phy
Date: Wed, 15 Feb 2023 15:01:44 +0530	[thread overview]
Message-ID: <20230215093146.5812-1-piyush.mehta@amd.com> (raw)

Some ULPI USB PHY does not support internal VBUS supply, they worked on
with an external supply. To support the external vBus supply for ULPI PHY,
added 'snps,ulpi-ext-vbus-drv' quirk and based on quirk configure the ULPI
PHY in the phy configuration setup.
---
Reference for dwc3 register data-base Link: GUSB2PHYCFG (USB3_XHCI) Register [:ULPIEXTVBUSDRV]
https://www.xilinx.com/htmldocs/registers/ug1087/ug1087-zynq-ultrascale-registers.html
---
Piyush Mehta (2):
  dt-bindings: usb: dwc3: Add snps,ulpi-ext-vbus-drv quirk
  usb: dwc3: core: add external vBus supply support for ulpi phy

 Documentation/devicetree/bindings/usb/snps,dwc3.yaml |  8 ++++++++
 drivers/usb/dwc3/core.c                              | 12 ++++++++++++
 drivers/usb/dwc3/core.h                              |  4 ++++
 3 files changed, 24 insertions(+)

-- 
2.17.1


             reply	other threads:[~2023-02-15  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15  9:31 Piyush Mehta [this message]
2023-02-15  9:31 ` [PATCH 1/2] dt-bindings: usb: dwc3: Add snps,ulpi-ext-vbus-drv quirk Piyush Mehta
2023-02-16  9:20   ` Krzysztof Kozlowski
2023-02-15  9:31 ` [PATCH 2/2] usb: dwc3: core: add external vBus supply support for ulpi phy Piyush Mehta

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=20230215093146.5812-1-piyush.mehta@amd.com \
    --to=piyush.mehta@amd.com \
    --cc=Thinh.Nguyen@synopsys.com \
    --cc=balbi@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=git@amd.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=michal.simek@amd.com \
    --cc=robh+dt@kernel.org \
    --cc=siva.durga.prasad.paladugu@amd.com \
    /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

all inboxes | Powered by JetHome®