From: vishnupatekar0510@gmail.com (Vishnu Patekar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support
Date: Tue, 22 Sep 2015 23:38:54 +0800 [thread overview]
Message-ID: <1442936337-3104-2-git-send-email-vishnupatekar0510@gmail.com> (raw)
In-Reply-To: <1442936337-3104-1-git-send-email-vishnupatekar0510@gmail.com>
Allwinner A83T is octa-core cortex-a7 based SoC.
It's clock control unit and prcm, pinmux are different from previous sun8i
series.
Its processor cores are arragned in two clusters 4 cores each,
similar to A80.
Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
---
Documentation/devicetree/bindings/arm/sunxi.txt | 1 +
arch/arm/mach-sunxi/sunxi.c | 1 +
drivers/clk/sunxi/clk-sunxi.c | 6 ++++++
3 files changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.txt b/Documentation/devicetree/bindings/arm/sunxi.txt
index 67da205..cf5ed27 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.txt
+++ b/Documentation/devicetree/bindings/arm/sunxi.txt
@@ -11,4 +11,5 @@ using one of the following compatible strings:
allwinner,sun8i-a23
allwinner,sun8i-a33
allwinner,sun8i-h3
+ allwinner,sun8i-a83t
allwinner,sun9i-a80
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index 65bab28..b04aefa 100644
--- a/arch/arm/mach-sunxi/sunxi.c
+++ b/arch/arm/mach-sunxi/sunxi.c
@@ -69,6 +69,7 @@ static const char * const sun8i_board_dt_compat[] = {
"allwinner,sun8i-a23",
"allwinner,sun8i-a33",
"allwinner,sun8i-h3",
+ "allwinner,sun8i-a83t",
NULL,
};
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index 413070d..f216d5d 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -1212,6 +1212,12 @@ CLK_OF_DECLARE(sun6i_a31s_clk_init, "allwinner,sun6i-a31s", sun6i_init_clocks);
CLK_OF_DECLARE(sun8i_a23_clk_init, "allwinner,sun8i-a23", sun6i_init_clocks);
CLK_OF_DECLARE(sun8i_a33_clk_init, "allwinner,sun8i-a33", sun6i_init_clocks);
+static void __init sun8ia83t_init_clocks(struct device_node *node)
+{
+ sunxi_init_clocks(NULL, 0);
+}
+CLK_OF_DECLARE(sun9i_a83t_clk_init, "allwinner,sun8i-a83t", sun8ia83t_init_clocks);
+
static void __init sun9i_init_clocks(struct device_node *node)
{
sunxi_init_clocks(NULL, 0);
--
1.9.1
next prev parent reply other threads:[~2015-09-22 15:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 15:38 [PATCH 0/4] Add basic support for Allwinner A83T SOC Vishnu Patekar
2015-09-22 15:38 ` Vishnu Patekar [this message]
2015-09-22 15:47 ` [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Chen-Yu Tsai
2015-09-22 15:53 ` Maxime Ripard
2015-09-22 15:56 ` Chen-Yu Tsai
2015-09-24 10:52 ` Vishnu Patekar
2015-09-22 15:51 ` Maxime Ripard
2015-09-24 10:55 ` Vishnu Patekar
2015-09-22 15:38 ` [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support Vishnu Patekar
2015-09-22 15:49 ` Maxime Ripard
2015-09-22 16:06 ` Chen-Yu Tsai
2015-09-24 10:15 ` Maxime Ripard
2015-10-02 11:10 ` Linus Walleij
2015-09-22 15:38 ` [PATCH 3/4] ARM: dts: sun8i: Add Allwinner A83T dtsi Vishnu Patekar
2015-09-22 15:54 ` Maxime Ripard
2015-09-22 16:15 ` Chen-Yu Tsai
2015-09-22 15:38 ` [PATCH 4/4] ARM: dts: sun8i: Add A83T HomletV2 Board by Allwinner Vishnu Patekar
2015-09-22 16:00 ` Maxime Ripard
2015-09-22 16:21 ` Vishnu Patekar
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=1442936337-3104-2-git-send-email-vishnupatekar0510@gmail.com \
--to=vishnupatekar0510@gmail.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