From: Julien Massot <julien.massot@iot.bzh>
To: Rob Herring <robh@kernel.org>
Cc: bjorn.andersson@linaro.org, mathieu.poirier@linaro.org,
geert+renesas@glider.be, linux-renesas-soc@vger.kernel.org,
linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v1 1/3] dt-bindings: remoteproc: Add Renesas R-Car
Date: Tue, 30 Nov 2021 09:51:58 +0100 [thread overview]
Message-ID: <747b22c3-15e1-852b-4729-e76898a01b47@iot.bzh> (raw)
In-Reply-To: <YaVNpcv/R/iKxn1w@robh.at.kernel.org>
Hi Rob,
On 11/29/21 23:01, Rob Herring wrote:
> On Mon, Nov 15, 2021 at 02:50:30PM +0100, Julien Massot wrote:
>> Renesas R-Car SoCs may contains a Realtime processor.
>> This patch adds binding for this remote processor.
>>
>> Signed-off-by: Julien Massot <julien.massot@iot.bzh>
>> ---
>> Change since RFC:
>> Adds missing address-cells and size-cells and change reg cell
>> accordingly.
>> ---
>> .../remoteproc/renesas,rcar-rproc.yaml | 66 +++++++++++++++++++
>> 1 file changed, 66 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml
>> new file mode 100644
>> index 000000000000..dcb6b0f75dda
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml
>> @@ -0,0 +1,66 @@
>> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: "http://devicetree.org/schemas/remoteproc/renesas,rcar-rproc.yaml#"
>> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
>> +
>> +title: Renesas R-Car remote processor controller bindings
>> +
>> +maintainers:
>> + - Julien Massot <julien.massot@iot.bzh>
>> +
>> +description: |
>> + This document defines the binding for the remoteproc component that loads and
>> + boots firmwares on the Renesas R-Car family chipset.
>> + R-Car gen3 family may have a realtime processor, this processor share peripheral
>> + and RAM with the host processor with the same address map.
>> +
>> +properties:
>> + compatible:
>> + const: renesas,rcar-cr7
>> +
>> + resets:
>> + maxItems: 1
>> +
>> + power-domains:
>> + maxItems: 1
>> +
>> + memory-region:
>> + description:
>> + List of phandles to the reserved memory regions associated with the
>> + remoteproc device. This is variable and describes the memories shared with
>> + the remote processor (e.g. remoteproc firmware and carveouts, rpmsg
>> + vrings, ...).
>> + (see ../reserved-memory/reserved-memory.yaml)
>> +
>> +required:
>> + - compatible
>> + - resets
>> + - memory-region
>> + - power-domains
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
>> + #include <dt-bindings/power/r8a7795-sysc.h>
>> + reserved-memory {
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> +
>> + cr7_ram: cr7_ram@40040000 {
>> + no-map;
>> + reg = <0x0 0x40040000 0x0 0x1fc0000>;
>> + };
>> + };
>> +
>> + cr7_rproc: cr7 {
>> + compatible = "renesas,rcar-cr7";
>> + memory-region = <&cr7_ram>;
>> + power-domains = <&sysc R8A7795_PD_CR7>;
>> + resets = <&cpg 222>;
>> + status = "okay";
>
> Don't show status in examples.
>
> With that,
>
> Reviewed-by: Rob Herring <robh@kernel.org>
>
Thanks,
Will remove the status, and add your Reviewed-by tag in the v2.
Regards,
--
Julien Massot [IoT.bzh]
next prev parent reply other threads:[~2021-11-30 8:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 13:50 [PATCH v1 0/3] Initial Renesas R-Car remoteproc support Julien Massot
2021-11-15 13:50 ` [PATCH v1 1/3] dt-bindings: remoteproc: Add Renesas R-Car Julien Massot
2021-11-29 22:01 ` Rob Herring
2021-11-30 8:51 ` Julien Massot [this message]
2021-11-15 13:50 ` [PATCH v1 2/3] arm64: dts: renesas: r8a77951: Add CR7 realtime processor Julien Massot
2022-01-10 13:00 ` Geert Uytterhoeven
2021-11-15 13:50 ` [PATCH v1 3/3] remoteproc: Add Renesas rcar driver Julien Massot
2021-11-15 14:12 ` Biju Das
2021-11-15 14:41 ` Julien Massot
2021-11-15 15:17 ` Biju Das
2021-11-22 18:37 ` Mathieu Poirier
2021-11-24 11:07 ` Julien Massot
2021-11-24 17:35 ` Mathieu Poirier
2021-11-15 18:10 ` [PATCH v1 0/3] Initial Renesas R-Car remoteproc support Mathieu Poirier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=747b22c3-15e1-852b-4729-e76898a01b47@iot.bzh \
--to=julien.massot@iot.bzh \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=linux-remoteproc@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox