Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp122289imj; Wed, 13 Feb 2019 05:46:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IZTJojU352kN966pKpTiI4v+Pu7VpcK/8Rbvbgnn0KnQEMWOw2/UKcqTo83azspYYJu2nVA X-Received: by 2002:a62:ed15:: with SMTP id u21mr633447pfh.38.1550065589892; Wed, 13 Feb 2019 05:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550065589; cv=none; d=google.com; s=arc-20160816; b=y/aWUIaYD4kuxBSuckoKPMSjWEoXtgQo5pog53CNheT0WrQbR8xtb5nj/al9/9g97e LMFatAzTaH7EM5h8yoQYY2b08CNevbkQqUjvUczAgJ4H2zIkM8BL1OvDNwPp4SzZGEPU JG0HXZIKHKzUDfNsSYvBOm7eHLx/9OM43+KcrqLk6XzhIzGxIOoX9RtPtBgkoAhmJqck i3SMO2mXwtYp9/S79XlKzHVMgHTcdLJm3uuS4RAyy3UMUyoLx2t15q/fP3o/Xme3HiOw qvIT5iNTIFketqDe15ge/bltq9QL15lwip5fpvziwxwpnCknwNy4JVJ9aO/kN3BebkjN cmiw== 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=WCaxyGNDReMPljKoFNiMYiSfdZsy1ebYSo5nVkHHjfk=; b=W+J/JAkza5HnrsTL5L/7mIYARD+hy6Xu4T1h/txn9Ui2gZ21JLxblSbNNVLaPgon++ L3QJyK3UAQnLJWiITxtBeyBSj8cOM+sDikPy7XgFxFVZcQcmTRr2ONSg8feal4cmD91u hQUWZRM9c5QX5h9yx3db5YrN5YpDxBNc5sWBAUg8qofiT7RlK+zzuuPAK2TFT5oBVsTq k13G8fMGo1kh8ZAaLAJPyvKWxUKpmsdYBHkLZo5zUyQVOrAumi0j0ucwbwNlDvnyU0xh UcLrSfYjLtS72Rl6ZI9lkvkNIbpcVQda8NGVCzKCR1nq8fSNzuvPId7gXkv6uCx8iZFC 6mqA== 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 w20si5719378plp.310.2019.02.13.05.46.12; Wed, 13 Feb 2019 05:46:29 -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 S2391572AbfBMKuy (ORCPT + 99 others); Wed, 13 Feb 2019 05:50:54 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:47899 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2391545AbfBMKuv (ORCPT ); Wed, 13 Feb 2019 05:50:51 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DAkvNf020737; Wed, 13 Feb 2019 11:50:39 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2qjfy6akcj-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 13 Feb 2019 11:50:39 +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 71B6A38; Wed, 13 Feb 2019 10:50:37 +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 E8E9F4EE5; Wed, 13 Feb 2019 10:50:36 +0000 (GMT) Received: from localhost (10.75.127.51) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 13 Feb 2019 11:50:36 +0100 From: Fabrice Gasnier To: , CC: , , , , , , , , , , Subject: [PATCH v3 1/3] dt-bindings: pwm-stm32-lp: document pinctrl sleep state Date: Wed, 13 Feb 2019 11:50:10 +0100 Message-ID: <1550055012-23348-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1550055012-23348-1-git-send-email-fabrice.gasnier@st.com> References: <1550055012-23348-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG5NODE2.st.com (10.75.127.14) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-13_07:,, 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 --- 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>; }; }; -- 1.9.1