Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2294379rdb; Mon, 5 Feb 2024 01:51:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHx7naAXp9Up+60imXMShnx9HVT4oBtnpBHRTLWDDbyd0Cbig06sJbKh3Og5nphy9DeiNa3 X-Received: by 2002:aa7:c485:0:b0:55f:c08d:9b13 with SMTP id m5-20020aa7c485000000b0055fc08d9b13mr3543386edq.41.1707126685360; Mon, 05 Feb 2024 01:51:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707126685; cv=pass; d=google.com; s=arc-20160816; b=CInLgpIsX3ZKE44ckYsc91rcKGb5MLt4b95awBaDCaNr7Jje6+ormALa8YOrt8WWpl +PuGORKXEWatj8FQ947lM1WaswOu4S4yWg0w6GsPRhwyOUjoxEySNpOXS5EvtHR2LgQk FM4dix3oWmY6dvviK+g80LhOhxGgKigHPl+0UiCmk7WDNeaAvd68jc5gDIEARoiXMEHf LatIXsx0k6Su/DJQfH/as3KK+J5UkvY6iqclfAFHPc9oPFyr48qwYzhYbE014V0ktkyc uAL1BR53+5f+Ftvg/eEmY8M1aeLCNrvq2QWvXSkop3+K44pHsMVPFp+2KaqsWfXlquBk Hd2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=jdBwXVM+SOAESELO/ytwkxUYV96TJJe0V6iZHZRVYmM=; fh=lb/GumXLsHWSntO45nMTnTjlDfMgTA7KLf2qwnRssLo=; b=qMVO6ZSW6T2s/PceLi9uK4Y/REa9aX3faHjWGoIOgRfZrGVBcVfWyrEjCriABWE6ns mbJdyw64UQrlNxKapCMEB7tZ/2Q2U5q4JfDMN32N5wJCnvwjooEFAkyTtto1wGmSfQeC mSV1vyBqKYJOvB2J0ylYzmciMhZr0iwOvgf7IfhMdqZxbigO51yOE/EV/C2kZyBbC8Cl f9NyE+psOYwRCxgAfAOxDtkYw9vqze6HUy46MyejngUNLNMn4B6cwmrP7rYbXP+7wZNA oaHbXeb+GXfwK7wQ+1vNkmmLlx4UALKkvwU2ZesRdOlZxsx5VooS0+B2Lqr181x9Kca5 jXnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=fRaIQl0I; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-52070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52070-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVThmtnT6oqHtWqxT1ykpS/TNMw/oac52BqlSy+I10zcpCLmw4kMEsHwzDAdE56OgY8uzglSuFoeOuv/oCgJXFj+AxYpWA05ynjsr3Rlw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e23-20020a056402149700b005600ac9eaa5si2973271edv.4.2024.02.05.01.51.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:51:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52070-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=@tuxon.dev header.s=google header.b=fRaIQl0I; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-52070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52070-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 BE3351F22A5A for ; Mon, 5 Feb 2024 06:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70793BE6F; Mon, 5 Feb 2024 06:12:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="fRaIQl0I" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 C503FBE4B for ; Mon, 5 Feb 2024 06:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707113571; cv=none; b=LBQ7VUOk3TwMfuZZ0phvRvgPQH/UFE9aNoGKZhsyL7sQFHCsnmxsiYb99ueQjRjDsdJ9UaigxjAJOhgGDGVn7Z9o8IarwEKTOvZ+/uBX0sF40KBKXNDAhlmsPHuKU3Xk6hJwMMmphRzxs/E83lRSMUHb9inDLlUilP+p0w1UVLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707113571; c=relaxed/simple; bh=AWjSQ6dM2gKtx0a1QmVBUdvVFBwjjsRw26vaIXY9PEs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ekH8Pv0g149BHxM7KYZtSDO5DIHkAYgYPzP4uUwrFsbXPTv9w8HEF2+62McsdEBuWkxiC+M7NcvlncHTvu1he1qgLtKB10UHE2JQehwZ1MVlD8b/j3dvg/s0I9IgCABo2punqDfaW71U47IoV+6VROr3AYXVJOe5ljkWpHQqvgI= 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=fRaIQl0I; arc=none smtp.client-ip=209.85.128.52 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-f52.google.com with SMTP id 5b1f17b1804b1-40fccd090c2so17463105e9.0 for ; Sun, 04 Feb 2024 22:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707113567; x=1707718367; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jdBwXVM+SOAESELO/ytwkxUYV96TJJe0V6iZHZRVYmM=; b=fRaIQl0InGiN8ZcqVcWINoHkUFNZdXo8aS4BA4Xe0/lZ/oE02B9wEXaSQoKD8ltyc2 F/rWomMuGqZ9owzHmjnpbLSzBfO/fVFA/O1IdhxwHu1KHW6rjHzET1Q0I8HbhQ2c+1sn exdGq2TpS9CFUvxElnv8sxQkwO5rIkwvpGez4lbk6S4tLsrF1IPC1EpeW5aAVdgrM2Pf HN6l3hQjHbYdhJ093EDqiw3092DIREQGvWedIcJEDrHKzM2KjzLdroTZ5G3QZFQWzeXx zmFP9s1oVuuPYRurqyqle6iWvq6h3+ySI2DZqqWd/CZCxxzU7AXcIURc5mAMcLibQh7A r5Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707113567; x=1707718367; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jdBwXVM+SOAESELO/ytwkxUYV96TJJe0V6iZHZRVYmM=; b=Y/JBndW/D49pXPag01GeF6Zod7uUfWBKBmetXemfqGFdJvRlJFMWvWsUsY6DK9B+OC E9tnRuY5Fj7C6L+WTvfiaiSLV4KpZMgM+JzEAqdSCzP7PdgW3z9kblej09P0DjHpVAZ+ HUKTaMwjucSViq/Q27aeqaH2Cgf80ByLLA7TcixbDFnxQS0tLgh/vGty55XFqrxBnbxT Lxr8Q22aob6WlhV6ULuQNhtYUzS8IMpt5KomY+k69jUJ8ceGiCTb25miqqJXg5rxHUSJ UvtChZZFuGjyvp3nkwMp+vU8u1gpxbtmAPjZsleNkcao/+de8cZWGBTPJYOKSGIvyjCH DUXQ== X-Gm-Message-State: AOJu0Yztf9u/EMqPJh07EUJRAIIN8buaCc9wiX0JMcQ7LYUcVeT3SQ5X xCpquzwzRKJonmMuKgO1+ObV6llX2k2MSfKDYbQ2hY1RWBHxLYQNaPvbQ49tc38= X-Received: by 2002:a5d:47a2:0:b0:33b:4197:75dc with SMTP id 2-20020a5d47a2000000b0033b419775dcmr234935wrb.14.1707113566851; Sun, 04 Feb 2024 22:12:46 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWPhXf6VHwYhyci11Q+EWL+w6Br2kQpm3ghemyLnvqzSMQH9s0mDxe08St6xFvT3e5p7hJp4nrH/Z58MHLYA026fsUopecCJf3T8Zif/I0Dr0d26m/aJg+PdrSFH4Vz25cuWO6H2uhCrx2nOQ5ReLKsw/EtRbXwGHtS0h8S56ZxLDuKhlUVgQipc4utfxR2DwWX5Wmql6BRRBdW863eySR/zUSWc94RDP0pOTNMEz8Ho7mljzgqOssvW05c/cY7THxDxwrJy6JckAMdiYC0eiqAVJeJuw9rFEl+6V7xKvKJT43OWGY/KeBH8v8So/J7hN71BOHMfpsVuFhoOD5ChWAXeBCQGq7zV9JRInsDMTcN8cq9H7rxvf44CvMEvKrW7q0KH2E0B1652qtK6XYkqy460hKYVbd4woDjhw/Uno82ggNEJCUDtDZXLANTVaaRKOp2Zrf69K+t8KRSdqZRocpACTEGMPmRlbTEG62OImeVJInGz6V3Yf44wGugY6x+cx88eydj Received: from [192.168.50.4] ([82.78.167.154]) by smtp.gmail.com with ESMTPSA id v23-20020adfa1d7000000b0033b37fe0577sm2604930wrv.54.2024.02.04.22.12.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 04 Feb 2024 22:12:46 -0800 (PST) Message-ID: <54cd6cdb-0dc5-497b-aada-23f53aff402d@tuxon.dev> Date: Mon, 5 Feb 2024 08:12:44 +0200 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 v3 1/8] watchdog: rzg2l_wdt: Select PM To: Biju Das , "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" Cc: "linux-watchdog@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , Claudiu Beznea References: <20240202075849.3422380-1-claudiu.beznea.uj@bp.renesas.com> <20240202075849.3422380-2-claudiu.beznea.uj@bp.renesas.com> From: claudiu beznea Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, Biju, On 02.02.2024 10:29, Biju Das wrote: >>> -----Original Message----- >>> From: Biju Das >>> Sent: Friday, February 2, 2024 8:03 AM >>> Subject: RE: [PATCH v3 1/8] watchdog: rzg2l_wdt: Select PM >>> >>> Hi Claudiu Beznea, >>> >>>> -----Original Message----- >>>> From: Claudiu >>>> Sent: Friday, February 2, 2024 7:59 AM >>>> Subject: [PATCH v3 1/8] watchdog: rzg2l_wdt: Select PM >>>> >>>> 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 it depend on CONFIG_PM. >>>> >>>> Suggested-by: Guenter Roeck >>>> Signed-off-by: Claudiu Beznea >>>> --- >>>> >>>> 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 7d22051b15a2..c9abe8f307bb 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_RENESAS || COMPILE_TEST >>>> + depends on (ARCH_RENESAS && PM) || COMPILE_TEST >>> >>> Since you are touching here, maybe ARCH_RZG2L?? like other RZ/G2L >> drivers. >> >> Also RZ/V2M "ARCH_R9A09G011" as both these families using same driver. Ok, I'll have another patch for that. > > Also commit header it is "Depend on" not "Select"? Ok! Thank you, Claudiu Beznea > > Cheers, > Biju