Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp459196lqh; Fri, 31 May 2024 06:46:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNI3alavNmbbMSYkLJiOGxdfK6rGJozyY0qMBIFHMi92lHySJvCC2yYkUSRMMiPwMnE992xEdxtmvcs3JwQLTH0BxtvYHz2/QE4//4JA== X-Google-Smtp-Source: AGHT+IFlyM7KJCxjyOKlSe54+YALluI+NtBYedcLEGDlUuINxeZdr72G9czBNQ4Lcv+ZZMboqU0Y X-Received: by 2002:a17:903:2409:b0:1f6:2a62:8b2e with SMTP id d9443c01a7336-1f63709ec7dmr20189215ad.46.1717163209156; Fri, 31 May 2024 06:46:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717163209; cv=pass; d=google.com; s=arc-20160816; b=sDuZ2WslJa3fSCl4q6xe0B/af5MqExO0SrdmLYl7iIAiWMGp8nBFYK5XI/HkJGRdIF aAmdQx1qsVu5lur2elOEAcHPBAGsn7RTZfts/zkKedjhZUX5qfXs1U33G+silx+SFqjG 6lDOjOrZWOC7dQtMknWCBgw21li237dpiMqqkc8AZKFtkIdbx/ubX8d1IzC0z4T31NQi AC3fcA3AfHR7sA8ukmu/giL9UNAVxuhOnQM5ftaL5/Ivd/QtvoqBNfoNnyfs5i08U2Ar /PvQgH6ffQMeXI1eRbAAdP8xPfWoFFscjuAWfr1c0uMryAd5r3S14IlRkui9+ytpOQPH gcRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=D/jm7YFVKZO5EF0HRg/Eme/vi+rflGnVpk58vw7Vbkk=; fh=SQE7KuP8pwDyrtKK6opH59bkjSqAWLg24Qap8cl0LI0=; b=BX5qE0QaQNBpNDOzWn/3UHNc6J57uCcFP6EkT4cif37dYWlKCLLdXQSI6Y6rkQIg4x ag/WrC6hdFFoGID85c6ny0JJ51wMJbwzeGIEGY70neWytZRmd/Bkwub2gpJ0HKcg33R5 higWtJUHZGlkC6VN94CpLPUbq48qvhx7NPXmEgk62q0Gyf/P2i/LscpOrExpISHKRfVX cOnBkfSmTqXWAjuW/EzKevkyoeXSDfrhXBLuZmOLrpdu2ZPmHZXnR9YyH6ZffeByVDmw rvsPqpdeei/Uc9iM2vO1eNZJlBmzbMoGwWqqJwJZ1pmLv3TlJKcYhIe3ORJB/oNXOO1z HBVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TSV3yx26; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196891-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196891-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f63240342csi15967605ad.507.2024.05.31.06.46.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:46:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196891-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TSV3yx26; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196891-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196891-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 98FA428723B for ; Fri, 31 May 2024 13:36:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE251158DA8; Fri, 31 May 2024 13:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TSV3yx26" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1160E33CF1; Fri, 31 May 2024 13:36:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717162589; cv=none; b=dk6tiDzEsd1hEJYcFMJuAISRyQpMutFrKcAmYTi9xZXGicQUYUzkkr7+zC7wq8WBhek6nm4t2DsSINVddS0wqjga8Ui7aqgfXjVGNTz81F9q/U7xwc1aK2Q/YvL+CmuIC6wR3vO3GJROHi//FNdrzeAvcl53pYU6TPh63rCcDKM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717162589; c=relaxed/simple; bh=gf/hTHqh4wQYWgTtV+wMyboPa6r7AQpsapL7cucv+5w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h3DbZWFfV3yc5ZfgRoCZ08PCVySiS2AzyaLoW3H3uzqznaIOmN9bJeR0UJ9VQWuv56Z/BLNVoRDdZg5PblVEQMam9o4dmsNWHzvLitAskt5dd4cjUf9qpo8PW5g5vIHZbfTTPxcawzhLjDDokBjDsUb7M2nwrQUdXd6XcibMeHo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TSV3yx26; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B068AC116B1; Fri, 31 May 2024 13:36:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717162588; bh=gf/hTHqh4wQYWgTtV+wMyboPa6r7AQpsapL7cucv+5w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TSV3yx26VoTRDb1Ue+c89VBR25aAMil7OSdarzxp8uu1olMLR1wx2wFiZJM0tLXA5 1HoVYWU9dojMkKmYPkJzGGxfob6MmzXSm7i7knNnnY95qUJGUml1e3eXpxWNgW4C+g dpad2LIQvx6GDeFXByU/zlpzeUEkok/Sxq5EsS4z3W6NyKFEckq3BwkmEUQbVSMXir W60D540GfSzalwjnd+RBKuCoOVztS1Ds6w5mci0Ky/lvn2W1MAebJ86wbPzUmHWFA8 DHvWmBdI4Fv+5HfmwwUEF2ntl9MMKiLG5cjrski+Ep2oo6x0CI3gAAxvTuOxqUolC7 F8UXDeoXsjFCg== Date: Fri, 31 May 2024 14:36:24 +0100 From: Lee Jones To: Richard Genoud Cc: Alexandre Belloni , Thomas Petazzoni , Udit Kumar , Thomas Richard , Gregory CLEMENT , Esteban Blanc , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] rtc: tps6594: Add power management support Message-ID: <20240531133624.GJ1005600@google.com> References: <20240515152827.80185-1-richard.genoud@bootlin.com> <20240515152827.80185-2-richard.genoud@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240515152827.80185-2-richard.genoud@bootlin.com> On Wed, 15 May 2024, Richard Genoud wrote: > Add power management support to the driver. This allows a SoC to wake > from suspend using the nINT provided by the RTC. > It takes care of the case when the interrupt has not been caught because > the kernel has not yet woke up. > (This is the case when only edges interrupt are caught) > > Signed-off-by: Richard Genoud > --- > drivers/rtc/rtc-tps6594.c | 46 +++++++++++++++++++++++++++++++++++++ > include/linux/mfd/tps6594.h | 1 + Acked-by: Lee Jones > 2 files changed, 47 insertions(+) -- Lee Jones [李琼斯]