From nobody Mon Feb 9 00:06:17 2026 Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4ECC9318BBF; Sat, 17 Jan 2026 10:12:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.15 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768644743; cv=pass; b=ujFvJZgA9OygAi2UXzPLZUn7rvfLrBMHF8THuBAnCZMwvLtjV6EgrLjTxWTKY4JbdPW2zoiiqzNtf8dKYWOcU90YYsEQgfQTRrHLQJFNqXwVR1dD4klhWH4DeZNSkTDGgJyHjSbfUN/vkPOpm3feYYGlEiITaEMw//vsDdzs7Nk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768644743; c=relaxed/simple; bh=abEe4zvJORGN3X/yMWvKTSB5fdrqCB2zPWi6bzldic8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OBEBlQ8F92IlJGBY0/icTqgkOZZEK/4gtZC7Sl/yKDaRn/tPRfwDDWybSBb8tUXWT1ceHaylce072qJGCCwWS+YFDNcRbfX/MCL35XH6JTb8YSRhcYcAuexaJFADziqzYjiAd7xfE6QiXGKDKy/3bSjbcdpgLXTETB9e49n3j0k= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech; spf=pass smtp.mailfrom=pigmoral.tech; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b=OkkAesZ+; arc=pass smtp.client-ip=136.143.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b="OkkAesZ+" ARC-Seal: i=1; a=rsa-sha256; t=1768644722; cv=none; d=zohomail.com; s=zohoarc; b=OKJyt+wl9GRYaZNuL2HojPyQRmff3OENDlcg+FHoYVjVvoONapvECKXTc84wQwkWv23W3v4jifoQgfM72+qDgfgS/FkJff1RgX/xUslZfg9Ovu1uUF+ymo+Qsx3EIp+tSBcie/Oe84fzedPMmOAYC5YL4Z2YOT6wfMIYU9+etA4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768644722; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=+PJwbsCjeL6ZMwDjx33KA6Ejndk0qEwRwBHqTWZvm3o=; b=J0i5T/xA8Ks/P9yMGTP/FwicNau3JbqFrwXqQgvfgFpl2zVWjsYisZmlM36Bl6gA0q/URMDN6U6jwG6wOvQrRglY5ETcZ9fhLaGMjZT+DAt0DZbMpbF+dd7o6srUXF02+0dRGEn/BTl7p1p1s3fPjL6kn4y9mrby4CiUiJ9RamQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=pigmoral.tech; spf=pass smtp.mailfrom=junhui.liu@pigmoral.tech; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1768644722; s=zmail; d=pigmoral.tech; i=junhui.liu@pigmoral.tech; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:References:In-Reply-To:To:To:Cc:Cc:Reply-To; bh=+PJwbsCjeL6ZMwDjx33KA6Ejndk0qEwRwBHqTWZvm3o=; b=OkkAesZ+ztKKEecOcFgflwEqU1uGBX6Lq28XZxIxj/FqUsemZLipEOrHTHB22vqc JU6aGcDqyAuikb+TspKdkzMH6Nb9RlTJJBdaN8EexbTzMuQGSHJJju9Dm2gCo7MO9VJ uRH480Trmlj1xtjZxhCYT2QeI4HcL9cNkvj0zxpY= Received: by mx.zohomail.com with SMTPS id 1768644721081835.1354482909551; Sat, 17 Jan 2026 02:12:01 -0800 (PST) From: Junhui Liu Date: Sat, 17 Jan 2026 18:06:22 +0800 Subject: [PATCH 1/2] reset: canaan: k230: drop OF dependency and enable by default 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260117-k230-reset-dt-v1-1-c8cbaef1e1ac@pigmoral.tech> References: <20260117-k230-reset-dt-v1-0-c8cbaef1e1ac@pigmoral.tech> In-Reply-To: <20260117-k230-reset-dt-v1-0-c8cbaef1e1ac@pigmoral.tech> To: Philipp Zabel , Junhui Liu , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768644706; l=885; i=junhui.liu@pigmoral.tech; s=20251228; h=from:subject:message-id; bh=abEe4zvJORGN3X/yMWvKTSB5fdrqCB2zPWi6bzldic8=; b=o5RsGMteqrJnt1c218SGzBuWKmZHY5FB8+4eXwxjnJ4sZMCrApu9QMqDkw7LD6OKKDHBGX2lP kPPRuAb5CWLBgCyuw/pzaEKGjS8fX1wFcSXs5VkHMAXWS+MBIZuFdMb X-Developer-Key: i=junhui.liu@pigmoral.tech; a=ed25519; pk=3vU0qIPJAH8blXmLyqBhKx+nLOjcLwwYhZXelEpw7h4= X-ZohoMailClient: External The driver doesn't use any symbols depending on CONFIG_OF, so drop the dependency. Also, enable it by default when ARCH_CANAAN is selected. Fixes: 360a7a647759 ("reset: canaan: add reset driver for Kendryte K230") Signed-off-by: Junhui Liu --- drivers/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 78b7078478d4..b3b9e0f9d8c4 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -150,7 +150,7 @@ config RESET_K210 config RESET_K230 tristate "Reset controller driver for Canaan Kendryte K230 SoC" depends on ARCH_CANAAN || COMPILE_TEST - depends on OF + default ARCH_CANAAN help Support for the Canaan Kendryte K230 RISC-V SoC reset controller. Say Y if you want to control reset signals provided by this --=20 2.52.0 From nobody Mon Feb 9 00:06:17 2026 Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0323E337B8C; Sat, 17 Jan 2026 10:12:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.15 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768644748; cv=pass; b=KnGIthqo1NJcpJh/kiANVBTbamCAifL9zhPZrsrKqVlKi+kdUjc0aSSPVFKBRfMxDkeVHv7rfQ+HchiqaAQKqcyOojqhtHiwNhGfe43xp5imqPb0jWVs+uwJNkKWtdxxpjvQFjSdfZHglFD7OLguOdra+RAQkB+2FnFDSmMepuY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768644748; c=relaxed/simple; bh=mnEfOiDsekU+ozjh8AVIe/OSI+8mSgCzoGZ5luyPbUU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RpDoHFESJygNK/k6stYUUh0xmQDmsbhGsD8fzDuxZVLwpXP2HQVH/zrirND8bImFNIMSboXilsNIHA3p4Fr91l7XJjE2Ctz8gwYeSSEuxxOjosR++SW/auqi6uDuLeRa0gBvPbj0o16bHcIooQ+ScT8nGRYSklL5C4r0YlnjNzo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech; spf=pass smtp.mailfrom=pigmoral.tech; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b=CR3vHGfJ; arc=pass smtp.client-ip=136.143.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b="CR3vHGfJ" ARC-Seal: i=1; a=rsa-sha256; t=1768644730; cv=none; d=zohomail.com; s=zohoarc; b=fr4O3jaGjqlknDWAuQxUkHdGzM//V4HbpcXgj3Cpf0+QFrC5kLclHYuNzjZn9JGNGW7snD979yWnWW3IjJ1CTZLFg2b5r9s04HQ3t41O9Nu8OhO+Sj2XY7VIglHt8CBul67SmCc9XSfH4IkXN+n92vseWyvaKq4LuoMFQG22f2M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768644730; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=qurUIJs+/8KIElJEq28ticp43hIzkryGBqVBqkFlgKc=; b=WZZ5s4yj3iMPmAlh6pWzK3lMZFsf2B+byIyaAcJophLLSIuW1nPOOB+u6gUopdvfUf4atpIr4+kxbl5dgkHQABPgn5KEwLIvl3ayFSYaSNfyxRDSNtJ2L2rZ62Ty5VDq7VL5tQQG1gtIxqcfGFtS4dWAuNtsltQ2TS7gZf7PCUk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=pigmoral.tech; spf=pass smtp.mailfrom=junhui.liu@pigmoral.tech; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1768644730; s=zmail; d=pigmoral.tech; i=junhui.liu@pigmoral.tech; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:References:In-Reply-To:To:To:Cc:Cc:Reply-To; bh=qurUIJs+/8KIElJEq28ticp43hIzkryGBqVBqkFlgKc=; b=CR3vHGfJ+OgT24X1F929j+1RMFrCpB/9U+vOjKBjj+AGSULOoywX06YWMfjcui7C pISE2SnhHXWEJ6JWQEcQGm9S9powmuap7guOfyhJRn7tP+3mbvgfuSym4jwxs2le+ku VeisBRnQLtvJW+3kn2FYBkV2N1qk0xnIDgG1QC+4= Received: by mx.zohomail.com with SMTPS id 1768644729746867.9738763481296; Sat, 17 Jan 2026 02:12:09 -0800 (PST) From: Junhui Liu Date: Sat, 17 Jan 2026 18:06:23 +0800 Subject: [PATCH 2/2] riscv: dts: canaan: add reset controller for K230 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260117-k230-reset-dt-v1-2-c8cbaef1e1ac@pigmoral.tech> References: <20260117-k230-reset-dt-v1-0-c8cbaef1e1ac@pigmoral.tech> In-Reply-To: <20260117-k230-reset-dt-v1-0-c8cbaef1e1ac@pigmoral.tech> To: Philipp Zabel , Junhui Liu , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768644706; l=2061; i=junhui.liu@pigmoral.tech; s=20251228; h=from:subject:message-id; bh=mnEfOiDsekU+ozjh8AVIe/OSI+8mSgCzoGZ5luyPbUU=; b=45GSqxPO4pXgxxS0P4pAUqzI+StkiXMhkJ2hQhgndqzhTRRBYGmb88kzrKvepyr6glQ6rPGL/ OISN6E0RVMoBtNzLWc0oj6/bqvba3olyZ2Mm6+e901rmxpzjNfRDoRC X-Developer-Key: i=junhui.liu@pigmoral.tech; a=ed25519; pk=3vU0qIPJAH8blXmLyqBhKx+nLOjcLwwYhZXelEpw7h4= X-ZohoMailClient: External Add the reset controller node for the K230 SoC. Also add the reset properties for all UART nodes. Signed-off-by: Junhui Liu --- arch/riscv/boot/dts/canaan/k230.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/riscv/boot/dts/canaan/k230.dtsi b/arch/riscv/boot/dts/can= aan/k230.dtsi index 5a1bf8a15abe..45041bd6df1a 100644 --- a/arch/riscv/boot/dts/canaan/k230.dtsi +++ b/arch/riscv/boot/dts/canaan/k230.dtsi @@ -4,6 +4,7 @@ */ =20 #include +#include #include "k230-pinctrl.h" =20 /dts-v1/; @@ -87,6 +88,12 @@ clint: timer@f04000000 { interrupts-extended =3D <&cpu0_intc 3>, <&cpu0_intc 7>; }; =20 + rst: reset-controller@91101000 { + compatible =3D "canaan,k230-rst"; + reg =3D <0x0 0x91101000 0x0 0x1000>; + #reset-cells =3D <1>; + }; + pinctrl: pinctrl@91105000 { compatible =3D "canaan,k230-pinctrl"; reg =3D <0x0 0x91105000 0x0 0x100>; @@ -99,6 +106,7 @@ uart0: serial@91400000 { interrupts =3D <16 IRQ_TYPE_LEVEL_HIGH>; reg-io-width =3D <4>; reg-shift =3D <2>; + resets =3D <&rst RST_UART0>; status =3D "disabled"; }; =20 @@ -109,6 +117,7 @@ uart1: serial@91401000 { interrupts =3D <17 IRQ_TYPE_LEVEL_HIGH>; reg-io-width =3D <4>; reg-shift =3D <2>; + resets =3D <&rst RST_UART1>; status =3D "disabled"; }; =20 @@ -119,6 +128,7 @@ uart2: serial@91402000 { interrupts =3D <18 IRQ_TYPE_LEVEL_HIGH>; reg-io-width =3D <4>; reg-shift =3D <2>; + resets =3D <&rst RST_UART2>; status =3D "disabled"; }; =20 @@ -129,6 +139,7 @@ uart3: serial@91403000 { interrupts =3D <19 IRQ_TYPE_LEVEL_HIGH>; reg-io-width =3D <4>; reg-shift =3D <2>; + resets =3D <&rst RST_UART3>; status =3D "disabled"; }; =20 @@ -139,6 +150,7 @@ uart4: serial@91404000 { interrupts =3D <20 IRQ_TYPE_LEVEL_HIGH>; reg-io-width =3D <4>; reg-shift =3D <2>; + resets =3D <&rst RST_UART4>; status =3D "disabled"; }; }; --=20 2.52.0