Skip to content

Commit 24e4491

Browse files
committed
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC platform updates from Olof Johansson: "SoC platform changes. Main theme this merge window: - The Netx platform (Netx 100/500) platform is removed by Linus Walleij-- the SoC doesn't have active maintainers with hardware, and in discussions with the vendor the agreement was that it's OK to remove. - Russell King has a series of patches that cleans up and refactors SA1101 and RiscPC support" * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (47 commits) ARM: stm32: use "depends on" instead of "if" after prompt ARM: sa1100: convert to common clock framework ARM: exynos: Cleanup cppcheck shifting warning ARM: pxa/lubbock: remove lubbock_set_misc_wr() from global view ARM: exynos: Only build MCPM support if used arm: add missing include platform-data/atmel.h ARM: davinci: Use GPIO lookup table for DA850 LEDs ARM: OMAP2: drop explicit assembler architecture ARM: use arch_extension directive instead of arch argument ARM: imx: Switch imx7d to imx-cpufreq-dt for speed-grading ARM: bcm: Enable PINCTRL for ARCH_BRCMSTB ARM: bcm: Enable ARCH_HAS_RESET_CONTROLLER for ARCH_BRCMSTB ARM: riscpc: enable chained scatterlist support ARM: riscpc: reduce IRQ handling code ARM: riscpc: move RiscPC assembly files from arch/arm/lib to mach-rpc ARM: riscpc: parse video information from tagged list ARM: riscpc: add ecard quirk for Atomwide 3port serial card MAINTAINERS: mvebu: Add git entry soc: ti: pm33xx: Add a print while entering RTC only mode with DDR in self-refresh ARM: OMAP2+: Make some variables static ...
2 parents 31cc088 + 7e8a0f1 commit 24e4491

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+492
-951
lines changed

MAINTAINERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ F: include/uapi/drm/panfrost_drm.h
12641264
ARM MFM AND FLOPPY DRIVERS
12651265
M: Ian Molton <[email protected]>
12661266
S: Maintained
1267-
F: arch/arm/lib/floppydma.S
1267+
F: arch/arm/mach-rpc/floppydma.S
12681268
F: arch/arm/include/asm/floppy.h
12691269

12701270
ARM PMU PROFILING AND DEBUGGING
@@ -1863,6 +1863,7 @@ F: arch/arm/mach-orion5x/
18631863
F: arch/arm/plat-orion/
18641864
F: arch/arm/boot/dts/dove*
18651865
F: arch/arm/boot/dts/orion5x*
1866+
T: git git://git.infradead.org/linux-mvebu.git
18661867

18671868
ARM/Marvell Kirkwood and Armada 370, 375, 38x, 39x, XP, 3700, 7K/8K SOC support
18681869
M: Jason Cooper <[email protected]>
@@ -1883,6 +1884,7 @@ F: drivers/irqchip/irq-armada-370-xp.c
18831884
F: drivers/irqchip/irq-mvebu-*
18841885
F: drivers/pinctrl/mvebu/
18851886
F: drivers/rtc/rtc-armada38x.c
1887+
T: git git://git.infradead.org/linux-mvebu.git
18861888

18871889
ARM/Mediatek RTC DRIVER
18881890
M: Eddie Huang <[email protected]>

