mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@csie.org>
To: Maxime Ripard <maxime.ripard@free-electrons.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>
Cc: Chen-Yu Tsai <wens@csie.org>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, Shuge <shuge@allwinnertech.com>,
	Meng Zhang <kevin@allwinnertech.com>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>
Subject: [PATCH v3 1/5] ARM: sunxi: Introduce Allwinner A80 support
Date: Wed,  8 Oct 2014 21:02:52 +0800	[thread overview]
Message-ID: <1412773376-25212-2-git-send-email-wens@csie.org> (raw)
In-Reply-To: <1412773376-25212-1-git-send-email-wens@csie.org>

The Allwinner A80 is a new Cortex octo-core A7/A15 big.LITTLE SoC.
While it's processor cores and interconnecting bus are new, it
re-uses many peripherals found in earlier Allwinner SoCs.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/mach-sunxi/Kconfig | 5 +++++
 arch/arm/mach-sunxi/sunxi.c | 9 +++++++++
 2 files changed, 14 insertions(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 1aaa1e1..d04f84b 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -42,4 +42,9 @@ config MACH_SUN8I
 	select MFD_SUN6I_PRCM
 	select RESET_CONTROLLER
 
+config MACH_SUN9I
+	bool "Allwinner (sun9i) SoCs support"
+	default ARCH_SUNXI
+	select ARM_GIC
+
 endif
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index 42d4753..ba926b5 100644
--- a/arch/arm/mach-sunxi/sunxi.c
+++ b/arch/arm/mach-sunxi/sunxi.c
@@ -139,3 +139,12 @@ static const char * const sun8i_board_dt_compat[] = {
 DT_MACHINE_START(SUN8I_DT, "Allwinner sun8i (A23) Family")
 	.dt_compat	= sun8i_board_dt_compat,
 MACHINE_END
+
+static const char * const sun9i_board_dt_compat[] = {
+	"allwinner,sun9i-a80",
+	NULL,
+};
+
+DT_MACHINE_START(SUN9I_DT, "Allwinner sun9i Family")
+	.dt_compat	= sun9i_board_dt_compat,
+MACHINE_END
-- 
2.1.1


  reply	other threads:[~2014-10-08 13:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-08 13:02 [PATCH v3 0/5] ARM: sunxi: Add basic support for Allwinner A80 SoC Chen-Yu Tsai
2014-10-08 13:02 ` Chen-Yu Tsai [this message]
2014-10-08 13:02 ` [PATCH v3 2/5] ARM: dts: sunxi: Add Allwinner A80 dtsi Chen-Yu Tsai
2014-12-31  0:37   ` ARM: dts: sun9i: Allwinner A80 dtsi - missing clock-frequency property Heinrich Schuchardt
2014-12-31  3:18     ` Chen-Yu Tsai
2014-10-08 13:02 ` [PATCH v3 3/5] ARM: dts: sun9i: Add A80 Optimus Board support Chen-Yu Tsai
2014-10-08 13:32   ` Dinh Nguyen
2014-10-08 13:41     ` Chen-Yu Tsai
2014-10-08 13:02 ` [PATCH v3 4/5] devicetree: bindings: Document supported Allwinner sunxi SoCs Chen-Yu Tsai
2014-10-08 13:02 ` [PATCH v3 5/5] Documentation: sunxi: Add A80 datasheet link Chen-Yu Tsai
2014-10-09  2:54 ` [PATCH v3 0/5] ARM: sunxi: Add basic support for Allwinner A80 SoC Andreas Färber
2014-10-10 18:30   ` Maxime Ripard
2014-10-10 18:26 ` Maxime Ripard

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=1412773376-25212-2-git-send-email-wens@csie.org \
    --to=wens@csie.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gregory.clement@free-electrons.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kevin@allwinnertech.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shuge@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®