mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: Daniel Drake <ddrake@baylibre.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 Neil Armstrong <neil.armstrong@linaro.org>,
	 Kevin Hilman <khilman@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	 Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	 linux-amlogic@lists.infradead.org,
	Daniel Drake <ddrake@baylibre.com>
Subject: [PATCH 1/2] arm64: dts: amlogic: meson-sm1: Fix the NPU interrupt
Date: Thu, 03 Dec 2026 22:02:25 +0000	[thread overview]
Message-ID: <20261203-vim3l-npu-dts-v1-1-66070d7ff83e@baylibre.com> (raw)
In-Reply-To: <20261203-vim3l-npu-dts-v1-0-66070d7ff83e@baylibre.com>

On SM1 the NPU interrupt is SPI 186, as confirmed in the Khadas VIM3L
vendor device tree (mesonsm1.dtsi in khadas-vims-5.15.y).

Override the interrupts property accordingly. This fixes interrupts on
the SM1 NPU and allows NPU jobs to run to completion on Khadas VIM3L.

Signed-off-by: Daniel Drake <ddrake@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
index 8f5b850b1774..dae336d5f820 100644
--- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
@@ -587,5 +587,6 @@ &usb {
 };
 
 &npu {
+	interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
 	power-domains = <&pwrc PWRC_SM1_NNA_ID>;
 };

-- 
2.56.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  reply	other threads:[~2026-12-03 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 22:02 [PATCH 0/2] Enable NPU on Amlogic S905D3 Daniel Drake
2026-12-03 22:02 ` Daniel Drake [this message]
2026-12-03 22:08   ` [PATCH 1/2] arm64: dts: amlogic: meson-sm1: Fix the NPU interrupt sashiko-bot
2026-12-03 22:02 ` [PATCH 2/2] arm64: dts: amlogic: meson-sm1-khadas-vim3l: Enable NPU Daniel Drake
2026-12-03 22:21   ` sashiko-bot

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=20261203-vim3l-npu-dts-v1-1-66070d7ff83e@baylibre.com \
    --to=ddrake@baylibre.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=neil.armstrong@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

all inboxes | Powered by JetHome®