From: Krzysztof Kozlowski <krzk@kernel.org>
To: Tim Michals <tcmichals@gmail.com>, linux-sunxi@lists.linux.dev
Cc: wens@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org,
Bjorn Andersson <andersson@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 4/7] dt-bindings: remoteproc: add allwinner sun55i rproc binding
Date: Tue, 22 Sep 2026 10:58:03 +0200 [thread overview]
Message-ID: <14f2baec-41d5-49e1-8b49-04388b64e38a@kernel.org> (raw)
In-Reply-To: <20260922034711.190253-5-tcmichals@gmail.com>
On 22/09/2026 05:47, Tim Michals wrote:
> Add Device Tree binding schema for the Allwinner XuanTie E906/E907
> RISC-V remote processor found on A523, A527, and T527 SoCs.
>
A nit, subject: drop second/last, redundant "binding". The "dt-bindings"
prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v7.1-rc7/source/Documentation/devicetree/bindings/submitting-patches.rst#L23
...
> + resets:
> + minItems: 1
> + maxItems: 4
> + description: |
> + CCU reset lines. Typical resets are "cfg" (configuration block),
> + "core" (CPU core), "sram" (SRAM interconnect), and "msgbox" (mailbox interconnect).
> +
> + reset-names:
> + minItems: 1
> + maxItems: 4
> + items:
> + enum: [cfg, core, sram, msgbox]
Nope, this cannot be flexible. Please open existing code to see how this
is done.
Same comments everywhere else. I don't get why your previous patch had
it correct and here you decided to implement it completely different
style which almost does not exist in the kernel.
> +
> + mboxes:
> + minItems: 2
Drpo
> + maxItems: 2
> + description:
> + Exactly two mailbox channels from the Allwinner CPUX_MSGBOX controller —
> + one receive channel (RISC-V-to-ARM) and one transmit channel
> + (ARM-to-RISC-V) — used for VirtIO RPMsg kick notifications.
> +
> + mbox-names:
> + items:
> + - const: rx
> + - const: tx
> +
> + firmware-name:
> + $ref: /schemas/types.yaml#/definitions/string
Drop. Instead maxItems. See existing code.
> + description:
> + Name of the ELF firmware image to load from /lib/firmware/.
> + Defaults to "riscv-firmware.elf" if not specified.
> +
> + memory-region:
> + description:
> + Optional phandle list of reserved memory regions for VirtIO vring
> + buffers or DDR carveouts. Region names "vram" and "dram" are
> + recognized; "trace" selects the RemoteProc trace buffer carveout.
List the items instead.
> +
> + memory-region-names:
> + description:
> + Names corresponding to the memory-region phandle list entries.
> + Recognized values are "vram", "dram", and "trace".
List the items instead.
> +
> + interrupts:
> + maxItems: 1
> + description:
> + Optional hardware crash-notification interrupt. When present the
> + driver calls rproc_report_crash() on assertion.
> +
> + interrupt-names:
> + items:
> + - const: crash
> +
> + status: true
> +
Drop
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-09-22 8:58 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260922034711.190253-1-tcmichals@gmail.com>
2026-09-22 3:47 ` [PATCH 1/7] dt-bindings: mailbox: add Allwinner sun55i msgbox schema Tim Michals
2026-09-22 3:54 ` sashiko-bot
2026-09-22 8:54 ` Krzysztof Kozlowski
2026-09-22 3:47 ` [PATCH 4/7] dt-bindings: remoteproc: add allwinner sun55i rproc binding Tim Michals
2026-09-22 3:56 ` sashiko-bot
2026-09-22 8:58 ` Krzysztof Kozlowski [this message]
2026-09-22 12:46 ` Rob Herring (Arm)
2026-09-22 3:47 ` [PATCH 7/7] arm64: dts: allwinner: add a523 msgbox and remoteproc nodes Tim Michals
2026-09-22 3:59 ` sashiko-bot
2026-09-27 0:20 ` [PATCH v2 0/7] remoteproc: sunxi: Add Allwinner XuanTie E907 RemoteProc and Message Box support Tim Michals
2026-09-27 0:20 ` [PATCH v2 1/7] dt-bindings: mailbox: add Allwinner sun55i msgbox schema Tim Michals
2026-09-27 0:30 ` sashiko-bot
2026-10-01 6:16 ` Krzysztof Kozlowski
2026-09-27 0:20 ` [PATCH v2 2/7] mailbox: sun55i: add Allwinner sun55i/sun60i 4-port Message Box driver Tim Michals
2026-09-27 0:33 ` sashiko-bot
2026-09-27 0:20 ` [PATCH v2 3/7] mailbox: sun55i: add KUnit test suite for sun55i msgbox driver Tim Michals
2026-09-27 0:31 ` sashiko-bot
2026-09-27 0:20 ` [PATCH v2 4/7] dt-bindings: remoteproc: add Allwinner sun55i-rproc schema Tim Michals
2026-09-27 0:27 ` sashiko-bot
2026-10-01 6:17 ` Krzysztof Kozlowski
2026-09-27 0:20 ` [PATCH v2 5/7] remoteproc: sunxi: add Allwinner XuanTie RISC-V remoteproc driver Tim Michals
2026-09-27 0:33 ` sashiko-bot
2026-09-27 0:20 ` [PATCH v2 6/7] remoteproc: sunxi: add KUnit test suite for sunxi " Tim Michals
2026-09-27 0:32 ` sashiko-bot
2026-09-27 0:20 ` [PATCH v2 7/7] arm64: dts: allwinner: add a523 msgbox and remoteproc nodes Tim Michals
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=14f2baec-41d5-49e1-8b49-04388b64e38a@kernel.org \
--to=krzk@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=mathieu.poirier@linaro.org \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=tcmichals@gmail.com \
--cc=wens@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