diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-02 11:28:44 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-11-02 11:28:44 -0400 |
commit | 84cbda2fec8813fc40b33e6d8e0f2476ab43d5ce (patch) | |
tree | f3d138f7c3eaf18a190326f5e3ef8f69aac78865 | |
parent | f3e69db2c0346d2f66ea91b6e157f8749cfddaf4 (diff) | |
parent | faec5ee1c7acb00eec4853321e4da42cd690a220 (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-- | MAINTAINERS | 5 | ||||
-rw-r--r-- | drivers/soc/atmel/soc.c | 8 | ||||
-rw-r--r-- | drivers/soc/atmel/soc.h | 4 |
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) | |||
1226 | W: http://www.linux4sam.org | 1226 | W: http://www.linux4sam.org |
1227 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git | 1227 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git |
1228 | S: Supported | 1228 | S: Supported |
1229 | N: at91 | ||
1230 | N: atmel | ||
1229 | F: arch/arm/mach-at91/ | 1231 | F: arch/arm/mach-at91/ |
1230 | F: include/soc/at91/ | 1232 | F: include/soc/at91/ |
1231 | F: arch/arm/boot/dts/at91*.dts | 1233 | F: arch/arm/boot/dts/at91*.dts |
@@ -1234,6 +1236,9 @@ F: arch/arm/boot/dts/sama*.dts | |||
1234 | F: arch/arm/boot/dts/sama*.dtsi | 1236 | F: arch/arm/boot/dts/sama*.dtsi |
1235 | F: arch/arm/include/debug/at91.S | 1237 | F: arch/arm/include/debug/at91.S |
1236 | F: drivers/memory/atmel* | 1238 | F: drivers/memory/atmel* |
1239 | F: drivers/watchdog/sama5d4_wdt.c | ||
1240 | X: drivers/input/touchscreen/atmel_mxt_ts.c | ||
1241 | X: drivers/net/wireless/atmel/ | ||
1237 | 1242 | ||
1238 | ARM/CALXEDA HIGHBANK ARCHITECTURE | 1243 | ARM/CALXEDA HIGHBANK ARCHITECTURE |
1239 | M: Rob Herring <robh@kernel.org> | 1244 | M: 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 | ||