From patchwork Wed Aug 2 03:32:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 13337579 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 07E67C001E0 for ; Wed, 2 Aug 2023 03:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=yPK5/GgklU4s1aKw+KdEqP0HpEL9GZQOl7pfBfwpUjY=; b=tRxPgJH4F1yjyx iZJTraBw4XKTZXL4MDQSly8AC54+q9MkJfcWTKM/11clS7o7vuhqGdVFyN3Of5p79CLc50C4oD8ZF gAljAfFZr8YKYSC+CA7/D81ZiA5QOjIXPbkXLQYPBdtOSyBLqDAMIdjLwebwvflv3Gwpd0ORojg7E xomZ2mRPRF72OJdCdqYGIicrSXzrQwUcfCgYTrHdv+31Jk28f1vnBzzrD1eK5jHw9j0k307R8a9/d qoPbMwdIzKzV4PLuBR70/p2Bhbt/2ciTw3yLoi0RdsMY+lmot8Z6d+VuhgviIN1V5aq7DWLh7dFj+ UUnYCHxdJIg1DExx8ibA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qR2bZ-003sVN-1C; Wed, 02 Aug 2023 03:32:57 +0000 Received: from mail-sh.amlogic.com ([58.32.228.43]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qR2bW-003sUl-13; Wed, 02 Aug 2023 03:32:55 +0000 Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Wed, 2 Aug 2023 11:32:27 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V2 0/4] Add watchdog support for Amlogic-T7 SoCs Date: Wed, 2 Aug 2023 11:32:18 +0800 Message-ID: <20230802033222.4024946-1-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230801_203254_389263_B91DA12F X-CRM114-Status: UNSURE ( 6.83 ) 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 Based on the original Amlogic-GXBB watchdog driver, support for Amlogic-T7 watchdog is added. [PATCH 1/4]: V1 -> V2: Unchanged. [PATCH 2/4]: V1 -> V2: Rename rst_shift to rst and use the BIT() macro to build its initial value. [PATCH 3/4]: V1 -> V2: Use the BIT() macro to build rst initial value. [PATCH 4/4]: V1 -> V2: Unchanged. Huqiang Qin (4): dt-bindings: watchdog: Add support for Amlogic-T7 SoCs watchdog: Add a new struct for Amlogic-GXBB driver watchdog: Add support for Amlogic-T7 SoCs arm64: dts: Add watchdog node for Amlogic-T7 SoCs .../watchdog/amlogic,meson-gxbb-wdt.yaml | 1 + arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 6 ++++++ drivers/watchdog/meson_gxbb_wdt.c | 21 ++++++++++++++++--- 3 files changed, 25 insertions(+), 3 deletions(-) base-commit: 6f048cc7a635b8736b4c7ae0e5230a92e3e648eb