Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp615182rwo; Wed, 2 Aug 2023 01:01:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlEe29OGudsIeeDI+fMBibe/+hJe3mY40XRZTWYQxeoLPs7yxpgmHIo2gJ9y8U/nOys4DAhx X-Received: by 2002:a17:902:c20c:b0:1b8:adc:7c3d with SMTP id 12-20020a170902c20c00b001b80adc7c3dmr15452984pll.40.1690963292358; Wed, 02 Aug 2023 01:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690963292; cv=none; d=google.com; s=arc-20160816; b=SsMIXPld24nW2ktkHHbWVLQCWJYM/Fmn78xtSZiqfg7TU1rQdQB8jtef5omuQonxzg vGeT/p/80ghrEBvf3z8r5HvONGrIqLIIc4xgAww5fssefMP4tVtGhS8YA0dpV9Gz9CP3 m7mbuuIe4AoD9wQzFD5eDm0bk/HG+ehkMYgIkz6TRjY+l9rCXmzEPT0ZqVWEg94j/cxz 0Wwqxv2hsbM3JvzXCZb5jIvj3teB4jsec1C7jfDapbl5ul+P/E4JruZKJL/3tpX/Otr8 P/bzfWw57x5+Y1R6ufLhtefMk+d21GLBFNvOzHCe/hPK7Rm4P6IWgEKjKCjlWeG2nzmu GGBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=ySPKX71AR7ERlZqWHs70b/+0JtWIHCcnxyCVYb0RFag=; fh=aLdqwr6sBXFv9UFb0++9Hshp087Jbf77DBJ3k57Lins=; b=oYoncC+NEKorMwF6o12qntOc+gT0xWX5Blc+VLo/eQpnUL3P0pWehjzw3Lm7aqdYYw r/qo7IiIIdsxzA6/JCsjj2JRR9Kczw2fNYOp59QrDt8F9OmBuQv/4eQWh1JEmyb0X6HE Ni2vChC4agg3OaGzwXscuHXG3P7dIhNQV/ZFsNZrVi+4igX6ZBsp0elx4bru6CkqpHdM eFJQaCK7ZBIUezlPKgSHDjLZA4quRMgDAJTywhl3v89KviaLcqJQ+mAgoOVCCsuxxfPK OKJTHOP97+oiUEZ0aePLbakZYQReiyNqlMglz1XUQQUdqoCbT0qZ7MiVUP+IW6E10wbZ LIdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=Dj6meVIX; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c1-20020a170902d48100b001bb35920640si3514043plg.351.2023.08.02.01.00.59; Wed, 02 Aug 2023 01:01:32 -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; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=Dj6meVIX; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232777AbjHBHiW (ORCPT + 99 others); Wed, 2 Aug 2023 03:38:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233114AbjHBHhp (ORCPT ); Wed, 2 Aug 2023 03:37:45 -0400 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D97B1BD8; Wed, 2 Aug 2023 00:37:14 -0700 (PDT) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 79C97120008; Wed, 2 Aug 2023 10:37:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 79C97120008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1690961832; bh=ySPKX71AR7ERlZqWHs70b/+0JtWIHCcnxyCVYb0RFag=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:From; b=Dj6meVIX3MeqLcmfIkTZqFQG1v3B2SbOMvk9jCr8DhdLYIodSUHINdybqbo6vAOSs DAxPP4bbTkjs+CFCkcTiiG47wKiKv3LhWm5oaLL2N7zhirBDVie/ZYev7hZhPB6Kfj wLkllYRs8A81wk4qWfHF3e3DqR6BPGjOifKJFtlfP43xYUR/kQtGMpQSSqYkzbO0kU NVsIEWf9j6mpsCnQCTNIAr3XPR9Q9Mv0Hlz+nuGYW1by2Uud6JNeiSdd11DhrfH6sA WWmJOxWu1bIQHGf/ilSSS0R+mVoDwMwqdvpFg2+WB2c0vPSRXjATQci5/C/M1IsW1u QYDijZwGYzBVA== Received: from p-i-exch-sc-m01.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Wed, 2 Aug 2023 10:37:12 +0300 (MSK) Received: from localhost (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 2 Aug 2023 10:37:11 +0300 Date: Wed, 2 Aug 2023 10:37:12 +0300 From: Dmitry Rokosov To: Huqiang Qin CC: , , , , , , , , , , , , , Subject: Re: [PATCH V2 3/4] watchdog: Add support for Amlogic-T7 SoCs Message-ID: <20230802073712.6gd6jigprlryxstu@CAB-WSD-L081021> References: <20230802033222.4024946-1-huqiang.qin@amlogic.com> <20230802033222.4024946-4-huqiang.qin@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230802033222.4024946-4-huqiang.qin@amlogic.com> User-Agent: NeoMutt/20220415 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 178796 [Jul 22 2023] X-KSMG-AntiSpam-Version: 5.9.59.0 X-KSMG-AntiSpam-Envelope-From: DDRokosov@sberdevices.ru X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 525 525 723604743bfbdb7e16728748c3fa45e9eba05f7d, {Tracking_uf_ne_domains}, {Track_E25351}, {Tracking_from_domain_doesnt_match_to}, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean, bases: 2023/07/23 10:45:00 X-KSMG-LinksScanning: Clean, bases: 2023/07/23 10:46:00 X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2023/07/23 08:49:00 #21663637 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Wed, Aug 02, 2023 at 11:32:21AM +0800, Huqiang Qin wrote: > Compared with the previous Amlogic-GXBB, the watchdog of Amlogic-T7 > has a different reset enable bit. > > Signed-off-by: Huqiang Qin Reviewed-by: Dmitry Rokosov > --- > > V1 -> V2: Use the BIT() macro to build rst initial value. > > drivers/watchdog/meson_gxbb_wdt.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/watchdog/meson_gxbb_wdt.c b/drivers/watchdog/meson_gxbb_wdt.c > index 18180d91543e..a48622d11ad7 100644 > --- a/drivers/watchdog/meson_gxbb_wdt.c > +++ b/drivers/watchdog/meson_gxbb_wdt.c > @@ -147,8 +147,13 @@ static const struct wdt_params gxbb_params = { > .rst = BIT(21), > }; > > +static const struct wdt_params t7_params = { > + .rst = BIT(22), > +}; > + > static const struct of_device_id meson_gxbb_wdt_dt_ids[] = { > { .compatible = "amlogic,meson-gxbb-wdt", .data = &gxbb_params, }, > + { .compatible = "amlogic,t7-wdt", .data = &t7_params, }, > { /* sentinel */ }, > }; > MODULE_DEVICE_TABLE(of, meson_gxbb_wdt_dt_ids); > -- > 2.37.1 > > > _______________________________________________ > linux-amlogic mailing list > linux-amlogic@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic -- Thank you, Dmitry