From patchwork Thu Oct 28 17:23:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12590651 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 C17D0C433F5 for ; Thu, 28 Oct 2021 17:25:58 +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 939B961165 for ; Thu, 28 Oct 2021 17:25:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 939B961165 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=S4KIHkeNWKkRxYd8Fvl2qICuprrUjmw2Ve+WRMpE66M=; b=jaz2OYUB2JZtRk 8bXMOl2o+W9LZiJq2foWUWd160D9qwNhWMLBUqbmWlMasD/HS77uk+1C4/5SzpKracG+7D6xJKUKf 0EZxkA4f57M9t479SYsfNlhbD6ndo0GnVUnE+J2HSyfpRcZYNAQuBe4K4EwCfA0ecsWuEJ6486YSb qeESIIXmHShPYWBC/C29zuDe7LELE1zfmWvA+iyCtbByWdvd2W9OerM5E8Qg52ewQQlQbsNXGaMkp uBWn9duYfmwIdk5a848gZrjfzJD4k+M8d7uRHXxzeO7aHc//2G1c8WR7XguXLBBzjVD+aVSyPFMQw 3EHWqS60vchKmKhi5D+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg98d-008jAq-Gm; Thu, 28 Oct 2021 17:24:27 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg97i-008irN-Qo for linux-arm-kernel@lists.infradead.org; Thu, 28 Oct 2021 17:23:32 +0000 Received: by mail-pj1-x102b.google.com with SMTP id na16-20020a17090b4c1000b0019f5bb661f9so5349797pjb.0 for ; Thu, 28 Oct 2021 10:23:30 -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=oR2LJprpgFHEyfIkq+LYfT/MDesQwIEWxhTuihSkoAY=; b=opoQgMZT/goPT/HH4eXbYBuQ7V1q6+ROLKtj6yC5iAJyGJCLuka+u5LAeWm9KaGwa/ WU7t1MnywtIvYfCDQeIs2UmXJMR2CBqnxKTucZkDir5RynRcwuznMotV6QnIoXNW0IJc KKVwpL30/7Emc39xMhl+p93VVz6jbEKY+0R+Nu8wVqmb3E2FRgXXfEWAQxgnaEkWsxVo 1md4untwWu+izVXouX0wqY2+kVStCx+Nhx/lFZD6PZ2c8YqTArGctxhZoQC5K4yliEM2 ejVDgSBPVVJSpjYEPJ8LdsCK5vBPVJj87zj4f7xtYnf9RNtw1wn+v+CiOYrEq7B+Zcui yAGQ== 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=oR2LJprpgFHEyfIkq+LYfT/MDesQwIEWxhTuihSkoAY=; b=kcWifiWH7/0C8wtXTwY4tL5f1nknTEsPegHs5pjoLMaGWhfUcSVRLdItWKi7s8YU8h iVK+YvkckF6M2bZw2HvA1YabqfMpu5k/vFT8iAqwuo+CA2xK6dcOT8PRaREAwd2kFv6P /0mPJs69nzwE0n8PtDSYT0mYssjQN82vxg2crf7Gtn+zqcx5EG+QYWfNFPqB+6GVxyNi aBPBClQpZk2Nux1tbOCer4vjQ4voLn0XydueC0V4IutWBlk5zma+Jsu3zuLH0GJwo29E F+SNyKM2qPXHiufPyoWLiogKbUmMHyv6HOxZIO2KfvApvOUiMsofe8NgSpv0HbfOKevy cKHw== X-Gm-Message-State: AOAM532H2im8jrOLJT/eA2Ew8cBAcjZ5C9eSMvUJSwyftR0zc5r+Ykfy NsQH6HUjFbbj/TXzAMtOl+w= X-Google-Smtp-Source: ABdhPJzt7fsv4JhCmKfJIpfvJr0gVsUJdII/D6p5iYsaSfSK9/tFlMqr+4dAk8g1zoVv0dh0jCDkMQ== X-Received: by 2002:a17:90b:50c:: with SMTP id r12mr5783580pjz.71.1635441810244; Thu, 28 Oct 2021 10:23:30 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id l20sm3222499pgo.67.2021.10.28.10.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 10:23:29 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: rafal@milecki.pl, Florian Fainelli , Wim Van Sebroeck , Guenter Roeck , 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 4/7] watchdog: Allow building BCM7038_WDT for BCM63XX Date: Thu, 28 Oct 2021 10:23:19 -0700 Message-Id: <20211028172322.4021440-5-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211028172322.4021440-1-f.fainelli@gmail.com> References: <20211028172322.4021440-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-20211028_102330_927186_9C3A32B9 X-CRM114-Status: GOOD ( 14.79 ) 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. Signed-off-by: Florian Fainelli Reviewed-by: Guenter Roeck --- 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"