arch/arm/Kconfig

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -377,15 +377,6 @@ config ARCH_FOOTBRIDGE
377377
Support for systems based on the DC21285 companion chip
378378
("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
379379

380-
config ARCH_NETX
381-
bool "Hilscher NetX based"
382-
select ARM_VIC
383-
select CLKSRC_MMIO
384-
select CPU_ARM926T
385-
select GENERIC_CLOCKEVENTS
386-
help
387-
This enables support for systems based on the Hilscher NetX Soc
388-
389380
config ARCH_IOP13XX
390381
bool "IOP13xx-based"
391382
depends on MMU
@@ -531,7 +522,7 @@ config ARCH_RPC
531522
select ARCH_ACORN
532523
select ARCH_MAY_HAVE_PC_FDC
533524
select ARCH_SPARSEMEM_ENABLE
534-
select ARCH_USES_GETTIMEOFFSET
525+
select ARM_HAS_SG_CHAIN
535526
select CPU_SA110
536527
select FIQ
537528
select HAVE_IDE
@@ -552,6 +543,7 @@ config ARCH_SA1100
552543
select CLKSRC_MMIO
553544
select CLKSRC_PXA
554545
select TIMER_OF if OF
546+
select COMMON_CLK
555547
select CPU_FREQ
556548
select CPU_SA1100
557549
select GENERIC_CLOCKEVENTS
@@ -770,8 +762,6 @@ source "arch/arm/mach-mvebu/Kconfig"
770762

771763
source "arch/arm/mach-mxs/Kconfig"
772764

773-
source "arch/arm/mach-netx/Kconfig"
774-
775765
source "arch/arm/mach-nomadik/Kconfig"
776766

777767
source "arch/arm/mach-npcm/Kconfig"

arch/arm/Kconfig.debug

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -638,13 +638,6 @@ choice
638638
Say Y here if you want kernel low-level debugging support
639639
for Mediatek mt8135 based platforms on UART3.
640640

641-
config DEBUG_NETX_UART
642-
bool "Kernel low-level debugging messages via NetX UART"
643-
depends on ARCH_NETX
644-
help
645-
Say Y here if you want kernel low-level debugging support
646-
on Hilscher NetX based platforms.
647-
648641
config DEBUG_NOMADIK_UART
649642
bool "Kernel low-level debugging messages via NOMADIK UART"
650643
depends on ARCH_NOMADIK

arch/arm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ machine-$(CONFIG_ARCH_MXC) += imx
191191
machine-$(CONFIG_ARCH_MEDIATEK) += mediatek
192192
machine-$(CONFIG_ARCH_MILBEAUT) += milbeaut
193193
machine-$(CONFIG_ARCH_MXS) += mxs
194-
machine-$(CONFIG_ARCH_NETX) += netx
195194
machine-$(CONFIG_ARCH_NOMADIK) += nomadik
196195
machine-$(CONFIG_ARCH_NPCM) += npcm
197196
machine-$(CONFIG_ARCH_NSPIRE) += nspire

arch/arm/configs/netx_defconfig

Lines changed: 0 additions & 80 deletions
This file was deleted.

arch/arm/include/debug/netx.S

Lines changed: 0 additions & 32 deletions
This file was deleted.

arch/arm/lib/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ else
3131
endif
3232

3333
ifeq ($(CONFIG_ARCH_RPC),y)
34-
lib-y += ecard.o io-acorn.o floppydma.o
3534
AFLAGS_delay-loop.o += -march=armv4
3635
endif
3736

arch/arm/mach-at91/pm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/suspend.h>
1616

1717
#include <linux/clk/at91_pmc.h>
18+
#include <linux/platform_data/atmel.h>
1819

1920
#include <asm/cacheflush.h>
2021
#include <asm/fncpy.h>

arch/arm/mach-bcm/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ config ARCH_BCM_63XX
208208
config ARCH_BRCMSTB
209209
bool "Broadcom BCM7XXX based boards"
210210
depends on ARCH_MULTI_V7
211+
select ARCH_HAS_RESET_CONTROLLER
211212
select ARM_GIC
212213
select ARM_ERRATA_798181 if SMP
213214
select HAVE_ARM_ARCH_TIMER
@@ -217,6 +218,7 @@ config ARCH_BRCMSTB
217218
select ZONE_DMA if ARM_LPAE
218219
select SOC_BRCMSTB
219220
select SOC_BUS
221+
select PINCTRL
220222
help
221223
Say Y if you intend to run the kernel on a Broadcom ARM-based STB
222224
chipset.

arch/arm/mach-bcm/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
4040

4141
# Support for secure monitor traps
4242
obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
43-
ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec)
44-
CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC
45-
endif
4643

4744
# BCM2835
4845
obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o

arch/arm/mach-bcm/bcm63xx_smp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ static int bcm63138_smp_boot_secondary(unsigned int cpu,
141141
* return
142142
*/
143143
ret = bcm63xx_pmb_power_on_cpu(dn);
144+
of_node_put(dn);
144145
if (ret)
145146
goto out;
146147
out:

arch/arm/mach-bcm/bcm_kona_smc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ static int bcm_kona_do_smc(u32 service_id, u32 buffer_phys)
125125
__asmeq("%2", "r4")
126126
__asmeq("%3", "r5")
127127
__asmeq("%4", "r6")
128-
#ifdef REQUIRES_SEC
129128
".arch_extension sec\n"
130-
#endif
131129
" smc #0\n"
132130
: "=r" (ip), "=r" (r0)
133131
: "r" (r4), "r" (r5), "r" (r6)

arch/arm/mach-bcm/board_bcm281xx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ static void bcm281xx_restart(enum reboot_mode mode, const char *cmd)
3838
return;
3939
}
4040
base = of_iomap(np_wdog, 0);
41+
of_node_put(np_wdog);
4142
if (!base) {
4243
pr_emerg("Couldn't map brcm,kona-wdt\n");
4344
return;

arch/arm/mach-bcm/platsmp-brcmstb.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,14 @@ static void __init brcmstb_cpu_ctrl_setup(unsigned int max_cpus)
334334

335335
rc = setup_hifcpubiuctrl_regs(np);
336336
if (rc)
337-
return;
337+
goto out_put_node;
338338

339339
rc = setup_hifcont_regs(np);
340340
if (rc)
341-
return;
341+
goto out_put_node;
342+
343+
out_put_node:
344+
of_node_put(np);
342345
}
343346

