-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/…
…arm-soc Pull ARM SoC-specific updates from Arnd Bergmann: "This is a larger set of new functionality for the existing SoC families, including: - vt8500 gains support for new CPU cores, notably the Cortex-A9 based wm8850 - prima2 gains support for the "marco" SoC family, its SMP based cousin - tegra gains support for the new Tegra4 (Tegra114) family - socfpga now supports a newer version of the hardware including SMP - i.mx31 and bcm2835 are now using DT probing for their clocks - lots of updates for sh-mobile - OMAP updates for clocks, power management and USB - i.mx6q and tegra now support cpuidle - kirkwood now supports PCIe hot plugging - tegra clock support is updated - tegra USB PHY probing gets implemented diffently" * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (148 commits) ARM: prima2: remove duplicate v7_invalidate_l1 ARM: shmobile: r8a7779: Correct TMU clock support again ARM: prima2: fix __init section for cpu hotplug ARM: OMAP: Consolidate OMAP USB-HS platform data (part 3/3) ARM: OMAP: Consolidate OMAP USB-HS platform data (part 1/3) arm: socfpga: Add SMP support for actual socfpga harware arm: Add v7_invalidate_l1 to cache-v7.S arm: socfpga: Add entries to enable make dtbs socfpga arm: socfpga: Add new device tree source for actual socfpga HW ARM: tegra: sort Kconfig selects for Tegra114 ARM: tegra: enable ARCH_REQUIRE_GPIOLIB for Tegra114 ARM: tegra: Fix build error w/ ARCH_TEGRA_114_SOC w/o ARCH_TEGRA_3x_SOC ARM: tegra: Fix build error for gic update ARM: tegra: remove empty tegra_smp_init_cpus() ARM: shmobile: Register ARM architected timer ARM: MARCO: fix the build issue due to gic-vic-to-irqchip move ARM: shmobile: r8a7779: Correct TMU clock support ARM: mxs_defconfig: Select CONFIG_DEVTMPFS_MOUNT ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles ARM: mxs: use apbx bus clock to drive the timers on timrotv2 ...
- Loading branch information
Showing
255 changed files
with
11,516 additions
and
9,687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
prima2 "cb" evaluation board | ||
CSR SiRFprimaII and SiRFmarco device tree bindings. | ||
======================================== | ||
|
||
Required root node properties: | ||
- compatible = "sirf,prima2-cb", "sirf,prima2"; | ||
- compatible: | ||
- "sirf,prima2-cb" : prima2 "cb" evaluation board | ||
- "sirf,marco-cb" : marco "cb" evaluation board | ||
- "sirf,prima2" : prima2 device based board | ||
- "sirf,marco" : marco device based board |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
* Clock bindings for Freescale i.MX31 | ||
|
||
Required properties: | ||
- compatible: Should be "fsl,imx31-ccm" | ||
- reg: Address and length of the register set | ||
- interrupts: Should contain CCM interrupt | ||
- #clock-cells: Should be <1> | ||
|
||
The clock consumer should specify the desired clock by having the clock | ||
ID in its "clocks" phandle cell. The following is a full list of i.MX31 | ||
clocks and IDs. | ||
|
||
Clock ID | ||
----------------------- | ||
dummy 0 | ||
ckih 1 | ||
ckil 2 | ||
mpll 3 | ||
spll 4 | ||
upll 5 | ||
mcu_main 6 | ||
hsp 7 | ||
ahb 8 | ||
nfc 9 | ||
ipg 10 | ||
per_div 11 | ||
per 12 | ||
csi_sel 13 | ||
fir_sel 14 | ||
csi_div 15 | ||
usb_div_pre 16 | ||
usb_div_post 17 | ||
fir_div_pre 18 | ||
fir_div_post 19 | ||
sdhc1_gate 20 | ||
sdhc2_gate 21 | ||
gpt_gate 22 | ||
epit1_gate 23 | ||
epit2_gate 24 | ||
iim_gate 25 | ||
ata_gate 26 | ||
sdma_gate 27 | ||
cspi3_gate 28 | ||
rng_gate 29 | ||
uart1_gate 30 | ||
uart2_gate 31 | ||
ssi1_gate 32 | ||
i2c1_gate 33 | ||
i2c2_gate 34 | ||
i2c3_gate 35 | ||
hantro_gate 36 | ||
mstick1_gate 37 | ||
mstick2_gate 38 | ||
csi_gate 39 | ||
rtc_gate 40 | ||
wdog_gate 41 | ||
pwm_gate 42 | ||
sim_gate 43 | ||
ect_gate 44 | ||
usb_gate 45 | ||
kpp_gate 46 | ||
ipu_gate 47 | ||
uart3_gate 48 | ||
uart4_gate 49 | ||
uart5_gate 50 | ||
owire_gate 51 | ||
ssi2_gate 52 | ||
cspi1_gate 53 | ||
cspi2_gate 54 | ||
gacc_gate 55 | ||
emi_gate 56 | ||
rtic_gate 57 | ||
firi_gate 58 | ||
|
||
Examples: | ||
|
||
clks: ccm@53f80000{ | ||
compatible = "fsl,imx31-ccm"; | ||
reg = <0x53f80000 0x4000>; | ||
interrupts = <0 31 0x04 0 53 0x04>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
uart1: serial@43f90000 { | ||
compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | ||
reg = <0x43f90000 0x4000>; | ||
interrupts = <45>; | ||
clocks = <&clks 10>, <&clks 30>; | ||
clock-names = "ipg", "per"; | ||
status = "disabled"; | ||
}; |
205 changes: 205 additions & 0 deletions
205
Documentation/devicetree/bindings/clock/nvidia,tegra20-car.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
NVIDIA Tegra20 Clock And Reset Controller | ||
|
||
This binding uses the common clock binding: | ||
Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
|
||
The CAR (Clock And Reset) Controller on Tegra is the HW module responsible | ||
for muxing and gating Tegra's clocks, and setting their rates. | ||
|
||
Required properties : | ||
- compatible : Should be "nvidia,tegra20-car" | ||
- reg : Should contain CAR registers location and length | ||
- clocks : Should contain phandle and clock specifiers for two clocks: | ||
the 32 KHz "32k_in", and the board-specific oscillator "osc". | ||
- #clock-cells : Should be 1. | ||
In clock consumers, this cell represents the clock ID exposed by the CAR. | ||
|
||
The first 96 clocks are numbered to match the bits in the CAR's CLK_OUT_ENB | ||
registers. These IDs often match those in the CAR's RST_DEVICES registers, | ||
but not in all cases. Some bits in CLK_OUT_ENB affect multiple clocks. In | ||
this case, those clocks are assigned IDs above 95 in order to highlight | ||
this issue. Implementations that interpret these clock IDs as bit values | ||
within the CLK_OUT_ENB or RST_DEVICES registers should be careful to | ||
explicitly handle these special cases. | ||
|
||
The balance of the clocks controlled by the CAR are assigned IDs of 96 and | ||
above. | ||
|
||
0 cpu | ||
1 unassigned | ||
2 unassigned | ||
3 ac97 | ||
4 rtc | ||
5 tmr | ||
6 uart1 | ||
7 unassigned (register bit affects uart2 and vfir) | ||
8 gpio | ||
9 sdmmc2 | ||
10 unassigned (register bit affects spdif_in and spdif_out) | ||
11 i2s1 | ||
12 i2c1 | ||
13 ndflash | ||
14 sdmmc1 | ||
15 sdmmc4 | ||
16 twc | ||
17 pwm | ||
18 i2s2 | ||
19 epp | ||
20 unassigned (register bit affects vi and vi_sensor) | ||
21 2d | ||
22 usbd | ||
23 isp | ||
24 3d | ||
25 ide | ||
26 disp2 | ||
27 disp1 | ||
28 host1x | ||
29 vcp | ||
30 unassigned | ||
31 cache2 | ||
|
||
32 mem | ||
33 ahbdma | ||
34 apbdma | ||
35 unassigned | ||
36 kbc | ||
37 stat_mon | ||
38 pmc | ||
39 fuse | ||
40 kfuse | ||
41 sbc1 | ||
42 snor | ||
43 spi1 | ||
44 sbc2 | ||
45 xio | ||
46 sbc3 | ||
47 dvc | ||
48 dsi | ||
49 unassigned (register bit affects tvo and cve) | ||
50 mipi | ||
51 hdmi | ||
52 csi | ||
53 tvdac | ||
54 i2c2 | ||
55 uart3 | ||
56 unassigned | ||
57 emc | ||
58 usb2 | ||
59 usb3 | ||
60 mpe | ||
61 vde | ||
62 bsea | ||
63 bsev | ||
|
||
64 speedo | ||
65 uart4 | ||
66 uart5 | ||
67 i2c3 | ||
68 sbc4 | ||
69 sdmmc3 | ||
70 pcie | ||
71 owr | ||
72 afi | ||
73 csite | ||
74 unassigned | ||
75 avpucq | ||
76 la | ||
77 unassigned | ||
78 unassigned | ||
79 unassigned | ||
80 unassigned | ||
81 unassigned | ||
82 unassigned | ||
83 unassigned | ||
84 irama | ||
85 iramb | ||
86 iramc | ||
87 iramd | ||
88 cram2 | ||
89 audio_2x a/k/a audio_2x_sync_clk | ||
90 clk_d | ||
91 unassigned | ||
92 sus | ||
93 cdev1 | ||
94 cdev2 | ||
95 unassigned | ||
|
||
96 uart2 | ||
97 vfir | ||
98 spdif_in | ||
99 spdif_out | ||
100 vi | ||
101 vi_sensor | ||
102 tvo | ||
103 cve | ||
104 osc | ||
105 clk_32k a/k/a clk_s | ||
106 clk_m | ||
107 sclk | ||
108 cclk | ||
109 hclk | ||
110 pclk | ||
111 blink | ||
112 pll_a | ||
113 pll_a_out0 | ||
114 pll_c | ||
115 pll_c_out1 | ||
116 pll_d | ||
117 pll_d_out0 | ||
118 pll_e | ||
119 pll_m | ||
120 pll_m_out1 | ||
121 pll_p | ||
122 pll_p_out1 | ||
123 pll_p_out2 | ||
124 pll_p_out3 | ||
125 pll_p_out4 | ||
126 pll_s | ||
127 pll_u | ||
128 pll_x | ||
129 cop a/k/a avp | ||
130 audio a/k/a audio_sync_clk | ||
131 pll_ref | ||
132 twd | ||
|
||
Example SoC include file: | ||
|
||
/ { | ||
tegra_car: clock { | ||
compatible = "nvidia,tegra20-car"; | ||
reg = <0x60006000 0x1000>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
usb@c5004000 { | ||
clocks = <&tegra_car 58>; /* usb2 */ | ||
}; | ||
}; | ||
|
||
Example board file: | ||
|
||
/ { | ||
clocks { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
osc: clock@0 { | ||
compatible = "fixed-clock"; | ||
reg = <0>; | ||
#clock-cells = <0>; | ||
clock-frequency = <12000000>; | ||
}; | ||
|
||
clk_32k: clock@1 { | ||
compatible = "fixed-clock"; | ||
reg = <1>; | ||
#clock-cells = <0>; | ||
clock-frequency = <32768>; | ||
}; | ||
}; | ||
|
||
&tegra_car { | ||
clocks = <&clk_32k> <&osc>; | ||
}; | ||
}; |
Oops, something went wrong.