[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b748aebe-09b5-d4b2-a6e4-0f13e440bc05@linaro.org>
Date: Wed, 28 Sep 2022 19:47:19 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Tinghan Shen <tinghan.shen@...iatek.com>,
Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Tiffany Lin <tiffany.lin@...iatek.com>,
Andrew-CT Chen <andrew-ct.chen@...iatek.com>,
Yunfei Dong <yunfei.dong@...iatek.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: linux-remoteproc@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-media@...r.kernel.org
Subject: Re: [PATCH v3 01/11] dt-bindings: remoteproc: mediatek: Give the
subnode a persistent name
On 27/09/2022 04:55, Tinghan Shen wrote:
> The node name doesn't matter to add the subnode as a cros-ec rpmsg device.
> Give it a clear persistent node name to simplify scp yaml.
>
> Signed-off-by: Tinghan Shen <tinghan.shen@...iatek.com>
> ---
> .../bindings/remoteproc/mtk,scp.yaml | 35 ++++++++++---------
> .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 +-
> 2 files changed, 20 insertions(+), 17 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> index 7e091eaffc18..786bed897916 100644
> --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> @@ -58,6 +58,23 @@ properties:
> memory-region:
> maxItems: 1
>
> + cros-ec-rpmsg:
> + type: object
additionalProperties: false on this level
> + description:
> + This subnode represents the rpmsg device. The names of the devices
What are the devices? You wrote that it is one device, not devices.
> + are not important. The properties of this node are defined by the
> + individual bindings for the rpmsg devices.
??? No, you need to define the properties of the node, e.g. by a ref.
> +
> + 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.
maxItems... but is it really a string-array?
> +
> + required:
> + - mediatek,rpmsg-name
> +
> required:
> - compatible
> - reg
> @@ -89,21 +106,7 @@ allOf:
> reg-names:
> maxItems: 2
>
Best regards,
Krzysztof
Powered by blists - more mailing lists