Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp263786lqh; Thu, 30 May 2024 23:58:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYSBk8GqSmOicfARvy6TQWO1ffzaopYAweVt+liYt8br+hWq7qcGHBc7tZIZbfVV7cm0bfRzXKVqYs5WgddjNOIwxPYoZwFwNTb+rNSQ== X-Google-Smtp-Source: AGHT+IFGYENUwdnMb7P2Re/6FNJxfJSEUHVHA3NCKYTq0yhwehNPGrnVIqSgqsEzNefFwt71srWq X-Received: by 2002:a17:906:3bc3:b0:a59:9cc1:7330 with SMTP id a640c23a62f3a-a682214f644mr67851366b.64.1717138710123; Thu, 30 May 2024 23:58:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717138710; cv=pass; d=google.com; s=arc-20160816; b=NZZo/j3sS6Vw5017FHerWnLMXSggXjObTtAB3ds/n/zMB4kRQQyErUDEelPoXe7u0R gqfHcUT46+12cJHKepG0phJ5SUsT1TvwTHBe1nZ4inlaNciKTnWn4a04IiEhF/gmAvkj 8s7thHEDZwlV8m04pH7t7SQtWCUqWIZXOQwSCjrwg1BxOYaEaTATuzwWeBaJGwJi0pT8 NSlgrO0YYAB10S0hxZe9RZ8j9m33ZoJ0ZVfsqetEWw6A0mXVGEgEWQkEzI6WRQ1WCffo PpWoMVj9YHkrZxpjXbU5jqRR17dHAOx6tQEVPyMWj2CbnOL8Eim2pEoscmRI82K1oom+ mhbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+eQAiMDX1+Kg2KUabFIpayCevJwzqOIZx5xL/Lss4a0=; fh=Quw5iqm0mvJYIFMqeeoUZBfFR9GvDCh7ScQkaidIeMM=; b=LcVwyHwKsWUcnD/xWWGJHeGHSk9sJK+7w/f0qMCVj2L5H5609qpREpW/PlVtVjMBh+ /x9JRyFxmnQJ51cC4eQsy4y1CqXdqaECPIDEs6bgiLthD0qvfycQa2K8BJDYmuiOPkK/ I6zbg0lbsJa4NkWxyXlcmb07cWIHrtZjAGp2ZuebWPjKRpywIRdWNAMwYMK76j5pz3mN jbbUmkvnONz35B+ix8kIeffa3dUOCDDPhgpqlHHAnWQ7zso6acEbbtq9gIF5NUKHEWy9 4PAKEPeuwzMmpfNFbEjRRp0QWYXXxpyBx2YHc453p5P7JBhwRjHn82aqbCri5OmGABJB ZwQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=b3npg3Q5; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-196377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196377-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a67e74f08fcsi58411866b.273.2024.05.30.23.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 23:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=b3npg3Q5; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-196377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196377-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B97881F22820 for ; Fri, 31 May 2024 06:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7578D81AB7; Fri, 31 May 2024 06:57:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="b3npg3Q5" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFE8680C1D for ; Fri, 31 May 2024 06:57:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717138674; cv=none; b=nCdhRDF+4xG3Lj5df17Mt9dUVG9AN7M3/maOsBLNsDJM+VFBqQ8k6NrkWpBYGjp0FP8jhqR2/f1RJGUrQv/ZwaCvG69cK2duPHoKOjjW2e+2yk69UxYq07N85mzJe8xgpfW1PgkLCz4CmKdqwEjvI2SNEZ348ZUPIDwJgNuy9YY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717138674; c=relaxed/simple; bh=GuICZzQNErHvuG2P1OP6ZysijVVwTxA/SYYbpm8UHrQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TjAQUU9gl3nuJxE0sEXucZJR/wllYRvJzaS9OQa34gjsI/uCo9kryssdwoPBGx5L5//7nN//qoN7U0zMYNi4UfW8/2mux5GLsXSMR3RBQclQOS0w43mEuA34STl2LtKPMF/5LdQT+Gjl2JlSU25j3li58C7vsU7ZwrcfIZlFGRI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=b3npg3Q5; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a6267778b3aso135641866b.3 for ; Thu, 30 May 2024 23:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1717138671; x=1717743471; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+eQAiMDX1+Kg2KUabFIpayCevJwzqOIZx5xL/Lss4a0=; b=b3npg3Q5qIO4eDJ2AchQCsa2o+utMNdr8J/DXWu7jb3/PPRAgTkbtgmnR0X7z0NC5/ WvFa+Tlh/IhS2ZXwvLUwVqmJou6psSAXp4ygW+68l9ejIg/Qr7rS80D0tadbYB8yQQ/7 I3qMD9sR7eReFR69cTJiNZhhpATzHl6pczEDFlVqSYAn36g8PWdl9zmNuTb0yWhhQ3wd QN9Oa0ecuS6k2jiWV+Opsn7tPm9YblPagX1Z48wibY6ICuAD7lF+l0XGuLhWxMtIhMTy 41rcsK5EGJyOHrnGPHVmXMRXkDr8UxF38NTXkEn1IM0wLdXuSCR3iYYw1TiIB5lHYtYG SxXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717138671; x=1717743471; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+eQAiMDX1+Kg2KUabFIpayCevJwzqOIZx5xL/Lss4a0=; b=crGNtEXqWQ6ooyzhvwKFV7naKZKWA9WN7T3xdvZNhR8rq1g6IsLebQL9a3KhiXO+gP 1lLsubarGg0xPhz/ml1ga/CxVlxpJQVw6T81eXleKYUuiIgT1I6Bbr91ONY2m1iuJKnw wuMxn9v50Vbapweg87KcTXKSr0ks4M3Tw6yDkFe25VWFfAt95vEyW7cLmi/qo7qVdbiT 71dujEc+oFC9X02REPdkmFWzflPxkFiZ2LqK0gObvRKXaJ6GBjZplO47gwN6zNgMiKyU hTu1Lij5jXil0JgoA8tnCF7W0im/MXw7a7qM1e7CjQ8xspRPBLzNlDg8VqVsW0lSTLob 14dQ== X-Forwarded-Encrypted: i=1; AJvYcCX8Lu95ZCIQBtpMQ3XhOVm6kPKRZyMaRvwS5rUt1AAl7fmNpxg/PazYlw2WH+VvtjIEB5G3VLMEOk+wDm5FGlzIn4OWtrv+r9IxP0C9 X-Gm-Message-State: AOJu0YwVUDxejRNKfPC8bzbSVCj0D+0Eh/kJ5BQMdDaDm/kycMSYo/2q 9WztYCXBqp/JA75QdOQMJ0s1HedKDdkReYe7DTeocTsdPM0vV4FlNWpi7kEnFqE= X-Received: by 2002:a17:906:3b9b:b0:a66:ebc8:ad2c with SMTP id a640c23a62f3a-a68208f10d4mr65313066b.42.1717138671087; Thu, 30 May 2024 23:57:51 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.157]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a67e73fc1a5sm54205566b.53.2024.05.30.23.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 23:57:50 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: wim@linux-watchdog.org, linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, p.zabel@pengutronix.de, geert+renesas@glider.be, magnus.damm@gmail.com Cc: biju.das.jz@bp.renesas.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, claudiu.beznea.uj@bp.renesas.com, kernel test robot Subject: [PATCH v9 2/9] watchdog: rzg2l_wdt: Make the driver depend on PM Date: Fri, 31 May 2024 09:57:16 +0300 Message-Id: <20240531065723.1085423-3-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240531065723.1085423-1-claudiu.beznea.uj@bp.renesas.com> References: <20240531065723.1085423-1-claudiu.beznea.uj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Claudiu Beznea The rzg2l_wdt watchdog driver cannot work w/o CONFIG_PM=y (e.g. the clocks are enabled though pm_runtime_* specific APIs). To avoid building a driver that doesn't work make explicit the dependency on CONFIG_PM. Suggested-by: Guenter Roeck Signed-off-by: Claudiu Beznea Reviewed-by: Geert Uytterhoeven Reviewed-by: Guenter Roeck --- Changes in v9: - collected Guenter's Rb tag Changes in v8: - collected tags Changes in v7: - updated the dependency to PM || COMPILE_TEST to be able to compile-test the driver when compiling for a !(ARCH_RZG2L || ARCH_R9A09G011) platform and CONFIG_PM is disabled Changes in v6: - update patch description - fixed the dependency on COMPILE_TEST previously introduced Changes in v5: - updated patch description - added on a new line the dependency on PM and COMPILE_TEST Changes in v4: - s/ARCH_RENESAS/ARCH_RZG2L || ARCH_R9A09G011 due to patch 1/9 Changes in v3: - make driver depend on PM; with that the "unmet direct dependency" Reported-by: kernel test robot Closes: https://lore.kernel.org/linux-devicetree/202402020445.TOBlFPcS-lkp@intel.com was also fixed - adapt commit message Changes in v2: - this patch is new drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index ecd025dd0fef..20c5f4a6f30d 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -933,6 +933,7 @@ config RENESAS_RZN1WDT config RENESAS_RZG2LWDT tristate "Renesas RZ/G2L WDT Watchdog" depends on ARCH_RZG2L || ARCH_R9A09G011 || COMPILE_TEST + depends on PM || COMPILE_TEST select WATCHDOG_CORE help This driver adds watchdog support for the integrated watchdogs in the -- 2.39.2