Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp558556imp; Wed, 20 Feb 2019 05:10:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IaWsauRhtVTPX5NrDl4z56MOHWgorlmQQE+2AzZu2mvqiE5ohCd6ybhyMYcLO05Govla2WC X-Received: by 2002:a17:902:7405:: with SMTP id g5mr27096365pll.230.1550668213367; Wed, 20 Feb 2019 05:10:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550668213; cv=none; d=google.com; s=arc-20160816; b=j/FSdMutVHsTygocyAb1za1dt34mhFbYwFzfGE3OOfhnA7/wbqMr3BTWZwDGcKphVf d2jZ6/wJmkDkZkj0XNaC7e1d8S91+aL5pqabZLHAqW+eDQd4dLDAD7U6E3HxfI4Rn26r vj8xVHG7LrTHaqPTndxz6mA0/LsgcN71BH2Gy5zt3WB/kgkp1aOROiiBI/P+FJ0SXIJc IUIc66rO6jEc8mnyZQkHKR1l7ZdIGGchQwMjV+z+tyHgqquPlBSJK//2++dMFSUPy++c GYg3cRAxPsoeRKSoHTGQru8vEYJcbDyBccL+Swi3z6+khTybRT/g8OuYQ4pV58ui4Foh Auxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=w+T75GQ6ZaDe8QTXBRWHHHivuMtpFqt1omShoAKzyYo=; b=oV9zzbvl6XC0djhOtk5BaMh1CzwEIucZIhPgiGyGOtFE7Tn4WSxKDMh6Li7jObxX5N 9HrrrY9KTqfePMcDRQNjm+nfa9+SAxfeb3gK0zKb2YicL0BklkH52yLyXC76vyntYR78 w7aRtpsxGA0cMG/Nyuy+IF1qdW4XDJR6lafWUdhWHq5GGIRo+aPkL5nnYO52oGUPIUnT xDI4yuQBaWq7G4kus4ARB1jMyJZKvKVlHMSo0lOuh3eN8X9u+08W8eDkCZGdP+GM4b5x Zw5+L5X0BZUQIpdiVrptL/X2tah/kY9NqNWVL8hwO+1Mnc6i7kh5Yf3s0iWts7BihZ9c yjMA== 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 y16si10916894pll.83.2019.02.20.05.09.56; Wed, 20 Feb 2019 05:10:13 -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 S1728197AbfBTNJa (ORCPT + 99 others); Wed, 20 Feb 2019 08:09:30 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:12235 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728041AbfBTNJ1 (ORCPT ); Wed, 20 Feb 2019 08:09:27 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1KD6Yfi018759; Wed, 20 Feb 2019 14:09:09 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2qr6x5s9fa-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 20 Feb 2019 14:09:09 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7F56E34; Wed, 20 Feb 2019 13:09:08 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 487AD2BB6; Wed, 20 Feb 2019 13:09:08 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 20 Feb 2019 14:09:07 +0100 From: Fabrice Gasnier To: CC: , , , , , , , , , , , Subject: [PATCH v5 1/3] dt-bindings: pwm-stm32-lp: document pinctrl sleep state Date: Wed, 20 Feb 2019 14:07:46 +0100 Message-ID: <1550668068-9661-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550668068-9661-1-git-send-email-fabrice.gasnier@st.com> References: <1550668068-9661-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-20_11:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for pinctrl sleep state on STM32 LPTimer PWM. Signed-off-by: Fabrice Gasnier Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pwm/pwm-stm32-lp.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-stm32-lp.txt b/Documentation/devicetree/bindings/pwm/pwm-stm32-lp.txt index bd23302..6521bc4 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-stm32-lp.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-stm32-lp.txt @@ -11,8 +11,10 @@ Required parameters: bindings defined in pwm.txt. Optional properties: -- pinctrl-names: Set to "default". -- pinctrl-0: Phandle pointing to pin configuration node for PWM. +- pinctrl-names: Set to "default". An additional "sleep" state can be + defined to set pins in sleep state when in low power. +- pinctrl-n: Phandle(s) pointing to pin configuration node for PWM, + respectively for "default" and "sleep" states. Example: timer@40002400 { @@ -21,7 +23,8 @@ Example: pwm { compatible = "st,stm32-pwm-lp"; #pwm-cells = <3>; - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&lppwm1_pins>; + pinctrl-1 = <&lppwm1_sleep_pins>; }; }; -- 2.7.4