forked from torvalds/linux
-
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 'drivers-for-3.16' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/arm/arm-soc into next Pull ARM SoC driver changes from Olof Johansson: "SoC-near driver changes that we're merging through our tree. Mostly because they depend on other changes we have staged, but in some cases because the driver maintainers preferred that we did it this way. This contains a largeish cleanup series of the omap_l3_noc bus driver, cpuidle rework for Exynos, some reset driver conversions and a long branch of TI EDMA fixes and cleanups, with more to come next release. The TI EDMA cleanups is a shared branch with the dmaengine tree, with a handful of Davinci-specific fixes on top. After discussion at last year's KS (and some more on the mailing lists), we are here adding a drivers/soc directory. The purpose of this is to keep per-vendor shared code that's needed by different drivers but that doesn't fit into the MFD (nor drivers/platform) model. We expect to keep merging contents for this hierarchy through arm-soc so we can keep an eye on what the vendors keep adding here and not making it a free-for-all to shove in crazy stuff" * tag 'drivers-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (101 commits) cpufreq: exynos: Fix driver compilation with ARCH_MULTIPLATFORM tty: serial: msm: Remove direct access to GSBI power: reset: keystone-reset: introduce keystone reset driver Documentation: dt: add bindings for keystone pll control controller Documentation: dt: add bindings for keystone reset driver soc: qcom: fix of_device_id table ARM: EXYNOS: Fix kernel panic when unplugging CPU1 on exynos ARM: EXYNOS: Move the driver to drivers/cpuidle directory ARM: EXYNOS: Cleanup all unneeded headers from cpuidle.c ARM: EXYNOS: Pass the AFTR callback to the platform_data ARM: EXYNOS: Move S5P_CHECK_SLEEP into pm.c ARM: EXYNOS: Move the power sequence call in the cpu_pm notifier ARM: EXYNOS: Move the AFTR state function into pm.c ARM: EXYNOS: Encapsulate the AFTR code into a function ARM: EXYNOS: Disable cpuidle for exynos5440 ARM: EXYNOS: Encapsulate boot vector code into a function for cpuidle ARM: EXYNOS: Pass wakeup mask parameter to function for cpuidle ARM: EXYNOS: Remove ifdef for scu_enable in pm ARM: EXYNOS: Move scu_enable in the cpu_pm notifier ARM: EXYNOS: Use the cpu_pm notifier for pm ...
- Loading branch information
Showing
58 changed files
with
2,605 additions
and
1,062 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
What: /sys/devices/../../gisb_arb_timeout | ||
Date: May 2014 | ||
KernelVersion: 3.17 | ||
Contact: Florian Fainelli <[email protected]> | ||
Description: | ||
Returns the currently configured raw timeout value of the | ||
Broadcom Set Top Box internal GISB bus arbiter. Minimum value | ||
is 1, and maximum value is 0xffffffff. |
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,30 @@ | ||
Broadcom GISB bus Arbiter controller | ||
|
||
Required properties: | ||
|
||
- compatible: should be "brcm,gisb-arb" | ||
- reg: specifies the base physical address and size of the registers | ||
- interrupt-parent: specifies the phandle to the parent interrupt controller | ||
this arbiter gets interrupt line from | ||
- interrupts: specifies the two interrupts (timeout and TEA) to be used from | ||
the parent interrupt controller | ||
|
||
Optional properties: | ||
|
||
- brcm,gisb-arb-master-mask: 32-bits wide bitmask used to specify which GISB | ||
masters are valid at the system level | ||
- brcm,gisb-arb-master-names: string list of the litteral name of the GISB | ||
masters. Should match the number of bits set in brcm,gisb-master-mask and | ||
the order in which they appear | ||
|
||
Example: | ||
|
||
gisb-arb@f0400000 { | ||
compatible = "brcm,gisb-arb"; | ||
reg = <0xf0400000 0x800>; | ||
interrupts = <0>, <2>; | ||
interrupt-parent = <&sun_l2_intc>; | ||
|
||
brcm,gisb-arb-master-mask = <0x7>; | ||
brcm,gisb-arb-master-names = "bsp_0", "scpu_0", "cpu_0"; | ||
}; |
20 changes: 20 additions & 0 deletions
20
Documentation/devicetree/bindings/clock/ti-keystone-pllctrl.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,20 @@ | ||
* Device tree bindings for Texas Instruments keystone pll controller | ||
|
||
The main pll controller used to drive theC66x CorePacs, the switch fabric, | ||
and a majority of the peripheral clocks (all but the ARM CorePacs, DDR3 and | ||
the NETCP modules) requires a PLL Controller to manage the various clock | ||
divisions, gating, and synchronization. | ||
|
||
Required properties: | ||
|
||
- compatible: "ti,keystone-pllctrl", "syscon" | ||
|
||
- reg: contains offset/length value for pll controller | ||
registers space. | ||
|
||
Example: | ||
|
||
pllctrl: pll-controller@0x02310000 { | ||
compatible = "ti,keystone-pllctrl", "syscon"; | ||
reg = <0x02310000 0x200>; | ||
}; |
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
67 changes: 67 additions & 0 deletions
67
Documentation/devicetree/bindings/power/reset/keystone-reset.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,67 @@ | ||
* Device tree bindings for Texas Instruments keystone reset | ||
|
||
This node is intended to allow SoC reset in case of software reset | ||
of selected watchdogs. | ||
|
||
The Keystone SoCs can contain up to 4 watchdog timers to reset | ||
SoC. Each watchdog timer event input is connected to the Reset Mux | ||
block. The Reset Mux block can be configured to cause reset or not. | ||
|
||
Additionally soft or hard reset can be configured. | ||
|
||
Required properties: | ||
|
||
- compatible: ti,keystone-reset | ||
|
||
- ti,syscon-pll: phandle/offset pair. The phandle to syscon used to | ||
access pll controller registers and the offset to use | ||
reset control registers. | ||
|
||
- ti,syscon-dev: phandle/offset pair. The phandle to syscon used to | ||
access device state control registers and the offset | ||
in order to use mux block registers for all watchdogs. | ||
|
||
Optional properties: | ||
|
||
- ti,soft-reset: Boolean option indicating soft reset. | ||
By default hard reset is used. | ||
|
||
- ti,wdt-list: WDT list that can cause SoC reset. It's not related | ||
to WDT driver, it's just needed to enable a SoC related | ||
reset that's triggered by one of WDTs. The list is | ||
in format: <0>, <2>; It can be in random order and | ||
begins from 0 to 3, as keystone can contain up to 4 SoC | ||
reset watchdogs and can be in random order. | ||
|
||
Example 1: | ||
Setup keystone reset so that in case software reset or | ||
WDT0 is triggered it issues hard reset for SoC. | ||
|
||
pllctrl: pll-controller@02310000 { | ||
compatible = "ti,keystone-pllctrl", "syscon"; | ||
reg = <0x02310000 0x200>; | ||
}; | ||
|
||
devctrl: device-state-control@02620000 { | ||
compatible = "ti,keystone-devctrl", "syscon"; | ||
reg = <0x02620000 0x1000>; | ||
}; | ||
|
||
rstctrl: reset-controller { | ||
compatible = "ti,keystone-reset"; | ||
ti,syscon-pll = <&pllctrl 0xe4>; | ||
ti,syscon-dev = <&devctrl 0x328>; | ||
ti,wdt-list = <0>; | ||
}; | ||
|
||
Example 2: | ||
Setup keystone reset so that in case of software reset or | ||
WDT0 or WDT2 is triggered it issues soft reset for SoC. | ||
|
||
rstctrl: reset-controller { | ||
compatible = "ti,keystone-reset"; | ||
ti,syscon-pll = <&pllctrl 0xe4>; | ||
ti,syscon-dev = <&devctrl 0x328>; | ||
ti,wdt-list = <0>, <2>; | ||
ti,soft-reset; | ||
}; |
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.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,21 @@ | ||
Allwinner sunxi Peripheral Reset Controller | ||
=========================================== | ||
|
||
Please also refer to reset.txt in this directory for common reset | ||
controller binding usage. | ||
|
||
Required properties: | ||
- compatible: Should be one of the following: | ||
"allwinner,sun6i-a31-ahb1-reset" | ||
"allwinner,sun6i-a31-clock-reset" | ||
- reg: should be register base and length as documented in the | ||
datasheet | ||
- #reset-cells: 1, see below | ||
|
||
example: | ||
|
||
ahb1_rst: reset@01c202c0 { | ||
#reset-cells = <1>; | ||
compatible = "allwinner,sun6i-a31-ahb1-reset"; | ||
reg = <0x01c202c0 0xc>; | ||
}; |
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
Oops, something went wrong.