Skip to content

Commit b3345d7

Browse files
committed
Merge tag 'soc-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC platform changes from Olof Johansson: "This is the bulk of new SoC enablement and other platform changes for 3.17: - Samsung S5PV210 has been converted to DT and multiplatform - Clock drivers and bindings for some of the lower-end i.MX 1/2 platforms - Kirkwood, one of the popular Marvell platforms, is folded into the mvebu platform code, removing mach-kirkwood - Hwmod data for TI AM43xx and DRA7 platforms - More additions of Renesas shmobile platform support - Removal of plat-samsung contents that can be removed with S5PV210 being multiplatform/DT-enabled and the other two old platforms being removed New platforms (most with only basic support right now): - Hisilicon X5HD2 settop box chipset is introduced - Mediatek MT6589 (mobile chipset) is introduced - Broadcom BCM7xxx settop box chipset is introduced + as usual a lot other pieces all over the platform code" * tag 'soc-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (240 commits) ARM: hisi: remove smp from machine descriptor power: reset: move hisilicon reboot code ARM: dts: Add hix5hd2-dkb dts file. ARM: debug: Rename Hi3716 to HIX5HD2 ARM: hisi: enable hix5hd2 SoC ARM: hisi: add ARCH_HISI MAINTAINERS: add entry for Broadcom ARM STB architecture ARM: brcmstb: select GISB arbiter and interrupt drivers ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs ARM: configs: enable SMP in bcm_defconfig ARM: add SMP support for Broadcom mobile SoCs Documentation: arm: misc updates to Marvell EBU SoC status Documentation: arm: add URLs to public datasheets for the Marvell Armada XP SoC ARM: mvebu: fix build without platforms selected ARM: mvebu: add cpuidle support for Armada 38x ARM: mvebu: add cpuidle support for Armada 370 cpuidle: mvebu: add Armada 38x support cpuidle: mvebu: add Armada 370 support cpuidle: mvebu: rename the driver from armada-370-xp to mvebu-v7 ARM: mvebu: export the SCU address ...
2 parents 44c916d + c2fff85 commit b3345d7

407 files changed

Lines changed: 11489 additions & 19492 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/Marvell/README‎

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ Kirkwood family
5353
Functional Spec: http://www.marvell.com/embedded-processors/kirkwood/assets/FS_88F6180_9x_6281_OpenSource.pdf
5454
Homepage: http://www.marvell.com/embedded-processors/kirkwood/
5555
Core: Feroceon ARMv5 compatible
56-
Linux kernel mach directory: arch/arm/mach-kirkwood
57-
Linux kernel plat directory: arch/arm/plat-orion
56+
Linux kernel mach directory: arch/arm/mach-mvebu
57+
Linux kernel plat directory: none
5858

5959
Discovery family
6060
----------------
@@ -83,7 +83,9 @@ EBU Armada family
8383
88F6710
8484
88F6707
8585
88F6W11
86-
Product Brief: http://www.marvell.com/embedded-processors/armada-300/assets/Marvell_ARMADA_370_SoC.pdf
86+
Product Brief: http://www.marvell.com/embedded-processors/armada-300/assets/Marvell_ARMADA_370_SoC.pdf
87+
Hardware Spec: http://www.marvell.com/embedded-processors/armada-300/assets/ARMADA370-datasheet.pdf
88+
Functional Spec: http://www.marvell.com/embedded-processors/armada-300/assets/ARMADA370-FunctionalSpec-datasheet.pdf
8789

8890
Armada 375 Flavors:
8991
88F6720
@@ -100,8 +102,7 @@ EBU Armada family
100102
MV78460
101103
NOTE: not to be confused with the non-SMP 78xx0 SoCs
102104
Product Brief: http://www.marvell.com/embedded-processors/armada-xp/assets/Marvell-ArmadaXP-SoC-product%20brief.pdf
103-
104-
No public datasheet available.
105+
Functional Spec: http://www.marvell.com/embedded-processors/armada-xp/assets/ARMADA-XP-Functional-SpecDatasheet.pdf
105106

106107
Core: Sheeva ARMv7 compatible
107108

