Skip to content

Commit d2033f2

Browse files
committed
Merge tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC cleanups from Arnd Bergmann: "This contains cleanups as preparation for other branches adding new features, we pulled 16 branches for 9 platforms into this one. Most notable here is the removal of support for ATAGS based OMAP4 systems. Since all OMAP4 machines are fully functional with DT based booting in 3.10, we can remove a lot of code here. Also noteworthy is Maxime Ripard's cleanup of the machine descriptors, which means we need no machine descriptors in a lot more cases and can boot additional machines by just having the respective device drivers enabled." * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (76 commits) ARM: picoxcell: remove .nr_irqs reference ARM: s5p64x0: avoid build warning for uncompress.h ARM: SAMSUNG: Remove unused plat/regs-watchdog.h header ARM: SAMSUNG: Remove legacy watchdog reset code ARM: SAMSUNG: Let platforms use the new watchdog reset driver ARM: SAMSUNG: Add watchdog reset driver ARM: SAMSUNG: Use local definitions of watchdog registers watchdog: s3c2410_wdt: Use local register definitions ARM: S5P64X0: Use common uncompress.h part for plat-samsung ARM: SAMSUNG: Consolidate uncompress subroutine ARM: at91: drop rm9200dk board support ARM: dts: msm: Fix merge resolution ARM: OMAP1: Remove dma.h ARM: OMAP1: Remove legacy irda.h and irda setup from board files ARM: OMAP1: Remove duplicated DMA channel definitions ARM: OMAP1: Remove McBSP DMA channel definitions ARM: OMAP2+: Remove dma.h ARM: OMAP2+: hwmod: Remove remaining DMA channel definitions ARM: OMAP2+: Remove duplicated DMA channel definitions ARM: OMAP2+: Remove AES crypto device DMA channel definitions ...
2 parents 22237d5 + 0ee8090 commit d2033f2

175 files changed

Lines changed: 2257 additions & 9029 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/sunxi/README‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ ARM Allwinner SoCs
33

44
This document lists all the ARM Allwinner SoCs that are currently
55
supported in mainline by the Linux kernel. This document will also
6-
provide links to documentation and or datasheet for these SoCs.
6+
provide links to documentation and/or datasheet for these SoCs.
77

88
SunXi family
99
------------
10+
Linux kernel mach directory: arch/arm/mach-sunxi
1011

1112
Flavors:
12-
Allwinner A10 (sun4i)
13-
Datasheet : http://dl.linux-sunxi.org/A10/A10%20Datasheet%20-%20v1.21%20%282012-04-06%29.pdf
13+
* ARM Cortex-A8 based SoCs
14+
- Allwinner A10 (sun4i)
15+
+ Datasheet
16+
http://dl.linux-sunxi.org/A10/A10%20Datasheet%20-%20v1.21%20%282012-04-06%29.pdf
17+
+ User Manual
18+
http://dl.linux-sunxi.org/A10/A10%20User%20Manual%20-%20v1.20%20%282012-04-09%2c%20DECRYPTED%29.pdf
1419

15-
Allwinner A13 (sun5i)
16-
Datasheet : http://dl.linux-sunxi.org/A13/A13%20Datasheet%20-%20v1.12%20%282012-03-29%29.pdf
17-
18-
Core: Cortex A8
19-
Linux kernel mach directory: arch/arm/mach-sunxi
20+
- Allwinner A13 (sun5i)
21+
+ Datasheet
22+
http://dl.linux-sunxi.org/A13/A13%20Datasheet%20-%20v1.12%20%282012-03-29%29.pdf
23+
+ User Manual
24+
http://dl.linux-sunxi.org/A13/A13%20User%20Manual%20-%20v1.2%20%282013-08-08%29.pdf
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
MSM GPIO controller bindings
2+
3+
Required properties:
4+
- compatible:
5+
- "qcom,msm-gpio" for MSM controllers
6+
- #gpio-cells : Should be two.
7+
- first cell is the pin number
8+
- second cell is used to specify optional parameters (unused)
9+
- gpio-controller : Marks the device node as a GPIO controller.
10+
- #interrupt-cells : Should be 2.
11+
- interrupt-controller: Mark the device node as an interrupt controller
12+
- interrupts : Specify the TLMM summary interrupt number
13+
- ngpio : Specify the number of MSM GPIOs
14+
15+
Example:
16+
17+
msmgpio: gpio@fd510000 {
18+
compatible = "qcom,msm-gpio";
19+
gpio-controller;
20+
#gpio-cells = <2>;
21+
interrupt-controller;
22+
#interrupt-cells = <2>;
23+
reg = <0xfd510000 0x4000>;
24+
interrupts = <0 208 0>;
25+
ngpio = <150>;
26+
};

