-
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 'rproc-v4.14' of git://github.com/andersson/remoteproc
Pull remoteproc updates from Bjorn Andersson: "This adds and improves remoteproc support for TI DA8xx/OMAP-L13x DSP, TI Keystone 66AK2G DSP and iMX6SX/7D Cortex M4 coprocessors. It introduces the Qualcomm restart notifier and a few fixes" * tag 'rproc-v4.14' of git://github.com/andersson/remoteproc: remoteproc: Introduce rproc handle accessor for children remoteproc: qcom: Make ssr_notifiers local remoteproc: Stop subdevices in reverse order remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver remoteproc: qcom: Use PTR_ERR_OR_ZERO remoteproc: st: explicitly request exclusive reset control remoteproc: qcom: explicitly request exclusive reset control remoteproc/keystone: explicitly request exclusive reset control remoteproc/keystone: Add support for Keystone 66AK2G SOCs remoteproc/davinci: Add device tree support for OMAP-L138 DSP dt-bindings: remoteproc: Add bindings for Davinci DSP processors remoteproc/davinci: Add support to parse internal memories remoteproc/davinci: Switch to platform_get_resource_byname() remoteproc: make device_type const soc: qcom: GLINK SSR notifier remoteproc: qcom: Add support for SSR notifications remoteproc: Merge __rproc_boot() with rproc_boot()
- Loading branch information
Showing
20 changed files
with
1,032 additions
and
37 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
Documentation/devicetree/bindings/remoteproc/imx-rproc.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 @@ | ||
NXP iMX6SX/iMX7D Co-Processor Bindings | ||
---------------------------------------- | ||
|
||
This binding provides support for ARM Cortex M4 Co-processor found on some | ||
NXP iMX SoCs. | ||
|
||
Required properties: | ||
- compatible Should be one of: | ||
"fsl,imx7d-cm4" | ||
"fsl,imx6sx-cm4" | ||
- clocks Clock for co-processor (See: ../clock/clock-bindings.txt) | ||
- syscon Phandle to syscon block which provide access to | ||
System Reset Controller | ||
|
||
Optional properties: | ||
- memory-region list of phandels to the reserved memory regions. | ||
(See: ../reserved-memory/reserved-memory.txt) | ||
|
||
Example: | ||
m4_reserved_sysmem1: cm4@80000000 { | ||
reg = <0x80000000 0x80000>; | ||
}; | ||
|
||
m4_reserved_sysmem2: cm4@81000000 { | ||
reg = <0x81000000 0x80000>; | ||
}; | ||
|
||
imx7d-cm4 { | ||
compatible = "fsl,imx7d-cm4"; | ||
memory-region = <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>; | ||
syscon = <&src>; | ||
clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>; | ||
}; |
86 changes: 86 additions & 0 deletions
86
Documentation/devicetree/bindings/remoteproc/ti,davinci-rproc.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,86 @@ | ||
TI Davinci DSP devices | ||
======================= | ||
|
||
Binding status: Unstable - Subject to changes for DT representation of clocks | ||
and resets | ||
|
||
The TI Davinci family of SoCs usually contains a TI DSP Core sub-system that | ||
is used to offload some of the processor-intensive tasks or algorithms, for | ||
achieving various system level goals. | ||
|
||
The processor cores in the sub-system usually contain additional sub-modules | ||
like L1 and/or L2 caches/SRAMs, an Interrupt Controller, an external memory | ||
controller, a dedicated local power/sleep controller etc. The DSP processor | ||
core used in Davinci SoCs is usually a C674x DSP CPU. | ||
|
||
DSP Device Node: | ||
================ | ||
Each DSP Core sub-system is represented as a single DT node. | ||
|
||
Required properties: | ||
-------------------- | ||
The following are the mandatory properties: | ||
|
||
- compatible: Should be one of the following, | ||
"ti,da850-dsp" for DSPs on OMAP-L138 SoCs | ||
|
||
- reg: Should contain an entry for each value in 'reg-names'. | ||
Each entry should have the memory region's start address | ||
and the size of the region, the representation matching | ||
the parent node's '#address-cells' and '#size-cells' values. | ||
|
||
- reg-names: Should contain strings with the following names, each | ||
representing a specific internal memory region or a | ||
specific register space, | ||
"l2sram", "l1pram", "l1dram", "host1cfg", "chipsig_base" | ||
|
||
- interrupts: Should contain the interrupt number used to receive the | ||
interrupts from the DSP. The value should follow the | ||
interrupt-specifier format as dictated by the | ||
'interrupt-parent' node. | ||
|
||
- memory-region: phandle to the reserved memory node to be associated | ||
with the remoteproc device. The reserved memory node | ||
can be a CMA memory node, and should be defined as | ||
per the bindings in | ||
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | ||
|
||
Optional properties: | ||
-------------------- | ||
- interrupt-parent: phandle to the interrupt controller node. This property | ||
is needed if the device node hierarchy doesn't have an | ||
interrupt controller. | ||
|
||
|
||
Example: | ||
-------- | ||
|
||
/* DSP Reserved Memory node */ | ||
reserved-memory { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges; | ||
|
||
dsp_memory_region: dsp-memory@c3000000 { | ||
compatible = "shared-dma-pool"; | ||
reg = <0xc3000000 0x1000000>; | ||
reusable; | ||
}; | ||
}; | ||
|
||
/* DSP node */ | ||
{ | ||
dsp: dsp@11800000 { | ||
compatible = "ti,da850-dsp"; | ||
reg = <0x11800000 0x40000>, | ||
<0x11e00000 0x8000>, | ||
<0x11f00000 0x8000>, | ||
<0x01c14044 0x4>, | ||
<0x01c14174 0x8>; | ||
reg-names = "l2sram", "l1pram", "l1dram", "host1cfg", | ||
"chipsig"; | ||
interrupt-parent = <&intc>; | ||
interrupts = <28>; | ||
memory-region = <&dsp_memory_region>; | ||
}; | ||
}; |
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
Oops, something went wrong.