From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90FB33BB670 for ; Tue, 28 Jul 2026 22:15:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785276955; cv=none; b=Wz6em1JCPhn3iqFkhVkbx+y+AuqzsAhXzfSMtSTsq9jHqZYf1qHCzF78HxkFv6Ol94bBnF+sd5eXlmnQtwJtW81U1NjuWbLsi+COAJwUDVH8b4tWFRphRjfQL1B34wulkLlmVO7g1oWMNxcsrJ6BAcf7Y4LIKoCUWP5GI8+yQKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785276955; c=relaxed/simple; bh=iz5eEsTOMdWHCyx2WpA/dZYo9o9pe5LN+o8YsCcB1vo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bmx7G3lfzRM7fa8P+yf9nEAGb3Qu4Hpjz3a+dnBvW9ubM6DPAkKKktnPoxX9ArCu0YV5Yga0TGILjqZCcS9J++gNY5OBDwju44uQUDLXhc38Kmgas92jyxmo53MdS4MQgAne6iYJGFLtMGWqGQZ3GigJptyUykGN9ezzzcLNJwQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BCfufqr1; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BCfufqr1" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-84862b0d5f8so278197b3a.3 for ; Tue, 28 Jul 2026 15:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785276954; x=1785881754; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Rje7HhQ48HT1sXup0TRphJEI0h4NvdmNL/JFa+vFWNM=; b=BCfufqr1jGl3Hzwt1eo3BGdICvap8SxVDDoQ9RuJZzldlQAks7w7e60fSvcGO3BH49 sGFvImd0VzPg9dduY9uOIqAKZwM59sX76fj6L0QUYhl5UUoEMQeGSw2SYpH98eS2uDHk vmOYrDbKoNid0kaaYvHECODym5DVG6JHcRzgga+TPc6pKHrIX94ClpW9XtZGvcruoWW5 wjSNZvqx2ltbff5U+5cA0iqoNlgLJedbxFMPeBK2Ia34mLUEkWyK2cquAzj8s+p0tw8x voG5hlOUW8kiglWwGCA3gHkQW+twhNihrQM1EsWskhQCdJ0rmJfhTNUoaku2fc5Ho4iS /KLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785276954; x=1785881754; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Rje7HhQ48HT1sXup0TRphJEI0h4NvdmNL/JFa+vFWNM=; b=F+JTGywfn+jLU/dPwkKFfjiy6DimiRK92nbYx2Cl2Xar5BObwi3ozd0/Dd0/d+RQ5d P2U3jtZGDq1FQI07+6FhKQ4idx0QehXme7PbLNI+18THdSBsRHnse/ZQHbqhNdX7QV7/ OcZTkXoAvAPmDudLTUBTZBowOKqkUNSqSX8Cr9h9RIfME+l7M0Id+G/j8tjyDdja+HnM Nx8SMHk5WDvPhWqdRNxUKko/x549WhQsqdHrwyT9GzZTtZZEo7LN3KcXmEym3j/7cuvT saRELegDve2USf39qo6efKZii15twZmouS6nwr8C0FGNWCuTulyR8tscJa214hHJTTOE Y+zg== X-Gm-Message-State: AOJu0YzOBzBYZQCGo7Rmq0kkSHIl/A6lUFc267jxeOPFvgAZiKg3pgFi wwm7pjykwi8oyfT8XWgfMHCg/XXUCaQGjOAmq4fhMG4FHxfR8d7H/Fgu X-Gm-Gg: AR+sD11K2SQd2adVzIWWydxDGAqd1+4CPn1oCIPtNFK2ENtrtdf9L0h/4qPABz8bSHe fpZ+zEXQEmZFca6z40BLsvT64LDhCqFrILsmRP8yS2tLTac5JvqIuPfv5j56fNx3ISKX+5sVaQD 8ZpRfEyvUA6XSSxIDSEtNF3VKgrk+jfkm4nMACY+g3EgmF0Vx9NjpNEHyyAeYgknQd0Tn6Ek/D6 IpWrdwJ00SgA/8vkIcdUnLnG9g4xdfVUe5/k0a0aiuEj0WtXdQtmD172dp3qa7jNHB3mPmrdwSj uYKeEb7h4A5rZ42ZlrINZW6Kukv/D6QWMzn4yHbCIqw2xp4vqtDh/fdYVYyUWinYvClP/5dk3QH B+ThYdlA1Qnyh32GxCglTxhVJnEX53lQbgZ6u9TOgUsBaIolQOQH8ML0TQgSd13GjRFZy4yOMr7 cSROEZXEH4NIzwpDS58IEtNGpCy6rcbgZ0aBncjis6q64Jv54gV0pIIC4QLRQ= X-Received: by 2002:a05:6a00:3992:b0:848:7f8a:8d0e with SMTP id d2e1a72fcca58-84e932c5f3emr4027335b3a.55.1785276953823; Tue, 28 Jul 2026 15:15:53 -0700 (PDT) Received: from localhost ([2001:19f0:8000:3e6e:5400:6ff:fe38:3d01]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84ea005287csm484155b3a.16.2026.07.28.15.15.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2026 15:15:53 -0700 (PDT) Date: Wed, 29 Jul 2026 06:15:43 +0800 From: Inochi Amaoto To: Junhui Liu , Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , Inochi Amaoto , Samuel Holland , Anup Patel , Guodong Xu Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, Conor Dooley , Inochi Amaoto Subject: Re: [PATCH RFC 7/7] riscv: dts: spacemit: k3: Add ACLINT MSWI and MTIMER nodes Message-ID: References: <20260729-k3-aclint-v1-0-aef88614d3a5@pigmoral.tech> <20260729-k3-aclint-v1-7-aef88614d3a5@pigmoral.tech> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260729-k3-aclint-v1-7-aef88614d3a5@pigmoral.tech> On Wed, Jul 29, 2026 at 12:36:33AM +0800, Junhui Liu wrote: > The SpacemiT K3 SoC provides ACLINT MSWI and MTIMER controllers. Add > these nodes to complete the ACLINT description in the Device Tree for > M-mode firmware such as OpenSBI. > > Signed-off-by: Junhui Liu > --- > arch/riscv/boot/dts/spacemit/k3.dtsi | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi > index 5fb719f79467..ecb5f4fcd8fd 100644 > --- a/arch/riscv/boot/dts/spacemit/k3.dtsi > +++ b/arch/riscv/boot/dts/spacemit/k3.dtsi > @@ -1303,5 +1303,24 @@ maplic: interrupt-controller@f1800000 { > riscv,num-sources = <512>; > status = "reserved"; > }; > + > + aclint_mswi: interrupt-controller@f1810000 { > + compatible = "spacemit,k3-aclint-mswi", "riscv,aclint-mswi"; > + reg = <0x0 0xf1810000 0x0 0x4000>; > + interrupts-extended = <&cpu0_intc 3>, <&cpu1_intc 3>, > + <&cpu2_intc 3>, <&cpu3_intc 3>, > + <&cpu4_intc 3>, <&cpu5_intc 3>, > + <&cpu6_intc 3>, <&cpu7_intc 3>; > + }; > + > + aclint_mtimer: timer@f1814000 { > + compatible = "spacemit,k3-aclint-mtimer", "riscv,aclint-mtimer"; > + reg = <0x0 0xf1814000 0x0 0x8000>; > + reg-names = "mtimecmp"; > + interrupts-extended = <&cpu0_intc 7>, <&cpu1_intc 7>, > + <&cpu2_intc 7>, <&cpu3_intc 7>, > + <&cpu4_intc 7>, <&cpu5_intc 7>, > + <&cpu6_intc 7>, <&cpu7_intc 7>; > + }; > }; > }; > > -- > 2.55.0 > Squash this patch into the previous one, it is the same device. Regards, Inochi