Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp344383rdb; Thu, 1 Feb 2024 10:02:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5Nv/afx4Y/2BeR97DY461pUkg9WqwSCgYoB7Mb25CDzjw//IHn+lf4Zdv2nrCohxMTcwW X-Received: by 2002:a05:6a20:968a:b0:19c:9eea:e731 with SMTP id hp10-20020a056a20968a00b0019c9eeae731mr4915669pzc.40.1706810542658; Thu, 01 Feb 2024 10:02:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706810542; cv=pass; d=google.com; s=arc-20160816; b=TyGbz8v8LcHaI0L42N2FcUMgWbP72HItDr9/9ySJjmd4EdoOQ6hGOMxaE1P8p7r6eD zxksi9eWlIHOyGAOg2sENxsQxaGxxOJVlqixutagldUAnkzETTo8V08VRCcuCLY/3/YA ftFgPH0a9IkYc6UiSuAuK3lPxOIVi3p8RZT2MQKKqghxucWURhtNTxPPShX4GCbuYUmt Q5k2rigBziglHAJfQ3HVktQuTvKbdTQ01R5/xM/xZas0za9xAs6EAj2zu7Vmh6MJMnrK HYeEcQhRc4vUu6K93t417g/MtLON/vmLTo2im6iId5xjIihzYaAUnIv79bSYSV9kzvaz BH/A== 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=cWlqSYVWXt5E/so3s3DVsM24TfFqYzGuXtgHed/wp8s=; fh=QPNVIIZEKnfJ6Wcat9l6n/fgiPfPiaEOQz05O1VtA34=; b=sR6xuBuitPq+TjWww9XSTTZz60HVJy9oSJA9r/RLDNtVhmCNC/bn5O+FA6RFsUDyIC HyJd7LjDFBs3UtLiaHyUnV68cVVjkwDqReYDOkPUS8RC7BKBcKTh/WylPpJMcyuWI5Sk bJREtiWtAoq83vlAgQ3L6s6k9k4oRpb9Ej2Heaxqm9vUf1vS7qv0M8r/dnLDkUVh/edN oB4RMB4qchb/RV2OZ/k0A6gUaeYNokSsC6gV2cFYhWLR+kbDBUmi7FikfUzy9mXKOVyX 2E/lvKlxP9EoQkrO/9lU/hUG7fAKedP0SdcBR8ExO1aejA7aRyRKq+NaYUDXPvEtw2WJ Nmkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Pg9cCo5w; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-46204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46204-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUpixP0i4+xrfi92TfhENtPewUL3JeDaXhrrL0kAaStLVz9ZnL7bGjI/DEg/O4EOstco7WbBAnRM5lFAqzisSVwnS2R8xOSeaZv9HuFKw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z184-20020a6365c1000000b005d8e2f778cdsi92049pgb.417.2024.02.01.10.02.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 10:02:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Pg9cCo5w; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-46204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46204-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C4EE9B28594 for ; Wed, 31 Jan 2024 10:21:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1CBE6997B; Wed, 31 Jan 2024 10:20:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Pg9cCo5w" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 0EC0769975 for ; Wed, 31 Jan 2024 10:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696433; cv=none; b=QLgySQLl3V9mLBUofoJeV7AwRio52hh0Xnm3Dy76sLZyqM/kL0zyvX9bnm/EnVuY3bf90rvnU9mdvaV7QICDcZ5CESQD1xwja2/koOcyMR5+FJOnAwdF5oLLJrz9kDkwrcUqC/Rlk4DGYfIqKTA0j2HyJHtLdFwSj2zvbX8uKVw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696433; c=relaxed/simple; bh=oE5h6rY9x2tGBQVchOg35/O8P8LJYFf57f/PwB4KFbQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=otexAt4tK77CbWmDzlHPGI0E6EQxf+vmjdOTwh66QZceHfCqdktXvo19q/W4jMAx57AVVJTtGDCWoDVYnyiTA6tW8Pa23X+sPE1fcK7/9q8J8KyjTjwCPNOntcIGyP3xUK7nUECUAntvR+avNwbgHVVfj7tRwFkH7LYwAF5GvYU= 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=Pg9cCo5w; arc=none smtp.client-ip=209.85.218.49 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-f49.google.com with SMTP id a640c23a62f3a-a35c0ed672cso423831366b.1 for ; Wed, 31 Jan 2024 02:20:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1706696430; x=1707301230; 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=cWlqSYVWXt5E/so3s3DVsM24TfFqYzGuXtgHed/wp8s=; b=Pg9cCo5whVGCPrI1h6Ugn6aINl+R1r3uzw4Ux9+JVFxGjoSbqT56X+nByGCCxBSLi/ 9OUQqHjJEd/slrg+MnVv8e3IYPQn0n7FNQesxKZTwTJD/PHnpB3yZMeCekhJw8tcK54/ 7Rk+1nuZqllNj+uMHEJ9FErxTve/XVeNzmNgmDzl8TKm+SojnGxIJFhqzk3fePYv9Cun UWnCSUoyt6gNMTi+BLQY0dYN8JDorldB62XgGXi9UQeTJ7fzGtdyxI9ZisdkFyKzYG9/ LRH31dnStthHvgj3HCV7Rtw2orw9pm6ld8xtyjyitjua0KQlxTNtubRBh5mhof3xkrGI GZuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706696430; x=1707301230; 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=cWlqSYVWXt5E/so3s3DVsM24TfFqYzGuXtgHed/wp8s=; b=gjAY/xl7Ksd+Ad6nNXVeYBciA2UUB+vRvahN3Z/LdlLqze3l8Axfsa5H7du7aCd9N5 l1OtMZI1tsDjfZh6oGADSO/+YDEVzcPVRRk7JSFmFwMynah4TcBPOjywtihlbo2D+QPa eVM1tbmEMrpP/VCSTK+0fdNStou6FP5yYi8r75XJdW6us0yDf5mzvQMhzNBEvk/pxsbQ BMdcFhvcffM4evMmCVvlW8Ex+MYbssKNbMCCcd5vuoYRPUUOOGUknj4kH7GuACFEd8l7 mRze0RtXCJaUKxVqTxHVJQtz2VdIVOhVfbCDC2eu98U0RwKaodbfodhNTlw+2a0RPcE7 LJ2Q== X-Gm-Message-State: AOJu0Yz9F9GicljpD2wBnXeClI/rcTb6iXmUZtf7SH7/nExEOOII9cHP RRroBojPHwRmtEe4LVCsO4P6IiCDiNj13Jk0Vm5AK0Dcj51u+9VhgXGnZvfNgaA= X-Received: by 2002:a17:906:2511:b0:a36:8d18:4c23 with SMTP id i17-20020a170906251100b00a368d184c23mr345341ejb.11.1706696430161; Wed, 31 Jan 2024 02:20:30 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCV1Ri1NVLh0NF5zlUaVk2LHboPFKt3vlX5nUZsfLUp8tfHumWoZsFReo2sckPYwFpztR0dhc/i/AzIS1SgQThJAAT8xhaV2eyz/8uaAX9i+MxzAMDTGiIxJx/ZBgukcQsrpQO7YFc2maiQNWUHrW9Z1gzDs6auk1cSHE4JgFEb3S0XHSQMC797OzoOuBVeMkkvOtaiGPJSDut0wixUE+I4Ge8VlS1+MQJqyka3A9hZCUaxbR3xlhlPXmJz9jy7MK9BsayDmaQ59Cjbx+95l0qmfpkilxhAc+CItk1amXZLDJagZ8LksjARqf05noT9rvFDsejY5UR+9BraUA1P+isPYrib6pE+o/hEi9V4inqT+ocI40qzJ2rqjbhoylihNjjMYpC4dRoVAiQAxrSscQYbeYIC8MvaQFU3sJ2QzCo96E8Tkqk9I+MDSlZ+tycATmiePuE/Imr6r6jjX9KrYpXS1gAJSg1syvFoSHnQjo8BOS1p0xLEdc+Kf5CMDfZF8daMrT90sgI8NxG9qt4FwqHo5rZQFiOvptavSv66oURwSOuOvbsSJhXLohaOas5XyJToTOR2UkHi99fugqwlOIKWtYajk527FODjYHf+RRs8TAmM= Received: from claudiu-X670E-Pro-RS.. ([82.78.167.87]) by smtp.gmail.com with ESMTPSA id vk6-20020a170907cbc600b00a3524be5a86sm5212966ejc.103.2024.01.31.02.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:20:29 -0800 (PST) From: Claudiu X-Google-Original-From: Claudiu To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, geert+renesas@glider.be, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de, 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, linux-clk@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH v2 02/11] watchdog: rzg2l_wdt: Select PM Date: Wed, 31 Jan 2024 12:20:08 +0200 Message-Id: <20240131102017.1841495-3-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131102017.1841495-1-claudiu.beznea.uj@bp.renesas.com> References: <20240131102017.1841495-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 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 7d22051b15a2..495dcd1c5139 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -912,6 +912,7 @@ config RENESAS_RZG2LWDT tristate "Renesas RZ/G2L WDT Watchdog" depends on ARCH_RENESAS || COMPILE_TEST select WATCHDOG_CORE + select PM help This driver adds watchdog support for the integrated watchdogs in the Renesas RZ/G2L SoCs. These watchdogs can be used to reset a system. -- 2.39.2