From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E35342A798; Thu, 2 Jul 2026 08:35:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782981326; cv=none; b=E8pwrMJbRGYVo5i5m3CaTxmsDXvbqVPUK3D5C2A9lQoAl/9SrbFf+GTS0mRl8dqr4+WVxunfqnL56QFY0h8VaAxWtC0d7A/XSQLT8b7JjmK6bYcyjvNr0Z1lh/tDz9za3pHezIoNANIzYE9hyDFbw46EJcVD36zHB8R1fJWub3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782981326; c=relaxed/simple; bh=Ui5nKZ9kIlm2Qxi2QG/TTlT978eJ07IL4k6NbZcpY2c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uM8M5r6vjXBymwxYafXUu01Jcd9QnPOd13TYp9Ugrwk2Rpv1eZz0LlfQ/WKiPRljKzm0Pxbn4WTi96dn8EtIM/JSaT0hT/9OuYWhgu4fca+gxsntUd7Xrx1uwK8A376LgfXRw1glstIKmJWrCxRx1xZfhYAoy1nixJqnhGwXtjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=saszGIV/; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="saszGIV/" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id DC97B4E40C29; Thu, 2 Jul 2026 08:35:22 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B12185FF03; Thu, 2 Jul 2026 08:35:22 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 486C3104C960E; Thu, 2 Jul 2026 10:35:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1782981321; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=v3XoWcvCU8wzeGoOynPkYxwnAByrmkOU41swl4JF6g4=; b=saszGIV/t7Y7j0JCiRiMUZrrUjHgBxZCHRP9SZrxi6DyLprb0yS0sqEUUCgbVRd1j2kDc0 mmV+Laa54Jw23TXNMja9633XtjD8NiBsMe3Kp2lBv2d+oAdyoaAQaSjr/yx/Rw3AXjVS48 /7gmJKz2k6Xxff3YAjAbIvnU7lUZF9MhDwYr/j0imQtjLeJiPpaCC0fbG5OYSbto/VEO02 MwGmNXVAzg2tf90MBY0RClJyont9a5FyoivIAuz6GiJYx8vrtvTv3ImtWQwrkR/i5SPe0F XNqBBcQuTOxaC+xM5I56CdSoyn18G8woFKkwT49z17GjmweTSDTvd+qX8fls7w== Date: Thu, 2 Jul 2026 10:35:17 +0200 From: Alexandre Belloni To: Krzysztof Kozlowski Cc: Markus Probst , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: rtc: Add sii,wakealarm-output-pin property for S35390A Message-ID: <20260702083517a6b67a86@mail.local> References: <20260630-rtc_s35390a_int1-v1-1-1b2239e16be2@posteo.de> <20260701-bronze-jaguar-of-perfection-028bac@quoll> <45e8157be53c3d8827fcccece7f706968bc056d3.camel@posteo.de> <7de66163-369e-4118-af51-6913b565fa4b@kernel.org> <20260701164821b7492eac@mail.local> <74b32ed0a700e3900c0f34d730b2b5b69eb2ca19.camel@posteo.de> <187099d0-5e09-49c2-b67d-8bd4366ff1a0@kernel.org> <202607020817017cde494f@mail.local> <887cb4e9-d60d-47b5-9110-e00d18e9e46c@kernel.org> Precedence: bulk X-Mailing-List: linux-rtc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <887cb4e9-d60d-47b5-9110-e00d18e9e46c@kernel.org> X-Last-TLS-Session-Version: TLSv1.3 On 02/07/2026 10:20:20+0200, Krzysztof Kozlowski wrote: > On 02/07/2026 10:17, Alexandre Belloni wrote: > > On 02/07/2026 08:09:55+0200, Krzysztof Kozlowski wrote: > >>>> Then you need proper wakeup-source support > >>> Wouldn't that break existing devicetrees? > >> > >> How? > >> > >>> > >>> The current driver allows to wake up the system, even without > >>> having wakeup-source set. > >> > >> Anyway, wakeup-source is already there in rtc, so this would be done. I > >> don't get though, why there is no benefit of routing it to interrupt > >> controller (interrupt controllers do wake up the system). Additionally, > >> if you do not connect it to any interrupt, then how does it wake up the > >> system? > >> > > > > Some systems are routing the interrupt output of the RTC directly to the > > PMIC and the PMIC is the one responsible for waking the rest of the > > system, including the SoC. > > Yeah, then the PMIC has interrupt line to the SoC and the PMIC is the > wakeup-source, not RTC. > This would be case 3 of Documentation/devicetree/bindings/power/wakeup-source.txt > Best regards, > Krzysztof -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com