From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Kishon Vijay Abraham I <kishon@ti.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Gregory Clement <gregory.clement@bootlin.com>,
Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: devicetree@vger.kernel.org,
Antoine Tenart <antoine.tenart@bootlin.com>,
Maxime Chevallier <maxime.chevallier@bootlin.com>,
Nadav Haklai <nadavh@marvell.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 0/6] A3700 USB UTMI PHY support
Date: Tue, 29 Jan 2019 10:36:29 +0100 [thread overview]
Message-ID: <20190129093635.4321-1-miquel.raynal@bootlin.com> (raw)
USB2 on A3700 only works because U-Boot initializes the UTMI PHYs (one
wired to each USB controller). While there is no issue with regular
use, this architecture does not allow suspend to RAM to work as the
PHYs must be re-initialized at resume. In order to support this
feature, this series adds a UTMI PHY driver for the A3700 SoC.
The A3700 device tree is updated to reference the PHYs.
Thanks,
Miquèl
Changes since v4:
=================
* Drop USB patches as they have been sent in a separate series. No
real functional changes since the v4 though, kind of a resend of the
PHY patches from the "A3700 USB S2RAM support" series.
Changes since v3:
=================
* Bindings: as suggested by Gregory and Rob, used the "-misc" suffix
instead of "-miscellaneous" and prefixed the compatible with
"armada-3700" to follow what has been used for the other IPs of the
same SoC (and added Rob's ack).
Changes since v2:
=================
* Typos
* UTMI PHY bindings:
> New name for the USB2 host/PHY syscons (+ changes in the DT).
> Clearly state that the PHYs are different between OTG and
host-only controllers.
* UTMI PHY driver:
> Use GENMASK macro.
> Removed useless checks on driver data retrieval.
> Dropped the empty ->remove() hook.
> Updated the licence macro to match the SPDX tag.
> Used the of_device_get_match_data() helper.
> Removed the use of a local variable in the ->probe() for the
driver's operations.
> Fixed the driver co-author: Igal, not Evan.
Changes since v1:
=================
* Add UTMI PHY driver/bindings/DT changes to bring S2RAM support to
both USB ports available on the A3700 SoC.
* Rebased on top of v5.0-rc1.
Miquel Raynal (6):
phy: add A3700 UTMI PHY driver
dt-bindings: phy: mvebu-utmi: add UTMI PHY bindings
MAINTAINERS: phy: fill Armada 3700 PHY drivers entry
ARM64: dts: marvell: armada-37xx: fix USB2 memory region
ARM64: dts: marvell: armada-37xx: declare USB2 UTMI PHYs
ARM64: dts: marvell: armada-37xx: link USB hosts with their PHYs
.../bindings/phy/phy-mvebu-utmi.txt | 38 +++
MAINTAINERS | 4 +-
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 34 ++-
drivers/phy/marvell/Kconfig | 9 +
drivers/phy/marvell/Makefile | 1 +
drivers/phy/marvell/phy-mvebu-a3700-utmi.c | 278 ++++++++++++++++++
6 files changed, 362 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt
create mode 100644 drivers/phy/marvell/phy-mvebu-a3700-utmi.c
--
2.19.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-01-29 9:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-29 9:36 Miquel Raynal [this message]
2019-01-29 9:36 ` [PATCH v5 1/6] phy: add A3700 UTMI PHY driver Miquel Raynal
2019-01-29 9:36 ` [PATCH v5 2/6] dt-bindings: phy: mvebu-utmi: add UTMI PHY bindings Miquel Raynal
2019-01-29 9:36 ` [PATCH v5 3/6] MAINTAINERS: phy: fill Armada 3700 PHY drivers entry Miquel Raynal
2019-01-29 9:36 ` [PATCH v5 4/6] ARM64: dts: marvell: armada-37xx: fix USB2 memory region Miquel Raynal
2019-02-06 11:09 ` Gregory CLEMENT
2019-01-29 9:36 ` [PATCH v5 5/6] ARM64: dts: marvell: armada-37xx: declare USB2 UTMI PHYs Miquel Raynal
2019-02-06 11:10 ` Gregory CLEMENT
2019-01-29 9:36 ` [PATCH v5 6/6] ARM64: dts: marvell: armada-37xx: link USB hosts with their PHYs Miquel Raynal
2019-02-06 14:30 ` Gregory CLEMENT
2019-02-06 11:34 ` [PATCH v5 0/6] A3700 USB UTMI PHY support Kishon Vijay Abraham I
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=20190129093635.4321-1-miquel.raynal@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=andrew@lunn.ch \
--cc=antoine.tenart@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=gregory.clement@bootlin.com \
--cc=jason@lakedaemon.net \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=maxime.chevallier@bootlin.com \
--cc=nadavh@marvell.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=thomas.petazzoni@bootlin.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;
as well as URLs for NNTP newsgroup(s).