Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2880576rdb; Mon, 5 Feb 2024 23:52:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0WieWxgRYH+aDyCM4Rwh3NyjpIpPxXzS0PsvljA56cxJYvViy2buUBABIZEjcl61zRxem X-Received: by 2002:a17:903:2341:b0:1d8:ab27:d784 with SMTP id c1-20020a170903234100b001d8ab27d784mr1354290plh.21.1707205966336; Mon, 05 Feb 2024 23:52:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707205966; cv=pass; d=google.com; s=arc-20160816; b=Z3okwqMml98lex4ttNLnzewDRsXa+k6o+G4LJmbSKQaJPWMK/rsjac3/28WvjNARvg CxudmvKQVBcebKUvS0mS28mb7uXNdvuQTjQzW8u3eqsmgdWsF2GWTxzphR8hrgmhZ0wd 2bx3UlH+h+oj5ffqTPtX0IiOjqCUWyFogVXLU8Dtk8W9i6ojXwWmgLMa29jr2eVCMIAy w9468p+JnzaGNx6XbYzUzvBbVZz5VBQunZnIufb/a9Sa/HgINMiUmDpDBy+KNci0m+LH By0xa58Ab9iMJbe+ZTYHiRNxGqRZstPkRHmHhAjkNKdgsHqdoPTuPm2Amc0eLlJH/wRF TjEw== 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=ntdF34/qM/GrD9bNmK0Jsu4ivGsCm/w2NOnD9IO/AYo=; fh=a8YECYCL9HMjaEKkd96D+hjtiE+Zwc7jUIjA/77Lzdo=; b=pFL34cBEb+iVRmEbtAI/AU21/HSFImk3R8mE68XAzsEWwvw0Z5w3Gss2DC0oD7qCwZ cX1H//25i9luxIHlBgDv782qXluhljYfa0cN88azPr3rb2W6g8ykIMLUyBSFzJZsyS8w n7Bvs8YbJ/TzHfUtlNi3rYQaAeg+FTtUiwqFwKi527tkKJw+jri2bdpZLQIBy+CtQ/Zh dAD4XWhVORKdXo3aXc1SvAnO9OhFRIkrDFpTp0Csln5g/8jftfAfFlgaBNTwAguXUXSU PH/7Xm41n1i2TUf5QsMzHJzjDL2+/hSTmgGr9+/+ExS+q9nPakyglQgreM16vR+6wF+O LOvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=OvbyAupr; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-54440-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54440-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCU6GAj3guYPCgWL8ctUJEj+BaIyQRM4XqBSLJnITnLWzgbHyFE5rtT9zSMLxS0/5u6wl3222ybnq2pwxXIxIumzfW9rDX9OX/gMFzZwBg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2-20020a170902cec200b001d945458de9si1219676plg.310.2024.02.05.23.52.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 23:52:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54440-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=OvbyAupr; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-54440-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54440-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0493F284912 for ; Tue, 6 Feb 2024 07:52:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57D7E12B15C; Tue, 6 Feb 2024 07:52:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="OvbyAupr" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 9788D12AAE4 for ; Tue, 6 Feb 2024 07:52:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707205933; cv=none; b=sj2FK6XjZbqfIZ/tO9D2vt3u9WNzW+oHimkLCZakOoFMVtClxTvy2yLVyG0552+UbzyiWBnF4sbhZayngBEryqlGHZxxjJbXQFZ9bqi8PdqL2LWW+LAOWU0UrCwOZ4MUrs7TG4PHURWuN1Bnei7h+4JModbPTv0LzYuXTTypaOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707205933; c=relaxed/simple; bh=B7ZI2SD8d3W5zxWFuLoPUdZsUPHlZgyVmcI9/1dywKA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HkHO90h0jzmg5Or5G+fIHNYreoHVtx+6lz7d3+kLo5AYEwuwtfGPrbSYhqXEtD+C+Y4lRowzqXkDuh/sq3fPEiJIyA52PPajpPfDOJ1Y4Q3U9Vli/NlFL/wHRkCzXq9Vf/N+WT8dVNZsUHdgkZwieT5m6gB3QPE4IanJ8WXKTIw= 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=OvbyAupr; arc=none smtp.client-ip=209.85.128.50 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-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40fe2744e5cso1346755e9.1 for ; Mon, 05 Feb 2024 23:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707205929; x=1707810729; 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=ntdF34/qM/GrD9bNmK0Jsu4ivGsCm/w2NOnD9IO/AYo=; b=OvbyAuprpVJCXudBf5e1lFbgf93J/44o60/LYZtlY0loiAT0GWZeH5gVJw41MPAAJp D81Q2boYZeoGkVBuWSj9X3nqWHJaTubCPZQA4d5W9q7EL/Jdz3UHJhq47iS4fetl2cHW u+LrjxK/Hb/Q7pqltMa5Gzr3Rk2nmKqRM8afDew6rJDlee/PW2LGW+l25Q9UChFUVIP+ Hii5lIkRCvKPNUr6DrtmnUGgv7qoJVkiBYwtt7WrUxW8dmVhm1o0dmtORQCskV2Bz+ec Awag0lp083hqbk0JfgSA4mEsRdMo87wP8sdDO9LobOTY4MIo79FeoXqVBef4F6LVNGaN Wf2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707205929; x=1707810729; 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=ntdF34/qM/GrD9bNmK0Jsu4ivGsCm/w2NOnD9IO/AYo=; b=Ex/m5FgxtJtTEOCUxQt6x9hfZoQJhkt+9ukSrTTOWEwQlTTRnHwAaM1o3Su7aT0Wgx sdnitwRFDjyrOAnvycZdvzaVWvpGph6RDD/P4NwXPRCbReInzMwkPZj/n90YQR4+SqrQ PS2h3cne3rBjP8JYeuTfvM2nmbKZZ3Bz7BEuryygKGnUU0KgHeQ7Z1OqLwFFAwuSz4IG lmEioPlLe/RLgWNP1S141IPL5Q6UtxdZrzNkHN5SMNCdg5ZLYxlx16Ihpcr+4DmVFuSX Ji05mS3RgODw5+i5oy55lNbPG3aSEVpTP1+0wj4u1+Id1YAHWtobrG0Mx3kUgQi/YjPE fXdg== X-Gm-Message-State: AOJu0Yw+FXlHhz8XFVM+PqjKRwGu+VUa0jIhSbRYE0Z35QbH1CtcSyMl sGH/h4hJMUzTTChtlqLbxjnSKwSZSVYEX4h7OpGfiCHbdfx2ZnVbsbYBhiHFeJI= X-Received: by 2002:a05:600c:5116:b0:40f:dd0f:e7a5 with SMTP id o22-20020a05600c511600b0040fdd0fe7a5mr1451761wms.11.1707205929336; Mon, 05 Feb 2024 23:52:09 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCU3r8ZXyDBDwRKn/0GcTalVwfTDivewtn3VP+NJWfVcPsHXTiHxjkG/cNLNZfYH0yReTKMCS6272CmBry6K/5Hpmq6EW+mcE79JymttnE21NbTIsU250BcsM18j4fPu/xBU8IF/B1mwZ4uB4ep0SRJuGXxGJ0FBBnZGRsR4bYegXcUJqpPx52jVPrq2iSQYv4J25WXfw7OfkdGMiHm+uBC58RCYZkCGwmsOpjIpkNvBHeE0fhEeCXag3fnZ8Fl0vPWu6UkrAv06PIuBg84fH3k+BNahKyeZcEavGJw3d9vblsvJWBMwfTefl4LbcgmBh0U2t/zaP4TBuRbjHdCm53wuxnIs4gYTAhnWGlJcbynB4oXJ+sO40UP/RW91TiFbpQo7O0pjnws/Kin1knNJORSOUeo7VqXgrIN//hBpzlNHuMu1n5VezFSLF3qQNhBecWPBPbsP/R2tiqcUW/ISz2XpZlgGeGGM7dPNnFVnokOHW0jDN9JDp5zaW+RdrmlvgyTVoI+pkvlGOQ== Received: from claudiu-X670E-Pro-RS.. ([82.78.167.154]) by smtp.gmail.com with ESMTPSA id j32-20020a05600c1c2000b0040fbad272f6sm1106843wms.46.2024.02.05.23.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 23:52:09 -0800 (PST) From: Claudiu X-Google-Original-From: Claudiu To: wim@linux-watchdog.org, linux@roeck-us.net, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, geert+renesas@glider.be, magnus.damm@gmail.com, biju.das.jz@bp.renesas.com Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH v4 2/9] watchdog: rzg2l_wdt: Make the driver depend on PM Date: Tue, 6 Feb 2024 09:51:42 +0200 Message-Id: <20240206075149.864996-3-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240206075149.864996-1-claudiu.beznea.uj@bp.renesas.com> References: <20240206075149.864996-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 don't work select CONFIG_PM. Suggested-by: Guenter Roeck Signed-off-by: Claudiu Beznea --- 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 was also fixed - adapt commit message Changes in v2: - this patch is new drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index f6cb63a0d889..27e11ea7eeeb 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -910,7 +910,7 @@ config RENESAS_RZN1WDT config RENESAS_RZG2LWDT tristate "Renesas RZ/G2L WDT Watchdog" - depends on ARCH_RZG2L || ARCH_R9A09G011 || COMPILE_TEST + depends on ((ARCH_RZG2L || ARCH_R9A09G011) && PM) || COMPILE_TEST select WATCHDOG_CORE help This driver adds watchdog support for the integrated watchdogs in the -- 2.39.2