mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
remoteproc updates for v4.6
New driver for controlling ST's remote processors and a couple of minor fixes. Also includes the addition of myself as co-maintainer. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJW559TAAoJEAsfOT8Nma3FsXwP/Am3lkIaJ+FLd3tbKBxfodkx ww4cgbo4bz0IPQKFTJVo0pvtQ+GzRkJnOWJTbX3qhFXv6SaHhTiX4cVdUXS2QARz 5irb3p5PJCRhx9ZH+4jZ4vJbweCk8rQEaubgYMajVMamgLGbO3o39pzN/82l3hBG Fd4vtttkw6f3a/y2Oq3ShAN3auSRbOvzOxPpr0+VmOYfSwaoyvP2fU4lT3YtVPNA hVurFrt8HSALDCL1Igj9lDsHjzVORqTsZPnyvNU1OrdoIi1DaVRKmnApgxEBKHgS AObCDwXDR9kybQ0BQ3GpRMYv5KZw4KdfA3a1R7z8ab1Iny86ncMAt4L7ksrKvXrm pCYZbpPRdKZMTnXdLTXlm76HRxwW0Q6ExyKJC6V1tixsL/KsnXMnjaxfUDeBwMAG B7ydy0YX4rm95veDDFZFBaOP0oFg3mm9v/snYoNOOAp7spoiGKXolQENS/zlyhBR R6vTw35Goqpcb5jHBlo7QdMpaRhqUAIHUoX/z1OJpg9eeFfFErWCfrSZJSZDQ9rL TA2m7q6pb+S5hmCKvXox2DIdRgTGYMiloG3W2FNmc0SwW4pT4pN8pdqFJaa9C3qX /p5uR7Geak0KBLTYWd6IHd4fILX0ktpuRKF+lbzNaG+40ato/C8U7l78kcIQemY2 Nlz65X3c8ZTuNy08UprT =2rNj -----END PGP SIGNATURE----- Merge tag 'rproc-v4.6' of git://github.com/andersson/remoteproc Pull remoteproc updates from Bjorn Andersson: "New driver for controlling ST's remote processors and a couple of minor fixes. Also includes the addition of myself as co-maintainer" Acked-by: Ohad Ben-Cohen <[email protected]> * tag 'rproc-v4.6' of git://github.com/andersson/remoteproc: MAINTAINERS: Add co-maintainer for remoteproc subsystems remoteproc: Supply controller driver for ST's Remote Processors remoteproc: debugfs: Add ability to boot remote processor using debugfs remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver remoteproc: debugfs: Return error on invalid 'count' value remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias remoteproc: report error if resource table doesn't exist
This commit is contained in:
commit
c7eec380e8
8 changed files with 390 additions and 2 deletions
41
Documentation/devicetree/bindings/remoteproc/st-rproc.txt
Normal file
41
Documentation/devicetree/bindings/remoteproc/st-rproc.txt
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
STMicroelectronics Co-Processor Bindings
|
||||
----------------------------------------
|
||||
|
||||
This binding provides support for adjunct processors found on ST SoCs.
|
||||
|
||||
Co-processors can be controlled from the bootloader or the primary OS. If
|
||||
the bootloader starts a co-processor, the primary OS must detect its state
|
||||
and act accordingly.
|
||||
|
||||
Required properties:
|
||||
- compatible Should be one of:
|
||||
"st,st231-rproc"
|
||||
"st,st40-rproc"
|
||||
- memory-region Reserved memory (See: ../reserved-memory/reserved-memory.txt)
|
||||
- resets Reset lines (See: ../reset/reset.txt)
|
||||
- reset-names Must be "sw_reset" and "pwr_reset"
|
||||
- clocks Clock for co-processor (See: ../clock/clock-bindings.txt)
|
||||
- clock-frequency Clock frequency to set co-processor at if the bootloader
|
||||
hasn't already done so
|
||||
- st,syscfg System configuration register which holds the boot vector
|
||||
for the co-processor
|
||||
1st cell: Phandle to syscon block
|
||||
2nd cell: Boot vector register offset
|
||||
|
||||
Example:
|
||||
|
||||
audio_reserved: rproc@42000000 {
|
||||
compatible = "shared-dma-pool";
|
||||
reg = <0x42000000 0x01000000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
st231-audio {
|
||||
compatible = "st,st231-rproc";
|
||||
memory-region = <&audio_reserved>;
|
||||
resets = <&softreset STIH407_ST231_AUD_SOFTRESET>;
|
||||
reset-names = "sw_reset";
|
||||
clocks = <&clk_s_c0_flexgen CLK_ST231_AUD_0>;
|
||||
clock-frequency = <600000000>;
|
||||
st,syscfg = <&syscfg_core 0x228>;
|
||||
};
|
||||
Loading…
Reference in a new issue