From patchwork Wed Nov 3 23:13:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12601971 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93A65C433F5 for ; Wed, 3 Nov 2021 23:31:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5328161106 for ; Wed, 3 Nov 2021 23:31:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5328161106 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fwySz4TNmUlaEnFgEqyxS+xufEXHJlobanQtHw3NInM=; b=s22rNIPzX0hU1E xEEvpWdCf9Fg56mhlTzrJ5brndh7yV0Kdw1z9DuZ3tyt7Oj+gJseq6aZFUc2l7Y57ugqaQPh/67cF qxG22cfrVebyMMyFRX7efme08lWmd2vP4tDa811KEnrHKzA5ww2supnOk9/eMKA3vJTcKoMEVW+gY HooHOEogi3q0U2kzlAFBH2XgdOfM04NXKlvvhxN5/dderV15kwwjCHperaje2zMbyXG8wKFT6U6lx /tZ2B66LDoiJ3Q74GroTk/qFuZXQqyC/RcBIO7s8mq9gc7IepW9NvH7BpoIYPRdgMizuJXoUewzkJ Ev8Jl7OjyLnUuzN0xXeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1miPhF-0071kl-0M; Wed, 03 Nov 2021 23:29:33 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miPSX-006wYZ-8i for linux-arm-kernel@lists.infradead.org; Wed, 03 Nov 2021 23:14:22 +0000 Received: by mail-pg1-x532.google.com with SMTP id s136so3723191pgs.4 for ; Wed, 03 Nov 2021 16:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AYKs8DG5aY7Ez32ozoVHTajRv/Q2Rt0Xxh3ZKd1RZW4=; b=ghCXrz/kqRISKfiTcmzNDDkevcetSQzBSw68JqOjqDFPR6JLVcyzTh+eBDUYYkOK5N phGPACbF4rq9ipcxLuVKOxFBbBbj3dn53KkeY1i+vR9DKGnVBV5VcwLzhMoQHSRdVZMy r5OhgPVUGg2fNhnpkhRSrHV4VjBxpBdk7ONQVn0aGClsaFUrl+LWkl35IvNBtj9M8PcN HrAEDbmgxIi27PIwLiJdPx2G8nPahuvvw8MiwRemz6M1o3sC5oaZl7MaVP6ozEuKwqmN TdhkWi9aoz0Hd5ENAYgvtMj27qSsC1HHkE7eQxhhtIptggtWbr5cEKbiLQg03ZhPisH2 l/Gw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AYKs8DG5aY7Ez32ozoVHTajRv/Q2Rt0Xxh3ZKd1RZW4=; b=tojgIVx/2TbfbEGpNZxZLdpa9gxGWGTTgeBoTK4FhxYITPvUX9j/46/jFO+n3Mtv60 M6nVQkxAH2V/4czgGIRrpf/XZsAYiGE9wXAO0p1dqz8PG8Ht1JIGhkLbVdUKi5WWgS4R 2Ew00nVvzjxzRWAbC2LBiJPX9u51on3AKraHKWeRn28HvguLGuZIRtnPwTtb3YyFDt4J M0O1RP821ww+izaZdz3sTXRT0cQ0MDuJ6cQPhKkZleYxprg+JTlLmQNnYxOT++MFpzgI gl3ZuAllmaLitg5t0RttG8Wc8Km7FkOlMiGnGZlrMlLtIjqAG4L2/IXn+j7BY4JhqzrN tTJw== X-Gm-Message-State: AOAM531dNLcoGwmjzWpNX+9WZRMPbRCFMX6AWx1T9UhwAqc8AB4HhnTg iCbS44Anm3oojbsVL8WBf5k= X-Google-Smtp-Source: ABdhPJzqaGgk4G2XlVB2TDrYcdgAC/XC0dwa1fn7D4CRo42Tk30pa2nBmniEbzktPiTpDvLOb1qv9g== X-Received: by 2002:a05:6a00:2ad:b0:480:fae5:2693 with SMTP id q13-20020a056a0002ad00b00480fae52693mr30204115pfs.37.1635981260413; Wed, 03 Nov 2021 16:14:20 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id p7sm2613549pgn.52.2021.11.03.16.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 16:14:20 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Guenter Roeck , Wim Van Sebroeck , Rob Herring , Thomas Bogendoerfer , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM63XX ARM ARCHITECTURE), Justin Chen , linux-watchdog@vger.kernel.org (open list:WATCHDOG DEVICE DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-mips@vger.kernel.org (open list:MIPS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM63XX ARM ARCHITECTURE) Subject: [PATCH v3 4/7] watchdog: Allow building BCM7038_WDT for BCM63XX Date: Wed, 3 Nov 2021 16:13:24 -0700 Message-Id: <20211103231327.385186-5-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211103231327.385186-1-f.fainelli@gmail.com> References: <20211103231327.385186-1-f.fainelli@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211103_161421_362671_162129DF X-CRM114-Status: GOOD ( 15.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org CONFIG_BCM63XX denotes the legacy MIPS-based DSL SoCs which utilize the same piece of hardware as a watchdog, make it possible to select that driver for those platforms. Reviewed-by: Guenter Roeck Signed-off-by: Florian Fainelli --- drivers/watchdog/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index bf59faeb3de1..24a775dd2bf1 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -1756,12 +1756,13 @@ config BCM7038_WDT tristate "BCM7038 Watchdog" select WATCHDOG_CORE depends on HAS_IOMEM - depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST + depends on ARCH_BRCMSTB || BMIPS_GENERIC || BCM63XX || COMPILE_TEST help Watchdog driver for the built-in hardware in Broadcom 7038 and later SoCs used in set-top boxes. BCM7038 was made public during the 2004 CES, and since then, many Broadcom chips use this - watchdog block, including some cable modem chips. + watchdog block, including some cable modem chips and DSL (63xx) + chips. config IMGPDC_WDT tristate "Imagination Technologies PDC Watchdog Timer"