From: Andre Przywara <andre.przywara@arm.com>
To: Maxime Ripard <maxime.ripard@free-electrons.com>,
Chen-Yu Tsai <wens@csie.org>,
linux-sunxi@googlegroups.com
Cc: Arnd Bergmann <arnd@arndb.de>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/8] arm64: Introduce Allwinner A64 and Pine64 support
Date: Wed, 17 Feb 2016 11:43:52 +0000 [thread overview]
Message-ID: <1455709440-8668-1-git-send-email-andre.przywara@arm.com> (raw)
Hi,
this is an updated version of the Allwinner A64 / Pine64 support series.
It fixes several issues we saw and addresses most ;-) of the comments
I got. Several fixes have found their way into -next already, so I omit
them here. Many thanks to the diligent maintainers!
For a changelog see below.
This series provides initial support for the Allwinner A64 SoC,
which is based on four ARM Cortex-A53 cores implementing the ARMv8
64-bit architecture.
On top of this there is also initial support for the Pine64 board,
for which you can find more information and links in the linux-sunxi
Wiki [1].
The resulting kernel boots fine on my development samples I have
here, though the actual boot process is a bit involved at the moment.
You can find more information and a ready-to-flash image here [2].
Patch 1/8 enables the Allwinner/sunxi platform for the arm64
architecture, so one can select the required drivers during
configuration.
Patch 2/8 adds the pinctrl driver, which has been on the list before.
Patch 3 and 4 add a new generic driver for the bus clock gates which
relies on DT for providing the parent relationship. That makes adding
new SoCs much easier, since there should be no more kernel code
changes necessary.
Patch 5-7 add the new vendor name and the device tree files, the former
for the SoC itself, the latter for the Pine64 boards.
The final patch 8 updates defconfig, so that the generic arm64 kernel
supports the basic SoC drivers out of the box.
In the moment we support the basic peripherals like GIC, timer, clocks,
GPIOs, UARTs and (new in v2) I2C.
The MMC IP block has changed a bit compared to previous SoCs, so the
existing driver is not 100% compatible. However the default delays seem
to work fine for the SD cards, so I included all the necessary bits in
here, since working MMC makes this series indefinitely more usable.
We can fix both the MMC driver and the DT in a compatible way later.
Please have a look and comment on the patches. We might want to split
the series if some patches seem too controversial for being merged
soonish, please let me know if this is the case and I am happy to
rearrange the series.
The patches are based on next-20160217, which has some issues atm.
A working repo can be found over here[3].
Cheers,
Andre
Changelog v1 .. v2:
- Change the naming of DT nodes, identifiers and file names to include
the wonderful Allwinner architecture prefix everywhere. You asked
for it, you got it, enjoy!
- Drop SUNXI_MMC to be selected automatically, instead put it in the
defconfig.
- Add a binding documentation for the new multi-bus-gates driver.
- Add a defconfig update patch.
- Lots of changes in the DTs, see the respective patches for details.
[1] http://linux-sunxi.org/Pine64
[2] https://github.com/apritzel/pine64
[3] https://github.com/apritzel/linux/commits/a64-v2beta
Andre Przywara (8):
arm64: Introduce Allwinner SoC config option
drivers: pinctrl: add driver for Allwinner A64 SoC
DT: clk: sunxi: add binding doc for the multi-bus-gates clock
clk: sunxi: add generic multi-parent bus clock gates driver
arm64: dts: add Allwinner A64 SoC .dtsi
of: add vendor prefix for Pine64
arm64: dts: add Pine64 support
arm64: add defconfig options for Allwinner SoCs
Documentation/devicetree/bindings/arm/sunxi.txt | 1 +
Documentation/devicetree/bindings/clock/sunxi.txt | 7 +
.../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 1 +
.../devicetree/bindings/vendor-prefixes.txt | 1 +
arch/arm64/Kconfig.platforms | 6 +
arch/arm64/boot/dts/Makefile | 1 +
arch/arm64/boot/dts/allwinner/Makefile | 5 +
.../dts/allwinner/sun50i-a64-pine64-common.dtsi | 80 +++
.../boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 59 ++
.../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 58 ++
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 642 +++++++++++++++++++++
arch/arm64/configs/defconfig | 7 +
drivers/clk/sunxi/Makefile | 1 +
drivers/clk/sunxi/clk-multi-gates.c | 105 ++++
drivers/pinctrl/sunxi/Kconfig | 4 +
drivers/pinctrl/sunxi/Makefile | 1 +
drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c | 606 +++++++++++++++++++
17 files changed, 1585 insertions(+)
create mode 100644 arch/arm64/boot/dts/allwinner/Makefile
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-common.dtsi
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
create mode 100644 drivers/clk/sunxi/clk-multi-gates.c
create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
--
2.6.4
next reply other threads:[~2016-02-17 11:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 11:43 Andre Przywara [this message]
2016-02-17 11:43 ` [PATCH v2 1/8] arm64: Introduce Allwinner SoC config option Andre Przywara
2016-02-18 3:32 ` Jisheng Zhang
2016-02-18 10:25 ` Andre Przywara
2016-02-17 11:43 ` [PATCH v2 2/8] drivers: pinctrl: add driver for Allwinner A64 SoC Andre Przywara
2016-02-18 14:35 ` Rob Herring
2016-02-18 17:28 ` Chen-Yu Tsai
2016-02-17 11:43 ` [PATCH v2 3/8] DT: clk: sunxi: add binding doc for the multi-bus-gates clock Andre Przywara
2016-02-18 14:35 ` Rob Herring
2016-02-17 11:43 ` [PATCH v2 4/8] clk: sunxi: add generic multi-parent bus clock gates driver Andre Przywara
2016-02-17 11:43 ` [PATCH v2 5/8] arm64: dts: add Allwinner A64 SoC .dtsi Andre Przywara
2016-02-17 15:21 ` Andre Przywara
2016-02-18 14:36 ` Rob Herring
2016-02-17 11:43 ` [PATCH v2 6/8] of: add vendor prefix for Pine64 Andre Przywara
2016-02-18 14:36 ` Rob Herring
2016-02-17 11:43 ` [PATCH v2 7/8] arm64: dts: add Pine64 support Andre Przywara
2016-02-17 15:22 ` Andre Przywara
2016-02-17 11:44 ` [PATCH v2 8/8] arm64: add defconfig options for Allwinner SoCs Andre Przywara
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=1455709440-8668-1-git-send-email-andre.przywara@arm.com \
--to=andre.przywara@arm.com \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=maxime.ripard@free-electrons.com \
--cc=wens@csie.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®