forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
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 Arnd Bergmann: "This branch contains platform-related driver updates for ARM and ARM64, these are the areas that bring the changes: New drivers: - driver support for Renesas R-Car V3M (R8A77970) - power management support for Amlogic GX - a new driver for the Tegra BPMP thermal sensor - a new bus driver for Technologic Systems NBUS Changes for subsystems that prefer to merge through arm-soc: - the usual updates for reset controller drivers from Philipp Zabel, with five added drivers for SoCs in the arc, meson, socfpa, uniphier and mediatek families - updates to the ARM SCPI and PSCI frameworks, from Sudeep Holla, Heiner Kallweit and Lorenzo Pieralisi Changes specific to some ARM-based SoC - the Freescale/NXP DPAA QBMan drivers from PowerPC can now work on ARM as well - several changes for power management on Broadcom SoCs - various improvements on Qualcomm, Broadcom, Amlogic, Atmel, Mediatek - minor Cleanups for Samsung, TI OMAP SoCs" [ NOTE! This doesn't work without the previous ARM SoC device-tree pull, because the R8A77970 driver is missing a header file that came from that pull. The fact that this got merged afterwards only fixes it at this point, and bisection of that driver will fail if/when you walk into the history of that driver. - Linus ] * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (96 commits) soc: amlogic: meson-gx-pwrc-vpu: fix power-off when powered by bootloader bus: add driver for the Technologic Systems NBUS memory: omap-gpmc: Remove deprecated gpmc_update_nand_reg() soc: qcom: remove unused label soc: amlogic: gx pm domain: add PM and OF dependencies drivers/firmware: psci_checker: Add missing destroy_timer_on_stack() dt-bindings: power: add amlogic meson power domain bindings soc: amlogic: add Meson GX VPU Domains driver soc: qcom: Remote filesystem memory driver dt-binding: soc: qcom: Add binding for rmtfs memory of: reserved_mem: Accessor for acquiring reserved_mem of/platform: Generalize /reserved-memory handling soc: mediatek: pwrap: fix fatal compiler error soc: mediatek: pwrap: fix compiler errors arm64: mediatek: cleanup message for platform selection soc: Allow test-building of MediaTek drivers soc: mediatek: place Kconfig for all SoC drivers under menu soc: mediatek: pwrap: add support for MT7622 SoC soc: mediatek: pwrap: add common way for setup CS timing extenstion soc: mediatek: pwrap: add MediaTek MT6380 as one slave of pwrap ..
- Loading branch information
Showing
110 changed files
with
6,933 additions
and
996 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
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.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,27 @@ | ||
DDR PHY Front End (DPFE) for Broadcom STB | ||
========================================= | ||
|
||
DPFE and the DPFE firmware provide an interface for the host CPU to | ||
communicate with the DCPU, which resides inside the DDR PHY. | ||
|
||
There are three memory regions for interacting with the DCPU. These are | ||
specified in a single reg property. | ||
|
||
Required properties: | ||
- compatible: must be "brcm,bcm7271-dpfe-cpu", "brcm,bcm7268-dpfe-cpu" | ||
or "brcm,dpfe-cpu" | ||
- reg: must reference three register ranges | ||
- start address and length of the DCPU register space | ||
- start address and length of the DCPU data memory space | ||
- start address and length of the DCPU instruction memory space | ||
- reg-names: must contain "dpfe-cpu", "dpfe-dmem", and "dpfe-imem"; | ||
they must be in the same order as the register declarations | ||
|
||
Example: | ||
dpfe_cpu0: dpfe-cpu@f1132000 { | ||
compatible = "brcm,bcm7271-dpfe-cpu", "brcm,dpfe-cpu"; | ||
reg = <0xf1132000 0x180 | ||
0xf1134000 0x1000 | ||
0xf1138000 0x4000>; | ||
reg-names = "dpfe-cpu", "dpfe-dmem", "dpfe-imem"; | ||
}; |
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
61 changes: 61 additions & 0 deletions
61
Documentation/devicetree/bindings/power/amlogic,meson-gx-pwrc.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,61 @@ | ||
Amlogic Meson Power Controller | ||
============================== | ||
|
||
The Amlogic Meson SoCs embeds an internal Power domain controller. | ||
|
||
VPU Power Domain | ||
---------------- | ||
|
||
The Video Processing Unit power domain is controlled by this power controller, | ||
but the domain requires some external resources to meet the correct power | ||
sequences. | ||
The bindings must respect the power domain bindings as described in the file | ||
power_domain.txt | ||
|
||
Device Tree Bindings: | ||
--------------------- | ||
|
||
Required properties: | ||
- compatible: should be "amlogic,meson-gx-pwrc-vpu" for the Meson GX SoCs | ||
- #power-domain-cells: should be 0 | ||
- amlogic,hhi-sysctrl: phandle to the HHI sysctrl node | ||
- resets: phandles to the reset lines needed for this power demain sequence | ||
as described in ../reset/reset.txt | ||
- clocks: from common clock binding: handle to VPU and VAPB clocks | ||
- clock-names: from common clock binding: must contain "vpu", "vapb" | ||
corresponding to entry in the clocks property. | ||
|
||
Parent node should have the following properties : | ||
- compatible: "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd" | ||
- reg: base address and size of the AO system control register space. | ||
|
||
Example: | ||
------- | ||
|
||
ao_sysctrl: sys-ctrl@0 { | ||
compatible = "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd"; | ||
reg = <0x0 0x0 0x0 0x100>; | ||
|
||
pwrc_vpu: power-controller-vpu { | ||
compatible = "amlogic,meson-gx-pwrc-vpu"; | ||
#power-domain-cells = <0>; | ||
amlogic,hhi-sysctrl = <&sysctrl>; | ||
resets = <&reset RESET_VIU>, | ||
<&reset RESET_VENC>, | ||
<&reset RESET_VCBUS>, | ||
<&reset RESET_BT656>, | ||
<&reset RESET_DVIN_RESET>, | ||
<&reset RESET_RDMA>, | ||
<&reset RESET_VENCI>, | ||
<&reset RESET_VENCP>, | ||
<&reset RESET_VDAC>, | ||
<&reset RESET_VDI6>, | ||
<&reset RESET_VENCL>, | ||
<&reset RESET_VID_LOCK>; | ||
clocks = <&clkc CLKID_VPU>, | ||
<&clkc CLKID_VAPB>; | ||
clock-names = "vpu", "vapb"; | ||
}; | ||
}; | ||
|
||
|
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
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.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,51 @@ | ||
Qualcomm Remote File System Memory binding | ||
|
||
This binding describes the Qualcomm remote filesystem memory, which serves the | ||
purpose of describing the shared memory region used for remote processors to | ||
access block device data using the Remote Filesystem protocol. | ||
|
||
- compatible: | ||
Usage: required | ||
Value type: <stringlist> | ||
Definition: must be: | ||
"qcom,rmtfs-mem" | ||
|
||
- reg: | ||
Usage: required for static allocation | ||
Value type: <prop-encoded-array> | ||
Definition: must specify base address and size of the memory region, | ||
as described in reserved-memory.txt | ||
|
||
- size: | ||
Usage: required for dynamic allocation | ||
Value type: <prop-encoded-array> | ||
Definition: must specify a size of the memory region, as described in | ||
reserved-memory.txt | ||
|
||
- qcom,client-id: | ||
Usage: required | ||
Value type: <u32> | ||
Definition: identifier of the client to use this region for buffers. | ||
|
||
- qcom,vmid: | ||
Usage: optional | ||
Value type: <u32> | ||
Definition: vmid of the remote processor, to set up memory protection. | ||
|
||
= EXAMPLE | ||
The following example shows the remote filesystem memory setup for APQ8016, | ||
with the rmtfs region for the Hexagon DSP (id #1) located at 0x86700000. | ||
|
||
reserved-memory { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
ranges; | ||
|
||
rmtfs@86700000 { | ||
compatible = "qcom,rmtfs-mem"; | ||
reg = <0x0 0x86700000 0x0 0xe0000>; | ||
no-map; | ||
|
||
qcom,client-id = <1>; | ||
}; | ||
}; |
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
33 changes: 33 additions & 0 deletions
33
Documentation/devicetree/bindings/reset/snps,axs10x-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,33 @@ | ||
Binding for the AXS10x reset controller | ||
|
||
This binding describes the ARC AXS10x boards custom IP-block which allows | ||
to control reset signals of selected peripherals. For example DW GMAC, etc... | ||
This block is controlled via memory-mapped register (AKA CREG) which | ||
represents up-to 32 reset lines. | ||
|
||
As of today only the following lines are used: | ||
- DW GMAC - line 5 | ||
|
||
This binding uses the common reset binding[1]. | ||
|
||
[1] Documentation/devicetree/bindings/reset/reset.txt | ||
|
||
Required properties: | ||
- compatible: should be "snps,axs10x-reset". | ||
- reg: should always contain pair address - length: for creg reset | ||
bits register. | ||
- #reset-cells: from common reset binding; Should always be set to 1. | ||
|
||
Example: | ||
reset: reset-controller@11220 { | ||
compatible = "snps,axs10x-reset"; | ||
#reset-cells = <1>; | ||
reg = <0x11220 0x4>; | ||
}; | ||
|
||
Specifying reset lines connected to IP modules: | ||
ethernet@.... { | ||
.... | ||
resets = <&reset 5>; | ||
.... | ||
}; |
Oops, something went wrong.