Skip to content

Commit 6b5a12d

Browse files
committed
Merge tag 'armsoc-multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC multiplatform code updates from Arnd Bergmann: "This branch is the culmination of 5 years of effort to bring the ARMv6 and ARMv7 platforms together such that they can all be enabled and boot the same kernel. It has been a tremendous amount of cleanup and refactoring by a huge number of people, and creation of several new (and major) subsystems to better abstract out all the platform details in an appropriate manner. The bulk of this branch is a large patchset from Arnd that brings several of the more minor and older platforms we have closer to multiplatform support. Among these are MMP, S3C64xx, Orion5x, mv78xx0 and realview Much of this is moving around header files from old mach directories, but there are also some cleanup patches of debug_ll (lowlevel debug per-platform options) and other parts. Linus Walleij also has some patchs to clean up the older ARM Realview platforms by finally introducing DT support, and Rob Herring has some for ARM Versatile which is now DT-only. Both of these platforms are now multiplatform. Finally, a couple of patches from Russell for Dove PMU, and a fix from Valentin Rothberg for Exynos ADC, which were rebased on top of the series to avoid conflicts" * tag 'armsoc-multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (75 commits) ARM: realview: don't select SMP_ON_UP for UP builds ARM: s3c: simplify s3c_irqwake_{e,}intallow definition ARM: s3c64xx: fix pm-debug compilation iio: exynos-adc: fix irqf_oneshot.cocci warnings ARM: realview: build realview-dt SMP support only when used ARM: realview: select apropriate targets ARM: realview: clean up header files ARM: realview: make all header files local ARM: no longer make CPU targets visible separately ARM: integrator: use explicit core module options ARM: realview: enable multiplatform ARM: make default platform work for NOMMU ARM: debug-ll: move DEBUG_LL_UART_EFM32 to correct Kconfig location ARM: defconfig: use correct debug_ll settings ARM: versatile: convert to multi-platform ARM: versatile: merge mach code into a single file ARM: versatile: switch to DT only booting and remove legacy code ARM: versatile: add DT based PCI detection ARM: pxa: mark ezx structures as __maybe_unused ARM: pxa: mark raumfeld init functions as __maybe_unused ...
2 parents 5083c54 + 2cb58c0 commit 6b5a12d

415 files changed

Lines changed: 2369 additions & 4001 deletions

File tree

Some content is hidden

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

‎Documentation/arm/pxa/mfp.txt‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ to this new MFP mechanism, here are several key points:
4949
internal controllers like PWM, SSP and UART, with 128 internal signals
5050
which can be routed to external through one or more MFPs (e.g. GPIO<0>
5151
can be routed through either MFP_PIN_GPIO0 as well as MFP_PIN_GPIO0_2,
52-
see arch/arm/mach-pxa/mach/include/mfp-pxa300.h)
52+
see arch/arm/mach-pxa/mfp-pxa300.h)
5353

5454
2. Alternate function configuration is removed from this GPIO controller,
5555
the remaining functions are pure GPIO-specific, i.e.
@@ -76,11 +76,11 @@ For board code writers, here are some guidelines:
7676

7777
1. include ONE of the following header files in your <board>.c:
7878

79-
- #include <mach/mfp-pxa25x.h>
80-
- #include <mach/mfp-pxa27x.h>
81-
- #include <mach/mfp-pxa300.h>
82-
- #include <mach/mfp-pxa320.h>
83-
- #include <mach/mfp-pxa930.h>
79+
- #include "mfp-pxa25x.h"
80+
- #include "mfp-pxa27x.h"
81+
- #include "mfp-pxa300.h"
82+
- #include "mfp-pxa320.h"
83+
- #include "mfp-pxa930.h"
8484