344347
static int brcmstb_boot_secondary(unsigned int cpu, struct task_struct *idle)

arch/arm/mach-davinci/board-da850-evm.c

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -631,13 +631,12 @@ static void da850_evm_bb_keys_init(unsigned gpio)
631631
}
632632
}
633633

634-
#define DA850_N_BB_USER_LED 2
635-
636634
static struct gpio_led da850_evm_bb_leds[] = {
637-
[0 ... DA850_N_BB_USER_LED - 1] = {
638-
.active_low = 1,
639-
.gpio = -1, /* assigned at runtime */
640-
.name = NULL, /* assigned at runtime */
635+
{
636+
.name = "user_led2",
637+
},
638+
{
639+
.name = "user_led1",
641640
},
642641
};
643642

@@ -646,6 +645,20 @@ static struct gpio_led_platform_data da850_evm_bb_leds_pdata = {
646645
.num_leds = ARRAY_SIZE(da850_evm_bb_leds),
647646
};
648647

648+
static struct gpiod_lookup_table da850_evm_bb_leds_gpio_table = {
649+
.dev_id = "leds-gpio",
650+
.table = {
651+
GPIO_LOOKUP_IDX("i2c-bb-expander",
652+
DA850_EVM_BB_EXP_USER_LED2, NULL,
653+
0, GPIO_ACTIVE_LOW),
654+
GPIO_LOOKUP_IDX("i2c-bb-expander",
655+
DA850_EVM_BB_EXP_USER_LED2 + 1, NULL,
656+
1, GPIO_ACTIVE_LOW),
657+
658+
{ },
659+
},
660+
};
661+
649662
static struct platform_device da850_evm_bb_leds_device = {
650663
.name = "leds-gpio",
651664
.id = -1,
@@ -654,20 +667,6 @@ static struct platform_device da850_evm_bb_leds_device = {
654667
}
655668
};
656669

657-
static void da850_evm_bb_leds_init(unsigned gpio)
658-
{
659-
int i;
660-
struct gpio_led *led;
661-
662-
for (i = 0; i < DA850_N_BB_USER_LED; i++) {
663-
led = &da850_evm_bb_leds[i];
664-
665-
led->gpio = gpio + DA850_EVM_BB_EXP_USER_LED2 + i;
666-
led->name =
667-
da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_LED2 + i];
668-
}
669-
}
670-
671670
static int da850_evm_bb_expander_setup(struct i2c_client *client,
672671
unsigned gpio, unsigned ngpio,
673672
void *c)
@@ -685,7 +684,7 @@ static int da850_evm_bb_expander_setup(struct i2c_client *client,
685684
goto io_exp_setup_sw_fail;
686685
}
687686

688-
da850_evm_bb_leds_init(gpio);
687+
gpiod_add_lookup_table(&da850_evm_bb_leds_gpio_table);
689688
ret = platform_device_register(&da850_evm_bb_leds_device);
690689
if (ret) {
691690
pr_warn("Could not register baseboard GPIO expander LEDs");
@@ -729,10 +728,12 @@ static struct i2c_board_info __initdata da850_evm_i2c_devices[] = {
729728
},
730729
{
731730
I2C_BOARD_INFO("tca6416", 0x20),
731+
.dev_name = "ui-expander",
732732
.platform_data = &da850_evm_ui_expander_info,
733733
},
734734
{
735735
I2C_BOARD_INFO("tca6416", 0x21),
736+
.dev_name = "bb-expander",
736737
.platform_data = &da850_evm_bb_expander_info,
737738
},
738739
};

arch/arm/mach-exynos/Kconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ config S5P_DEV_MFC
4949

5050
config ARCH_EXYNOS3
5151
bool "SAMSUNG EXYNOS3"
52+
default y
5253
select ARM_CPU_SUSPEND if PM
5354
help
5455
Samsung EXYNOS3 (Cortex-A7) SoC based systems
@@ -106,7 +107,7 @@ config SOC_EXYNOS5420
106107
bool "SAMSUNG EXYNOS5420"
107108
default y
108109
depends on ARCH_EXYNOS5
109-
select MCPM if SMP
110+
select EXYNOS_MCPM if SMP
110111
select ARM_CCI400_PORT_CTRL
111112
select ARM_CPU_SUSPEND
112113

@@ -115,6 +116,10 @@ config SOC_EXYNOS5800
115116
default y
116117
depends on SOC_EXYNOS5420
117118

119+
config EXYNOS_MCPM
120+
bool
121+
select MCPM
122+
118123
config EXYNOS_CPU_SUSPEND
119124
bool
120125
select ARM_CPU_SUSPEND

0 commit comments

Comments
 (0)