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: 12971 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp191307vqx; Tue, 1 Aug 2023 21:10:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlFSq6lw3zHkTLSetzL/zXMWBOersQ4okYmxswhiT8I4wvUqxMKqedMtprOBIbawrID3CqpW X-Received: by 2002:aa7:c392:0:b0:522:d6f4:c0e9 with SMTP id k18-20020aa7c392000000b00522d6f4c0e9mr4015534edq.38.1690949459349; Tue, 01 Aug 2023 21:10:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690949459; cv=none; d=google.com; s=arc-20160816; b=Eu90gNB4tFjMn+dfaEFbuS3Z6izt6YyhldCYnktDSaJ2tuySyHT41TSRunXowpc4pN bRyDqV9KeJc84r4uheYq0V/aZOiD6IkFTZps2BHGBiQoPUv0SBhM/yACkb6gliPr3gIG E9pxs+QbNXkVMRl7axAEUIrpEqlz4QEurrQqUGaTJ0uK32wRP7XM92AnuXTupMhfgjCn s+YHxQ0lKY3hyoIYaryismhOj9WPMEIqRJwXQbG1Y3cU+pX6bgFCzYlX0hJw4eyA5vGx QEgIHKbb78BIV+tmR8Jc3QAip1y4Hrq11v7U/Qt0e/EvVDZ1l+44l8vTNPPB0scir9KE uBMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1RaFNJ26qCrtZfrC65V4RvCLqkspQPs/WpEt86EMOo4=; fh=lHtUygPuyDqDXmLQa3x6TuiEioC8bNshDFp//Fz2cIM=; b=mAvjEqtgjVOM8EwNYiPKp/WXtBUuYliWy4/QiuWthMT2SxiaJolbMYvAJqsjcT5n57 05V5P3FZlj4TQ0KKWb/DM00d+3ulD8uwlyrWfDRcmzqiK6qG10zKHbK7G3hxhCbFhDji 25ss2FwWjg8NgsD/OmrHIRETsAJh9s0LH8ILlnM7cPYg+TVUx9sWPwnVZLr21TNgL86t pwHB0OMiSuTUU6C7yJmRKSS5MMTsgaqme8ot+D9Q+5+y/c8nI1G/HmDMGbTTn04ZVIiT K683mWs9vmX8b7vu9MNyUsN4ZXxwfqA1TFjOPDnewu4r0IZ7+e5y8z/NwEZabjYg/lg9 35uQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j25-20020aa7c419000000b00522757afc11si7138856edq.416.2023.08.01.21.10.36; Tue, 01 Aug 2023 21:10:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232072AbjHBDds (ORCPT + 99 others); Tue, 1 Aug 2023 23:33:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232078AbjHBDd1 (ORCPT ); Tue, 1 Aug 2023 23:33:27 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3D30127; Tue, 1 Aug 2023 20:32:46 -0700 (PDT) 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773089019864051224 X-GMAIL-MSGID: 1773089019864051224 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