lkml.org 
[lkml]   [2022]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] dt-bindings: remoteproc: mediatek: Add optional memory-region to mtk,scp
On Fri, Apr 29, 2022 at 05:11:10PM -0400, Nícolas F. R. A. Prado wrote:
> 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 <nfraprado@collabora.com>
> ---
>
> 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

memory-region has a type already, so drop. What's needed is how many
entries and what they are if more than 1.

> + description: phandle to reserved memory region.
> +
> required:
> - compatible
> - reg
> --
> 2.36.0
>
>

\
 
 \ /
  Last update: 2022-05-02 18:05    [W:0.242 / U:1.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site