‎Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt‎

Lines changed: 2 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -8,91 +8,8 @@ Required properties:
88
- #interrupt-cells : Specifies the number of cells needed to encode an
99
interrupt source. The value shall be 1.
1010

11-
The interrupt sources are as follows:
12-
13-
0: ENMI
14-
1: UART0
15-
2: UART1
16-
3: UART2
17-
4: UART3
18-
5: IR0
19-
6: IR1
20-
7: I2C0
21-
8: I2C1
22-
9: I2C2
23-
10: SPI0
24-
11: SPI1
25-
12: SPI2
26-
13: SPDIF
27-
14: AC97
28-
15: TS
29-
16: I2S
30-
17: UART4
31-
18: UART5
32-
19: UART6
33-
20: UART7
34-
21: KEYPAD
35-
22: TIMER0
36-
23: TIMER1
37-
24: TIMER2
38-
25: TIMER3
39-
26: CAN
40-
27: DMA
41-
28: PIO
42-
29: TOUCH_PANEL
43-
30: AUDIO_CODEC
44-
31: LRADC
45-
32: SDMC0
46-
33: SDMC1
47-
34: SDMC2
48-
35: SDMC3
49-
36: MEMSTICK
50-
37: NAND
51-
38: USB0
52-
39: USB1
53-
40: USB2
54-
41: SCR
55-
42: CSI0
56-
43: CSI1
57-
44: LCDCTRL0
58-
45: LCDCTRL1
59-
46: MP
60-
47: DEFEBE0
61-
48: DEFEBE1
62-
49: PMU
63-
50: SPI3
64-
51: TZASC
65-
52: PATA
66-
53: VE
67-
54: SS
68-
55: EMAC
69-
56: SATA
70-
57: GPS
71-
58: HDMI
72-
59: TVE
73-
60: ACE
74-
61: TVD
75-
62: PS2_0
76-
63: PS2_1
77-
64: USB3
78-
65: USB4
79-
66: PLE_PFM
80-
67: TIMER4
81-
68: TIMER5
82-
69: GPU_GP
83-
70: GPU_GPMMU
84-
71: GPU_PP0
85-
72: GPU_PPMMU0
86-
73: GPU_PMU
87-
74: GPU_RSV0
88-
75: GPU_RSV1
89-
76: GPU_RSV2
90-
77: GPU_RSV3
91-
78: GPU_RSV4
92-
79: GPU_RSV5
93-
80: GPU_RSV6
94-
82: SYNC_TIMER0
95-
83: SYNC_TIMER1
11+
For the valid interrupt sources for your SoC, see the documentation in
12+
sunxi/<soc>.txt
9613

9714
Example:
9815

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
Allwinner A10 (sun4i) interrupt sources
2+
---------------------------------------
3+
4+
The interrupt sources available for the Allwinner A10 SoC are the
5+
following one:
6+
7+
0: ENMI
8+
1: UART0
9+
2: UART1
10+
3: UART2
11+
4: UART3
12+
5: IR0
13+
6: IR1
14+
7: I2C0
15+
8: I2C1
16+
9: I2C2
17+
10: SPI0
18+
11: SPI1
19+
12: SPI2
20+
13: SPDIF
21+
14: AC97
22+
15: TS
23+
16: I2S
24+
17: UART4
25+
18: UART5
26+
19: UART6
27+
20: UART7
28+
21: KEYPAD
29+
22: TIMER0
30+
23: TIMER1
31+
24: TIMER2
32+
25: TIMER3
33+
26: CAN
34+
27: DMA
35+
28: PIO
36+
29: TOUCH_PANEL
37+
30: AUDIO_CODEC
38+
31: LRADC
39+
32: MMC0
40+
33: MMC1
41+
34: MMC2
42+
35: MMC3
43+
36: MEMSTICK
44+
37: NAND
45+
38: USB0
46+
39: USB1
47+
40: USB2
48+
41: SCR
49+
42: CSI0
50+
43: CSI1
51+
44: LCDCTRL0
52+
45: LCDCTRL1
53+
46: MP
54+
47: DEFEBE0
55+
48: DEFEBE1
56+
49: PMU
57+
50: SPI3
58+
51: TZASC
59+
52: PATA
60+
53: VE
61+
54: SS
62+
55: EMAC
63+
56: SATA
64+
57: GPS
65+
58: HDMI
66+
59: TVE
67+
60: ACE
68+
61: TVD
69+
62: PS2_0
70+
63: PS2_1
71+
64: USB3
72+
65: USB4
73+
66: PLE_PFM
74+
67: TIMER4
75+
68: TIMER5
76+
69: GPU_GP
77+
70: GPU_GPMMU
78+
71: GPU_PP0
79+
72: GPU_PPMMU0
80+
73: GPU_PMU
81+
74: GPU_RSV0
82+
75: GPU_RSV1
83+
76: GPU_RSV2
84+
77: GPU_RSV3
85+
78: GPU_RSV4
86+
79: GPU_RSV5
87+
80: GPU_RSV6
88+
82: SYNC_TIMER0
89+
83: SYNC_TIMER1
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
Allwinner A13 (sun5i) interrupt sources
2+
---------------------------------------
3+
4+
The interrupt sources available for the Allwinner A13 SoC are the
5+
following one:
6+
7+
0: ENMI
8+
2: UART1
9+
4: UART3
10+
5: IR
11+
7: I2C0
12+
8: I2C1
13+
9: I2C2
14+
10: SPI0
15+
11: SPI1
16+
12: SPI2
17+
22: TIMER0
18+
23: TIMER1
19+
24: TIMER2
20+
25: TIMER3
21+
27: DMA
22+
28: PIO
23+
29: TOUCH_PANEL
24+
30: AUDIO_CODEC
25+
31: LRADC
26+
32: MMC0
27+
33: MMC1
28+
34: MMC2
29+
37: NAND
30+
38: USB OTG
31+
39: USB EHCI
32+
40: USB OHCI
33+
42: CSI
34+
44: LCDCTRL
35+
47: DEFEBE
36+
49: PMU
37+
53: VE
38+
54: SS
39+
66: PLE_PFM
40+
67: TIMER4
41+
68: TIMER5
42+
69: GPU_GP
43+
70: GPU_GPMMU
44+
71: GPU_PP0
45+
72: GPU_PPMMU0
46+
73: GPU_PMU
47+
74: GPU_RSV0
48+
75: GPU_RSV1
49+
76: GPU_RSV2
50+
77: GPU_RSV3
51+
78: GPU_RSV4
52+
79: GPU_RSV5
53+
80: GPU_RSV6
54+
82: SYNC_TIMER0
55+
83: SYNC_TIMER1