@@ -135,7 +136,9 @@ Dove family (application processor)
135136
Functional Spec : http://www.marvell.com/application-processors/armada-500/assets/Armada-510-Functional-Spec.pdf
136137
Homepage: http://www.marvell.com/application-processors/armada-500/
137138
Core: ARMv7 compatible
138-
Directory: arch/arm/mach-dove
139+
140+
Directory: arch/arm/mach-mvebu (DT enabled platforms)
141+
arch/arm/mach-dove (non-DT enabled platforms)
139142

140143
PXA 2xx/3xx/93x/95x family
141144
--------------------------
@@ -253,10 +256,10 @@ Berlin family (Digital Entertainment)
253256
Long-term plans
254257
---------------
255258

256-
* Unify the mach-dove/, mach-mv78xx0/, mach-orion5x/ and
257-
mach-kirkwood/ into the mach-mvebu/ to support all SoCs from the
258-
Marvell EBU (Engineering Business Unit) in a single mach-<foo>
259-
directory. The plat-orion/ would therefore disappear.
259+
* Unify the mach-dove/, mach-mv78xx0/, mach-orion5x/ into the
260+
mach-mvebu/ to support all SoCs from the Marvell EBU (Engineering
261+
Business Unit) in a single mach-<foo> directory. The plat-orion/
262+
would therefore disappear.
260263

261264
* Unify the mach-mmp/ and mach-pxa/ into the same mach-pxa
262265
directory. The plat-pxa/ would therefore disappear.

‎Documentation/devicetree/bindings/arm/arm-boards‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,9 @@ Interrupt controllers:
8686
compatible = "arm,versatile-sic";
8787
interrupt-controller;
8888
#interrupt-cells = <1>;
89+
90+
Required nodes:
91+
92+
- core-module: the root node to the Versatile platforms must have
93+
a core-module with regs and the compatible strings
94+
"arm,core-module-versatile", "syscon"

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ Example:
3131
reboot-offset = <0x4>;
3232
};
3333

34+
-----------------------------------------------------------------------
35+
Hisilicon CPU controller
36+
37+
Required properties:
38+
- compatible : "hisilicon,cpuctrl"
39+
- reg : Register address and size
40+
41+
The clock registers and power registers of secondary cores are defined
42+
in CPU controller, especially in HIX5HD2 SoC.
43+
44+
-----------------------------------------------------------------------
3445
PCTRL: Peripheral misc control register
3546

3647
Required Properties:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Mediatek MT6589 Platforms Device Tree Bindings
2+
3+
Boards with a SoC of the Mediatek MT6589 shall have the following property:
4+
5+
Required root node property:
6+
7+
compatible: must contain "mediatek,mt6589"
8+

‎Documentation/devicetree/bindings/clock/arm-integrator.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Clock bindings for ARM Integrator Core Module clocks
1+
Clock bindings for ARM Integrator and Versatile Core Module clocks
22

33
Auxilary Oscillator Clock
44

@@ -12,7 +12,7 @@ parent node.
1212

1313

1414
Required properties:
15-
- compatible: must be "arm,integrator-cm-auxosc"
15+
- compatible: must be "arm,integrator-cm-auxosc" or "arm,versatile-cm-auxosc"
1616
- #clock-cells: must be <0>
1717

