-
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 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/arm/arm-soc Pull ARM SoC driver updates from Olof Johansson: "Some releases this branch is nearly empty, others we have more stuff. It tends to gather drivers that need SoC modification or dependencies such that they have to (also) go in through our tree. For this release, we have merged in part of the reset controller tree (with handshake that the parts we have merged in will remain stable), as well as dependencies on a few clock branches. In general, new items here are: - Qualcomm driver for SMM/SMD, which is how they communicate with the coprocessors on (some) of their platforms - memory controller work for ARM's PL172 memory controller - reset drivers for various platforms - PMU power domain support for Marvell platforms - Tegra support for T132/T210 SoCs: PMC, fuse, memory controller per-SoC support" * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (49 commits) ARM: tegra: cpuidle: implement cpuidle_state.enter_freeze() ARM: tegra: Disable cpuidle if PSCI is available soc/tegra: pmc: Use existing pclk reference soc/tegra: pmc: Remove unnecessary return statement soc: tegra: Remove redundant $(CONFIG_ARCH_TEGRA) in Makefile memory: tegra: Add Tegra210 support memory: tegra: Add support for a variable-size client ID bitfield clk: shmobile: rz: Add CPG/MSTP Clock Domain support clk: shmobile: rcar-gen2: Add CPG/MSTP Clock Domain support clk: shmobile: r8a7779: Add CPG/MSTP Clock Domain support clk: shmobile: r8a7778: Add CPG/MSTP Clock Domain support clk: shmobile: Add CPG/MSTP Clock Domain support ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets reset: reset-zynq: Adding support for Xilinx Zynq reset controller. docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings. MIPS: ath79: Add the reset controller to the AR9132 dtsi reset: Add a driver for the reset controller on the AR71XX/AR9XXX devicetree: Add bindings for the ATH79 reset controller reset: socfpga: Update reset-socfpga to read the altr,modrst-offset property doc: dt: add documentation for lpc1850-rgu reset driver ...
- Loading branch information
Showing
88 changed files
with
6,781 additions
and
498 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
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
44 changes: 44 additions & 0 deletions
44
Documentation/devicetree/bindings/cpufreq/tegra124-cpufreq.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,44 @@ | ||
Tegra124 CPU frequency scaling driver bindings | ||
---------------------------------------------- | ||
|
||
Both required and optional properties listed below must be defined | ||
under node /cpus/cpu@0. | ||
|
||
Required properties: | ||
- clocks: Must contain an entry for each entry in clock-names. | ||
See ../clocks/clock-bindings.txt for details. | ||
- clock-names: Must include the following entries: | ||
- cpu_g: Clock mux for the fast CPU cluster. | ||
- cpu_lp: Clock mux for the low-power CPU cluster. | ||
- pll_x: Fast PLL clocksource. | ||
- pll_p: Auxiliary PLL used during fast PLL rate changes. | ||
- dfll: Fast DFLL clocksource that also automatically scales CPU voltage. | ||
- vdd-cpu-supply: Regulator for CPU voltage | ||
|
||
Optional properties: | ||
- clock-latency: Specify the possible maximum transition latency for clock, | ||
in unit of nanoseconds. | ||
|
||
Example: | ||
-------- | ||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
device_type = "cpu"; | ||
compatible = "arm,cortex-a15"; | ||
reg = <0>; | ||
|
||
clocks = <&tegra_car TEGRA124_CLK_CCLK_G>, | ||
<&tegra_car TEGRA124_CLK_CCLK_LP>, | ||
<&tegra_car TEGRA124_CLK_PLL_X>, | ||
<&tegra_car TEGRA124_CLK_PLL_P>, | ||
<&dfll>; | ||
clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll"; | ||
clock-latency = <300000>; | ||
vdd-cpu-supply: <&vdd_cpu>; | ||
}; | ||
|
||
<...> | ||
}; |
125 changes: 125 additions & 0 deletions
125
Documentation/devicetree/bindings/memory-controllers/arm,pl172.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,125 @@ | ||
* Device tree bindings for ARM PL172 MultiPort Memory Controller | ||
|
||
Required properties: | ||
|
||
- compatible: "arm,pl172", "arm,primecell" | ||
|
||
- reg: Must contains offset/length value for controller. | ||
|
||
- #address-cells: Must be 2. The partition number has to be encoded in the | ||
first address cell and it may accept values 0..N-1 | ||
(N - total number of partitions). The second cell is the | ||
offset into the partition. | ||
|
||
- #size-cells: Must be set to 1. | ||
|
||
- ranges: Must contain one or more chip select memory regions. | ||
|
||
- clocks: Must contain references to controller clocks. | ||
|
||
- clock-names: Must contain "mpmcclk" and "apb_pclk". | ||
|
||
- clock-ranges: Empty property indicating that child nodes can inherit | ||
named clocks. Required only if clock tree data present | ||
in device tree. | ||
See clock-bindings.txt | ||
|
||
Child chip-select (cs) nodes contain the memory devices nodes connected to | ||
such as NOR (e.g. cfi-flash) and NAND. | ||
|
||
Required child cs node properties: | ||
|
||
- #address-cells: Must be 2. | ||
|
||
- #size-cells: Must be 1. | ||
|
||
- ranges: Empty property indicating that child nodes can inherit | ||
memory layout. | ||
|
||
- clock-ranges: Empty property indicating that child nodes can inherit | ||
named clocks. Required only if clock tree data present | ||
in device tree. | ||
|
||
- mpmc,cs: Chip select number. Indicates to the pl0172 driver | ||
which chipselect is used for accessing the memory. | ||
|
||
- mpmc,memory-width: Width of the chip select memory. Must be equal to | ||
either 8, 16 or 32. | ||
|
||
Optional child cs node config properties: | ||
|
||
- mpmc,async-page-mode: Enable asynchronous page mode. | ||
|
||
- mpmc,cs-active-high: Set chip select polarity to active high. | ||
|
||
- mpmc,byte-lane-low: Set byte lane state to low. | ||
|
||
- mpmc,extended-wait: Enable extended wait. | ||
|
||
- mpmc,buffer-enable: Enable write buffer. | ||
|
||
- mpmc,write-protect: Enable write protect. | ||
|
||
Optional child cs node timing properties: | ||
|
||
- mpmc,write-enable-delay: Delay from chip select assertion to write | ||
enable (WE signal) in nano seconds. | ||
|
||
- mpmc,output-enable-delay: Delay from chip select assertion to output | ||
enable (OE signal) in nano seconds. | ||
|
||
- mpmc,write-access-delay: Delay from chip select assertion to write | ||
access in nano seconds. | ||
|
||
- mpmc,read-access-delay: Delay from chip select assertion to read | ||
access in nano seconds. | ||
|
||
- mpmc,page-mode-read-delay: Delay for asynchronous page mode sequential | ||
accesses in nano seconds. | ||
|
||
- mpmc,turn-round-delay: Delay between access to memory banks in nano | ||
seconds. | ||
|
||
If any of the above timing parameters are absent, current parameter value will | ||
be taken from the corresponding HW reg. | ||
|
||
Example for pl172 with nor flash on chip select 0 shown below. | ||
|
||
emc: memory-controller@40005000 { | ||
compatible = "arm,pl172", "arm,primecell"; | ||
reg = <0x40005000 0x1000>; | ||
clocks = <&ccu1 CLK_CPU_EMCDIV>, <&ccu1 CLK_CPU_EMC>; | ||
clock-names = "mpmcclk", "apb_pclk"; | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
ranges = <0 0 0x1c000000 0x1000000 | ||
1 0 0x1d000000 0x1000000 | ||
2 0 0x1e000000 0x1000000 | ||
3 0 0x1f000000 0x1000000>; | ||
|
||
cs0 { | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
ranges; | ||
|
||
mpmc,cs = <0>; | ||
mpmc,memory-width = <16>; | ||
mpmc,byte-lane-low; | ||
mpmc,write-enable-delay = <0>; | ||
mpmc,output-enable-delay = <0>; | ||
mpmc,read-enable-delay = <70>; | ||
mpmc,page-mode-read-delay = <70>; | ||
|
||
flash@0,0 { | ||
compatible = "sst,sst39vf320", "cfi-flash"; | ||
reg = <0 0 0x400000>; | ||
bank-width = <2>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
partition@0 { | ||
label = "data"; | ||
reg = <0 0x400000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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,20 @@ | ||
Binding for Qualcomm Atheros AR7xxx/AR9XXX reset controller | ||
|
||
Please also refer to reset.txt in this directory for common reset | ||
controller binding usage. | ||
|
||
Required Properties: | ||
- compatible: has to be "qca,<soctype>-reset", "qca,ar7100-reset" | ||
as fallback | ||
- reg: Base address and size of the controllers memory area | ||
- #reset-cells : Specifies the number of cells needed to encode reset | ||
line, should be 1 | ||
|
||
Example: | ||
|
||
reset-controller@1806001c { | ||
compatible = "qca,ar9132-reset", "qca,ar7100-reset"; | ||
reg = <0x1806001c 0x4>; | ||
|
||
#reset-cells = <1>; | ||
}; |
Oops, something went wrong.