Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1664481imj; Thu, 14 Feb 2019 09:59:23 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibt83E6yJ1cDsHkJm7b8c2XyfVo5/7K+RVI+tjnS7Cl3YJP/5GH2yr8xgQThydUxhe7hIdb X-Received: by 2002:a63:7044:: with SMTP id a4mr1042182pgn.359.1550167162983; Thu, 14 Feb 2019 09:59:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550167162; cv=none; d=google.com; s=arc-20160816; b=TGel29NftPtfbCwDhJQhL58lOyqyiDwfNt4E6zMq3ybmkueW2fxHfGgHnt1SPrN4+e 9lgZdlHqgNFQlekXGCUvB4VV4YIgOoAGS5vzH9qAl/jCx95X8Gj67TX2dwntLsPDoAOY 02Zn1GcqxT/Gl7aOHTbWcPa05LiF3xApCDzY1QX8INkwIeYX2ea2AaCjnz0+F2ZEOlLA 4wjdWPESz5lD3ta/Q+H/DEFxT/g+e1w4e+K5QSA2KiOGPrY+Jp/bdu3oV9QyMJaqU3vG 92+pHYMCMTEI30tazXx5laGQV2ys9sbsdEnfA9i2tDAuscWDMQIPrf4iW3rruy2oLDwI C/Tw== 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=m9WMXsC/0ydW4ej95JniKdWu2VtrobKq4f2AZL1iwxcTxqkuE8oYbJOhNSW2BSa+hf xreGdzIWzRIzxnQyJy1VCqg32qlonmz47Aoa4wV1906nAN9CapqzjFxjmrOFwOUT5FHT tTJp9muVytwZYg6s29gN8aN6UKLxjIs8xexgjskyh2D7mVPGrd1cj7ktwTrIfQAJS6Bp wfQNrhmTQWeWQXPjcOFDrk8PGa1vCDcaJKUEe+A4Uw3XnGkqNvu4r+aUSPYZdlWD6tyc KynbUZMJw7WKsarXlzY77dxAyS1p1K6FDr3tsA8bVqr8arZSq4v4JAHUH42AMGwU0iDk PBKw== 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 64si3134680pld.436.2019.02.14.09.59.07; Thu, 14 Feb 2019 09:59:22 -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 S2391650AbfBNK0q (ORCPT + 99 others); Thu, 14 Feb 2019 05:26:46 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:9490 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388482AbfBNK0p (ORCPT ); Thu, 14 Feb 2019 05:26:45 -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 x1EAQRKx011458; Thu, 14 Feb 2019 11:26:29 +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 2qmy1na9uu-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 14 Feb 2019 11:26:29 +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 6285631; Thu, 14 Feb 2019 10:26:28 +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 F13B54E13; Thu, 14 Feb 2019 10:26:27 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 14 Feb 2019 11:26:27 +0100 From: Fabrice Gasnier To: , CC: , , , , , , , , , , Subject: [PATCH v4 1/3] dt-bindings: pwm-stm32-lp: document pinctrl sleep state Date: Thu, 14 Feb 2019 11:25:49 +0100 Message-ID: <1550139951-25788-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1550139951-25788-1-git-send-email-fabrice.gasnier@st.com> References: <1550139951-25788-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG7NODE1.st.com (10.75.127.19) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-14_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