1818
Optional properties:
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
* Samsung Audio Subsystem Clock Controller
2+
3+
The Samsung Audio Subsystem clock controller generates and supplies clocks
4+
to Audio Subsystem block available in the S5PV210 and compatible SoCs.
5+
6+
Required Properties:
7+
8+
- compatible: should be "samsung,s5pv210-audss-clock".
9+
- reg: physical base address and length of the controller's register set.
10+
11+
- #clock-cells: should be 1.
12+
13+
- clocks:
14+
- hclk: AHB bus clock of the Audio Subsystem.
15+
- xxti: Optional fixed rate PLL reference clock, parent of mout_audss. If
16+
not specified (i.e. xusbxti is used for PLL reference), it is fixed to
17+
a clock named "xxti".
18+
- fout_epll: Input PLL to the AudioSS block, parent of mout_audss.
19+
- iiscdclk0: Optional external i2s clock, parent of mout_i2s. If not
20+
specified, it is fixed to a clock named "iiscdclk0".
21+
- sclk_audio0: Audio bus clock, parent of mout_i2s.
22+
23+
- clock-names: Aliases for the above clocks. They should be "hclk",
24+
"xxti", "fout_epll", "iiscdclk0", and "sclk_audio0" respectively.
25+
26+
All available clocks are defined as preprocessor macros in
27+
dt-bindings/clock/s5pv210-audss-clk.h header and can be used in device
28+
tree sources.
29+
30+
Example: Clock controller node.
31+
32+
clk_audss: clock-controller@c0900000 {
33+
compatible = "samsung,s5pv210-audss-clock";
34+
reg = <0xc0900000 0x1000>;
35+
#clock-cells = <1>;
36+
clock-names = "hclk", "xxti",
37+
"fout_epll", "sclk_audio0";
38+
clocks = <&clocks DOUT_HCLKP>, <&xxti>,
39+
<&clocks FOUT_EPLL>, <&clocks SCLK_AUDIO0>;
40+
};
41+
42+
Example: I2S controller node that consumes the clock generated by the clock
43+
controller. Refer to the standard clock bindings for information
44+
about 'clocks' and 'clock-names' property.
45+
46+
i2s0: i2s@03830000 {
47+
/* ... */
48+
clock-names = "iis", "i2s_opclk0",
49+
"i2s_opclk1";
50+
clocks = <&clk_audss CLK_I2S>, <&clk_audss CLK_I2S>,
51+
<&clk_audss CLK_DOUT_AUD_BUS>;
52+
/* ... */
53+
};
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
* Clock bindings for Freescale i.MX1 CPUs
2+
3+
Required properties:
4+
- compatible: Should be "fsl,imx1-ccm".
5+
- reg: Address and length of the register set.
6+
- #clock-cells: Should be <1>.
7+
8+
The clock consumer should specify the desired clock by having the clock
9+
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h
10+
for the full list of i.MX1 clock IDs.
11+
12+
Examples:
13+
clks: ccm@0021b000 {
14+
#clock-cells = <1>;
15+
compatible = "fsl,imx1-ccm";
16+
reg = <0x0021b000 0x1000>;
17+
};
18+
19+
pwm: pwm@00208000 {
20+
#pwm-cells = <2>;
21+
compatible = "fsl,imx1-pwm";
22+
reg = <0x00208000 0x1000>;
23+
interrupts = <34>;
24+
clocks = <&clks IMX1_CLK_DUMMY>, <&clks IMX1_CLK_PER1>;
25+
clock-names = "ipg", "per";
26+
};
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
* Clock bindings for Freescale i.MX21
2+
3+
Required properties:
4+
- compatible : Should be "fsl,imx21-ccm".
5+
- reg : Address and length of the register set.
6+
- interrupts : Should contain CCM interrupt.
7+
- #clock-cells: Should be <1>.
8+
9+
The clock consumer should specify the desired clock by having the clock
10+
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx21-clock.h
11+
for the full list of i.MX21 clock IDs.
12+
13+
Examples:
14+
clks: ccm@10027000{
15+
compatible = "fsl,imx21-ccm";
16+
reg = <0x10027000 0x800>;
17+
#clock-cells = <1>;
18+
};
19+
20+
uart1: serial@1000a000 {
21+
compatible = "fsl,imx21-uart";
22+
reg = <0x1000a000 0x1000>;
23+
interrupts = <20>;
24+
clocks = <&clks IMX21_CLK_UART1_IPG_GATE>,
25+
<&clks IMX21_CLK_PER1>;
26+
clock-names = "ipg", "per";
27+
status = "disabled";
28+
};

‎Documentation/devicetree/bindings/clock/imx27-clock.txt‎

Lines changed: 16 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -7,117 +7,22 @@ Required properties:
77
- #clock-cells: Should be <1>
88

