Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21481652ybl; Mon, 6 Jan 2020 05:31:30 -0800 (PST) X-Google-Smtp-Source: APXvYqw6RQDR5HXhaNsIbGxxziF/RqbnWMCHo0pRbNcY5uKVVlv6eCGEgADSxgKvcLRgeF3mGPlW X-Received: by 2002:a9d:6f82:: with SMTP id h2mr115705217otq.69.1578317490132; Mon, 06 Jan 2020 05:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578317490; cv=none; d=google.com; s=arc-20160816; b=x574IdbOi1E6uM/GyhYytlmbmAtOOvXUzeYL4MQR1dfCyp4S+0bXkOGvY++6IKpBNH i/dt4a/6LqPJoY5W+HYNIiWqnr1r1i6J06SY0jLFRYeK7jvpfN6tzMWR7KEonqDm2uqZ qPRv2+6yBMeCXKWx07wu7S4Hr9AXhyqNC+JSTzN4V8X9BawTbTSC8dZfqIofyMscUOgo altz18sHCU9Vd7cumM4Iv27CM55jkp4IQzzhwDa4QaT2Kda36PH12q8L7iiuE4jY1XZD tYUQX/fslhYwtwNRCDQzUMuk01oUDtRQb9H38kHlO5BXPpZxhDejiM/gwXB6iZ3C7wpz 9yhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=AI7zr+DJogbnJyM7WwYjfDpAv8ZqvsAx0EghXGtiEsY=; b=PTarYGjLBFjUmJWZIYwkQdFBAGvnnxigc1KcJNlaTR713Sjpin1WuYSS7jLrKaM1h8 zuNy87MXXZZyaibtJP6Qw1TxJndHeZqiuBwaPhASTh8wDb8szhp1TQa5Wzm22w1uKjwy 4S9Xyookw8pOfkMNUc4Gxrbj6hSXPZuo9FEncsHS6YfzJzbh9riYfWV73iabp5aB5Om/ 0wo4WYi6ojK95stLfwyjw5HmFgFIxB6mGT21Pg2LKFE2Ja9ebaPulnsHgbDm6NUcpVdN clWnJaseqZ7QaB44d4tGvf9c4B80ga6WAzwSBHpQW9WfcxnEQA23j4rjrUtnfb6Zm1Wq itfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="mW6/WIqF"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si36262774ota.43.2020.01.06.05.31.17; Mon, 06 Jan 2020 05:31:30 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="mW6/WIqF"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbgAFNaF (ORCPT + 99 others); Mon, 6 Jan 2020 08:30:05 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:30886 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgAFN34 (ORCPT ); Mon, 6 Jan 2020 08:29:56 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 006DRPL1006050; Mon, 6 Jan 2020 14:29:42 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=AI7zr+DJogbnJyM7WwYjfDpAv8ZqvsAx0EghXGtiEsY=; b=mW6/WIqFXADnLAu0PCBTTdooe37M1DzS5V01SqY+DseFqDMXh6d+ncN2Xgd8bzz2XqJB 04igZi1dhtUAa7wgvQjcBRHTShX1t7AL7+qRmcElptat874d1QsS10OiIrxRgMJq55B2 FGg6GrCW2G6DhwB+eFgpUGdomQ8FFZkX2ZzfQgZYl5onFZ2E2bQUPhqfW5+/NwZvHlRj gQOv/fgWxO/+jypEwItk9qmDk+lzvFEIc8qSfxE9kIieCHWAabcQm1dg9LcbEjZUOERW aJLLeFe8HcB1OmvmKbG7MSLLUa/6wRQHyE4k5tpImFXFMh3S6lxTAtmqNeU0PEsbAtN2 Pw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2xakm584u9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Jan 2020 14:29:42 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8D6B3100034; Mon, 6 Jan 2020 14:29:41 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 760DA2D378B; Mon, 6 Jan 2020 14:29:41 +0100 (CET) Received: from localhost (10.75.127.50) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 Jan 2020 14:29:41 +0100 From: Alain Volmat To: , CC: , , , , , , , , , Subject: [PATCH 0/6] i2c-stm32f7: support suspend/resume & wakeup Date: Mon, 6 Jan 2020 14:28:28 +0100 Message-ID: <1578317314-17197-1-git-send-email-alain.volmat@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-06_04:2020-01-06,2020-01-06 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This serie replaces the previously sent serie "stm32: i2c: Add suspend/resume & add sleep pinctrls". This serie adds support for pm sleep suspend / resume and allow I2C slave to be a wakeup-source for the system. Alain Volmat (6): ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp15xx-dkx ARM: dts: stm32: add i2c2/i2c5 sleep pinctrl on stm32mp157c-ev1 ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp157c-ed1 i2c: i2c-stm32f7: add PM_SLEEP suspend/resume support i2c: i2c-stm32f7: allow controller to be wakeup-source ARM: dts: stm32: add wakeup-source in all I2C nodes of stm32mp157c arch/arm/boot/dts/stm32mp151.dtsi | 6 ++ arch/arm/boot/dts/stm32mp157c-ed1.dts | 3 +- arch/arm/boot/dts/stm32mp157c-ev1.dts | 6 +- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 3 +- drivers/i2c/busses/i2c-stm32f7.c | 187 ++++++++++++++++++++++++++++++++- 5 files changed, 196 insertions(+), 9 deletions(-)