From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/9] clk: sunxi-ng: add support for Allwinner H5 SoC
Date: Fri, 27 Jan 2017 16:53:55 +0100 [thread overview]
Message-ID: <20170127155355.zu6k7ucbpewmlsjb@lukather> (raw)
In-Reply-To: <20170126154859.55855-4-icenowy@aosc.xyz>
On Thu, Jan 26, 2017 at 11:48:53PM +0800, Icenowy Zheng wrote:
> Allwinner H5 is a SoC that features a CCU like H3, but with MMC phase
> clocks removed (for new MMC controller) and a new bus gate/reset
> imported.
>
> Add support for it.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
> ---
> A giant rewrite since v1.
> It now do not use a dedicated driver for H5, but altered the CCU driver
> of H3 to support H5.
>
> .../devicetree/bindings/clock/sunxi-ccu.txt | 1 +
> drivers/clk/sunxi-ng/Kconfig | 6 +-
> drivers/clk/sunxi-ng/Makefile | 2 +-
> .../sunxi-ng/{ccu-sun8i-h3.c => ccu-sunxi-h3-h5.c} | 179 ++++++++++++++++++---
> .../sunxi-ng/{ccu-sun8i-h3.h => ccu-sunxi-h3-h5.h} | 15 +-
> include/dt-bindings/clock/sun8i-h3-ccu.h | 146 +----------------
> include/dt-bindings/clock/sunxi-h3-h5-ccu.h | 148 +++++++++++++++++
> include/dt-bindings/reset/sun8i-h3-ccu.h | 104 +-----------
> include/dt-bindings/reset/sunxi-h3-h5-ccu.h | 106 ++++++++++++
> 9 files changed, 431 insertions(+), 276 deletions(-)
> rename drivers/clk/sunxi-ng/{ccu-sun8i-h3.c => ccu-sunxi-h3-h5.c} (80%)
> rename drivers/clk/sunxi-ng/{ccu-sun8i-h3.h => ccu-sunxi-h3-h5.h} (82%)
> mode change 100644 => 120000 include/dt-bindings/clock/sun8i-h3-ccu.h
> create mode 100644 include/dt-bindings/clock/sunxi-h3-h5-ccu.h
> mode change 100644 => 120000 include/dt-bindings/reset/sun8i-h3-ccu.h
> create mode 100644 include/dt-bindings/reset/sunxi-h3-h5-ccu.h
Please do that in two patches. One to rename the existing driver, one
to support the H5.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170127/342fb7e9/attachment.sig>
next prev parent reply other threads:[~2017-01-27 15:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-26 15:48 [PATCH v2 0/9] Allwinner H5 and Orange Pi PC2 support Icenowy Zheng
2017-01-26 15:48 ` [PATCH v2 1/9] drivers: pinctrl: add driver for Allwinner H5 SoC Icenowy Zheng
2017-01-27 15:51 ` Maxime Ripard
2017-01-30 15:13 ` Linus Walleij
2017-01-26 15:48 ` [PATCH v2 2/9] arm64: allwinner: Kconfig: add essential pinctrl driver for H5 Icenowy Zheng
2017-01-26 15:48 ` [PATCH v2 3/9] clk: sunxi-ng: add support for Allwinner H5 SoC Icenowy Zheng
2017-01-27 15:53 ` Maxime Ripard [this message]
2017-01-26 15:48 ` [PATCH v2 4/9] arm: dts: sun8i: split Allwinner H3 .dtsi Icenowy Zheng
2017-01-27 15:55 ` Maxime Ripard
2017-01-26 15:48 ` [PATCH v2 5/9] clk: sunxi-ng: remove transitional headers for dt-bindings Icenowy Zheng
2017-01-26 15:48 ` [PATCH v2 6/9] arm64: dts: allwinner: add Allwinner H5 .dtsi Icenowy Zheng
2017-01-27 15:58 ` Maxime Ripard
2017-01-26 15:48 ` [PATCH v2 7/9] dmaengine: sun6i: allow build on ARM64 platforms (sun50i) Icenowy Zheng
2017-01-27 15:59 ` Maxime Ripard
2017-01-28 12:47 ` [linux-sunxi] " Chen-Yu Tsai
2017-01-26 15:48 ` [PATCH v2 8/9] ASoC: sunxi: allow the analog codec driver to be built on ARM64 Icenowy Zheng
2017-01-27 20:05 ` Maxime Ripard
2017-01-28 12:46 ` Chen-Yu Tsai
2017-02-08 18:34 ` Applied "ASoC: sunxi: allow the analog codec driver to be built on ARM64" to the asoc tree Mark Brown
2017-01-26 15:48 ` [PATCH v2 9/9] arm64: dts: sunxi: add support for the Orange Pi PC 2 board Icenowy Zheng
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=20170127155355.zu6k7ucbpewmlsjb@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@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