Linux-Renesas-SoC Archive mirror
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Biju Das <biju.das.jz@bp.renesas.com>,
	Vinod Koul <vkoul@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	linux-phy@lists.infradead.org,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	linux-renesas-soc@vger.kernel.org
Subject: [PATCH RFC 0/3] Support VBUSEN selection control for RZ/G2L
Date: Thu, 18 May 2023 16:56:46 +0100	[thread overview]
Message-ID: <20230518155649.516346-1-biju.das.jz@bp.renesas.com> (raw)

This patch series aims to add support for VBUSEN selection control for
RZ/G2L alike SoCs.

As per RZ/G2L HW(Rev.1.30 May2023) manual, VBUSEN can be controlled by
the Port Power bit of the EHCI/OHCI operational register or by the VBOUT
bit of the VBUS Control Register.

A reset consumer(phy-rcar-gen3-usb2) needs to find the reset controller
device and then call the provider(reset-rzg2l-usbphy-ctrl) to configure
it.

Please share your thoughts on this patch series.

Biju Das (3):
  reset: Add reset_controller_get_dev()
  reset: renesas: Add rzg2l_usbphy_ctrl_select_vbus_ctrl()
  phy: renesas: phy-rcar-gen3-usb2: Control VBUSEN selection

 drivers/phy/renesas/phy-rcar-gen3-usb2.c |  9 ++++++++
 drivers/reset/core.c                     | 14 ++++++++++++
 drivers/reset/reset-rzg2l-usbphy-ctrl.c  | 27 ++++++++++++++++++++++++
 include/linux/reset-controller.h         |  9 ++++++++
 include/linux/reset/rzg2l-usbphy-ctrl.h  | 16 ++++++++++++++
 5 files changed, 75 insertions(+)
 create mode 100644 include/linux/reset/rzg2l-usbphy-ctrl.h

-- 
2.25.1


             reply	other threads:[~2023-05-18 15:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-18 15:56 Biju Das [this message]
2023-05-18 15:56 ` [PATCH RFC 1/3] reset: Add reset_controller_get_dev() Biju Das
2023-05-18 15:56 ` [PATCH RFC 2/3] reset: renesas: Add rzg2l_usbphy_ctrl_select_vbus_ctrl() Biju Das
2023-05-18 15:56 ` [PATCH RFC 3/3] phy: renesas: phy-rcar-gen3-usb2: Control VBUSEN selection Biju Das
2024-02-27 12:02 ` [PATCH RFC 0/3] Support VBUSEN selection control for RZ/G2L Biju Das
2024-04-15 12:18   ` Biju Das

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=20230518155649.516346-1-biju.das.jz@bp.renesas.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=kishon@kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=vkoul@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 read-only IMAP folder(s) and NNTP newsgroup(s).