‎arch/arm/Kconfig‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ config ARCH_S3C64XX
729729
select SAMSUNG_CLKSRC
730730
select SAMSUNG_GPIOLIB_4BIT
731731
select SAMSUNG_IRQ_VIC_TIMER
732+
select SAMSUNG_WDT_RESET
732733
select USB_ARCH_HAS_OHCI
733734
help
734735
Samsung S3C64XX series based systems
@@ -744,6 +745,7 @@ config ARCH_S5P64X0
744745
select HAVE_S3C2410_WATCHDOG if WATCHDOG
745746
select HAVE_S3C_RTC if RTC_CLASS
746747
select NEED_MACH_GPIO_H
748+
select SAMSUNG_WDT_RESET
747749
help
748750
Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
749751
SMDK6450.
@@ -760,6 +762,7 @@ config ARCH_S5PC100
760762
select HAVE_S3C2410_WATCHDOG if WATCHDOG
761763
select HAVE_S3C_RTC if RTC_CLASS
762764
select NEED_MACH_GPIO_H
765+
select SAMSUNG_WDT_RESET
763766
help
764767
Samsung S5PC100 series based systems
765768

‎arch/arm/boot/dts/aks-cdu.dts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/dts-v1/;
1111

12-
/include/ "ge863-pro3.dtsi"
12+
#include "ge863-pro3.dtsi"
1313

1414
/ {
1515
chosen {
@@ -46,7 +46,7 @@
4646
};
4747

4848
usb1: gadget@fffa4000 {
49-
atmel,vbus-gpio = <&pioC 15 0>;
49+
atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
5050
status = "okay";
5151
};
5252
};
@@ -90,23 +90,23 @@
9090
compatible = "gpio-leds";
9191

9292
red {
93-
gpios = <&pioC 10 0>;
93+
gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
9494
linux,default-trigger = "none";
9595
};
9696

9797
green {
98-
gpios = <&pioA 5 1>;
98+
gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
9999
linux,default-trigger = "none";
100100
default-state = "on";
101101
};
102102

103103
yellow {
104-
gpios = <&pioB 20 1>;
104+
gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
105105
linux,default-trigger = "none";
106106
};
107107

108108
blue {
109-
gpios = <&pioB 21 1>;
109+
gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
110110
linux,default-trigger = "none";
111111
};
112112
};

‎arch/arm/boot/dts/am33xx.dtsi‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@
394394
compatible = "ti,am3352-ocmcram";
395395
reg = <0x40300000 0x10000>;
396396
ti,hwmods = "ocmcram";
397-
ti,no_idle_on_suspend;
398397
};
399398

400399
wkup_m3: wkup_m3@44d00000 {

0 commit comments

Comments
 (0)