Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp841616ybp; Fri, 4 Oct 2019 05:55:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoR+UrtRTqktWR8B2cMP48pTySXO7bEa33KUaCD+LM2yuoixo5Vg3iLnhGj5dOZs6SNBGJ X-Received: by 2002:aa7:d1d3:: with SMTP id g19mr14886752edp.150.1570193750101; Fri, 04 Oct 2019 05:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570193750; cv=none; d=google.com; s=arc-20160816; b=oFwTBLB6/qep1nHoMStOco01j5AAqQv9MCY6XBJL0p2r02vQ3+Az/IkBGyCDOvpWKg Un2U2N4h/6c5HcQvgUttRk/bDr+tf+XYNdzQMudsOZu9ZCVpc0QIaC5BhSxHVuHaYNoS tR5mi7uNGuG6+SyWDxSrnqnLV1H8+zC1OdoUFB7WZpJs11f9vyfQ/HW48TuuL4DRz0sZ +K92KluqozUXFPr9Sosh//nzIAw6XpkfhqYeYWUSygKCHTzb1rq6hOkHwiUeXMtt7r/J YXbmQ7ezGFcCtX39i7u6PiKeAgdw9Lwz2rn2Is5+gOOQz2sPiz5ZU07Qn3Fi8x9206Mq saBw== 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=Gq4se5jZ9JpjIAQHXXEIaPHCYbZ6Lt/x+2ijv9uVcpE=; b=PiO5mzODkM25Wald1LBdYUSYpZt/QN3gt5qsLvOgls2FomMPTyZKlim6gR09R9n6dV 0fR4CagcsA2jiRZXX7tttpQEVFXMSAYAGrqJ2W/dgu2dyXBmMpa+rVm9K1zUbakmv67x RUKZCZCocKrhnycalVsOpb2Mx3B2hvNfbDCLLefpSC10OfLpGAsktWKDa2mQHTbAHr0S gt5Jkc5SUcAnl1AXoACJ/DklGNFK5mzLtvWicjEYjxo35GBzIh2Fw4mQ/3RqWMQnq4F/ eVT6iovJn9XkeHjhdccE8uXPSastxJNSX86HxdPdeHHB021ppY3x/PwfmZIlkcVCCef+ HU2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=BBRNBdO3; 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 b15si3496366edm.395.2019.10.04.05.55.25; Fri, 04 Oct 2019 05:55:50 -0700 (PDT) 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=BBRNBdO3; 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 S2387917AbfJDMyZ (ORCPT + 99 others); Fri, 4 Oct 2019 08:54:25 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:19942 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387573AbfJDMyZ (ORCPT ); Fri, 4 Oct 2019 08:54:25 -0400 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 x94CpHkc007845; Fri, 4 Oct 2019 14:54:10 +0200 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=Gq4se5jZ9JpjIAQHXXEIaPHCYbZ6Lt/x+2ijv9uVcpE=; b=BBRNBdO3RHD/vo/BNcvJK5qTWDP+S3vU+f9VVi0z5PR9vnJyoMgYVjqiI+Zqihban3BU 7QD+MDRKxmg52UzMB3aAp51uRel9mrQS9uvL2/OmPsbuJCCde26h7Ga7WepFxSEATEHQ 0wAt/ZS4ml3mqYGBDIBLWNpcUzKjFCljkjhYRoA/DQ5RVzNbno5lyUkqw70Vzynauh6w ilrzrVU1HkFXves5723o2mEkBbVJnzvsw/vzM8tk9tLCIfD5/LipBi+XVBo9PKZhhmwx cfbRShTDsGsGxpbHjSWj1e/dEEf/kdcTWzf+muJ3jTNIX0vdQ+D2z9qwotFOQqLw2kAF CQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2vcem3fwgc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Oct 2019 14:54:10 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 39DD6100034; Fri, 4 Oct 2019 14:54:10 +0200 (CEST) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 03C4E2BFDEF; Fri, 4 Oct 2019 14:54:10 +0200 (CEST) Received: from SAFEX1HUBCAS22.st.com (10.75.90.92) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 4 Oct 2019 14:54:09 +0200 Received: from localhost (10.48.0.192) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 4 Oct 2019 14:54:09 +0200 From: Fabrice Gasnier To: , , CC: , , , , , , , , , Subject: [PATCH v2 0/3] Add PM support to STM32 Timer PWM Date: Fri, 4 Oct 2019 14:53:50 +0200 Message-ID: <1570193633-6600-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.48.0.192] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-04_06:2019-10-03,2019-10-04 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds power management support for STM32 Timer PWM: - Document the pinctrl sleep state for STM32 Timer PWM - STM32 Timer PWM driver --- Changes in v2: Follow Uwe suggestions/remarks: - Add a precursor patch to ease reviewing - Use registers read instead of pwm_get_state - Add a comment to mention registers content may be lost in low power mode Fabrice Gasnier (3): dt-bindings: pwm-stm32: document pinctrl sleep state pwm: stm32: split breakinput apply routine to ease PM support pwm: stm32: add power management support .../devicetree/bindings/pwm/pwm-stm32.txt | 8 +- drivers/pwm/pwm-stm32.c | 86 +++++++++++++++++----- 2 files changed, 71 insertions(+), 23 deletions(-) -- 2.7.4