From: Mathieu Poirier <mathieu.poirier@linaro.org>
To: Ben Levinsky <blevinsk@amd.com>
Cc: Ben Levinsky <ben.levinsky@amd.com>,
andersson@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, linux-remoteproc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 1/2] dt-bindings: remoteproc: document AMD MicroBlaze/V BRAM-based rproc
Date: Mon, 13 Jul 2026 09:11:56 -0600 [thread overview]
Message-ID: <alUAPIZOPmAWJ6u8@p14s> (raw)
In-Reply-To: <7740b9fe-2cf8-44e5-8d5a-43391ff177d6@amd.com>
On Fri, Jul 10, 2026 at 07:46:29AM -0700, Ben Levinsky wrote:
> Hi Mathieu
>
> Though 2/2 got NAK, will you still review this ?
>
> If not I will bump rev and update patch 2/2.
Let me have a look before sending another revision.
>
> Thank you
> Ben
>
> On 7/9/26 7:57 AM, Ben Levinsky wrote:
> > Describe an AMD MicroBlaze/V BRAM-based remote processor controlled
> > through the remoteproc framework.
> >
> > The binding models a soft-core processor subsystem instantiated in AMD
> > programmable logic and using dual-port BRAM for firmware storage and
> > execution. The remoteproc device is represented as a child node whose
> > reg property describes the firmware memory window in the processor-local
> > address space. The parent bus node provides standard devicetree address
> > translation through ranges so Linux can access the same BRAM through the
> > system physical address space.
> >
> > A clock input feeds the soft-core processor subsystem, and an active-low
> > reset GPIO holds the processor in reset until firmware loading completes.
> > The firmware-name property is optional.
> >
> > Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
> > Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
> > ---
> > .../bindings/remoteproc/amd,bram-rproc.yaml | 105 ++++++++++++++++++
> > 1 file changed, 105 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml
> > new file mode 100644
> > index 000000000000..c0359f447ea8
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml
> > @@ -0,0 +1,105 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/remoteproc/amd,bram-rproc.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: AMD MicroBlaze/V BRAM-based Remote Processor
> > +
> > +maintainers:
> > + - Ben Levinsky <ben.levinsky@amd.com>
> > +
> > +description: |
> > + Soft-core processor subsystem instantiated in AMD programmable logic and
> > + using dual-port BRAM for firmware storage and execution.
> > +
> > + Hardware Architecture:
> > +
> > + Host (PS) Programmable Logic (PL)
> > + ========= ======================
> > +
> > + AXI Interface -----------------> AXI BRAM Controller (Host Port)
> > + |
> > + | Port A
> > + v
> > + +-----------------+
> > + | Dual-Port BRAM |
> > + | (shared memory) |
> > + +-----------------+
> > + ^
> > + | Port B
> > + |
> > + AXI BRAM Controller (Soft-core Port)
> > + ^
> > + | LMB
> > + |
> > + Soft-core CPU (MicroBlaze/V)
> > +
> > + GPIO --------------------------> Proc Sys Reset ----> CPU Reset Signal
> > +
> > + Clock -------------------------> Clock Distribution -> CPU Clock
> > +
> > + Memory Architecture:
> > +
> > + The dual-port BRAM allows simultaneous access from both processors:
> > + - Port A: Connected to the host AXI BRAM controller for firmware loading
> > + - Port B: Connected to the soft-core local memory bus for execution
> > +
> > + The reg property describes the executable BRAM window in the processor-local
> > + address space. The parent bus node translates that window to the system
> > + physical address space by using standard devicetree address translation
> > + through ranges. A clock input and a reset GPIO control the subsystem.
> > +
> > +properties:
> > + compatible:
> > + oneOf:
> > + - const: xlnx,zynqmp-bram-rproc
> > + - items:
> > + - enum:
> > + - amd,versal2-bram-rproc
> > + - xlnx,versal-bram-rproc
> > + - xlnx,versal-net-bram-rproc
> > + - const: xlnx,zynqmp-bram-rproc
> > +
> > + reg:
> > + maxItems: 1
> > + description:
> > + Processor-local address and size of the BRAM firmware memory window,
> > + as seen by the soft-core processor (typically 0x0 for reset vector).
> > + The parent bus ranges property must translate this window to the
> > + corresponding system physical address.
> > +
> > + clocks:
> > + maxItems: 1
> > + description:
> > + Clock input for the soft-core processor subsystem.
> > +
> > + firmware-name:
> > + maxItems: 1
> > + description:
> > + Name of the firmware ELF file to load.
> > +
> > + reset-gpios:
> > + maxItems: 1
> > + description:
> > + GPIO specifier controlling the soft-core reset input.
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > + - reset-gpios
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/gpio/gpio.h>
> > + remoteproc@0 {
> > + compatible = "xlnx,zynqmp-bram-rproc";
> > + reg = <0x0 0x40000>;
> > + clocks = <&pl_clk>;
> > + firmware-name = "firmware.elf";
> > + reset-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
> > + };
> > +...
>
next prev parent reply other threads:[~2026-07-13 15:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 14:57 [PATCH v5 0/2] remoteproc: add AMD MicroBlaze/V BRAM-based remote processor driver Ben Levinsky
2026-07-09 14:57 ` [PATCH v5 1/2] dt-bindings: remoteproc: document AMD MicroBlaze/V BRAM-based rproc Ben Levinsky
2026-07-10 7:09 ` Krzysztof Kozlowski
2026-07-10 14:45 ` Ben Levinsky
2026-07-10 14:46 ` Ben Levinsky
2026-07-13 15:11 ` Mathieu Poirier [this message]
2026-07-09 14:57 ` [PATCH v5 2/2] remoteproc: add AMD MicroBlaze/V BRAM-based remote processor driver Ben Levinsky
2026-07-09 15:13 ` sashiko-bot
2026-07-14 16:49 ` 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=alUAPIZOPmAWJ6u8@p14s \
--to=mathieu.poirier@linaro.org \
--cc=andersson@kernel.org \
--cc=ben.levinsky@amd.com \
--cc=blevinsk@amd.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.