From patchwork Fri Nov 5 15:42:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12604935 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 2548EC433F5 for ; Fri, 5 Nov 2021 15:45:04 +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 E644561183 for ; Fri, 5 Nov 2021 15:45:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E644561183 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=XkeAxPUKndXE18ZznRqwrZTos8U4AkAT0aU0bi03e4Y=; b=SAFPdM761ZIGgO 9qm2m2qwMu94v2mz7YEzejbw1kPrp7vVqNaOxIE3MPigSrrNFhJdqjfhu2SIl4h3LjwY79QMjP1Xc ubyO7tKevPgsqxDLJRDlBE09AVUItPihUuu/RSHhsfHDD3EGEuykP2Qv8gDCH7FhLkeh2zOK5Y03D 3Pt1PctIcMgf6ZugwVUCGkl/cCjWHxSMRtax1mGOtYL7qmq/t2nXPwdbJpC3MEqFZz0jQdDKdgcBk CMsKwXQrfoAh5SNYBNNYvniYzsztsEiBN1M0BGS3UJDFIKOYq6zAykViTnl9qUEvH6VdHV+SGiSeJ 2KJeQfccF1kR0HIZBBMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mj1NI-00BlZs-KE; Fri, 05 Nov 2021 15:43:28 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mj1MB-00BlBs-O5 for linux-arm-kernel@lists.infradead.org; Fri, 05 Nov 2021 15:42:21 +0000 Received: by mail-pf1-x430.google.com with SMTP id g18so4432338pfk.5 for ; Fri, 05 Nov 2021 08:42:19 -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=GNmFMVscVFJe4JSrxFDPWG8YQgNhBZi7EUnIsVKloIU=; b=cUU1K7TpRNod84ZZ8oDXdeICXMvaaUE/FGvcVaV17lDl9yvcqPzxfWmnR8KsUj1WCP XXF4NDLqheTGi+1xEJ4rfCxQhw0mNFzDlgX0M8UF1pXtQI1M19dKVQ1SiuwmeGRyjN8I uG4V8f2Yb3WagI0Rznndb+BzeKw6K1CUQqbqWUG9DTihOBf4gXgP5KLjFEYSYSS4f4KD HUDB5lG5ZaVP5Ikl2FqL8D3DEYVHyX2T5PNvNedof4HyIEWN+KPz37fcipIIjmWw9GJR mEnMvNvSAjcsNQQQP3QHS7eQKuKwUA71+yho7oNlQ0YkCer6kg6Q6Id5f6nMZdeHLL79 hkcw== 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=GNmFMVscVFJe4JSrxFDPWG8YQgNhBZi7EUnIsVKloIU=; b=WuuUsYHmGYx2tyvjf2v7icTfer0yCHbuo49SepWPGm4UiCHdxAmPlSnvr8Dr89WbD/ GZ/cZGx2DignLuvznyLi+CpEeptf8eRI7/lff4QNguat+a0JSENqoJVIGRRD0coXxsaZ 8pbPikR6VmE+Y1mNyvXMh01z/PQZlpphmGqB6x04mCHyJN3HA7B8Ibc2PTh1CyMIweWA peX0gXxQH2EnP6Z0IxzHagbZ5WWkF7gUUjbej71IPNqNtvSNQbWLAMSFs8gUH2pdNxXB bAUFp3aNVl01+nLxdz+lv/5N4uZ+L7jeRYXHL+jImPHteomXDVQ4oNmW8Kzm46UmwL3m I6bw== X-Gm-Message-State: AOAM532LQmCM0/bbRMava5tD1IbByM6/9Zq7IDE0FDxnT/y55VSGrXlS LP0SACPTC743Sy/AML+/xgU= X-Google-Smtp-Source: ABdhPJyBNmZfVz43Jy2lUhklC/2cmEGO8aGw7EavPHaUtwpPqEDHKFdh3aCGMJAVIWdeg/0Gy9D78Q== X-Received: by 2002:a05:6a00:1381:b0:480:fde6:35e4 with SMTP id t1-20020a056a00138100b00480fde635e4mr40741071pfg.5.1636126938918; Fri, 05 Nov 2021 08:42:18 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id b8sm7547097pfi.103.2021.11.05.08.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 08:42:18 -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 v4 4/7] watchdog: Allow building BCM7038_WDT for BCM63XX Date: Fri, 5 Nov 2021 08:42:05 -0700 Message-Id: <20211105154208.614260-5-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211105154208.614260-1-f.fainelli@gmail.com> References: <20211105154208.614260-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-20211105_084219_821400_FAF3B8AA X-CRM114-Status: GOOD ( 14.45 ) 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index bf59faeb3de1..b461bc80b954 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -1753,15 +1753,16 @@ config BCM_KONA_WDT_DEBUG If in doubt, say 'N'. config BCM7038_WDT - tristate "BCM7038 Watchdog" + tristate "BCM63xx/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"