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 35FB4C433F5 for ; Thu, 2 Dec 2021 00:13:03 +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=xL93LWsI0r/ZVusj+E+FRtv+VqFR4g+djA+YJh+H5Mg=; b=jXnEH/4/IeHyLT J9Nog4hrjG2sZjzCdehVF9gBedJhA8HP5XHt7/1sWEWdJbQ1Pgiq5+85PfOLzDmA4JjD7cGtsltCv JyvA0XWyqVDQR1d9ZWRVR1JBDISlbTA2UVPhLwl9GwvklA80tMyqkpLQE+qwrpN8x6kQvDQC49vt9 6G+W8zQfISeRiU66X5jpkguW1WWmCfVIXMjVfdPVh6qLfVt3Fehmk8K/7papOWQ3/gaiCV5RJpwUr 7sPqQfs3eASS0DSZPiHN+/4h7Ik3OHf1qep+HDttdvHAjy19VJyXPJSCSCkz+SeWCYoN3DDVh+Mj9 d6IX1iqvcj1j1xTdeOMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msZh8-00APWG-Kk; Thu, 02 Dec 2021 00:11:26 +0000 Received: from mail-ot1-f42.google.com ([209.85.210.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msZh3-00APUn-IF for linux-arm-kernel@lists.infradead.org; Thu, 02 Dec 2021 00:11:23 +0000 Received: by mail-ot1-f42.google.com with SMTP id a23-20020a9d4717000000b0056c15d6d0caso37634093otf.12 for ; Wed, 01 Dec 2021 16:11:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Su5uVtfC4tYXWdd9BOXOVaJYt86ikGsngAqLHjPcTh0=; b=hEoVRWXdnOtBfLcq+exw2VvZaIRV8cnI7vWAX0zoRUVCPqkvdfPCRsF7LxGIAJtlbV ogPpIV1RVhttqC2iDiZvMgP1Uy5LKJaivz+Xxnm1c9piGw+oVBdRFcIoI6/z4Nv+lDnD 8AXyQE3izeoT/gUo7EQps4eNkNOmoxVSGHcqnYn/ZFdkFo/rHSZohDbc1nJtpOzq570d GASatT8lFyyTa4r9Fo6YFsbDa89/i9SrCL7Tjuya0KOMpx2aU4rPouWhiqMknmt4s0so 7MGlEiPbodIZLUA3aVxZJgsWcDW144ja7dqYyQrd3tg1VCP70jWCFbTrLeYN+XfihfCH tPqw== X-Gm-Message-State: AOAM530CBJDLi1IhGLhBlsDCg5Rxo60cPKSUVsMzEEyzCN1ei1/FDKwk fSMiNKjDjzzXwEu8ANTeEw== X-Google-Smtp-Source: ABdhPJxfjoFZ+5kdBbV/2x6TDuosIgYNNUSX7+mXwQDatQyDU1615j6jym7P5wIhJOXDi1oGs99HFg== X-Received: by 2002:a9d:6c18:: with SMTP id f24mr8892697otq.250.1638403880534; Wed, 01 Dec 2021 16:11:20 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id u40sm772734oiw.56.2021.12.01.16.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 16:11:19 -0800 (PST) Received: (nullmailer pid 3276942 invoked by uid 1000); Thu, 02 Dec 2021 00:11:19 -0000 Date: Wed, 1 Dec 2021 18:11:19 -0600 From: Rob Herring To: Romain Perier Cc: Daniel Lezcano , Thomas Gleixner , Daniel Palmer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] dt-bindings: timer: Add Mstar MSC313e timer devicetree bindings documentation Message-ID: References: <20211126202144.72936-1-romain.perier@gmail.com> <20211126202144.72936-5-romain.perier@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211126202144.72936-5-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_161121_655473_452BC72D X-CRM114-Status: GOOD ( 19.67 ) 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 Fri, Nov 26, 2021 at 09:21:42PM +0100, Romain Perier wrote: > This adds the documentation for the devicetree bindings of the Mstar > MSC313e timer driver, found from MSC313e SoCs and newer. > > Signed-off-by: Romain Perier > --- > .../bindings/timer/mstar,msc313e-timer.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml b/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml > new file mode 100644 > index 000000000000..f4d43e141dd0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/mstar,msc313e-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mstar MSC313e Timer Device Tree Bindings > + > +maintainers: > + - Daniel Palmer > + - Romain Perier > + > +properties: > + compatible: > + enum: > + - mstar,msc313e-timer > + - mstar,ssd20xd-timer > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + start-year: true This is an rtc property. You would need to $ref rtc.yaml, but then that also says the node name is 'rtc'. But why do you need a start year for a clocksource? > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + timer@6040 { > + compatible = "mstar,msc313e-timer"; > + reg = <0x6040 0x40>; > + clocks = <&xtal_div2>; > + interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; > + }; > +... > -- > 2.33.0 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel