From: Mehmet Fide <mehmet.fide@gmail.com>
To: Marek Vasut <marek.vasut+usb@mailbox.org>
Cc: Mehmet Fide <mehmet.fide@gmail.com>,
Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
u-boot@lists.u-boot-project.org
Subject: Re: [PATCH v2 0/4] usb: ehci-vf: take the register bases from the device tree
Date: Fri, 21 Aug 2026 07:56:42 +0200 [thread overview]
Message-ID: <20260821055642.1176044-1-mehmet.fide@gmail.com> (raw)
In-Reply-To: <2cb90777-c31d-43f7-aa6a-b11b7dea9f4f@mailbox.org>
Hello Marek,
Please forgive my eagerness. Your reviews made valid points, and my way
of answering them was to fold the answers into the cover letter and
post fixed patches right away. From now on I will proceed the way you
describe: reply in the thread first and let the review settle before a
new version goes out, with per-patch changelogs below the --- line
rather than in the cover letter.
To put the answers where they belong:
- SPL without DM_USB (v1 1/3): no build of this driver can take that
path. drivers/Makefile builds usb/host/ for SPL only when
SPL_USB_HOST is set, and none of the five boards selecting
ARCH_VF610 sets it, or CONFIG_SPL at all. The removed branch also
does not compile, which is how it went unnoticed.
- The two Fixes tags (v1 2/3): both added in v2 2/4, thank you.
- fdtdec (v1 3/3): v2 4/4 uses the livetree calls throughout and the
driver no longer includes fdtdec.h. The alias of a phandle-referenced
node had no livetree accessor, so v2 3/4 moves the body of
dev_read_alias_seq() down to the ofnode level; if you would rather
see a different shape for that helper, I am happy to adjust.
- -ENOMEM from the regulator lookup (v2 2/2): v3 2/2 tolerates only
-ENOENT (no vbus-supply) and -ENOSYS (no DM_REGULATOR, which is the
case for four of the five vf610 boards) and fails the probe on
anything else.
On applying the feedback throughout: I checked every return value the
series handles. The five DT parse failures all fail the probe, and the
enable path fails it on anything but -ENOSYS. The one place a return
value is ignored is the regulator disable in ehci_usb_remove(), left
best-effort on teardown as in ehci-mx6 - say the word if you would
rather have it logged.
Best regards,
Mehmet
prev parent reply other threads:[~2026-08-21 5:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-20 7:15 [PATCH v2 0/4] usb: ehci-vf: take the register bases from the device tree Mehmet Fide
2026-08-20 7:15 ` [PATCH v2 1/4] usb: ehci-vf: remove the code path for a build without DM_USB Mehmet Fide
2026-08-20 7:15 ` [PATCH v2 2/4] usb: ehci-vf: drop the empty bind hook Mehmet Fide
2026-08-20 7:15 ` [PATCH v2 3/4] dm: core: add ofnode_get_alias_seq() Mehmet Fide
2026-08-20 7:15 ` [PATCH v2 4/4] usb: ehci-vf: take the register bases from the device tree Mehmet Fide
2026-08-21 0:29 ` [PATCH v2 0/4] " Marek Vasut
2026-08-21 5:56 ` Mehmet Fide [this message]
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=20260821055642.1176044-1-mehmet.fide@gmail.com \
--to=mehmet.fide@gmail.com \
--cc=marek.vasut+usb@mailbox.org \
--cc=sjg@chromium.org \
--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.