From: Marek Vasut <marek.vasut@mailbox.org>
To: Mehmet Fide <mehmet.fide@gmail.com>,
Marek Vasut <marek.vasut+usb@mailbox.org>
Cc: Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
Fabio Estevam <festevam@gmail.com>,
Stefan Agner <stefan@agner.ch>,
Francesco Dolcini <francesco@dolcini.it>,
u-boot@lists.u-boot-project.org, mehmet.fide@screeningeagle.com
Subject: Re: [PATCH v7 9/9] usb: ehci-vf: enable the vbus supply of the port
Date: Wed, 21 Oct 2026 02:13:04 +0200 [thread overview]
Message-ID: <38372dc0-845b-428e-b26d-91c080ad6dc2@mailbox.org> (raw)
In-Reply-To: <20261020101608.2818265-10-mehmet.fide@gmail.com>
On 10/20/26 12:16 PM, Mehmet Fide wrote:
[...]
> +++ b/drivers/usb/host/ehci-vf.c
> @@ -20,7 +20,9 @@
> #include <asm/mach-imx/regs-usbphy.h>
> #include <linux/delay.h>
> #include <usb/ehci-ci.h>
> +#include <power/regulator.h>
> #include <linux/usb/otg.h>
> +#include <dm/device_compat.h>
Keep the list sorted.
> #include "ehci.h"
>
> @@ -42,6 +44,8 @@ struct ehci_vf_priv_data {
> struct anadig_reg __iomem *anatop_addr;
> void __iomem *phy_addr;
> void __iomem *misc_addr;
> + struct udevice *vbus_supply;
> + struct udevice *dev;
> u32 portnr;
> };
>
> @@ -221,9 +225,9 @@ static int vf_usb_of_to_plat(struct udevice *dev)
> return 0;
> }
>
> -static int vf_init_after_reset(struct ehci_ctrl *dev)
> +static int vf_init_after_reset(struct ehci_ctrl *ctrl)
Is this rename necessary ?
> {
> - struct ehci_vf_priv_data *priv = dev->priv;
> + struct ehci_vf_priv_data *priv = ctrl->priv;
> enum usb_init_type type = priv->init_type;
> struct usb_ehci *ehci = priv->ehci;
> int ret;
[...]
next prev parent reply other threads:[~2026-10-21 2:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 10:15 [PATCH v7 0/9] usb: ehci-vf: make the USB host port usable Mehmet Fide
2026-10-20 10:16 ` [PATCH v7 1/9] fdtdec: match an alias to its stem only when the number follows it Mehmet Fide
2026-10-20 10:16 ` [PATCH v7 2/9] usb: ehci-vf: take the controller index from the device tree Mehmet Fide
2026-10-20 10:16 ` [PATCH v7 3/9] usb: ehci-vf: remove the code path for a build without DM_USB Mehmet Fide
2026-10-20 10:16 ` [PATCH v7 4/9] usb: ehci-vf: drop the empty bind hook Mehmet Fide
2026-10-20 10:16 ` [PATCH v7 5/9] dm: core: add ofnode_get_alias_seq() Mehmet Fide
2026-10-20 10:16 ` [PATCH v7 6/9] usb: ehci-vf: use usb_get_dr_mode() Mehmet Fide
2026-10-21 0:09 ` Marek Vasut
2026-10-21 11:59 ` Mehmet Fide
2026-10-21 12:07 ` Marek Vasut
2026-10-21 12:21 ` Mehmet Fide
2026-10-21 13:17 ` Marek Vasut
2026-10-21 18:41 ` Mehmet Fide
2026-10-21 18:56 ` Marek Vasut
2026-10-20 10:16 ` [PATCH v7 7/9] usb: ehci-vf: request the ID detect gpio through the device Mehmet Fide
2026-10-21 0:10 ` Marek Vasut
2026-10-20 10:16 ` [PATCH v7 8/9] usb: ehci-vf: take the register bases from the device tree Mehmet Fide
2026-10-21 0:13 ` Marek Vasut
2026-10-20 10:16 ` [PATCH v7 9/9] usb: ehci-vf: enable the vbus supply of the port Mehmet Fide
2026-10-21 0:13 ` Marek Vasut [this message]
2026-10-21 11:59 ` Mehmet Fide
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=38372dc0-845b-428e-b26d-91c080ad6dc2@mailbox.org \
--to=marek.vasut@mailbox.org \
--cc=festevam@gmail.com \
--cc=francesco@dolcini.it \
--cc=marek.vasut+usb@mailbox.org \
--cc=mehmet.fide@gmail.com \
--cc=mehmet.fide@screeningeagle.com \
--cc=sjg@chromium.org \
--cc=stefan@agner.ch \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.