Skip to content

Commit 001cd7a

Browse files
committed
Merge tag 'ux500-machine-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/soc
These changes for ux500: - Drops U8540 and U9540 - Cuts down the Kconfig options due to accumulated simplifications * tag 'ux500-machine-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: ARM: ux500: Cut down Kconfig options ARM: ux500: Drop U8540/9540 support Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 67b8d5c + 52b12be commit 001cd7a

3 files changed

Lines changed: 13 additions & 60 deletions

File tree

‎arch/arm/mach-ux500/Kconfig‎

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,64 +9,33 @@ menuconfig ARCH_U8500
99
select ARM_ERRATA_764369 if SMP
1010
select ARM_GIC
1111
select CACHE_L2X0
12+
select CLKSRC_DBX500_PRCMU
1213
select CLKSRC_NOMADIK_MTU
1314
select GPIOLIB
1415
select HAVE_ARM_SCU if SMP
1516
select HAVE_ARM_TWD if SMP
17+
select I2C
18+
select I2C_NOMADIK
19+
select MFD_DB8500_PRCMU
1620
select PINCTRL
21+
select PINCTRL_AB8500
22+
select PINCTRL_AB8505
1723
select PINCTRL_ABX500
24+
select PINCTRL_DB8500
1825
select PINCTRL_NOMADIK
1926
select PL310_ERRATA_753970 if CACHE_L2X0
20-
help
21-
Support for ST-Ericsson's Ux500 architecture
22-
23-
if ARCH_U8500
24-
25-
config UX500_SOC_DB8500
26-
bool
27-
select MFD_DB8500_PRCMU
28-
select PINCTRL_DB8500
29-
select PINCTRL_DB8540
30-
select PINCTRL_AB8500
31-
select PINCTRL_AB8505
32-
select PINCTRL_AB9540
33-
select PINCTRL_AB8540
34-
select REGULATOR
35-
select REGULATOR_DB8500_PRCMU
36-
select CLKSRC_DBX500_PRCMU
3727
select PM_GENERIC_DOMAINS if PM
38-
39-
config MACH_MOP500
40-
bool "U8500 Development platform, MOP500 versions"
41-
select I2C
42-
select I2C_NOMADIK
4328
select REGULATOR
29+
select REGULATOR_DB8500_PRCMU
4430
select REGULATOR_FIXED_VOLTAGE
4531
select SOC_BUS
46-
select UX500_SOC_DB8500
4732
help
48-
Include support for the MOP500 development platform.
49-
50-
config MACH_HREFV60
51-
bool "U8500 Development platform, HREFv60 version"
52-
select MACH_MOP500
53-
help
54-
Include support for the HREFv60 new development platform.
55-
Includes HREFv70, v71 etc.
33+
Support for ST-Ericsson's Ux500 architecture
5634

57-
config MACH_SNOWBALL
58-
bool "U8500 Snowball platform"
59-
select MACH_MOP500
60-
help
61-
Include support for the snowball development platform.
35+
if ARCH_U8500
6236

63-
config UX500_AUTO_PLATFORM
37+
config UX500_SOC_DB8500
6438
def_bool y
65-
select MACH_MOP500
66-
help
67-
At least one platform needs to be selected in order to build
68-
a working kernel. If everything else is disabled, this
69-
automatically enables MACH_MOP500.
7039

7140
config UX500_DEBUG_UART
7241
int "Ux500 UART to use for low-level debug"

‎arch/arm/mach-ux500/cpu-db8500.c‎

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ static void ux500_restart(enum reboot_mode mode, const char *cmd)
111111
prcmu_system_reset(0);
112112
}
113113

114-
static struct of_dev_auxdata u8540_auxdata_lookup[] __initdata = {
115-
OF_DEV_AUXDATA("stericsson,db8500-prcmu", 0x80157000, "db8500-prcmu", NULL),
116-
{},
117-
};
118-
119114
static const struct of_device_id u8500_local_bus_nodes[] = {
120115
/* only create devices below soc node */
121116
{ .compatible = "stericsson,db8500", },
@@ -129,20 +124,13 @@ static void __init u8500_init_machine(void)
129124
/* Initialize ux500 power domains */
130125
ux500_pm_domains_init();
131126

132-
/* automatically probe child nodes of dbx5x0 devices */
133-
if (of_machine_is_compatible("st-ericsson,u8540"))
134-
of_platform_populate(NULL, u8500_local_bus_nodes,
135-
u8540_auxdata_lookup, NULL);
136-
else
137-
of_platform_populate(NULL, u8500_local_bus_nodes,
138-
NULL, NULL);
127+
of_platform_populate(NULL, u8500_local_bus_nodes,
128+
NULL, NULL);
139129
}
140130

141131
static const char * stericsson_dt_platform_compat[] = {
142132
"st-ericsson,u8500",
143-
"st-ericsson,u8540",
144133
"st-ericsson,u9500",
145-
"st-ericsson,u9540",
146134
NULL,
147135
};
148136

‎arch/arm/mach-ux500/db8500-regs.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141
/* ASIC ID is at 0xbf4 offset within this region */
4242
#define U8500_ASIC_ID_BASE 0x9001D000
4343

44-
#define U9540_BOOT_ROM_BASE 0xFFFE0000
45-
/* ASIC ID is at 0xbf4 offset within this region */
46-
#define U9540_ASIC_ID_BASE 0xFFFFD000
47-
4844
#define U8500_PER6_BASE 0xa03c0000
4945
#define U8500_PER7_BASE 0xa03d0000
5046
#define U8500_PER5_BASE 0xa03e0000

0 commit comments

Comments
 (0)