[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <73a52782-ba8b-2ef6-2044-1ceaad17d31c@collabora.com>
Date: Wed, 4 May 2022 10:21:49 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Nícolas F. R. A. Prado
<nfraprado@...labora.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: kernel@...labora.com,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Tinghan Shen <tinghan.shen@...iatek.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-remoteproc@...r.kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: remoteproc: mediatek: Make l1tcm reg
optional for mtk,scp
Il 03/05/22 23:11, Nícolas F. R. A. Prado ha scritto:
> The SCP has three memory regions: sram, cfg and l1tcm. While the first
> two are required, l1tcm is optional. Fix the dt-binding so that it can
> be omitted and update the description. This gets rid of dtbs_check
> warnings for devicetrees where the l1tcm reg is missing like mt8183.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@...labora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
>
> ---
>
> Changes in v3:
> - Made the cfg reg required again. After looking again into the mtk-scp
> driver, only l1tcm is optional.
> - Added mention that a dtbs_check warning gets fixed by patch in commit
> message.
>
> Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> index 823a236242de..eeea84379a1e 100644
> --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> @@ -23,11 +23,13 @@ properties:
>
> reg:
> description:
> - Should contain the address ranges for memory regions SRAM, CFG, and
> - L1TCM.
> + Should contain the address ranges for memory regions SRAM, CFG, and,
> + optionally, L1TCM.
> + minItems: 2
> maxItems: 3
>
> reg-names:
> + minItems: 2
> items:
> - const: sram
> - const: cfg
Powered by blists - more mailing lists