Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4982234ima; Tue, 5 Feb 2019 04:41:23 -0800 (PST) X-Google-Smtp-Source: AHgI3IZabbudmP8Ahkxgw97kVxFyCsWN/b9hYFz6eYrGsP9YfygUq3207Qi7lSwKrPrxGqRl9jbY X-Received: by 2002:a17:902:9a07:: with SMTP id v7mr4821263plp.247.1549370483329; Tue, 05 Feb 2019 04:41:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549370483; cv=none; d=google.com; s=arc-20160816; b=pC+FquKTMvwnOrsKK9OtF1rU5RkYF9PRHW0wui1oTmB84WxgjgwJNM3Imp/TFSNSDb BC5oyW0OO99Y5IZDRVp2OGnyP1xSgvwY2bLBU/1e7/xE9dDOr843dLnH7PPPRfBiE+pS WPlzqOvdvqIxYhAt6dACH66IMMyUeQVJU/ou7mNNndwWHFvDfvoCagWB6p7EAUOxuwD5 Wvwpq5DO3Tj/5idInRnOeR1gZwTKAeUaGJfpjJ8QbMegnzZSEboMJp8zybmA3OJzTu7N 5oBPf0Wzoqf78JhFqCsqVxI8Qqftv3RV0aMWL2Bb6bhcKGdygxFlXKpo009BDzRWOsgH SpiQ== 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=0ttK1z/npwJAfGUgO7rF7JPgaWYbaKTZHV7p+p3GM+8=; b=XJTWU3sZVVx6UuHBUpKU74LBRyQvYEzcGwqRsO8OY9RZfj4W/jix6+OLYQhGb/yKVD HymBh8Do3WzKQclfJnmj3bqqLGeVqAL9U0+vsBsRPQ+Q/BuPQ1/FiMnKEDOx/eaGHK85 V56cc2r8Cz0XDb18B/d4r/qRG5hMYYq1Tu0NLZY83KDYlmiNMb5cutRUVRQZEUoZ3pyv +gyW8peg1SeYwmyJ26evddhDX66vpHHkAIzQdrJbfKiymYa7lPmc+z5+lbt9wZkDqbWu P38uNrb+Sh+i/8QMnI6yCBFmZyUzSROgVR3jbsaI2yBYxjNbgD3MP7bEBTPE90jKFctF 8m1A== 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 k16si3004203pls.124.2019.02.05.04.41.06; Tue, 05 Feb 2019 04:41:23 -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 S1728795AbfBEMk7 (ORCPT + 99 others); Tue, 5 Feb 2019 07:40:59 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:23103 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbfBEMk4 (ORCPT ); Tue, 5 Feb 2019 07:40:56 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x15CaEqt002709; Tue, 5 Feb 2019 13:40:43 +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 2qd1v06pqs-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 05 Feb 2019 13:40:43 +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 F032E3A; Tue, 5 Feb 2019 12:40:42 +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 CFCC729AF; Tue, 5 Feb 2019 12:40:42 +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; Tue, 5 Feb 2019 13:40:42 +0100 From: Fabrice Gasnier To: , , CC: , , , , , , , , , , Subject: [PATCH 3/4] dt-bindings: iio: stm32-lptimer-counter: document pinctrl sleep state Date: Tue, 5 Feb 2019 13:40:28 +0100 Message-ID: <1549370429-19116-4-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1549370429-19116-1-git-send-email-fabrice.gasnier@st.com> References: <1549370429-19116-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: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-05_05:,, 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>; }; }; -- 1.9.1