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=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 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 90206C33CB3 for ; Wed, 15 Jan 2020 14:35:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5EC26214AF for ; Wed, 15 Jan 2020 14:35:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jMhYDLLx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5EC26214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=esEKsEYQqP/tsv26g16AR74JiYPXLUQUkvPa+aF7SxY=; b=jMhYDLLxhbg5Gy ebo8qifHAZpazsbvogrz2ramIlf3GlM9VN4K3NoIu3MHw9x5DsSAvfQmljdagW/LFFRazvy1lsbn1 H4y1jBjonBx9k5wUBL8OCwB6gh/xLeMPxaD09yUI4lDZwJd9vIalv0i3ETMhszztVMP6krcHZ8xvG +Ua3dMb0Hm+a2dATfRjWjT1UD1ZvwichTIPI6ffl1oWkp64qSuwQA6obmwonNaUzltUhMsh/uc6Ir 9f0g+Ccyx89l0fK0La+umDzkPEScX0fS1qaAsweM6f03fc1kBlq95GvDTss5jGhdPqzdOJPodXyEv 1/TB9OuxNEa+rQm8VvPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1irjlc-0003z6-3f; Wed, 15 Jan 2020 14:35:32 +0000 Received: from mail-ot1-f65.google.com ([209.85.210.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1irjlW-0003xU-P1 for linux-arm-kernel@lists.infradead.org; Wed, 15 Jan 2020 14:35:31 +0000 Received: by mail-ot1-f65.google.com with SMTP id 77so16266932oty.6 for ; Wed, 15 Jan 2020 06:35:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vmc4LTv9UhARNZilVqDisUzXdxxex8ZA0E5+WbrzhDk=; b=Viy0YTrmqyCSF20OnGl9gp0x9sP2xsDytF0M7SZhIOQiulN1TDF7fuNMeF9ShQb59f VRuDbnwfQIe2TNeK6LSXd85L2AwKCEz9cYuwVEQrFiEt1vbUprKOaaxA+3Pbf/hQomA5 A4MLLsEzriN39YUVJzj1PZhLlNmm311gjAaRx0qegD2YackErs59idA+w1Y14wpsoxMb PL/5q/d5X4sEoppxj6hbKoQjdmL9Vl/80YrCnisRdsc4dBSmHnOYxDNHZWwqvVbs0K99 H4iBcbYywfMCCQsO533kZ6tlh0ITAXHA3Ta1S3t8oyjRrdJzJwcWhuRC14FR0Kuf6Rom i1Ow== X-Gm-Message-State: APjAAAVac2enbNLhcWOEFyAiAOT2QYp223v0Vvw8bGp1rm11XOndppz6 511a02rYTKtwk+pHuIX8VquoFpk= X-Google-Smtp-Source: APXvYqznQQyF5qLybGXX/wT+8nKeX08O63w7kr/0L3KouzK0Pody8IxEatyZIghQM3h0zaPayyEFMA== X-Received: by 2002:a05:6830:15a:: with SMTP id j26mr2799459otp.137.1579098923803; Wed, 15 Jan 2020 06:35:23 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id p16sm6539131otq.79.2020.01.15.06.35.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 06:35:23 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 22040c by rob-hp-laptop (DragonFly Mail Agent v0.11); Wed, 15 Jan 2020 08:35:21 -0600 Date: Wed, 15 Jan 2020 08:35:21 -0600 From: Rob Herring To: Benjamin Gaignard Subject: Re: [PATCH 1/3] dt-bindings: timer: Add STM32 Low Power Timer bindings Message-ID: <20200115143521.GA15099@bogus> References: <20200109145333.12260-1-benjamin.gaignard@st.com> <20200109145333.12260-2-benjamin.gaignard@st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200109145333.12260-2-benjamin.gaignard@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200115_063526_815794_AAD0FDE8 X-CRM114-Status: GOOD ( 15.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alexandre.torgue@st.com, daniel.lezcano@linaro.org, linux@armlinux.org.uk, p.paillet@st.com, mcoquelin.stm32@gmail.com, tglx@linutronix.de, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 09, 2020 at 03:53:31PM +0100, Benjamin Gaignard wrote: > 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 Use the compatible for the filename. > @@ -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 'clkevent' is a h/w name? Seems redundant and abusing compatible to bind to a specific Linux driver. > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + clkevent: clkevent@40009000 { timer@... > + compatible = "st,stm32-lptimer-clkevent"; > + reg = <0x40009000 0x400>; > + clocks = <&rcc LPTIM1_K>; > + interrupts = ; > + }; > + > +... > -- > 2.15.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel