From patchwork Mon Oct 7 06:34:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chin-Ting Kuo X-Patchwork-Id: 13824310 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C812ACFB43F for ; Mon, 7 Oct 2024 08:20:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ojalM83DjphcLdNrnYSnK4SosjeiN3Ofq00L9IA3ke4=; b=VOoX6AFEW90m9s4zbbobiE2w66 GFEaP3LxS564cRJ4iOU+M+8YVRWDRf6riOS3xQEXmXTeFnCcsleF2cXs93EzYjb4bKzPyMQm9r6a8 wZzcwgCprTcI5Emqg3X/1abS+p0usioE/p/YcLcULns9uMY44tOM5t/dClrKKNw7wMPV4dXpQ89kn Kphwf0fHDRLj5lcqsxdssJAaMSPnG8158SkS3VYGxYjXsYsYVsmN8uSMiPAtVM4RvCL8v6ByqK+Yl XDvAsx1SRUD0SQHzvIhRJcg7hHo5a23nOwh7K2CPYNvy7W+xtJz1bHl5XaXCjr5bTMdic7lDtumG1 819QJIrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sxixs-00000001ijw-1xjw; Mon, 07 Oct 2024 08:19:36 +0000 Received: from mail.aspeedtech.com ([211.20.114.72] helo=TWMBX01.aspeed.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxhJx-00000001Ryw-02ul for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2024 06:34:21 +0000 Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Mon, 7 Oct 2024 14:34:08 +0800 Received: from aspeedtech.com (192.168.10.152) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Mon, 7 Oct 2024 14:34:08 +0800 From: Chin-Ting Kuo To: , , , , , , , , , , , , CC: , , , , Subject: [PATCH 0/4] [PATCH 0/4] Update ASPEED WDT bootstatus Date: Mon, 7 Oct 2024 14:34:04 +0800 Message-ID: <20241007063408.2360874-1-chin-ting_kuo@aspeedtech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241006_233417_215797_7890C842 X-CRM114-Status: UNSURE ( 7.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series inherits the patch submitted by Peter. https://patchwork.kernel.org/project/linux-watchdog/patch/20240430143114.1323686-2-peteryin.openbmc@gmail.com/ Besides, the boot status modififed in the WDT driver obeys the rules proposed in the OpenBMC. https://github.com/openbmc/docs/blob/master/designs/bmc-reboot-cause-update.md#proposed-design Moreover, WDT SW reset is supported since AST2600 platform and is also included in this patch series. Chin-Ting Kuo (4): dt-bindings: watchdog: aspeed: Add property for WDT SW reset ARM: dts: aspeed: Add WDT controller into alias field watchdog: aspeed: Update bootstatus handling watchdog: aspeed: Add support for SW restart .../bindings/watchdog/aspeed,ast2400-wdt.yaml | 11 ++ arch/arm/boot/dts/aspeed/aspeed-g4.dtsi | 2 + arch/arm/boot/dts/aspeed/aspeed-g5.dtsi | 3 + arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 4 + drivers/watchdog/aspeed_wdt.c | 149 ++++++++++++++++-- 5 files changed, 160 insertions(+), 9 deletions(-)