From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8778BC3F68F for ; Thu, 9 Jan 2020 14:54:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5DCDD2072E for ; Thu, 9 Jan 2020 14:54:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=st.com header.i=@st.com header.b="s+TJlgJ0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731856AbgAIOyG (ORCPT ); Thu, 9 Jan 2020 09:54:06 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:27646 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731808AbgAIOyG (ORCPT ); Thu, 9 Jan 2020 09:54:06 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 009Em4wF008813; Thu, 9 Jan 2020 15:53:44 +0100 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=629dOksb5/iI4KLG7sR2j5/emK+nODelYGOR4Y5vU2c=; b=s+TJlgJ0xxrnedkiN2b7qG3TnX7yscz5rDC1Ng9b59gh7yr8vGc2gO6f0pO8weUhgjcX 4J/Nks8Q0eSW5Cz2DUtibfgYYTdtak7UaNhhDhWZtzLgX9XPTU/N4W3HnRZNfAgMvFn0 55+JhoKnGPY4htgpxZnWRsmoUxzRgxR/BnX/A+6hv3rMvWUgQNe1fVmM/3h6mrN9fDtJ xQE3WywOZW21t2Ixn7Y9pHn1ZMVYsIEv3uYZR0js+9/tuSvza4oy2klUFX5dZbI3LATA VqCJMaRLlx9Zje4V/8DLYLLPdXr7xPFjIV5CZFV/jpvTJUaj4kNb4gPT0KgN95+idd6t YA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2xakkb2gwt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Jan 2020 15:53:44 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BFF85100038; Thu, 9 Jan 2020 15:53:39 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id ABABD2BD416; Thu, 9 Jan 2020 15:53:39 +0100 (CET) Received: from localhost (10.75.127.49) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 9 Jan 2020 15:53:39 +0100 From: Benjamin Gaignard To: , , , , , , , CC: , , , Benjamin Gaignard Subject: [PATCH 1/3] dt-bindings: timer: Add STM32 Low Power Timer bindings Date: Thu, 9 Jan 2020 15:53:31 +0100 Message-ID: <20200109145333.12260-2-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20200109145333.12260-1-benjamin.gaignard@st.com> References: <20200109145333.12260-1-benjamin.gaignard@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG3NODE3.st.com (10.75.127.9) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-09_02:2020-01-09,2020-01-09 signatures=0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document STM32 Low Power bindings. Signed-off-by: Benjamin Gaignard --- .../bindings/timer/st,stm32-lp-timer.yaml | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/st,stm32-lp-timer.yaml diff --git a/Documentation/devicetree/bindings/timer/st,stm32-lp-timer.yaml b/Documentation/devicetree/bindings/timer/st,stm32-lp-timer.yaml new file mode 100644 index 000000000000..ca040b96dc47 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/st,stm32-lp-timer.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/st,stm32-lp-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 Low Power 16 bits timers bindings + +maintainers: + - Benjamin Gaignard + +properties: + compatible: + const: st,stm32-lptimer-clkevent + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + clkevent: clkevent@40009000 { + compatible = "st,stm32-lptimer-clkevent"; + reg = <0x40009000 0x400>; + clocks = <&rcc LPTIM1_K>; + interrupts = ; + }; + +... -- 2.15.0