From patchwork Fri Sep 24 13:29:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12515551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEE62C433EF for ; Fri, 24 Sep 2021 13:36:36 +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 9870C60F24 for ; Fri, 24 Sep 2021 13:36:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9870C60F24 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.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: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:In-Reply-To:References: List-Owner; bh=CR6+TzWeE6tyZnS/zVflggx3Z1aEc3iMaVrFgjiQtoU=; b=jK5tvr2xvJzySX VDROKSAXhVuwO80ztG4kdXkDRt9vI63C0pRfZMGlniTEwadHgjVWB8G4KT7K3D2W0i+YsPs54S4gN EAlWwyy1XbSruWtUILAQ2adwRmIKmJq0R+JvQ/9YHQwUVeBhQcYzMd1xFEpTwYgTR5MBQmO2cripT PVMeUY+RMRFGwqY4BU8zqNZy6ZjW+rhrhvu/erogNJqMeuwhIFqZZx/4J8ZqGsOXFZ0QRvbr7Br2Q h1HmalxQ2HK9bMWjba3uOiQhZZrGTm7gY/vjIkm1+Qg3GfRKzlVkx8yFPfDuFODDqHUT6atJhc7Ht dSgfPOapmXE6/wWLl/QQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTlLd-00EctD-VL; Fri, 24 Sep 2021 13:34:43 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTlHE-00Eb27-0G for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 13:30:09 +0000 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 5E1CC40783 for ; Fri, 24 Sep 2021 13:30:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632490206; bh=F70yOyVZZjxlDll0pjQntOrMr5BdXyTooQkEjSqxu5A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=p3OPG05jmZFoz+Vj6jlyX83cYRfVRStNntZv/z69jPq8/hSvoJhC1gZxV1pAQ8gez 0wHLj0O4WQPzgVln+BW6CFr2/2y63kEO/jL4tjE4OefUZ/4fZ9NVceZA+GEUUFb6Dd PyLe4YmUY3X4nMIczFH8yrpQ6G265NUDwckUiE9V2RpDcx3oyyyrwNQPo/xmsA3RyC K4vrgjIM0ufAobx7u/hupJ1Te8md1C6E+dGIMl5RkrnYrmZjAuMnS5Onb418TPIw1Z x3h6zQy6agJOVkJhHmYucFtReHaa2SAF5gPiHEYWE2UN23KwQ6/CfXM1NcSrU5szzN 6hpkLrob/1G3A== Received: by mail-wr1-f71.google.com with SMTP id v15-20020adff68f000000b0015df51efa18so8052411wrp.16 for ; Fri, 24 Sep 2021 06:30:06 -0700 (PDT) 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=F70yOyVZZjxlDll0pjQntOrMr5BdXyTooQkEjSqxu5A=; b=TYB6JLy30xJirU0vjmn/KuOXCuQssMzEa/hkVZGzzFTOgJDR1IPceSEI6k56pCGbdZ FQEz1/T/xbGb2hGbNcSRvmmKLeSFQwzf95Kgpr+I4dW08ub9ry5IC069+K5XKCDWy/0+ BQ3UhTMGHpvOoB/sleBJ08lf/cjv50/WUud1gSp/hqiovcGip3LgS13p6+jH4uIGBMX0 hvMeO84IcV6/INvtxmECGdsKJp+l6lX3HThFrsrf6E2YplTC7KzMY18HEN+JQgGwLwxK 8im9UF8NotIl+awzpfe9DbLZGaaReKS5Y18K+2TcqCuoQa2caIdxVLgzTCsVTSbJDGA9 9iFg== X-Gm-Message-State: AOAM531nFitJQClOX1ghcaVKLxa0V/7JlmDrLFztqhBRs2zAhCurYn7H hkUUVoKU/E0ZjKJBSNUK7ZLzHqgbELL8HTnG9WSOpywOUOjTlOzeDl4kSOWzNARNMqHdGBju4/D Ib9ZLoF9z1l47MWIATRPd+k5v9m5d+eFqnhEyjC6hbmam7hgZVuOI X-Received: by 2002:a5d:4d01:: with SMTP id z1mr11248673wrt.209.1632490204794; Fri, 24 Sep 2021 06:30:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkbc8Da6V2TsZslzItTVmktEElS+30iL6GeasX73+gONH6uwFQeCmkiLeu5/Bg32tsZMpPnw== X-Received: by 2002:a5d:4d01:: with SMTP id z1mr11248655wrt.209.1632490204659; Fri, 24 Sep 2021 06:30:04 -0700 (PDT) Received: from localhost.localdomain (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id i2sm8034262wrq.78.2021.09.24.06.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 06:30:04 -0700 (PDT) From: Krzysztof Kozlowski To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Subject: [PATCH] watchdog: s3c2410: describe driver in KConfig Date: Fri, 24 Sep 2021 15:29:30 +0200 Message-Id: <20210924132930.111443-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_063008_222145_293D8A66 X-CRM114-Status: GOOD ( 13.48 ) 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 Describe better which driver applies to which SoC, to make configuring kernel for Samsung SoC easier. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index b81fe4f7d434..75591ba261e2 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -496,16 +496,18 @@ config S3C2410_WATCHDOG select WATCHDOG_CORE select MFD_SYSCON if ARCH_EXYNOS help - Watchdog timer block in the Samsung SoCs. This will reboot - the system when the timer expires with the watchdog enabled. + Watchdog timer block in the Samsung S3C24xx, S3C64xx, S5Pv210 and + Exynos SoCs. This will reboot the system when the timer expires with + the watchdog enabled. The driver is limited by the speed of the system's PCLK signal, so with reasonably fast systems (PCLK around 50-66MHz) then watchdog intervals of over approximately 20seconds are unavailable. + Choose Y/M here only if you build for such Samsung SoC. The driver can be built as a module by choosing M, and will - be called s3c2410_wdt + be called s3c2410_wdt. config SA1100_WATCHDOG tristate "SA1100/PXA2xx watchdog"