Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4314339imc; Mon, 25 Feb 2019 02:44:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IYGWLkQnOQ+3/gBCvX6DzBAta4KhASVyjFyalzf86RmDT//6Pc8i3JeupQD6N5HZPeBpbVA X-Received: by 2002:a17:902:4503:: with SMTP id m3mr19694472pld.35.1551091469628; Mon, 25 Feb 2019 02:44:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551091469; cv=none; d=google.com; s=arc-20160816; b=FPodKe4e9tJhVqyW/1ayrDrdhhbiFFBKvRiZmzCqD8+03hpi2VNLFp6iq5vTRqbv3R IJ2LXlxK45Y+LuXWmhaRoPT1QwbOm6LjNDQ+RwQAGyxz0Rv8guhBzAFyHXUpiPx0Conb iYzrlbnYniWCewz6kV9UPOi4LNnGR/7QMnJOmulQXH+vBZ/ociy84CU564IW9zISyQYi renSchYoHe4AFJ+Ipsyk8+PqudkAlyJ9ydmhp8ZjSpdfGjLFdWpMGalScvwIEcZ9TA0h YK+q52XT3kyfr/fHHDR2PnsiVtHJLz+Lw0jFaEeLA008awWXU3tkOHri5ZF6Q3GCwbO4 OWag== 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=WGd14S0Xs29Y5mh944zPqPcNc+l+5EBv/pEO2BbXH4o=; b=o80+5ts5adn6za2e64K4p+GYXvwqbthgSjArlLtfiD5v0hnUOzkVWIH3qoo8iV1Nf8 ScgMQaLkWce2dzr/gwa1h2D7RTiyozXfkx/p7G6tbxd9wjyaCSEd+ja82FmVxIZP7nsU Q7n1ZF+Ytfh32bmCou7qjaQasbrjc0NEQD/cGWXW+etck94A3B/L3P0dMgWB9kdhx6KE gm6qS2Rzvr0tNdRRHDMkBtk9XF8n7WpSwgXURQDrw6680qFDiI1AjSLDBg3keQVyebTH 19l4wIbb1Ka2IRjk3RgsK9wKiAKg5tUReJybY5vrLy/7Dk7K8WAx5UGfHf7lMC1EpNfK ofjA== 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 j18si8920117pgb.80.2019.02.25.02.44.14; Mon, 25 Feb 2019 02:44: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 S1726768AbfBYKnu (ORCPT + 99 others); Mon, 25 Feb 2019 05:43:50 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:36210 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726655AbfBYKnt (ORCPT ); Mon, 25 Feb 2019 05:43:49 -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 x1PAZwDO012315; Mon, 25 Feb 2019 11:43:15 +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 2qtvh39fx5-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 25 Feb 2019 11:43:14 +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 11A5538; Mon, 25 Feb 2019 10:43:12 +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 E40452843; Mon, 25 Feb 2019 10:43:11 +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; Mon, 25 Feb 2019 11:43:10 +0100 From: Fabrice Gasnier To: , , CC: , , , , , , , , , , , Subject: [PATCH 1/2] dt-bindings: iio: stm32-lptimer-counter: document pinctrl sleep state Date: Mon, 25 Feb 2019 11:42:46 +0100 Message-ID: <1551091367-21718-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1551091367-21718-1-git-send-email-fabrice.gasnier@st.com> References: <1551091367-21718-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: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-25_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for optional pinctrl sleep state that can be used by STM32 LPTimer encoder/counter. Signed-off-by: Fabrice Gasnier --- .../devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt b/Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt index a04aa5c..e90bc47 100644 --- a/Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt +++ b/Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt @@ -10,8 +10,9 @@ See ../mfd/stm32-lptimer.txt for details about the parent node. Required properties: - compatible: Must be "st,stm32-lptimer-counter". -- pinctrl-names: Set to "default". -- pinctrl-0: List of phandles pointing to pin configuration nodes, +- pinctrl-names: Set to "default". An additional "sleep" state can be + defined to set pins in sleep state. +- pinctrl-n: List of phandles pointing to pin configuration nodes, to set IN1/IN2 pins in mode of operation for Low-Power Timer input on external pin. @@ -21,7 +22,8 @@ Example: ... counter { compatible = "st,stm32-lptimer-counter"; - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&lptim1_in_pins>; + pinctrl-1 = <&lptim1_sleep_in_pins>; }; }; -- 2.7.4