From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 0/5] improvements and fixes for the phy-meson-gxl-usb2 driver
Date: Mon, 12 Feb 2018 23:39:23 +0100 [thread overview]
Message-ID: <20180212223928.22993-1-martin.blumenstingl@googlemail.com> (raw)
This contains two fixes and two (minor) fixes for the phy-meson-gxl-usb2
driver:
- a clock and reset line is used for the PHYs. this was not clear from
the Amlogic GPL kernel sources since the clock is enabled very early
in the boot process (either because the hardware defaults to "on",
the bootrom enables it or a bootloader before BL3-3/u-boot enables it)
- we don't read the controller's dr_mode anymore because the USB2 PHY
can only be switched into host mode if the USB3 PHY knows about it.
Thus auto-detecting the mode doesn't work for this PHY so it's removed
in patch #3
- do not log an error message when the phy-supply is not ready yet and
we have to return -EPROBE_DEFER
- improve the naming of some U2P_R2 test mode registers
changes since v1 at [0]:
- collected Rob's Reviewed-by on patch #1 and Yixun's Tested-by
- rebased on top of v4.16-rc1
[0] http://lists.infradead.org/pipermail/linux-amlogic/2018-January/006293.html
Martin Blumenstingl (5):
dt-bindings: phy: meson-gxl-usb2-phy: add the reset line and clock
phy: amlogic: phy-meson-gxl-usb2: support the clock and reset line
phy: amlogic: phy-meson-gxl-usb2: default to host mode
phy: amlogic: phy-meson-gxl-usb2: don't log an error on -EPROBE_DEFER
phy: amlogic: phy-meson-gxl-usb2: rename some of the U2P_R2 registers
.../devicetree/bindings/phy/meson-gxl-usb2-phy.txt | 4 ++
drivers/phy/amlogic/Kconfig | 1 -
drivers/phy/amlogic/phy-meson-gxl-usb2.c | 78 ++++++++++++++++------
3 files changed, 61 insertions(+), 22 deletions(-)
--
2.16.1
next reply other threads:[~2018-02-12 22:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 22:39 Martin Blumenstingl [this message]
2018-02-12 22:39 ` [PATCH v2 1/5] dt-bindings: phy: meson-gxl-usb2-phy: add the reset line and clock Martin Blumenstingl
2018-02-12 22:39 ` [PATCH v2 2/5] phy: amlogic: phy-meson-gxl-usb2: support the clock and reset line Martin Blumenstingl
2018-02-12 22:39 ` [PATCH v2 3/5] phy: amlogic: phy-meson-gxl-usb2: default to host mode Martin Blumenstingl
2018-02-12 22:39 ` [PATCH v2 4/5] phy: amlogic: phy-meson-gxl-usb2: don't log an error on -EPROBE_DEFER Martin Blumenstingl
2018-02-12 22:39 ` [PATCH v2 5/5] phy: amlogic: phy-meson-gxl-usb2: rename some of the U2P_R2 registers Martin Blumenstingl
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=20180212223928.22993-1-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.com \
--cc=linus-amlogic@lists.infradead.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
all inboxes | Powered by JetHome®