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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 2D8A8C7EE25 for ; Fri, 9 Jun 2023 22:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=4W+XKm9EeTA/jym7Ky70wzPNoJ0VFLaZkTXzI7JdXq0=; b=ZgflzW5VkV/cf4 FdPo7jyFsVXKUp8mbSyce7Yhhre2sxLy+U7d2VT9YgV+i5/PRYe3qUqX/OGe5Oe//ws0CXKkG9okd fdMTeFLDWn76wJa7Wetp2165GUqItgeIbIiZ6oSAfcZojv9czFRhO+56u/Dl8MZtzvcVF/7nTx2Ol vwO+j2cey+iwDEri6Tp+6kPBMLXsPiMprqRHQoQooByQCXW/3qYiEl1fvKz07/E0QGC48X3oDQqp4 LSVuEvJv2l6txoYXU3FQqwbc/bD/u23MqxpCTUzXeaQ/wgT5dkoJAIOT6bzm7p3hg4peS3M46XjoU KvDI7+bUMrHS/AmkCcMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7kA2-00ENFZ-1t; Fri, 09 Jun 2023 22:00:46 +0000 Received: from mail-il1-f174.google.com ([209.85.166.174]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7k9z-00ENER-2n for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2023 22:00:45 +0000 Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-33bb16ac2e9so9173245ab.3 for ; Fri, 09 Jun 2023 15:00:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686348043; x=1688940043; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FIih7yq7zItAjcdW9h/PAWrVlJSne2a8QKAirSRbadc=; b=BKGaXug4hYYUtrxWr19BTjzKIHZgSMiUPdXurlkdf5AOw11CazO1oanrEn5RBYrnc/ 4a2GYpxdalEdDlkq8xGFmL66XXZI7ic8UZLWTyPMfYovmfUgd3CYRnnM7bfg/sjNP4lo GSMOlh+AXgc/ShXvdlQ3NzyC53WZyYPNGdAFM3P81otIhkny9diPsvBM05wz+onHRqDw +w5BQOnvrvEQRzRdjkaDhIthntyKb+Uep6fBVT635TSkA3/6MCr9usrS+VHEQqYG1z8k 1l46QMKL3F4YnWVBOM2+VhqYZMBXdLjpjqByLniY2KGnjCER2KtC6K66c7aaAimaFShV QIDg== X-Gm-Message-State: AC+VfDzr8ObzwZt2bkIuYQIIEg0CIHYW1BMex85kL14VcX33lthMEnv2 Xo8wwilXeVhWZDnbJc7DtQ== X-Google-Smtp-Source: ACHHUZ6EIvz7xkXcCIMVLaEMaFls8RRHQT6zRXOjUpuAp+4pwiacrjCaBEGCDgGRimwZHpHRLmeeaQ== X-Received: by 2002:a92:d901:0:b0:33e:7552:3fd5 with SMTP id s1-20020a92d901000000b0033e75523fd5mr2391225iln.4.1686348042854; Fri, 09 Jun 2023 15:00:42 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id w8-20020a92d2c8000000b0033b2f5fe9bdsm1336911ilg.36.2023.06.09.15.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 15:00:42 -0700 (PDT) Received: (nullmailer pid 2535655 invoked by uid 1000); Fri, 09 Jun 2023 22:00:39 -0000 Date: Fri, 9 Jun 2023 16:00:39 -0600 From: Rob Herring To: Stefan Wahren Cc: Vinod Koul , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Jassi Brar , Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-pwm@vger.kernel.org, linux-pm@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH 10/10] dt-bindings: timer: convert bcm2835-system-timer bindings to YAML Message-ID: <20230609220039.GA2534871-robh@kernel.org> References: <20230604121223.9625-1-stefan.wahren@i2se.com> <20230604121223.9625-11-stefan.wahren@i2se.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230604121223.9625-11-stefan.wahren@i2se.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230609_150043_906899_6C74BEC8 X-CRM114-Status: GOOD ( 22.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Jun 04, 2023 at 02:12:23PM +0200, Stefan Wahren wrote: > Convert the DT binding document for bcm2835-system-timer from .txt > to YAML. > > Signed-off-by: Stefan Wahren > --- > .../timer/brcm,bcm2835-system-timer.txt | 22 ---------- > .../timer/brcm,bcm2835-system-timer.yaml | 44 +++++++++++++++++++ > 2 files changed, 44 insertions(+), 22 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt > create mode 100644 Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt > deleted file mode 100644 > index 844bd5fbd04c..000000000000 > --- a/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt > +++ /dev/null > @@ -1,22 +0,0 @@ > -BCM2835 System Timer > - > -The System Timer peripheral provides four 32-bit timer channels and a > -single 64-bit free running counter. Each channel has an output compare > -register, which is compared against the 32 least significant bits of the > -free running counter values, and generates an interrupt. > - > -Required properties: > - > -- compatible : should be "brcm,bcm2835-system-timer" > -- reg : Specifies base physical address and size of the registers. > -- interrupts : A list of 4 interrupt sinks; one per timer channel. > -- clock-frequency : The frequency of the clock that drives the counter, in Hz. > - > -Example: > - > -timer { > - compatible = "brcm,bcm2835-system-timer"; > - reg = <0x7e003000 0x1000>; > - interrupts = <1 0>, <1 1>, <1 2>, <1 3>; > - clock-frequency = <1000000>; > -}; > diff --git a/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml > new file mode 100644 > index 000000000000..555fca4897e7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-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/brcm,bcm2835-system-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: BCM2835 System Timer > + > +maintainers: > + - Stefan Wahren > + > +description: > + The System Timer peripheral provides four 32-bit timer channels and a > + single 64-bit free running counter. Each channel has an output compare > + register, which is compared against the 32 least significant bits of the > + free running counter values, and generates an interrupt. > + > +properties: > + compatible: > + const: brcm,bcm2835-system-timer > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 4 Should list what each entry is. > + > + clock-frequency: true > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + timer@7e003000 { > + compatible = "brcm,bcm2835-system-timer"; > + reg = <0x7e003000 0x1000>; > + interrupts = <1 0>, <1 1>, <1 2>, <1 3>; > + clock-frequency = <1000000>; > + }; > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel