Skip to content

Commit d01e4af

Browse files
committed
Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC cleanups on various subarchitectures from Olof Johansson: "Cleanup patches for various ARM platforms and some of their associated drivers. There's also a branch in here that enables Freescale i.MX to be part of the multiplatform support -- the first "big" SoC that is moved over (more multiplatform work comes in a separate branch later during the merge window)." Conflicts fixed as per Olof, including a silent semantic one in arch/arm/mach-omap2/board-generic.c (omap_prcm_restart() was renamed to omap3xxx_restart(), and a new user of the old name was added). * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (189 commits) ARM: omap: fix typo on timer cleanup ARM: EXYNOS: Remove unused regs-mem.h file ARM: EXYNOS: Remove unused non-dt support for dwmci controller ARM: Kirkwood: Use hw_pci.ops instead of hw_pci.scan ARM: OMAP3: cm-t3517: use GPTIMER for system clock ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER ARM: SAMSUNG: use devm_ functions for ADC driver ARM: EXYNOS: no duplicate mask/unmask in eint0_15 ARM: S3C24XX: SPI clock channel setup is fixed for S3C2443 ARM: EXYNOS: Remove i2c0 resource information and setting of device names ARM: Kirkwood: checkpatch cleanups ARM: Kirkwood: Fix sparse warnings. ARM: Kirkwood: Remove unused includes ARM: kirkwood: cleanup lsxl board includes ARM: integrator: use BUG_ON where possible ARM: integrator: push down SC dependencies ARM: integrator: delete static UART1 mapping ARM: integrator: delete SC mapping on the CP ARM: integrator: remove static CP syscon mapping ARM: integrator: remove static AP syscon mapping ...
2 parents 8287361 + 794b175 commit d01e4af

496 files changed

Lines changed: 4718 additions & 4091 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/devicetree/bindings/arm/arm-boards‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Required properties (in root node):
99

1010
FPGA type interrupt controllers, see the versatile-fpga-irq binding doc.
1111

12+
In the root node the Integrator/CP must have a /cpcon node pointing
13+
to the CP control registers, and the Integrator/AP must have a
14+
/syscon node pointing to the Integrator/AP system controller.
15+
1216

