-
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-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/remoteproc/linux Pull remoteproc updates from Bjorn Andersson: "The remoteproc repo is moved to a new path on git.kernel.org, to allow Mathieu push access to the branches. Support for the Mediatek MT8195 SCP was added, the related DeviceTree binding was converted to YAML and MT8192 SCP was documented as well. Amlogic Meson6, Meson8, Meson8b and Meson8m2 has an ARC core to aid in resuming the system after suspend, a new remoteproc driver for booting this core is introduced. A new driver to support the DSP processor found on NXP i.MX8QM, i.MX8QXP, i.MX8MP and i.MX8ULP is added. The Qualcomm modem and TrustZone based remoteproc drivers gains support for the modem in SC7280 and MSM8996 gains support for a missing power-domain. Throughout the Qualcomm drivers, the support for informing the always-on power coprocessor about the state of each remoteproc is reworked to avoid complications related to our use of genpd and the system suspend state. Lastly a number of small fixes are found throughout the drivers and framework" * tag 'rproc-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: (39 commits) remoteproc: Remove vdev_to_rvdev and vdev_to_rproc from remoteproc API remoteproc: omap_remoteproc: simplify getting .driver_data remoteproc: qcom_q6v5_mss: Use devm_platform_ioremap_resource_byname() to simplify code remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()' remoteproc: Fix spelling mistake "atleast" -> "at least" remoteproc: imx_dsp_rproc: mark PM functions as __maybe_unused remoteproc: imx_dsp_rproc: Correct the comment style of copyright dt-bindings: dsp: fsl: Update binding document for remote proc driver remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method remoteproc: imx_rproc: Move common structure to header file rpmsg: char: Remove useless include remoteproc: meson-mx-ao-arc: fix a bit test remoteproc: mss: q6v5-mss: Add modem support on SC7280 dt-bindings: remoteproc: qcom: Update Q6V5 Modem PIL binding remoteproc: qcom: pas: Add SC7280 Modem support dt-bindings: remoteproc: qcom: pas: Add SC7280 MPSS support remoteproc: qcom: pas: Use the same init resources for MSM8996 and MSM8998 MAINTAINERS: Update remoteproc repo url dt-bindings: remoteproc: k3-dsp: Cleanup SoC compatible from DT example ...
- Loading branch information
Showing
33 changed files
with
2,377 additions
and
303 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
87 changes: 87 additions & 0 deletions
87
Documentation/devicetree/bindings/remoteproc/amlogic,meson-mx-ao-arc.yaml
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,87 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/remoteproc/amlogic,meson-mx-ao-arc.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: Amlogic Meson AO ARC Remote Processor bindings | ||
|
||
description: | ||
Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC core | ||
controller for always-on operations, typically used for managing | ||
system suspend. Meson6 and older use a ARC core based on the ARCv1 | ||
ISA, while Meson8, Meson8b and Meson8m2 use an ARC EM4 (ARCv2 ISA) | ||
core. | ||
|
||
maintainers: | ||
- Martin Blumenstingl <martin.blumenstingl@googlemail.com> | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- amlogic,meson8-ao-arc | ||
- amlogic,meson8b-ao-arc | ||
- const: amlogic,meson-mx-ao-arc | ||
|
||
firmware-name: | ||
$ref: /schemas/types.yaml#/definitions/string | ||
description: | ||
The name of the firmware which should be loaded for this remote | ||
processor. | ||
|
||
reg: | ||
description: | ||
Address ranges of the remap and CPU control addresses for the | ||
remote processor. | ||
minItems: 2 | ||
|
||
reg-names: | ||
items: | ||
- const: remap | ||
- const: cpu | ||
|
||
resets: | ||
minItems: 1 | ||
|
||
clocks: | ||
minItems: 1 | ||
|
||
sram: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: | ||
phandles to a reserved SRAM region which is used as the memory of | ||
the ARC core. The region should be defined as child nodes of the | ||
AHB SRAM node as per the generic bindings in | ||
Documentation/devicetree/bindings/sram/sram.yaml | ||
|
||
amlogic,secbus2: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: | ||
A phandle to the SECBUS2 region which contains some configuration | ||
bits of this remote processor | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- reg-names | ||
- resets | ||
- clocks | ||
- sram | ||
- amlogic,secbus2 | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
remoteproc@1c { | ||
compatible= "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc"; | ||
reg = <0x1c 0x8>, <0x38 0x8>; | ||
reg-names = "remap", "cpu"; | ||
resets = <&media_cpu_reset>; | ||
clocks = <&media_cpu_clock>; | ||
sram = <&ahb_sram_ao_arc>; | ||
amlogic,secbus2 = <&secbus2>; | ||
}; | ||
... |
This file was deleted.
Oops, something went wrong.
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,92 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/remoteproc/mtk,scp.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Mediatek SCP Bindings | ||
|
||
maintainers: | ||
- Tinghan Shen <tinghan.shen@mediatek.com> | ||
|
||
description: | ||
This binding provides support for ARM Cortex M4 Co-processor found on some | ||
Mediatek SoCs. | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- mediatek,mt8183-scp | ||
- mediatek,mt8192-scp | ||
- mediatek,mt8195-scp | ||
|
||
reg: | ||
description: | ||
Should contain the address ranges for memory regions SRAM, CFG, and | ||
L1TCM. | ||
maxItems: 3 | ||
|
||
reg-names: | ||
items: | ||
- const: sram | ||
- const: cfg | ||
- const: l1tcm | ||
|
||
clocks: | ||
description: | ||
Clock for co-processor (see ../clock/clock-bindings.txt). | ||
Required by mt8183 and mt8192. | ||
maxItems: 1 | ||
|
||
clock-names: | ||
const: main | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- reg-names | ||
|
||
if: | ||
properties: | ||
compatible: | ||
enum: | ||
- mediatek,mt8183-scp | ||
- mediatek,mt8192-scp | ||
then: | ||
required: | ||
- clocks | ||
- clock-names | ||
|
||
additionalProperties: | ||
type: object | ||
description: | ||
Subnodes of the SCP represent rpmsg devices. The names of the devices | ||
are not important. The properties of these nodes are defined by the | ||
individual bindings for the rpmsg devices. | ||
properties: | ||
mediatek,rpmsg-name: | ||
$ref: /schemas/types.yaml#/definitions/string-array | ||
description: | ||
Contains the name for the rpmsg device. Used to match | ||
the subnode to rpmsg device announced by SCP. | ||
|
||
required: | ||
- mediatek,rpmsg-name | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/mt8183-clk.h> | ||
scp@10500000 { | ||
compatible = "mediatek,mt8183-scp"; | ||
reg = <0x10500000 0x80000>, | ||
<0x10700000 0x8000>, | ||
<0x10720000 0xe0000>; | ||
reg-names = "sram", "cfg", "l1tcm"; | ||
clocks = <&infracfg CLK_INFRA_SCPSYS>; | ||
clock-names = "main"; | ||
cros_ec { | ||
mediatek,rpmsg-name = "cros-ec-rpmsg"; | ||
}; | ||
}; |
Oops, something went wrong.