Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp986392pxb; Wed, 3 Nov 2021 16:07:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcgLJJ2F3zw+o0ycTLczfTHqasGjrOtJYHBNX+okKzxwx42Wu4W+A0+b4tkECixF+a2s2G X-Received: by 2002:a17:906:6087:: with SMTP id t7mr57615878ejj.206.1635980855558; Wed, 03 Nov 2021 16:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635980855; cv=none; d=google.com; s=arc-20160816; b=gSy2Gfwfdhc9DUCashM1IPnI3n1dZxB80SDxlrtrlqCJArJIe2TQc1dV76CqWKkxSa s0iWe8sBuucxVOfzlUyL6y+o+drgQAoYJqwnaw85Z55xX7s5SH+1Q1sUDye2Ki6rqnXf G+w+Sxyhm/yME3zqsuskdcXI6o9Tk4PPLB1V6Nc8ne/4LrsCrLjplqyWpFFKS72iLyMq soSnhGGOLIh13KT+iWromeDvHQXfg75iOQz3nq3vwTarO32nsgp7zNL3bv/KtXmXWSQq yTEkZ7leLqqs935xNl3gWix076LYTdfvqPHu9UuiL4AxAtYP90smYKEQhE/X5J55pA+2 a3fw== 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:dkim-signature; bh=NS4eT639BOwvF4y/0Jri0aipGFDU+GOyeNwMYhJ1CsI=; b=ujJWLgd7ovZbalwPzJzkdrZ/bpa5ZPnu6dXYo6hUAOO0hSper9LVuLJe22WT1c8M/Q gt0FgqyZtzUu5XcVNn60u/OHsq32ydY+23t9dOt8oNa8zTR2fQrUK8XcMpYAnSOJHabX QpwbT7dMoS/eUFI2uVIxes+AWpCoWrR82G7K16I11n3Kg9I+i2AtUUydW7Zzo3D94ViZ 6XbKVl7e9M5vgoRfNqbixCA0Kvb0w4UeJyn55s1hROTShpMc6xFUzZoOY6MQ78aBp/Zw lKSoYC7MzCwaCLDGhTmxbbWD6QDoMFU9BLCz2b+3Y0HFBxHQWnxFkPqm+R6tyQBC9vjF jz1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=ty211RcI; 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 w13si6232400edc.579.2021.11.03.16.06.48; Wed, 03 Nov 2021 16:07:35 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=ty211RcI; 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 S229906AbhKCXGd (ORCPT + 99 others); Wed, 3 Nov 2021 19:06:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbhKCXGc (ORCPT ); Wed, 3 Nov 2021 19:06:32 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAA03C061714 for ; Wed, 3 Nov 2021 16:03:55 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id m26so3941225pff.3 for ; Wed, 03 Nov 2021 16:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NS4eT639BOwvF4y/0Jri0aipGFDU+GOyeNwMYhJ1CsI=; b=ty211RcINhjstR5hvJ6vOlvNuK2U2UPclVemOWPNOv+RZAnKeJopU68QRFe2L/JRUl 8hLDX/IT6xv6UQFfBLJEAwwvXgdwfIZg7UBEu+oqaHI1BZNUx3fnTTGpbUV3Wsf9ZUy4 7miviuW++N0oDU+/ilKbv3A9RXQBqTYTnJ+AHkUqMw9x4s6U7q/iWZg55uuma9Jc+AF5 00NRbWmxAhmnB5rJwtCEGAjFoZQkplzh0QqClwj1K5VgdpOVRTF9Cnc93VnqKj7XPVkn Jq8f0PZ3taqfiQCW+kJb+B5xz35AiXMMwesxd2L1YevFsWcStkK+HPZAX5b70bGCJG/3 Amfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NS4eT639BOwvF4y/0Jri0aipGFDU+GOyeNwMYhJ1CsI=; b=K7wRF0+4sSo/WP9Aqr2EJUyQpdJxpdbeqO6Bf8fqqLXPNRatezXgcdyaFlcyGeFOfh fM6CKtNfb4qzT04HYAYzT/Ib3CcUhbkBXzDWZ4kgzBmEP9XyXCyBElV1hpU+ntOQPGrs gRZHzNI6tPLcYUKuOa1OCZdLKkDtW7H7KVONy3lv8tAajFUOan7BXHMclyJv8dZQEq1i pZEQiUR48zX1L4aBiMCEzfoqgxI1tu6G76eQbDKWp0cP5PGBBgdH0Qpe0HOmfs4+1oYc n//3NB634XrbQQ0hnrSFddBPbRFQsQ35+3kQt3nAcJR9Lv0RpdYoQ9A8ItqVGBnHjj29 FWqA== X-Gm-Message-State: AOAM531ps3txo2mouA4KHCkpL1lKGQXBzFak5viDvWAQrxbVnATdxwoR 22RSrbdJ/56yM6AYt1SQWfgIeQ== X-Received: by 2002:a63:6f4c:: with SMTP id k73mr35716833pgc.61.1635980635076; Wed, 03 Nov 2021 16:03:55 -0700 (PDT) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id r25sm2584900pge.61.2021.11.03.16.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 16:03:54 -0700 (PDT) From: Kevin Hilman To: linux-watchdog@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: Fabien Parent , Wim Van Sebroeck , Guenter Roeck , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] watchdog: Kconfig: enable MTK watchdog Date: Wed, 3 Nov 2021 16:03:53 -0700 Message-Id: <20211103230354.915658-1-khilman@baylibre.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.33.0