aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-02 11:28:44 -0400
committerArnd Bergmann <arnd@arndb.de>2017-11-02 11:28:44 -0400
commit84cbda2fec8813fc40b33e6d8e0f2476ab43d5ce (patch)
treef3d138f7c3eaf18a190326f5e3ef8f69aac78865
parentf3e69db2c0346d2f66ea91b6e157f8749cfddaf4 (diff)
parentfaec5ee1c7acb00eec4853321e4da42cd690a220 (diff)
Merge tag 'at91-ab-4.15-soc' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into next/drivers
Pull "soc for 4.15" from Alexandre Belloni: - add SoC ids for the sama5d2 SiPs - Improve the AT91 maintainers entry * tag 'at91-ab-4.15-soc' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: MAINTAINERS: Add SoC drivers to AT91 entry drivers: soc: atmel: Add basic support for new sama5d2 SiPs
-rw-r--r--MAINTAINERS5
-rw-r--r--drivers/soc/atmel/soc.c8
-rw-r--r--drivers/soc/atmel/soc.h4
3 files changed, 17 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index d3c6f54f90d1..fb59572f780e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1226,6 +1226,8 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
1226W: http://www.linux4sam.org 1226W: http://www.linux4sam.org
1227T: git git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git 1227T: git git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git
1228S: Supported 1228S: Supported
1229N: at91
1230N: atmel
1229F: arch/arm/mach-at91/ 1231F: arch/arm/mach-at91/
1230F: include/soc/at91/ 1232F: include/soc/at91/
1231F: arch/arm/boot/dts/at91*.dts 1233F: arch/arm/boot/dts/at91*.dts
@@ -1234,6 +1236,9 @@ F: arch/arm/boot/dts/sama*.dts
1234F: arch/arm/boot/dts/sama*.dtsi 1236F: arch/arm/boot/dts/sama*.dtsi
1235F: arch/arm/include/debug/at91.S 1237F: arch/arm/include/debug/at91.S
1236F: drivers/memory/atmel* 1238F: drivers/memory/atmel*
1239F: drivers/watchdog/sama5d4_wdt.c
1240X: drivers/input/touchscreen/atmel_mxt_ts.c
1241X: drivers/net/wireless/atmel/
1237 1242
1238ARM/CALXEDA HIGHBANK ARCHITECTURE 1243ARM/CALXEDA HIGHBANK ARCHITECTURE
1239M: Rob Herring <robh@kernel.org> 1244M: Rob Herring <robh@kernel.org>
diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
index c1363c83c352..4dd03b099c89 100644
--- a/drivers/soc/atmel/soc.c
+++ b/drivers/soc/atmel/soc.c
@@ -72,6 +72,8 @@ static const struct at91_soc __initconst socs[] = {
72 "sama5d21", "sama5d2"), 72 "sama5d21", "sama5d2"),
73 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D22CU_EXID_MATCH, 73 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D22CU_EXID_MATCH,
74 "sama5d22", "sama5d2"), 74 "sama5d22", "sama5d2"),
75 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D225C_D1M_EXID_MATCH,
76 "sama5d225c 16MiB SiP", "sama5d2"),
75 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D23CU_EXID_MATCH, 77 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D23CU_EXID_MATCH,
76 "sama5d23", "sama5d2"), 78 "sama5d23", "sama5d2"),
77 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D24CX_EXID_MATCH, 79 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D24CX_EXID_MATCH,
@@ -84,10 +86,16 @@ static const struct at91_soc __initconst socs[] = {
84 "sama5d27", "sama5d2"), 86 "sama5d27", "sama5d2"),
85 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27CN_EXID_MATCH, 87 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27CN_EXID_MATCH,
86 "sama5d27", "sama5d2"), 88 "sama5d27", "sama5d2"),
89 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27C_D1G_EXID_MATCH,
90 "sama5d27c 128MiB SiP", "sama5d2"),
91 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27C_D5M_EXID_MATCH,
92 "sama5d27c 64MiB SiP", "sama5d2"),
87 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CU_EXID_MATCH, 93 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CU_EXID_MATCH,
88 "sama5d28", "sama5d2"), 94 "sama5d28", "sama5d2"),
89 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CN_EXID_MATCH, 95 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CN_EXID_MATCH,
90 "sama5d28", "sama5d2"), 96 "sama5d28", "sama5d2"),
97 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28C_D1G_EXID_MATCH,
98 "sama5d28c 128MiB SiP", "sama5d2"),
91 AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D31_EXID_MATCH, 99 AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D31_EXID_MATCH,
92 "sama5d31", "sama5d3"), 100 "sama5d31", "sama5d3"),
93 AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D33_EXID_MATCH, 101 AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D33_EXID_MATCH,
diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h
index a90bd5b0ef8f..94cd5d1ab502 100644
--- a/drivers/soc/atmel/soc.h
+++ b/drivers/soc/atmel/soc.h
@@ -64,14 +64,18 @@ at91_soc_init(const struct at91_soc *socs);
64 64
65#define SAMA5D2_CIDR_MATCH 0x0a5c08c0 65#define SAMA5D2_CIDR_MATCH 0x0a5c08c0
66#define SAMA5D21CU_EXID_MATCH 0x0000005a 66#define SAMA5D21CU_EXID_MATCH 0x0000005a
67#define SAMA5D225C_D1M_EXID_MATCH 0x00000053
67#define SAMA5D22CU_EXID_MATCH 0x00000059 68#define SAMA5D22CU_EXID_MATCH 0x00000059
68#define SAMA5D22CN_EXID_MATCH 0x00000069 69#define SAMA5D22CN_EXID_MATCH 0x00000069
69#define SAMA5D23CU_EXID_MATCH 0x00000058 70#define SAMA5D23CU_EXID_MATCH 0x00000058
70#define SAMA5D24CX_EXID_MATCH 0x00000004 71#define SAMA5D24CX_EXID_MATCH 0x00000004
71#define SAMA5D24CU_EXID_MATCH 0x00000014 72#define SAMA5D24CU_EXID_MATCH 0x00000014
72#define SAMA5D26CU_EXID_MATCH 0x00000012 73#define SAMA5D26CU_EXID_MATCH 0x00000012
74#define SAMA5D27C_D1G_EXID_MATCH 0x00000033
75#define SAMA5D27C_D5M_EXID_MATCH 0x00000032
73#define SAMA5D27CU_EXID_MATCH 0x00000011 76#define SAMA5D27CU_EXID_MATCH 0x00000011
74#define SAMA5D27CN_EXID_MATCH 0x00000021 77#define SAMA5D27CN_EXID_MATCH 0x00000021
78#define SAMA5D28C_D1G_EXID_MATCH 0x00000013
75#define SAMA5D28CU_EXID_MATCH 0x00000010 79#define SAMA5D28CU_EXID_MATCH 0x00000010
76#define SAMA5D28CN_EXID_MATCH 0x00000020 80#define SAMA5D28CN_EXID_MATCH 0x00000020
77 81