Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1058543pxb; Wed, 3 Nov 2021 17:35:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJDCeAfL5ripLN+B9fPcqJkm5baYoNYfa4RpCXD/+exV7NCN1kq6SMNDPW5OySOXuGlFrH X-Received: by 2002:a05:6e02:be8:: with SMTP id d8mr32867975ilu.44.1635986150806; Wed, 03 Nov 2021 17:35:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635986150; cv=none; d=google.com; s=arc-20160816; b=FF8nGFzwUWjm3ckHsikxbySsY0ahag8OZj9WIpt0SQsmGWfC4y2a0VVOiY1Epja5G+ t6H7dsaauQh9/74NFgVxJJjnjhLJJqlDEoOiK/fSYkCBlws38gGQBDKHnxKxS9WMOrz6 B+Kn+FXZX63K6oh66b3ljfZvb5l+aHYYQMHeDZiFf59f7XeytK3dHEmhrZ1FjJGo61rd Jc1lFuPrgVXc11W62bTbsS4mg7TNKHraNcs/AoC1GgMo3mccd0GCwI0Uv8oySMnpRGpe eX96nzniiyZL46wMqlyW1i0ODabBIOtTiWXVEQzbw7xurq2iYRF+szdGL7COrMAvjmV8 7oiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:sender:dkim-signature; bh=V213yynwIxju7l3q8g0MgtsXu2d7h87vyCf36TZFlqs=; b=j6l8KGXA66/35nJKftcyCzre1qMJF5ZBKnWouRMd/wezFH73eUb1TYQ6YM9XaPXDRz rMZFnFbeZYU3fIKKB0l0F9cbk6Y5z8Qz2iFIXIKMNZBWPrdkEG8Sql8B8kkQQUnS8v3I PRRNfcmzUYIVdAZu//YsWRsTethV5ULNnUBJj0C9HRDwe/Ui0b9d+89R10wk9mG1H0ty Uxfot7wi2nWfjnxAt/pes7Fg4aplNfxvsvz1Cwl7CSNQ3ZtNxrSyH4Ug8La3If87q75N ouYZEZsXhp1JVPYqEUGD18w2izLZ6gaOfUPp/r10zf1uzPxCExCZFvi3ghXCxNw74/bU G+OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PrpMHkrv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 1si360749ilz.178.2021.11.03.17.35.37; Wed, 03 Nov 2021 17:35:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PrpMHkrv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232932AbhKDAgv (ORCPT + 99 others); Wed, 3 Nov 2021 20:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232983AbhKDAgs (ORCPT ); Wed, 3 Nov 2021 20:36:48 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D470AC0432CC; Wed, 3 Nov 2021 17:33:41 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id bg25so5767515oib.1; Wed, 03 Nov 2021 17:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=V213yynwIxju7l3q8g0MgtsXu2d7h87vyCf36TZFlqs=; b=PrpMHkrvenNfhrdEz1KKjNM/RFbi0sE9kHYHEJcEmZwLPeIIH9P5xBhYaQAv0iSawk 8BW76pRAjUq17KgEWmUKi8rxcHwNlhrOkmCCU0cpXwHAvgNa6v2Zy526L3v5ImeXEuTi YGATS4n5LFSXiV0ELBgR0JIoO4JCfOJFQi/qmvYu9IQORP5OSu6dCFj+F4UfDnsjvvwL H0E0ChuYBwCqnH53fYRFofgNe+GQ3FNpSjFiQu6UL4vCL8TsQK6mZFic4glCDgB0iBZr GBOhPydpD0hOmd0mkcU1fIQPl9kwzhEOU9mXE07TKKjMdPPdkn/NWPkp3RONweqvHXNu gojg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=V213yynwIxju7l3q8g0MgtsXu2d7h87vyCf36TZFlqs=; b=CIccKOdF5LDa8jABNJdDp1L5U2a5/IYQoV8YBdId4vw9/jh+kgmz+66SPoccbRC7Do iKMlrY9N2T7CXJ9z6Zys9/QRll9TmzvjTfj6IDoLtOwM6xX4qg+ys5Bol3Fwz5p+E3mY YuViFAn5kgtnrO5EsJT1c/3yYzHqWSoq98WxwfUCiOh4+6yrRLfEaraqwWMCdCbFpEGg CZL65wKAA1ADFqXD/NUaaSqRYGTyBQ69OxmgTCFE1vIZrSoaAwhNENl0pCOUoIPXyqcG ntEg5NUrHQ2BOgmAmndHyVBT+CyltBAxFOkX9RYaG7arxp9GBREz/W0mCwEQ5+gcmBoy xGLg== X-Gm-Message-State: AOAM533pRuG/IeDzVjnDwM20nXDNpP30jhK0UrRbUfg/ZWFqANn1q5mq DiLbDxQ1Mxp1xOhkl6GFz0MMn1g5fq4= X-Received: by 2002:a05:6808:f92:: with SMTP id o18mr11594807oiw.46.1635986019434; Wed, 03 Nov 2021 17:33:39 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id q33sm935221ooh.16.2021.11.03.17.33.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Nov 2021 17:33:38 -0700 (PDT) Sender: Guenter Roeck Subject: Re: [PATCH] watchdog: Kconfig: enable MTK watchdog To: Kevin Hilman , linux-watchdog@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: Fabien Parent , Wim Van Sebroeck , open list References: <20211103230354.915658-1-khilman@baylibre.com> From: Guenter Roeck Message-ID: Date: Wed, 3 Nov 2021 17:33:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211103230354.915658-1-khilman@baylibre.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/3/21 4:03 PM, Kevin Hilman wrote: > Enable CONFIG_MEDIATEK_WATCHDOG when ARCH_MEDIATEK is enabled. > > On some platforms (e.g. mt8183-pumpkin), watchdog is enabled by > bootloader, so kernel driver needs to be enabled to avoid watchdog > firing and causing reboot part way through kernel boot. > > Signed-off-by: Kevin Hilman Reviewed-by: Guenter Roeck > --- > drivers/watchdog/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > index bf59faeb3de1..00bebbb8f877 100644 > --- a/drivers/watchdog/Kconfig > +++ b/drivers/watchdog/Kconfig > @@ -836,6 +836,7 @@ config MESON_WATCHDOG > config MEDIATEK_WATCHDOG > tristate "Mediatek SoCs watchdog support" > depends on ARCH_MEDIATEK || COMPILE_TEST > + default ARCH_MEDIATEK > select WATCHDOG_CORE > select RESET_CONTROLLER > help >