Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3939776rwb; Tue, 20 Sep 2022 06:51:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lxEqAdI4O9rx4S7PLEIVGANtREoSlikoao6k/YHWAG2Dk6c829Vt0CJHOITK1K8mbHpT2 X-Received: by 2002:a05:6a00:16c8:b0:53b:3b9f:7283 with SMTP id l8-20020a056a0016c800b0053b3b9f7283mr23635039pfc.46.1663681919127; Tue, 20 Sep 2022 06:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663681919; cv=none; d=google.com; s=arc-20160816; b=d+BbXivEMyTlPkHIRY+uSv/6cBKp/7We8PE4EsiI1q9Bw4zjko27ClFpZFMNsrHINF VXL6Wg/8b+CM2hxZzxiOaWmCO4O6cEwgiCmliS86slFgGwyItc0uSMFKhdc2KFarPBfC F4ItGl12Sz71/U6AqxwbY72pvIogheEESNmgjqf2/+02X424dT1Dt4WnFto0uLhEZuDX idoT0YJa7vtQ8W0gEwFDSkPLPIXb/ukz2FS1lQrB8ESiUlm4O8NAutUORZzzf0jsSTfd Itehdir9Lun8YszPzt2zChivBDCj9BivaFAYolmknLrMzwBaICR1b4DdFpC2y7J6f977 jdhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/1DbyJn3NUscYLhtpPQ3RU31E+x0F3RQcYcyQ/D7jVY=; b=EaRP+h+b+PMKf/c6hVw7KuAV4BY940rO03l8nem60efwKflrVSgQfDqQ39GF4fofmu ytq5oMm0U6LnVu93cZixIz7gzP7yGWtQsPl57uRbLcCC+8LI/P6LONUZ6hmPnnorFTA9 0LnvnkxcbIjoKgYF4bL9tQ8DCvQOathnv9GWZwuU5/WktOnpHSECpfwe2g/Z9It14Bvu ND/cnOGyvrspEhzrISULFiG0g3Ac629XZUG0AiqnlTfiO5mpJCRHuDtyF1NYInQHpqE0 Qnolko+T9npKEpi/wZdhNKRj+7sIrw89Atz1IU+/d34/blYA5hCPLmqmhxt0SB5sI82Y htAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lymRQT1F; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a170903230900b00176b3c7d158si1854021plh.99.2022.09.20.06.51.46; Tue, 20 Sep 2022 06:51: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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lymRQT1F; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbiITNYm (ORCPT + 99 others); Tue, 20 Sep 2022 09:24:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231314AbiITNYh (ORCPT ); Tue, 20 Sep 2022 09:24:37 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6897862FD; Tue, 20 Sep 2022 06:24:34 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id n40-20020a05600c3ba800b003b49aefc35fso1648207wms.5; Tue, 20 Sep 2022 06:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=/1DbyJn3NUscYLhtpPQ3RU31E+x0F3RQcYcyQ/D7jVY=; b=lymRQT1Fh/haltHq+c4DfrZ2Vjez0vb0cbfqnKp15iD+TC7/Gu5mm0V/j7XRU67PZl 8aY04+8budmFC08xsGmHaadBhIa05u01BlpBcpuEn8gvLFeNRazGsk3stYwoVQ8lh31E 5Knf9gBOHPZ887ZhdwW8TJl37WvEbSQetft301NJm1+zWJsmDGBqrt+Hyflf+8XG0IhB zcee/Vi+0zqrVDBRXlxa5Tmx6fQVLHqwz3YyXfpsqBaAMkQMjKpGWSKv+99LQ8MhQaIi IGWUJbofoFf/O3oLF8enIrd6bAYsCb4x089Z0dea4DH9LCGl2jaUgtZUPxMJMjqi+nf3 0kiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=/1DbyJn3NUscYLhtpPQ3RU31E+x0F3RQcYcyQ/D7jVY=; b=DUkFRoSxNgbPuaeHx9xTgWjH9pFyLG9+DmPzjGEG77AvQeNV0koGs6iPcS6TPlMADk wK0Pq3zUy0XRwIqDvMSr+j6plElKL9rEQmDBKmqxiTFxGc0PUe5VODa+GtFF9IqtepcX Wqw2pPVwdOkUME17qgUj2TZgKZrp2gUCr6n4+pzxUzAJENt0pbqxjPb2cGpEA+l6JTqk M7WxReiWOW+upCAm4fjFvGD6lH3dn62vyxr3kTMHK91lcltLoPoa7khzlICO+S0GzXJC 2tXWJzbkFAO9u4P9f3WSseK35Pr1XkYZTVAQxyzZWcPDwYPpkityak1h/aky/N2xUiyp Tdsg== X-Gm-Message-State: ACrzQf3iq+qRJbIhU+FB6EWo8GEDGB97O7dAXDAA/cHhFkChWF4/L3bU Dy4BJbDYsUQfTKVy1T5hX78= X-Received: by 2002:a05:600c:3844:b0:3b4:becc:e43 with SMTP id s4-20020a05600c384400b003b4becc0e43mr2466114wmr.33.1663680272675; Tue, 20 Sep 2022 06:24:32 -0700 (PDT) Received: from [192.168.0.30] ([47.62.125.55]) by smtp.gmail.com with ESMTPSA id n33-20020a05600c3ba100b003b3401f1e24sm2891530wms.28.2022.09.20.06.24.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 06:24:31 -0700 (PDT) Message-ID: Date: Tue, 20 Sep 2022 15:24:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH v3 3/3] watchdog: mediatek: mt8188: add wdt support Content-Language: en-US To: Runyang Chen , Wim Van Sebroeck , Guenter Roeck , Krzysztof Kozlowski , Rob Herring , nfraprado@collabora.com Cc: 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 References: <20220920105622.25666-1-Runyang.Chen@mediatek.com> <20220920105622.25666-4-Runyang.Chen@mediatek.com> From: Matthias Brugger In-Reply-To: <20220920105622.25666-4-Runyang.Chen@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 20/09/2022 12:56, Runyang Chen wrote: > From: Runyang Chen > > Support MT8188 watchdog device. > > Signed-off-by: Runyang Chen > Reviewed-by: AngeloGioacchino Del Regno > Reviewed-by: Guenter Roeck Reviewed-by: Matthias Brugger > --- > 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..b53763ad90cf 100644 > --- a/drivers/watchdog/mtk_wdt.c > +++ b/drivers/watchdog/mtk_wdt.c > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -90,6 +91,10 @@ static const struct mtk_wdt_data mt8186_data = { > .toprgu_sw_rst_num = MT8186_TOPRGU_SW_RST_NUM, > }; > > +static const struct mtk_wdt_data mt8188_data = { > + .toprgu_sw_rst_num = MT8188_TOPRGU_SW_RST_NUM, > +}; > + > static const struct mtk_wdt_data mt8192_data = { > .toprgu_sw_rst_num = MT8192_TOPRGU_SW_RST_NUM, > }; > @@ -429,6 +434,7 @@ static const struct of_device_id mtk_wdt_dt_ids[] = { > { .compatible = "mediatek,mt7986-wdt", .data = &mt7986_data }, > { .compatible = "mediatek,mt8183-wdt", .data = &mt8183_data }, > { .compatible = "mediatek,mt8186-wdt", .data = &mt8186_data }, > + { .compatible = "mediatek,mt8188-wdt", .data = &mt8188_data }, > { .compatible = "mediatek,mt8192-wdt", .data = &mt8192_data }, > { .compatible = "mediatek,mt8195-wdt", .data = &mt8195_data }, > { /* sentinel */ }