From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Emilio Lopez <emilio@elopez.com.ar>,
Mike Turquette <mturquette@linaro.org>,
stern@rowland.harvard.edu, kishon@ti.com, hdegoede@redhat.com
Cc: Boris Brezillon <boris@free-electrons.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org,
kevin.z.m.zh@gmail.com, sunny@allwinnertech.com,
shuge@allwinnertech.com, zhuzhenhua@allwinnertech.com,
linux-sunxi@googlegroups.com,
Maxime Ripard <maxime.ripard@free-electrons.com>
Subject: [PATCH v4 0/8] Add Allwinner A31 USB support
Date: Tue, 13 May 2014 10:18:57 +0200 [thread overview]
Message-ID: <1399969145-11642-1-git-send-email-maxime.ripard@free-electrons.com> (raw)
Hi everyone,
This patchset adds support for the USB controllers found in the
Allwinner A31.
While the design is similar to the earlier Allwinner SoCs that are
already supported, a few details here and there change, like the fact
that the PHYs now have one clock per phy, while it used to be only one
for all the PHYs.
Thanks,
Maxime
Changes from v3:
- Asserted back the ECHI/OHCI in reset if probe fails
- Drop of the redundant NULL assignent for the PMU in the PHY rework
Changes from v2:
- Fixed indentation and used the reset framework in all case and not
just in DT case
- Added a default value to the dedicated_clocks variable. Setting it
actually started triggering a gcc warning for no reason. Ended up
reworking a bit the code to avoid it.
Changes from v1:
- Moved the reset assertion/deassertion to probe/remove
- Moved the dedicated_clocks to the probe function instead of the
private structure since it was the only user
Boris BREZILLON (2):
usb: ehci-platform: add optional reset controller retrieval
ARM: sunxi: dt: add APP4-EVB1 board support
Maxime Ripard (6):
clk: sunxi: Implement A31 USB clock
ARM: sun6i: Add the USB clocks to the DTSI
phy: sunxi: Rework phy initialization
phy: usb: sunxi: Introduce Allwinner A31 USB PHY support
usb: ohci-platform: Enable optional use of reset controller
ARM: sun6i: dt: Add support for the USB controllers
Documentation/devicetree/bindings/usb/usb-ehci.txt | 1 +
Documentation/devicetree/bindings/usb/usb-ohci.txt | 1 +
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | 57 ++++++++++++++
arch/arm/boot/dts/sun6i-a31.dtsi | 88 ++++++++++++++++++++++
drivers/clk/sunxi/clk-sunxi.c | 6 ++
drivers/phy/phy-sun4i-usb.c | 75 +++++++++---------
drivers/usb/host/ehci-platform.c | 26 ++++++-
drivers/usb/host/ohci-platform.c | 27 ++++++-
9 files changed, 241 insertions(+), 41 deletions(-)
create mode 100644 arch/arm/boot/dts/sun6i-a31-app4-evb1.dts
--
1.9.3
next reply other threads:[~2014-05-13 8:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 8:18 Maxime Ripard [this message]
2014-05-13 8:18 ` [PATCH v4 1/8] clk: sunxi: Implement A31 USB clock Maxime Ripard
2014-05-13 8:18 ` [PATCH v4 2/8] ARM: sun6i: Add the USB clocks to the DTSI Maxime Ripard
2014-05-13 8:19 ` [PATCH v4 3/8] phy: sunxi: Rework phy initialization Maxime Ripard
2014-05-13 8:19 ` [PATCH v4 4/8] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support Maxime Ripard
2014-05-13 8:19 ` [PATCH v4 5/8] usb: ehci-platform: add optional reset controller retrieval Maxime Ripard
2014-05-13 8:19 ` [PATCH v4 6/8] usb: ohci-platform: Enable optional use of reset controller Maxime Ripard
2014-05-13 8:19 ` [PATCH v4 7/8] ARM: sun6i: dt: Add support for the USB controllers Maxime Ripard
2014-05-13 8:19 ` [PATCH v4 8/8] ARM: sunxi: dt: add APP4-EVB1 board support Maxime Ripard
2014-05-13 14:53 ` [PATCH v4 0/8] Add Allwinner A31 USB support Alan Stern
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=1399969145-11642-1-git-send-email-maxime.ripard@free-electrons.com \
--to=maxime.ripard@free-electrons.com \
--cc=boris@free-electrons.com \
--cc=emilio@elopez.com.ar \
--cc=hdegoede@redhat.com \
--cc=kevin.z.m.zh@gmail.com \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=linux-usb@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=shuge@allwinnertech.com \
--cc=stern@rowland.harvard.edu \
--cc=sunny@allwinnertech.com \
--cc=zhuzhenhua@allwinnertech.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
all inboxes | Powered by JetHome®