1317
ARM Versatile Application and Platform Baseboards
1418
-------------------------------------------------
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
OMAP Counter-32K bindings
2+
3+
Required properties:
4+
- compatible: Must be "ti,omap-counter32k" for OMAP controllers
5+
- reg: Contains timer register address range (base address and length)
6+
- ti,hwmods: Name of the hwmod associated to the counter, which is typically
7+
"counter_32k"
8+
9+
Example:
10+
11+
counter32k: counter@4a304000 {
12+
compatible = "ti,omap-counter32k";
13+
reg = <0x4a304000 0x20>;
14+
ti,hwmods = "counter_32k";
15+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
OMAP Timer bindings
2+
3+
Required properties:
4+
- compatible: Must be "ti,omap2-timer" for OMAP2+ controllers.
5+
- reg: Contains timer register address range (base address and
6+
length).
7+
- interrupts: Contains the interrupt information for the timer. The
8+
format is being dependent on which interrupt controller
9+
the OMAP device uses.
10+
- ti,hwmods: Name of the hwmod associated to the timer, "timer<X>",
11+
where <X> is the instance number of the timer from the
12+
HW spec.
13+
14+
Optional properties:
15+
- ti,timer-alwon: Indicates the timer is in an alway-on power domain.
16+
- ti,timer-dsp: Indicates the timer can interrupt the on-chip DSP in
17+
addition to the ARM CPU.
18+
- ti,timer-pwm: Indicates the timer can generate a PWM output.
19+
- ti,timer-secure: Indicates the timer is reserved on a secure OMAP device
20+
and therefore cannot be used by the kernel.
21+
22+
Example:
23+
24+
timer12: timer@48304000 {
25+
compatible = "ti,omap2-timer";
26+
reg = <0x48304000 0x400>;
27+
interrupts = <95>;
28+
ti,hwmods = "timer12"
29+
ti,timer-alwon;
30+
ti,timer-secure;
31+
};

‎Documentation/devicetree/bindings/bus/omap-ocp2scp.txt‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,27 @@
22

33
properties:
44
- compatible : Should be "ti,omap-ocp2scp"
5+
- reg : Address and length of the register set for the device
56
- #address-cells, #size-cells : Must be present if the device has sub-nodes
67
- ranges : the child address space are mapped 1:1 onto the parent address space
78
- ti,hwmods : must be "ocp2scp_usb_phy"
89

910
Sub-nodes:
1011
All the devices connected to ocp2scp are described using sub-node to ocp2scp
12+
13+
ocp2scp@4a0ad000 {
14+
compatible = "ti,omap-ocp2scp";
15+
reg = <0x4a0ad000 0x1f>;
16+
#address-cells = <1>;
17+
#size-cells = <1>;
18+
ranges;
19+
ti,hwmods = "ocp2scp_usb_phy";
20+
21+
subnode1 {
22+
...
23+
};
24+
25+
subnode2 {
26+
...
27+
};
28+
};

‎Documentation/devicetree/bindings/i2c/i2c-imx.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Optional properties:
1212
Examples:
1313

1414
i2c@83fc4000 { /* I2C2 on i.MX51 */
15-
compatible = "fsl,imx51-i2c", "fsl,imx1-i2c";
15+
compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
1616
reg = <0x83fc4000 0x4000>;
1717
interrupts = <63>;
1818
};
1919

2020
i2c@70038000 { /* HS-I2C on i.MX51 */
21-
compatible = "fsl,imx51-i2c", "fsl,imx1-i2c";
21+
compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
2222
reg = <0x70038000 0x4000>;
2323
interrupts = <64>;
2424
clock-frequency = <400000>;

‎Documentation/devicetree/bindings/i2c/trivial-devices.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,7 @@ st-micro,24c256 i2c serial eeprom (24cxx)
5555
stm,m41t00 Serial Access TIMEKEEPER
5656
stm,m41t62 Serial real-time clock (RTC) with alarm
5757
stm,m41t80 M41T80 - SERIAL ACCESS RTC WITH ALARMS
58+
taos,tsl2550 Ambient Light Sensor with SMBUS/Two Wire Serial Interface
5859
ti,tsc2003 I2C Touch-Screen Controller
5960
ti,tmp102 Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
61+
ti,tmp275 Digital Temperature Sensor

‎Documentation/devicetree/bindings/usb/am33xx-usb.txt‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
AM33XX MUSB GLUE
22
- compatible : Should be "ti,musb-am33xx"
3+
- reg : offset and length of register sets, first usbss, then for musb instances
4+
- interrupts : usbss, musb instance interrupts in order
35
- ti,hwmods : must be "usb_otg_hs"
46
- multipoint : Should be "1" indicating the musb controller supports
57
multipoint. This is a MUSB configuration-specific setting.
@@ -12,3 +14,22 @@ AM33XX MUSB GLUE
1214
represents PERIPHERAL.
1315
- power : Should be "250". This signifies the controller can supply upto
1416
500mA when operating in host mode.
17+
18+
Example:
19+
20+
usb@47400000 {
21+
compatible = "ti,musb-am33xx";
22+
reg = <0x47400000 0x1000 /* usbss */
23+
0x47401000 0x800 /* musb instance 0 */
24+
0x47401800 0x800>; /* musb instance 1 */
25+
interrupts = <17 /* usbss */
26+
18 /* musb instance 0 */
27+
19>; /* musb instance 1 */
28+
multipoint = <1>;
29+
num-eps = <16>;
30+
ram-bits = <12>;
31+
port0-mode = <3>;
32+
port1-mode = <3>;
33+
power = <250>;
34+
ti,hwmods = "usb_otg_hs";
35+
};

‎MAINTAINERS‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,6 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
797797
S: Maintained
798798
T: git git://git.pengutronix.de/git/imx/linux-2.6.git
799799
F: arch/arm/mach-imx/
800-
F: arch/arm/plat-mxc/
801800
F: arch/arm/configs/imx*_defconfig
802801

803802
ARM/FREESCALE IMX6

‎arch/arm/Kconfig‎

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -438,19 +438,6 @@ config ARCH_FOOTBRIDGE
438438
Support for systems based on the DC21285 companion chip
439439
("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
440440

441-
config ARCH_MXC
442-
bool "Freescale MXC/iMX-based"
443-
select ARCH_REQUIRE_GPIOLIB
444-
select CLKDEV_LOOKUP
445-
select CLKSRC_MMIO
446-
select GENERIC_CLOCKEVENTS
447-
select GENERIC_IRQ_CHIP
448-
select MULTI_IRQ_HANDLER
449-
select SPARSE_IRQ
450-
select USE_OF
451-
help
452-
Support for Freescale MXC/iMX-based family of processors
453-
454441
config ARCH_MXS
455442
bool "Freescale MXS-based"
456443
select ARCH_REQUIRE_GPIOLIB
@@ -966,7 +953,6 @@ config ARCH_ZYNQ
966953
bool "Xilinx Zynq ARM Cortex A9 Platform"
967954
select ARM_AMBA
968955
select ARM_GIC
969-
select CLKDEV_LOOKUP
970956
select CPU_V7
971957
select GENERIC_CLOCKEVENTS
972958
select ICST
@@ -1065,7 +1051,7 @@ source "arch/arm/mach-msm/Kconfig"
10651051

10661052
source "arch/arm/mach-mv78xx0/Kconfig"
10671053

1068-
source "arch/arm/plat-mxc/Kconfig"
1054+
source "arch/arm/mach-imx/Kconfig"
10691055

10701056
source "arch/arm/mach-mxs/Kconfig"
10711057

@@ -1175,7 +1161,7 @@ config ARM_NR_BANKS
11751161
config IWMMXT
11761162
bool "Enable iWMMXt support"
11771163
depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4
1178-
default y if PXA27x || PXA3xx || PXA95x || ARCH_MMP
1164+
default y if PXA27x || PXA3xx || ARCH_MMP
11791165
help
11801166
Enable support for iWMMXt context switching at run time if
11811167
running on a CPU that supports it.

‎arch/arm/Kconfig.debug‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,14 @@ endchoice
412412
config DEBUG_LL_INCLUDE
413413
string
414414
default "debug/icedcc.S" if DEBUG_ICEDCC
415+
default "debug/imx.S" if DEBUG_IMX1_UART || \
416+
DEBUG_IMX25_UART || \
417+
DEBUG_IMX21_IMX27_UART || \
418+
DEBUG_IMX31_IMX35_UART || \
419+
DEBUG_IMX51_UART || \
420+
DEBUG_IMX50_IMX53_UART ||\
421+
DEBUG_IMX6Q_UART2 || \
422+
DEBUG_IMX6Q_UART4
415423
default "debug/highbank.S" if DEBUG_HIGHBANK_UART
416424
default "debug/mvebu.S" if DEBUG_MVEBU_UART
417425
default "debug/picoxcell.S" if DEBUG_PICOXCELL_UART

0 commit comments

Comments
 (0)