From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3720606A31C for ; Sun, 29 Nov 2026 01:13:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=lOCaPsFE; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=feWzrAuS Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 1EBF86061B; Sun, 29 Nov 2026 01:13:43 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Qk1dOScklisa; Sun, 29 Nov 2026 01:13:42 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 418DB60615 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1795914822; b=LDwrclq+y7It0USMtW1EE9t8v/X9ALED/jpJQt9iildGXuBbtn0duDTfu2L0a7WJmqEm oQ3JnieM33IsNvlhpdI0AplowlupMxDLdkyw9IR9b5wfjRXmtdtuoZ0YmV3gTALTJ4wvP hAk+I0FGUGjFiJ2pwCT8TLOjRFTX+GpSdfRTYFlZp2XX6WGPvdmx3/leg4EbDq68aVVjB LD0uHfoUY4AJ7q2VG2dqvQ55eEWQE4UrC6Q2Uxh7By6MybkDQGxCs/LR7Nj+HDTdxg642 /7+LPf7E5+cbpBrj6uWwLCotzebnyd81oWVyE2jgGSiLic16VJKHcgydF7dkDez1peg== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1795914822; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To:X-BeenThere: X-Mailman-Version:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Errors-To; bh=VnPfMCZxIokUiXZ5DVOqXjyUBG+Mp6X+5B7vnQCvt70=; b=VWnWDQ+7CSQfp3jkMiEjTxmw8JqtSU8ZUy348yHQFHlnE6ihekaU29L2+J3hH3towXcr NNEbmftrQC1ux4u3BEgmsJr+8VdT5Va2bkkj9a81rtx1/ahzan9tHnNg8ImLJ117Kn9Hs jbEYe135ZvooihsLgM8jGMCule6lp6iCDIqZvQtxB18FaiSS5hKTVcBXpzV8mUlLzqxbC gsSxLh+kU/Ls9fMLPfquNtfZ4HY17DjJW7hpXjsrYT42R2KmruO+xwYJNeuf1YjSTXnYw 0Dxmz0DgpcMoCbNsNhKaWMpkP8vtUyJi20fz38PE+vNS9suR+MiO17UypwpjBblPwmg== ARC-Authentication-Results: i=1; smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1795914822; bh=VnPfMCZxIokUiXZ5DVOqXjyUBG+Mp6X+5B7vnQCvt70=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lOCaPsFEgbPCGcON6Lv2LM7aRgPRi/ABaervBaFU1tU7uAXx9hCsbt12iaZp+l6sc +uKrHF3Ltu7QONSmN3MtHG0mt9GgFbibZwDZmYalnSmYeAgJyEMOlRhLDwgyAS0JuP Mr8gqWiPT6tgBFemt4NNnD+PGDRbt5/MCpch5TYxJgS70wgAlLoFbyT6L9ADSfVuRF bjxuioolSWJEaJhuJaWbOuFNtgnzc74sU+yirr8izyEX6/AGWQGpdYLzvMsbZDFMwU FKbjnSsg31Tn9rfE2TC5HrLZ+Dh0k17C58t3LQ0Brennin2vGpPnsUP1NREA+uw+rS LMakS87LTP9KA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 418DB60615; Sun, 29 Nov 2026 01:13:42 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id 02295472 for ; Sun, 29 Nov 2026 01:13:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DD70B4005B for ; Sun, 29 Nov 2026 01:13:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id fWOX7nrZIsrV for ; Sun, 29 Nov 2026 01:13:40 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org E91B74009B Authentication-Results: smtp2.osuosl.org; arc=none smtp.remote-ip=172.105.4.254 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=dlan@kernel.org; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=feWzrAuS Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by smtp2.osuosl.org (Postfix) with ESMTPS id E91B74009B for ; Sun, 29 Nov 2026 01:13:39 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 4F7B1601EA; Sun, 29 Nov 2026 01:13:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AE9A1F00896; Sun, 29 Nov 2026 01:13:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795914817; bh=VnPfMCZxIokUiXZ5DVOqXjyUBG+Mp6X+5B7vnQCvt70=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=feWzrAuSY1LX0JD5Tv00UGskAnFgOusWHxrtbv0TpwudB9YC/5VU55cjWAjEb8zSl SwGU4B7AHzJc16DRMGJ6AIWwm7M1hf4kkS3BWSp06C677ZnhgP1fT5sK6PV6DSzjWR NLsn6XGAqQsI8AStD7IaJcY5CtBlixV7lJSoSHDZS5PYh9unuRidC5bqnYebVthmQa rcT373tL3SYpkpM0h0e6VczuqL6BsbMiUKxmbY1NBVZseO0enRCYXm8bCvwq9Xe/d7 pK+Y+BMwfYSFX4sQZangfx8ZGrD17uaMSF0vVUtBl4Dh/N3sjCxtNNRN7EnsiH1Sab xMXJiIVzTGnSA== Date: Sun, 29 Nov 2026 01:13:34 +0000 From: Yixun Lan To: Dmitrii Vaniushin Cc: u-boot@lists.u-boot-project.org, u-boot-spacemit@groups.io, eric.chung@riscstar.com, alan.tseng.cs@gmail.com Subject: Re: SpacemiT K1 SoC watchdog support Message-ID: <20261129011334-GKC27669@kernel.org> References: X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Dmitrii, On 11:09 Sat 28 Nov , Dmitrii Vaniushin wrote: > Hello! > > I would like to contribute to u-boot. As I have a Banana Pi BPI-F3 > available, I was thinking about adding support for the SpacemiT K1 SoC > watchdog to mainline U-Boot, using the existing vendor implementation > as a reference. > https://github.com/spacemit-com/uboot-2022.10/blob/k1-bl-v2.2.y/drivers/watchdog/spacemit_wdt.c > > Is anyone already working on upstream watchdog support for the K1 or > K3? Would such a contribution be welcome? > I haven't seen anyone working on this, so much welcome! Also, I'm interested in adding reset support, so able to execute 'reset' command in console. Last time I checked, it didn't work.. You can check the reset function once you added the watchdog driver. Another point, vendor implemented another reset driver via the PMIC hardware reset functionality. https://github.com/spacemit-com/uboot-2022.10/blob/c3b72c939319d1f379acfa7da13adbd331f83bdc/drivers/sysreset/sysreset_spacemit.c -- Yixun Lan (dlan)