Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp378840ybb; Wed, 1 Apr 2020 01:40:28 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvCuUheNmR/RW8uvcwBZ2TiTvBYi/3Ph0gmhF5NoI6S43eiIwqyBOtOHicmtB9BXxRz2ykx X-Received: by 2002:a05:6830:91:: with SMTP id a17mr15398213oto.240.1585730428312; Wed, 01 Apr 2020 01:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585730428; cv=none; d=google.com; s=arc-20160816; b=gyea3ng1/w6F87RFJgYq2qBkK2gB0h+u0HLJqK9LCE1/sSVUNfdzzBPJA1YbkgBYWN NYq0ga+lHSZwXpHzVdG9ObTmLuhGXTwU4Ci5EOIiNh2I3XMss6aZsY3u2PYlSHIlIXrw NR2MF6oGhi5uayeRJ7ap2pWrfIlT4uJcA2bXMfe46B9GhIUXDeVq9QmhnHBAMY7r/CaQ hBqbfIlRsmjHjTciUvJTsRgUK7ywtpdylC2LfMWcElXeCCI4FO4y3P2M1xfqv75DcWzN kph3xtO6rva8WzqJsCzHc26I00rvOBXZ3NHgMyXveJY6fuefLXzQcElKFi+nc+nJpe6K qkVA== 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:dkim-signature; bh=qWbSrOJCI90YANyiMWSeBsBNnDP7Y5LT4/yIPcQXcb4=; b=pWOavK+X3pvuPKB+Rim2udHABFCk9c5pAMXyUBoPfkyoNCv/bElAtCReWYct8ip9Rg AGj57WyfGD7TZsWstWR743373C9LXr849Yw8wNulf556XZU3Su9ZLFkLTBq7hcqOXvob gKPMMN+56wQ+41W9mczUgt9U7RHbfN6MH3DR+rQmaunJN3Yqp2z4vPfWaeeU9/piKjNF wnxoq80FCcZp9RUioNezN9tbRaUr4HO33wiINOT2+dE06hDYN7KMjFMAL4x2laOmgcbY yZDTeo0MuUP4LNrvf64QT5HyxUG4+0fx+4djw3bq8OPq2r83jKVDZtKyFeXYgcK4lGZk kBew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=vJPkEeJ1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si551733oof.17.2020.04.01.01.40.15; Wed, 01 Apr 2020 01:40:28 -0700 (PDT) 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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=vJPkEeJ1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731997AbgDAIju (ORCPT + 99 others); Wed, 1 Apr 2020 04:39:50 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:30396 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbgDAIjt (ORCPT ); Wed, 1 Apr 2020 04:39:49 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0318cr5K028133; Wed, 1 Apr 2020 10:39:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=qWbSrOJCI90YANyiMWSeBsBNnDP7Y5LT4/yIPcQXcb4=; b=vJPkEeJ1tq13Gf3gmUvInOrPmt92KtOS4VIptuWs8OsdY3Tp8MM+RY0gKkaLN4qqx/IZ Zm4jGHI0TEmvX2kloUlQIpyDYJA4veKdvEcuSpo+hn5Ub84LdZ00GNllm7xX4OLEjPU+ 45OdGZHk5muRW8gpayvGXPkbGQOQlnpDuGZbNb883amyX2Fqc4w+PGE+nko3LkT0otEe 5oH/cMlkNCR17N+KL393LjWu52fHK2rUvWFzYC1A4i246b3beI6LqMI3e0fpQZoo5LEv 7qNaTrDRTHLe7YQ2o+mN1+DPbw6YHn+ugngiCKLILHzdA7Gdg/u8KftjulsZz6kdX5vr 9Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 302y53x221-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Apr 2020 10:39:37 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0A77B100034; Wed, 1 Apr 2020 10:39:35 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F197C21CA8F; Wed, 1 Apr 2020 10:39:34 +0200 (CEST) Received: from localhost (10.75.127.44) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 1 Apr 2020 10:39:34 +0200 From: Benjamin Gaignard To: , , , , , , , CC: , , , , Benjamin Gaignard Subject: [PATCH v6 1/6] dt-bindings: mfd: Document STM32 low power timer bindings Date: Wed, 1 Apr 2020 10:39:04 +0200 Message-ID: <20200401083909.18886-2-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20200401083909.18886-1-benjamin.gaignard@st.com> References: <20200401083909.18886-1-benjamin.gaignard@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 SFHDAG3NODE3.st.com (10.75.127.9) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-03-31_07:2020-03-31,2020-03-31 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a subnode to STM low power timer bindings to support timer driver Signed-off-by: Benjamin Gaignard Reviewed-by: Rob Herring --- version 6: - only use one interrupt version 5: - the previous has been acked-by Rob but since I have docummented interrupts and interrupt-names properties I haven't applied it here. version 4: - change compatible and subnode names - document wakeup-source property .../devicetree/bindings/mfd/st,stm32-lptimer.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml index 1a4cc5f3fb33..2a99b2296d2b 100644 --- a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml +++ b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml @@ -33,12 +33,17 @@ properties: items: - const: mux + interrupts: + maxItems: 1 + "#address-cells": const: 1 "#size-cells": const: 0 + wakeup-source: true + pwm: type: object @@ -81,6 +86,16 @@ patternProperties: required: - compatible + timer: + type: object + + properties: + compatible: + const: st,stm32-lptimer-timer + + required: + - compatible + required: - "#address-cells" - "#size-cells" @@ -94,11 +109,13 @@ additionalProperties: false examples: - | #include + #include timer@40002400 { compatible = "st,stm32-lptimer"; reg = <0x40002400 0x400>; clocks = <&timer_clk>; clock-names = "mux"; + interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; #size-cells = <0>; @@ -115,6 +132,10 @@ examples: counter { compatible = "st,stm32-lptimer-counter"; }; + + timer { + compatible = "st,stm32-lptimer-timer"; + }; }; ... -- 2.15.0