Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp173829rdb; Thu, 1 Feb 2024 05:37:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEVU9Xk8K5lfZ1dQpAOzAPxymh4KeWY6ejDueBoMP+HklSOOksyH8ELtsA0lnrnybLoaGf X-Received: by 2002:a05:651c:b0a:b0:2d0:7b89:e872 with SMTP id b10-20020a05651c0b0a00b002d07b89e872mr1126882ljr.27.1706794631902; Thu, 01 Feb 2024 05:37:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706794631; cv=pass; d=google.com; s=arc-20160816; b=K7Sk/vyN5dAyaOL7HAM02W8MUGltWKA7ZqLVRPr/gk8fxCQXjqV5DWrzCQmUdjpQmk 57Hf8qGVix7iOnonnj/W50jJ30rvoGD4z62rXxKw6eOjrcllZV7f/jA/FmfsgMc9IDSf CRYtn1Hsn7CAOv7TmsxqU8lELJ6TrpfQmLZj8HiDlX6GUsXqb6DNshXl6x9jmZzpm3UM OG+p/cwUQfUHt0ynsGv8o3CRihoULtuCjFXeuviWtvFmMoRMjUOZTQTzZQBaZ1JwLOwY aHKFb5bKoJRx/TwYCdPuGE2m1AmJNTHi/sWBsClKsjrgDTj11Y3G6Ju+XbU7nqlbIkvv kE1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=NIOY7HRa3XDmbQkCgZJQXD0Vyc4i5CecSgVuCotRWD0=; fh=+sYhsFt0SXfe5bUE019qJRN/0MrhmA6r25hNpNEQFOc=; b=hnFuaa5OCoP8ygeMFihybhGx77i5cPu0D04ftSdl9/pRcK8t1Jht9Pqj+bDSfwACeN aOuOYeKQ98uH3K10zfn5PH0n829/anVU0qDPKw1MA/QZZcECOrrxe/sx30J05I/ye6Zn qlV2xQkujYReKkqsXn+1Tm4lhAhMTHDulOGOBq+Wk51Q66qcKxYfIVEqOy2kFOjC+ycS R3zhzCANh7jGusaWOlW4W8QQhxN0X1F2Rk2EDlUYpyzOPhoJS5Zo3/gMDIwmeTBWSWbY xmfh9vQT5Y+UdKXUZWmx8nzyshK8Qe4G3wC025Ap/xQsKS7ZGKNXG/Dg7FWiLM3ioL+K OMzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YWkQ0fk7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-48244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48244-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWZvhRN6HSDkPyN5q+ZFJaY/kZEUhJggJVLND0tefaYdGc6FqYh6aDSNVboc+HfO3yodVB9hCLCnGK0o9wdYKsZ7eCFCFHn/YD6I6m6Xw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t13-20020a50ab4d000000b0055d095ffc36si6851865edc.156.2024.02.01.05.37.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:37:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YWkQ0fk7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-48244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48244-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 60B121F261FF for ; Thu, 1 Feb 2024 13:37:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 245035B68B; Thu, 1 Feb 2024 13:37:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YWkQ0fk7" Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (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 9CF2B86647; Thu, 1 Feb 2024 13:36:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706794619; cv=none; b=lmONTI7lUV8VqHNknA3egSHQ0qBUwQeXp+Tia7JtP7VJTLXFutz01MJH2XVmiLBzIrleG3BiorU2ehuQXL+BHfYsuTs9UejKS0Tf57jDF0SRjGWygYk+BB1iXva4EgdukWIEL1NFtzVIAkS0uZFJyfy0qLCYPNJ9RssOvdpodbY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706794619; c=relaxed/simple; bh=Y6xuwZ/UytPs1s0uPT289WKmjRvZNzYA5jAUKSKRGow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=crxZR0BtL5BdzPySo+PihSRYzSfUPBGNNjuGbjM2LentuqJgEjGzlpkxPxRKRaI74W3rrBaBvN0XXopt+ZZg0/ZSCMaS0zlCjM+Au6o09uoYLLvPlKZcy5N/c908Qi4z0JDMkDOm8UlW+sEUJJXJR5UTKhaPClk0NTX7AVrykVY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YWkQ0fk7; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-296043e44caso707951a91.0; Thu, 01 Feb 2024 05:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706794617; x=1707399417; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=NIOY7HRa3XDmbQkCgZJQXD0Vyc4i5CecSgVuCotRWD0=; b=YWkQ0fk7yeKg4suSY7ZrfpfDCHwGnZ//QcV0eoWH1h+jWbRlf1Vbjps+Eun9/NcX6V Px7kQLFFYzQqxV/6BkS+r2sgmUl8tO7SrXS4vgTLS5uxfMkmAlVe7IFDBtr1iAm29Xrf a6yCMVsQC8yXSpuTHv61Ec4QJL5szekeGYji6ZWSC5KqpRMjddY7J8Q4EfxQGgkavKFV IN7TwJX1XUGtzLPFFmXOCWGw2zVo56liYSm2WbUFsVh88mdI5dGV1FZBV62t5nHOrjDW X/vLwpvM7G5PFBlMBqkN5W8cNVwhWSB6YMDtW+gFdQDC/vlfEDeksAyR59pSbT/lpSk9 IbSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706794617; x=1707399417; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NIOY7HRa3XDmbQkCgZJQXD0Vyc4i5CecSgVuCotRWD0=; b=UdFXZ/p/JoI3gc3OaZ8jGfaimIqXpovt7KoN/o533hTAppT0+QYSSnG5wI+WCZKVz/ yS1sMUYCNpfIqkNBJT8VdcO5Ex3oGgF6sbehmaRXBrtrzQNkhlDgRAYrp6Af/mZLPnVh L29Nt0dzlgfvr+lv6oZjrKwkUNIG6+yTCJeXs4fSdPs1Xla5BS3o2CUArfJD0pr5Zpis FaB0cN2YPayUdXWkcNd3V0uoKZyechGgHu7ThKzwlOpNcBPix5zIb9oS3MCsEOCX6iqF Z6lxnpZI2W2qeuiWaJ8IEk+jVirDYtiY+Y+vV8z+D+QEY4ucqsVMeT0mlr4By6HsSUFX e/eQ== X-Gm-Message-State: AOJu0Yz3Y2BxCcIiLLHCmRNLIADzSXnlSVSrGQ44cnsDLuJ4BpW4Tr0B /ewVIRV2red1WKjENY4ZpRj4yPK/S36ju/eOcp6RhUToqauV/wgLzwzYwy/4 X-Received: by 2002:a17:90b:30c5:b0:295:1a47:d70f with SMTP id hi5-20020a17090b30c500b002951a47d70fmr4515280pjb.3.1706794616765; Thu, 01 Feb 2024 05:36:56 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVQvkuKLc+GA8XZDsVfJEW8YCYHHXaoiokTfChGeswxJcXBRwpxku4nd4z4lzDUtkS2Mf9VEPr2adPz1vyS+YYQ4PskLASl1MhD70R+mF3X82bhDAmegRqmRMSOlq6yz4Gcas++UsC6+zL7NEeqQiNfl8FStcbow3WzAe1bEVjtsnRq2L4WU2q0zsRjpd6bow//EH/XDkbU6uXzz+5URKUL862vxnk0EcbHBObTM0SaCB2agpVvZik9ZoJ543PfKe2xTcjfn5gWQ2lyM/bZ6K/lym/kWVtvnuUH6oq6Db2c5KX8HggmtctiDgsgBvzaLNwFRK1iOfAw67dsHCZtzNhW7kaiZnEoooyVmukRV15QH4CYfnyPQiO65OG/2X8De8jC9OhgmXhkjycfQDgVobcBGiUThKKCQbp4NHXgqn8bJ5P3tk5pQLhfSPURNlo73wa4Y0vxrPqMTXD6Bsq7aXg4H09ld7Z1MqgbN3i0pFUpTAd0caZ12WZKoBKsxSRtOXkXO3J+yzrKA1N8GEkcl0pE0i4I7DHBUDWzGCMqxAavVa/WWH0KqNT4yoo3kBB20gCDEHT4ufnFZ84/c5188juWpDgrSqoXblJC4BpmN1tYwyVPaUDzlBkkhTCVwVY= Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id pb8-20020a17090b3c0800b00295fdf538e1sm2443191pjb.12.2024.02.01.05.36.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Feb 2024 05:36:56 -0800 (PST) Sender: Guenter Roeck Message-ID: <313ec14d-c991-4bd0-a964-5759db108855@roeck-us.net> Date: Thu, 1 Feb 2024 05:36:53 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 02/11] watchdog: rzg2l_wdt: Select PM Content-Language: en-US To: Geert Uytterhoeven , Claudiu Cc: wim@linux-watchdog.org, 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, 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 References: <20240131102017.1841495-1-claudiu.beznea.uj@bp.renesas.com> <20240131102017.1841495-3-claudiu.beznea.uj@bp.renesas.com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ZsFbnvBtiw7GchKKri2gDhRb2QNNDyBnQn5mRFw7CyuFclAksOdV/sdpQnYlYcRQWOUGY HhQ5eqTRZjm9z+qQe/T0HQpmiPTqQcIaG/edgKVTUjITfA7AJMKLQHgp04Vylb+G6jocnQQX JqvvP09whbqrABEBAAHCwWUEGAECAA8CGwwFAlVcpi8FCRmg08MACgkQyx8mb86fmYHNRQ/+ J0OZsBYP4leJvQF8lx9zif+v4ZY/6C9tTcUv/KNAE5leyrD4IKbnV4PnbrVhjq861it/zRQW cFpWQszZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/1/24 00:52, Geert Uytterhoeven wrote: > Hi Claudiu, > > On Thu, Feb 1, 2024 at 2:30 AM Claudiu wrote: >> 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 > > Thanks for your patch! > >> --- 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 > > depends on PM > Yes, I did not want to suggest that the driver should _select_ PM. Sorry that I wasn't more specific. Guenter > The availability of PM is architecture/platform-specific, hence it > must not be selected by individual drivers. > >> 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. > > Gr{oetje,eeting}s, > > Geert > > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds >