2022-05-02 23:52:02

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH 0/2] Mediatek SCP dt-binding tweaks


Two simple patches for the Mediatek SCP dt-binding. The first fixes the
reg/reg-names property while the second adds a new optional
memory-region property.


Nícolas F. R. A. Prado (2):
dt-bindings: remoteproc: mediatek: Fix optional reg-names for mtk,scp
dt-bindings: remoteproc: mediatek: Add optional memory-region to
mtk,scp

.../devicetree/bindings/remoteproc/mtk,scp.yaml | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)

--
2.36.0


2022-05-03 01:02:50

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH 2/2] dt-bindings: remoteproc: mediatek: Add optional memory-region to mtk,scp

The SCP co-processor can optionally be passed a reserved memory region
to use. Add this property in the dt-binding.

Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
---

Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
index ec9ddeb6ca2c..64a9d2c7ed0d 100644
--- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
@@ -51,6 +51,10 @@ properties:
interrupts:
maxItems: 1

+ memory-region:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: phandle to reserved memory region.
+
required:
- compatible
- reg
--
2.36.0