Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1367019rwb; Thu, 6 Oct 2022 11:59:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6vcGXQ/svqx28Y/s30dhXR+QzOMmEXKLY/x5K8PHPuAHuuT/MVABUc8Qm+Z3NhcKTgw2Ww X-Received: by 2002:a50:9991:0:b0:458:a612:bf5a with SMTP id m17-20020a509991000000b00458a612bf5amr1256551edb.22.1665082796123; Thu, 06 Oct 2022 11:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665082796; cv=none; d=google.com; s=arc-20160816; b=lBch2PpglA4Z5JNHY2n0xdl/GXLEz6SiJM+H26IjRU66zMo036S2CR5ERHcK3IufEt 54gC+UA6OnKNcoYqAXL3vVZr02ADp7eeOa7zGbGlLO6KMm+ABk1x3tbYDNooRp2Yn8wx FIKPFjCqL5ym157wn7MnvV3tma3k5gZVTaa1nRKivtJCIMtuU5fhi4qIzMYEW+k6mZXS 2zRYgMqxtMhap2+b8L2Wo45lMsf3QyJ4dHQUZDbzjX7wPMUN7lU/prJBTcZbO6zk2T0w qDzZRtimDm1Sb9wA4Uyk3l1T29G48RbnDrnu5jAtQ28/987VgCxQlwcwDugRe8cj5qBJ Y2LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=DPvMVkgPdsNf80rz7k0a5WRJw4bKxleUIlz2BgflFH8=; b=wXY89BY+Sz8b2bQkfIwKhiHaB/h3fBA8EzTPcywE7nbISON3wboWOG9OIQWvIliUXj e0XIQPuX7OTyQTbiIMGj/Td9MJj3223nQdy20RuBQoBoQGqCpDZD8SFg1kxvBP1BY9Sd U7X9BZ+BBX8By7MYUrEhojJfvr7LTLt+hQNv9sEer8rQIe3DicIFIhbYv5pl7XNVu5bG kePcLKHdVdd2QcKuDiLz59mKCGnwJmrZcgj7RT1oikBiWlsT9E1abopJqw6Y7oSsiSq5 ZD2yRECHXCs1eP5M7kraWl0JsKoUYHUtJlbWJTvd7Jse1WPGkpaXpw1iY1nKdL5FTjl7 FQVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qiwpMb5s; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb30-20020a170907961e00b007309350f2f9si186989ejc.555.2022.10.06.11.59.08; Thu, 06 Oct 2022 11:59:56 -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=@gmail.com header.s=20210112 header.b=qiwpMb5s; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231725AbiJFSM6 (ORCPT + 99 others); Thu, 6 Oct 2022 14:12:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231631AbiJFSM4 (ORCPT ); Thu, 6 Oct 2022 14:12:56 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0781EFF23B; Thu, 6 Oct 2022 11:12:56 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id l4so2419170plb.8; Thu, 06 Oct 2022 11:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=DPvMVkgPdsNf80rz7k0a5WRJw4bKxleUIlz2BgflFH8=; b=qiwpMb5sCiOOvdw8s4nYdgUGzTk18rO6iLScxPrheyllF+geonkIrPRddQ6cwQH4pc mB31K9yGLj9S2eo7MR0SU+fSAXJ3hsUt4TXENovPuH6MdzIFYUfaq1Hj7DVs18//KA0C M3g5hGc9hKHGOu0mCOG53waM9tBhEjYXP2fhISS5LvZXZhKnaoy2kIiqvVaoNDqkwEyR SlWRvwgs6Syh4pSkYwYdR+4JsVyvYTop8YUKW1f15xKfWuuk9VyXUsLYcGZODsR/s6Zs 7zMdK6aIVUGuNgMslpPJjZ4HxeoGBhyNGFTFnrHsm10DfX2Zck2RB/TBS/n/St8xniwW VQTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DPvMVkgPdsNf80rz7k0a5WRJw4bKxleUIlz2BgflFH8=; b=nVT5PXUZoJsQ7M7739qQTb91IQ+lBIgmABNHeS74Vxhg7LkWbsmNPLB6D/Zj9pmWPG s+MDDPM8lDIwo3ctLtxgo+Rf2Fr1jPDjlD1zyOkf2Hx2rMQ6xappsPniM3EEz2/qx20W TpCl9TiPms06A5wCpV9Xcf332xdbZtNh+qNkvouEP9jkuNYK/520ikZQQkgpIL9dTlH3 x1/kkcvZEiFGB5J7n19CPTjDZ6JqGFHt7cl90gKzG7O8n5YLbvK/lx3W/gGmFRXywQ87 rZjnoS/s0iVMOXTEx1gwKlMageduB/noAEyEtHEaVH38jMXF0ORo45apLNFTArWPTUwW qkAA== X-Gm-Message-State: ACrzQf1IqbntkRd/7dboa8xHe89xVOKg1rEPSKLTqHcCVboDPMNqIUl8 z80Anthe+2myAQIJw687V6Q= X-Received: by 2002:a17:90b:3b47:b0:202:d9d4:23f7 with SMTP id ot7-20020a17090b3b4700b00202d9d423f7mr11794193pjb.56.1665079975573; Thu, 06 Oct 2022 11:12:55 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id w191-20020a627bc8000000b00560e5da42d5sm9068974pfc.201.2022.10.06.11.12.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 11:12:54 -0700 (PDT) Sender: Guenter Roeck Date: Thu, 6 Oct 2022 11:12:53 -0700 From: Guenter Roeck To: Allen-KH Cheng Cc: Wim Van Sebroeck , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , nfraprado@collabora.com, angelogioacchino.delregno@collabora.com, Project_Global_Chrome_Upstream_Group@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 7/8] watchdog: mtk_wdt: Add support for MT6795 Helio X10 watchdog and toprgu Message-ID: <20221006181253.GA761987@roeck-us.net> References: <20221006120715.24815-1-allen-kh.cheng@mediatek.com> <20221006120715.24815-8-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221006120715.24815-8-allen-kh.cheng@mediatek.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Thu, Oct 06, 2022 at 08:07:14PM +0800, Allen-KH Cheng wrote: > From: AngeloGioacchino Del Regno > > Add support for the toprgu reset controller and watchdog for the > MediaTek MT6795 SoC. > > Signed-off-by: AngeloGioacchino Del Regno > Co-developed-by: Allen-KH Cheng > Signed-off-by: Allen-KH Cheng Reviewed-by: Guenter Roeck > --- > drivers/watchdog/mtk_wdt.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchdog/mtk_wdt.c > index e97787536792..5fa42b7d4b4d 100644 > --- a/drivers/watchdog/mtk_wdt.c > +++ b/drivers/watchdog/mtk_wdt.c > @@ -10,6 +10,7 @@ > */ > > #include > +#include > #include > #include > #include > @@ -78,6 +79,10 @@ static const struct mtk_wdt_data mt2712_data = { > .toprgu_sw_rst_num = MT2712_TOPRGU_SW_RST_NUM, > }; > > +static const struct mtk_wdt_data mt6795_data = { > + .toprgu_sw_rst_num = MT6795_TOPRGU_SW_RST_NUM, > +}; > + > static const struct mtk_wdt_data mt7986_data = { > .toprgu_sw_rst_num = MT7986_TOPRGU_SW_RST_NUM, > }; > @@ -426,6 +431,7 @@ static int mtk_wdt_resume(struct device *dev) > static const struct of_device_id mtk_wdt_dt_ids[] = { > { .compatible = "mediatek,mt2712-wdt", .data = &mt2712_data }, > { .compatible = "mediatek,mt6589-wdt" }, > + { .compatible = "mediatek,mt6795-wdt", .data = &mt6795_data }, > { .compatible = "mediatek,mt7986-wdt", .data = &mt7986_data }, > { .compatible = "mediatek,mt8183-wdt", .data = &mt8183_data }, > { .compatible = "mediatek,mt8186-wdt", .data = &mt8186_data }, > -- > 2.18.0 >