From: Kishon Vijay Abraham I <kishon@ti.com>
To: Bjorn Andersson <bjorn.andersson@linaro.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Suman Anna <s-anna@ti.com>, <linux-remoteproc@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH v2 3/3] remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs
Date: Thu, 2 Jun 2022 15:49:20 +0530 [thread overview]
Message-ID: <20220602101920.12504-4-kishon@ti.com> (raw)
In-Reply-To: <20220602101920.12504-1-kishon@ti.com>
The K3 AM62x family of SoC has one PRUSS-M instance and it has two
Programmable Real-Time Units (PRU0 and PRU1). This does not support
Industrial Communications Subsystem features like Ethernet.
Enhance the existing PRU remoteproc driver to support the PRU cores
by using specific compatibles. The initial names for the firmware
images for each PRU core are retrieved from DT nodes, and can be adjusted
through sysfs if required.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
drivers/remoteproc/pru_rproc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c
index 1777a01fa84e..128bf9912f2c 100644
--- a/drivers/remoteproc/pru_rproc.c
+++ b/drivers/remoteproc/pru_rproc.c
@@ -897,6 +897,7 @@ static const struct of_device_id pru_rproc_match[] = {
{ .compatible = "ti,j721e-pru", .data = &k3_pru_data },
{ .compatible = "ti,j721e-rtu", .data = &k3_rtu_data },
{ .compatible = "ti,j721e-tx-pru", .data = &k3_tx_pru_data },
+ { .compatible = "ti,am625-pru", .data = &k3_pru_data },
{},
};
MODULE_DEVICE_TABLE(of, pru_rproc_match);
--
2.17.1
next prev parent reply other threads:[~2022-06-02 10:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 10:19 [PATCH v2 0/3] remoteproc: pru: Enable PRU cores on K3 AM62x SoCs Kishon Vijay Abraham I
2022-06-02 10:19 ` [PATCH v2 1/3] dt-bindings: remoteproc: pru: Re-arrange "compatible" in alphabetic order Kishon Vijay Abraham I
2022-06-02 11:29 ` Krzysztof Kozlowski
2022-06-02 10:19 ` [PATCH v2 2/3] dt-bindings: remoteproc: pru: Update bindings for K3 AM62x SoCs Kishon Vijay Abraham I
2022-06-02 11:29 ` Krzysztof Kozlowski
2022-06-02 10:19 ` Kishon Vijay Abraham I [this message]
2022-07-05 16:44 ` [PATCH v2 3/3] remoteproc: pru: Add support for various PRU cores on " 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=20220602101920.12504-4-kishon@ti.com \
--to=kishon@ti.com \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=robh+dt@kernel.org \
--cc=s-anna@ti.com \
/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