99
The clock consumer should specify the desired clock by having the clock
10-
ID in its "clocks" phandle cell. The following is a full list of i.MX27
11-
clocks and IDs.
12-
13-
Clock ID
14-
-----------------------
15-
dummy 0
16-
ckih 1
17-
ckil 2
18-
mpll 3
19-
spll 4
20-
mpll_main2 5
21-
ahb 6
22-
ipg 7
23-
nfc_div 8
24-
per1_div 9
25-
per2_div 10
26-
per3_div 11
27-
per4_div 12
28-
vpu_sel 13
29-
vpu_div 14
30-
usb_div 15
31-
cpu_sel 16
32-
clko_sel 17
33-
cpu_div 18
34-
clko_div 19
35-
ssi1_sel 20
36-
ssi2_sel 21
37-
ssi1_div 22
38-
ssi2_div 23
39-
clko_en 24
40-
ssi2_ipg_gate 25
41-
ssi1_ipg_gate 26
42-
slcdc_ipg_gate 27
43-
sdhc3_ipg_gate 28
44-
sdhc2_ipg_gate 29
45-
sdhc1_ipg_gate 30
46-
scc_ipg_gate 31
47-
sahara_ipg_gate 32
48-
rtc_ipg_gate 33
49-
pwm_ipg_gate 34
50-
owire_ipg_gate 35
51-
lcdc_ipg_gate 36
52-
kpp_ipg_gate 37
53-
iim_ipg_gate 38
54-
i2c2_ipg_gate 39
55-
i2c1_ipg_gate 40
56-
gpt6_ipg_gate 41
57-
gpt5_ipg_gate 42
58-
gpt4_ipg_gate 43
59-
gpt3_ipg_gate 44
60-
gpt2_ipg_gate 45
61-
gpt1_ipg_gate 46
62-
gpio_ipg_gate 47
63-
fec_ipg_gate 48
64-
emma_ipg_gate 49
65-
dma_ipg_gate 50
66-
cspi3_ipg_gate 51
67-
cspi2_ipg_gate 52
68-
cspi1_ipg_gate 53
69-
nfc_baud_gate 54
70-
ssi2_baud_gate 55
71-
ssi1_baud_gate 56
72-
vpu_baud_gate 57
73-
per4_gate 58
74-
per3_gate 59
75-
per2_gate 60
76-
per1_gate 61
77-
usb_ahb_gate 62
78-
slcdc_ahb_gate 63
79-
sahara_ahb_gate 64
80-
lcdc_ahb_gate 65
81-
vpu_ahb_gate 66
82-
fec_ahb_gate 67
83-
emma_ahb_gate 68
84-
emi_ahb_gate 69
85-
dma_ahb_gate 70
86-
csi_ahb_gate 71
87-
brom_ahb_gate 72
88-
ata_ahb_gate 73
89-
wdog_ipg_gate 74
90-
usb_ipg_gate 75
91-
uart6_ipg_gate 76
92-
uart5_ipg_gate 77
93-
uart4_ipg_gate 78
94-
uart3_ipg_gate 79
95-
uart2_ipg_gate 80
96-
uart1_ipg_gate 81
97-
ckih_div1p5 82
98-
fpm 83
99-
mpll_osc_sel 84
100-
mpll_sel 85
101-
spll_gate 86
102-
mshc_div 87
103-
rtic_ipg_gate 88
104-
mshc_ipg_gate 89
105-
rtic_ahb_gate 90
106-
mshc_baud_gate 91
10+
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx27-clock.h
11+
for the full list of i.MX27 clock IDs.
10712

10813
Examples:
14+
clks: ccm@10027000{
15+
compatible = "fsl,imx27-ccm";
16+
reg = <0x10027000 0x1000>;
17+
#clock-cells = <1>;
18+
};
10919

110-
clks: ccm@10027000{
111-
compatible = "fsl,imx27-ccm";
112-
reg = <0x10027000 0x1000>;
113-
#clock-cells = <1>;
114-
};
115-
116-
uart1: serial@1000a000 {
117-
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
118-
reg = <0x1000a000 0x1000>;
119-
interrupts = <20>;
120-
clocks = <&clks 81>, <&clks 61>;
121-
clock-names = "ipg", "per";
122-
status = "disabled";
123-
};
20+
uart1: serial@1000a000 {
21+
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
22+
reg = <0x1000a000 0x1000>;
23+
interrupts = <20>;
24+
clocks = <&clks IMX27_CLK_UART1_IPG_GATE>,
25+
<&clks IMX27_CLK_PER1_GATE>;
26+
clock-names = "ipg", "per";
27+
status = "disabled";
28+
};

0 commit comments

Comments
 (0)