8585
NOTE: only one file in your <board>.c, depending on the processors used,
8686
because pin configuration definitions may conflict in these file (i.e.
@@ -203,20 +203,20 @@ make them effective there-after.
203203
1. Unified pin definitions - enum constants for all configurable pins
204204
2. processor-neutral bit definitions for a possible MFP configuration
205205

206-
- arch/arm/mach-pxa/include/mach/mfp-pxa3xx.h
206+
- arch/arm/mach-pxa/mfp-pxa3xx.h
207207

208208
for PXA3xx specific MFPR register bit definitions and PXA3xx common pin
209209
configurations
210210

211-
- arch/arm/mach-pxa/include/mach/mfp-pxa2xx.h
211+
- arch/arm/mach-pxa/mfp-pxa2xx.h
212212

213213
for PXA2xx specific definitions and PXA25x/PXA27x common pin configurations
214214

215-
- arch/arm/mach-pxa/include/mach/mfp-pxa25x.h
216-
arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
217-
arch/arm/mach-pxa/include/mach/mfp-pxa300.h
218-
arch/arm/mach-pxa/include/mach/mfp-pxa320.h
219-
arch/arm/mach-pxa/include/mach/mfp-pxa930.h
215+
- arch/arm/mach-pxa/mfp-pxa25x.h
216+
arch/arm/mach-pxa/mfp-pxa27x.h
217+
arch/arm/mach-pxa/mfp-pxa300.h
218+
arch/arm/mach-pxa/mfp-pxa320.h
219+
arch/arm/mach-pxa/mfp-pxa930.h
220220

221221
for processor specific definitions
222222

‎Documentation/devicetree/bindings/arm/cpus.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ nodes to be present and contain the properties described below.
191191
"allwinner,sun6i-a31"
192192
"allwinner,sun8i-a23"
193193
"arm,psci"
194+
"arm,realview-smp"
194195
"brcm,brahma-b15"
195196
"marvell,armada-375-smp"
196197
"marvell,armada-380-smp"

‎Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ Required properties:
4747

4848
- samsung,syscon-phandle Contains the PMU system controller node
4949
(To access the ADC_PHY register on Exynos5250/5420/5800/3250)
50+
Optional properties:
51+
- has-touchscreen: If present, indicates that a touchscreen is
52+
connected an usable.
5053

5154
Note: child nodes can be added for auto probing from device tree.
5255

‎arch/arm/Kconfig‎

Lines changed: 4 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ config ARM_PATCH_PHYS_VIRT
240240
bool "Patch physical to virtual translations at runtime" if EMBEDDED
241241
default y
242242
depends on !XIP_KERNEL && MMU
243-
depends on !ARCH_REALVIEW || !SPARSEMEM
244243
help
245244
Patch phys-to-virt and virt-to-phys translation functions at
246245
boot and module load time according to the position of the
@@ -321,7 +320,7 @@ config ARCH_MMAP_RND_BITS_MAX
321320
#
322321
choice
323322
prompt "ARM system type"
324-
default ARCH_VERSATILE if !MMU
323+
default ARM_SINGLE_ARMV7M if !MMU
325324
default ARCH_MULTIPLATFORM if MMU
326325

327326
config ARCH_MULTIPLATFORM
@@ -353,38 +352,6 @@ config ARM_SINGLE_ARMV7M
353352
select SPARSE_IRQ
354353
select USE_OF
355354

356-
config ARCH_REALVIEW
357-
bool "ARM Ltd. RealView family"
358-
select ARCH_WANT_OPTIONAL_GPIOLIB
359-
select ARM_AMBA
360-
select ARM_TIMER_SP804
361-
select COMMON_CLK
362-
select COMMON_CLK_VERSATILE
363-
select GENERIC_CLOCKEVENTS
364-
select GPIO_PL061 if GPIOLIB
365-
select ICST
366-
select NEED_MACH_MEMORY_H
367-
select PLAT_VERSATILE
368-
select PLAT_VERSATILE_SCHED_CLOCK
369-
help
370-
This enables support for ARM Ltd RealView boards.
371-
372-
config ARCH_VERSATILE
373-
bool "ARM Ltd. Versatile family"
374-
select ARCH_WANT_OPTIONAL_GPIOLIB
375-
select ARM_AMBA
376-
select ARM_TIMER_SP804
377-
select ARM_VIC
378-
select CLKDEV_LOOKUP
379-
select GENERIC_CLOCKEVENTS
380-
select HAVE_MACH_CLKDEV
381-
select ICST
382-
select PLAT_VERSATILE
383-
select PLAT_VERSATILE_CLOCK
384-
select PLAT_VERSATILE_SCHED_CLOCK
385-
select VERSATILE_FPGA_IRQ
386-
help
387-
This enables support for ARM Ltd Versatile board.
388355

389356
config ARCH_CLPS711X
390357
bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
@@ -519,55 +486,15 @@ config ARCH_DOVE
519486
select CPU_PJ4
520487
select GENERIC_CLOCKEVENTS
521488
select MIGHT_HAVE_PCI
489+
select MULTI_IRQ_HANDLER
522490
select MVEBU_MBUS
523491
select PINCTRL
524492
select PINCTRL_DOVE
525493
select PLAT_ORION_LEGACY
526-
help
527-
Support for the Marvell Dove SoC 88AP510
528-
529-
config ARCH_MV78XX0
530-
bool "Marvell MV78xx0"
531-
select ARCH_REQUIRE_GPIOLIB
532-
select CPU_FEROCEON
533-
select GENERIC_CLOCKEVENTS
534-
select MVEBU_MBUS
535-
select PCI
536-
select PLAT_ORION_LEGACY
537-
help
538-
Support for the following Marvell MV78xx0 series SoCs:
539-
MV781x0, MV782x0.
540-
541-
config ARCH_ORION5X
542-
bool "Marvell Orion"
543-
depends on MMU
544-
select ARCH_REQUIRE_GPIOLIB
545-
select CPU_FEROCEON
546-
select GENERIC_CLOCKEVENTS
547-
select MVEBU_MBUS
548-
select PCI
549-
select PLAT_ORION_LEGACY
550-
select MULTI_IRQ_HANDLER
551-
help
552-
Support for the following Marvell Orion 5x series SoCs:
553-
Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
554-
Orion-2 (5281), Orion-1-90 (6183).
555-
556-
config ARCH_MMP
557-
bool "Marvell PXA168/910/MMP2"
558-
depends on MMU
559-
select ARCH_REQUIRE_GPIOLIB
560-
select CLKDEV_LOOKUP
561-
select GENERIC_ALLOCATOR
562-
select GENERIC_CLOCKEVENTS
563-
select GPIO_PXA
564-
select IRQ_DOMAIN
565-
select MULTI_IRQ_HANDLER
566-
select PINCTRL
567-
select PLAT_PXA
568494
select SPARSE_IRQ
495+
select PM_GENERIC_DOMAINS if PM
569496
help
570-
Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
497+
Support for the Marvell Dove SoC 88AP510
571498

572499
config ARCH_KS8695
573500
bool "Micrel/Kendin KS8695"
@@ -692,32 +619,6 @@ config ARCH_S3C24XX
692619
(<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
693620
Samsung SMDK2410 development board (and derivatives).
694621

695-
config ARCH_S3C64XX
696-
bool "Samsung S3C64XX"
697-
select ARCH_REQUIRE_GPIOLIB
698-
select ARM_AMBA
699-
select ARM_VIC
700-
select ATAGS
701-
select CLKDEV_LOOKUP
702-
select CLKSRC_SAMSUNG_PWM
703-
select COMMON_CLK_SAMSUNG
704-
select CPU_V6K
705-
select GENERIC_CLOCKEVENTS
706-
select GPIO_SAMSUNG
707-
select HAVE_S3C2410_I2C if I2C
708-
select HAVE_S3C2410_WATCHDOG if WATCHDOG
709-
select HAVE_TCM
710-
select NO_IOPORT_MAP
711-
select PLAT_SAMSUNG
712-
select PM_GENERIC_DOMAINS if PM
713-
select S3C_DEV_NAND
714-
select S3C_GPIO_TRACK
715-
select SAMSUNG_ATAGS
716-
select SAMSUNG_WAKEMASK
717-
select SAMSUNG_WDT_RESET
718-
help
719-
Samsung S3C64XX series based systems
720-
721622
config ARCH_DAVINCI
722623
bool "TI DaVinci"
723624
select ARCH_HAS_HOLES_MEMORYMODEL

0 commit comments

Comments
 (0)