Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp314900ybl; Thu, 30 Jan 2020 22:58:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzDk6vu2xt+EIaijI3AXJvtb/t7wWofOiFirNO/tBxpeJTPGayHp54qAWl9tIy5sPww3k85 X-Received: by 2002:a05:6830:1e30:: with SMTP id t16mr6701706otr.220.1580453883579; Thu, 30 Jan 2020 22:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580453883; cv=none; d=google.com; s=arc-20160816; b=e85afJ90oqPDckScqPuH2R9O8OBqJvxFL9YHQaKjSf1d54vLKRIs+MRqbmsqn357po gOr8bizTlSWj3gqsWYxY3uTlzxZIELpKCKiVSEnQTF1VI7Io4cIx8FZeUupaFt1tB4fH S5AzhZxXIt2KGm3j9ZlsIaayi89Cb3v4NLhv72HNq5fydKgQmnkcTZfbF36quh0ex9WV Y3SdZmJ+bePOg6vvg98f88MksfMbYzwvxRhbxVwb6cQu92NOsw+rpxpuiQhlsyx/Nzod NOsJ+lICOmJ+aZTzfae6MrbrwIs8yBU1NUADnoZ/l+wK4zaiPCNigU60qMBgnZZ4u+NG wrnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6FQpbGrcgoz+av+n3C7Awk378CzrdHI3GPKi+qYfWGE=; b=XDbuK6pYAPwYbFemsKopDgHLAiaBkBZgmK+/KvA5cEES/s0FkFAnu0Xv5lDm6baFrb USMp+RQm11t0WR1VOcE004E+fDsjISnquufC66K3oN/IvKetnI5MAToNPPP3aYyHspJT 0fGs503FmePibkch8Lf3TrSpl+E425Q9wVCiEzx0Qb93jk+xgiJKEKaNuzFznk2fD3l2 gyojMroGS5UEKAOHzOmwC2i9k9lu1feIFawNrc0s95XcffuZh/6vX0OLRJrOTm5Pg2IC XrjSs+ECxo/TdTjUSwgQ1cpJA8gAApKGSeoEjSb7uak3tRCuOEkyk5LjvoAyZ8w/cesq 0voA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10si4491842otn.323.2020.01.30.22.57.50; Thu, 30 Jan 2020 22:58:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728077AbgAaG47 (ORCPT + 99 others); Fri, 31 Jan 2020 01:56:59 -0500 Received: from sauhun.de ([88.99.104.3]:56920 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgAaG46 (ORCPT ); Fri, 31 Jan 2020 01:56:58 -0500 Received: from localhost (p54B333AF.dip0.t-ipconnect.de [84.179.51.175]) by pokefinder.org (Postfix) with ESMTPSA id 721C42C0830; Fri, 31 Jan 2020 07:56:55 +0100 (CET) Date: Fri, 31 Jan 2020 07:56:55 +0100 From: Wolfram Sang To: Alain Volmat Cc: robh+dt@kernel.org, mark.rutland@arm.com, pierre-yves.mordret@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@st.com Subject: Re: [PATCH 5/6] i2c: i2c-stm32f7: allow controller to be wakeup-source Message-ID: <20200131065654.GB1028@ninjato> References: <1578317314-17197-1-git-send-email-alain.volmat@st.com> <1578317314-17197-6-git-send-email-alain.volmat@st.com> <20200130083927.GH2208@ninjato> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline In-Reply-To: <20200130083927.GH2208@ninjato> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 30, 2020 at 09:39:27AM +0100, Wolfram Sang wrote: > On Mon, Jan 06, 2020 at 02:28:33PM +0100, Alain Volmat wrote: > > Allow the i2c-stm32f7 controller to become a wakeup-source > > of the system. In such case, when a slave is registered to the > > I2C controller, receiving a I2C message targeting that registered > > slave address wakes up the suspended system. > >=20 > > In order to be able to wake-up, the I2C controller DT node > > must have the property wakeup-source defined and a slave > > must be registered. > >=20 > > Signed-off-by: Alain Volmat >=20 > Applied to for-next, thanks! And I will drop it again because buildbot rightfully complains: > Reported-by: kbuild test robot >=20 > All errors (new ones prefixed by >>): >=20 > drivers/i2c/busses/i2c-stm32f7.c: In function 'stm32f7_i2c_suspend': > >> drivers/i2c/busses/i2c-stm32f7.c:2199:44: error: 'struct dev_pm_info' = has no member named 'wakeup_path' > if (!device_may_wakeup(dev) && !dev->power.wakeup_path) { > ^ > drivers/i2c/busses/i2c-stm32f7.c: In function 'stm32f7_i2c_resume': > drivers/i2c/busses/i2c-stm32f7.c:2218:44: error: 'struct dev_pm_info' = has no member named 'wakeup_path' > if (!device_may_wakeup(dev) && !dev->power.wakeup_path) { > ^ wakeup_path is only there if CONFIG_PM. Please fix and send a new version. --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl4zz7YACgkQFA3kzBSg KbaWShAAsD5Gaj6lEFcuVH415Va4PzT6S2H3CUZIfq7iTBdNKWV8nvABcAaS18FA WY9qmpili5WRVugYU+1X4rxzEnSPiO6Sx5s9HGZHPefRlr2B99BknwPRCRkwWb6g vGNROAZh+qQuTayJ2UH33dSGtjXQ09KH4uDrIeRBoxWRuOlhxOe1FBmwudzEC4UM g3nCUq94rccym19fNkWxATy1RCwd2LZF4RRjj2CQLW+o41hUa/Vtb953oxjKPZHo p6lNncLSls4myb0yyqLEfnyFgOaopM7kOaTsgZAElto7WptLPtrcv0M6pCuZGeQx jFEqtZqSGNQsnlv4kZIei/Cnwp/zP1wgsHblLH20w1AuKAwq0G91kysEIH6OYak/ HUL09BSJ25ZVEKDOonq/bIVPlxSvO5C0SYkq+YjgY5ojSCWWLF8ThkUCayynCEu1 qsLn6oY7bB/8qqpiqPb+rx6M5ZuLLz3RKQmv28WuV2Oyl/KPgjtBXQ4KDG8l5fxI bUGHLyMdiyGFoK64lppvjAWp3WSsN8IvcVfRrl7HfTgZ+iGONbCs+ZYVQ9Y3i1gw APQl4R/vack7OumxG6wFjRvEpPDfwDvaR6A4yxpi62mp+YwP9NZ93pduvhqrF/DB XMvJqyy4aMLZFDC1ioWldHX8FuFEXLqc2BULX/o0S92ZKSRYVc4= =wM4/ -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj--