From: Jisheng Zhang <jszhang@kernel.org>
To: opensbi@lists.infradead.org
Subject: [PATCH] lib: utils/irqchip: plic: support T-HEAD C910 PLIC
Date: Mon, 8 May 2023 02:28:43 +0800 [thread overview]
Message-ID: <20230507182843.2987-1-jszhang@kernel.org> (raw)
T-HEAD's C910 PLIC still needs the delegation bit setting to allow
access from S-mode, but it doesn't need the edge quirk. To distinguish
it from C906, add C910 binding.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---
lib/utils/irqchip/fdt_irqchip_plic.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/utils/irqchip/fdt_irqchip_plic.c b/lib/utils/irqchip/fdt_irqchip_plic.c
index 1aadf91..ed572f7 100644
--- a/lib/utils/irqchip/fdt_irqchip_plic.c
+++ b/lib/utils/irqchip/fdt_irqchip_plic.c
@@ -165,6 +165,8 @@ static const struct fdt_match irqchip_plic_match[] = {
{ .compatible = "sifive,plic-1.0.0" },
{ .compatible = "thead,c900-plic",
.data = thead_plic_plat_init },
+ { .compatible = "thead,c910-plic",
+ .data = thead_plic_plat_init },
{ /* sentinel */ }
};
--
2.40.1
next reply other threads:[~2023-05-07 18:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-07 18:28 Jisheng Zhang [this message]
2023-05-08 6:29 ` [PATCH] lib: utils/irqchip: plic: support T-HEAD C910 PLIC Guo Ren
2023-05-08 16:02 ` Jisheng Zhang
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=20230507182843.2987-1-jszhang@kernel.org \
--to=jszhang@kernel.org \
--cc=opensbi@lists.infradead.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.