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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1B6BC4332F for ; Thu, 7 Apr 2022 09:21:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231162AbiDGJXn (ORCPT ); Thu, 7 Apr 2022 05:23:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243912AbiDGJXc (ORCPT ); Thu, 7 Apr 2022 05:23:32 -0400 X-Greylist: delayed 138847 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 07 Apr 2022 02:21:29 PDT Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E9B176659; Thu, 7 Apr 2022 02:21:28 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 9A21DC0005; Thu, 7 Apr 2022 09:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1649323286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ovt995Vz+TKYIu2nKkb+/jaggU7Fdt/74L9w/t6FZTQ=; b=EZt+u37SQDG+9nMmzmDtiw13PSpBGAclDEGCvXaHchYpOpByVGUl8CKehpHWzkn7DJSd7X aObsbLj0jO072kwKE1K7+2MmTeQ3wPkBBKnLL6DhN465yh1CRVKOGm1K29OWABIkXxOdg/ SbmRkkYjTBb5Gv9MciFpGN6ap89l7fOrv7DfuSODYCn7nagx+2qeK8bM4YwkgbHMAlsUIX lZIzDWDYHRaGhNNL7Jkj9JbZU+uVZprD4RK+XgByZtxDH/bZ8RqX91BphqN5mTW43N3x8N O6y4KrdAEdZFalz+lT3ATKvCi75/FvxE6MqlG080zgluJZQ7RfNUZC7yOFf6Tg== Date: Thu, 7 Apr 2022 11:21:22 +0200 From: Miquel Raynal To: Krzysztof Kozlowski Cc: Alessandro Zummo , Alexandre Belloni , Rob Herring , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, Magnus Damm , Gareth Williams , Phil Edworthy , Geert Uytterhoeven , Stephen Boyd , Michael Turquette , linux-clk@vger.kernel.org, Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , Thomas Petazzoni , Herve Codina , Clement Leger , linux-rtc@vger.kernel.org Subject: Re: [PATCH 1/7] dt-bindings: rtc: rzn1: Describe the RZN1 RTC Message-ID: <20220407112122.11321834@xps13> In-Reply-To: References: <20220405184716.1578385-1-miquel.raynal@bootlin.com> <20220405184716.1578385-2-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org Hi Krzysztof, krzysztof.kozlowski@linaro.org wrote on Thu, 7 Apr 2022 09:37:39 +0200: > On 05/04/2022 20:47, Miquel Raynal wrote: > > Add new binding file for this RTC. > >=20 > > Signed-off-by: Miquel Raynal > > --- > > .../bindings/rtc/renesas,rzn1-rtc.yaml | 69 +++++++++++++++++++ > > 1 file changed, 69 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/rtc/renesas,rzn1-= rtc.yaml > >=20 > > diff --git a/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yam= l b/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml > > new file mode 100644 > > index 000000000000..903f0cd361fa > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml > > @@ -0,0 +1,69 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/rtc/renesas,rzn1-rtc.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Renesas RZ/N1 SoCs Real-Time Clock DT bindings > > + > > +maintainers: > > + - Miquel Raynal > > + > > +allOf: > > + - $ref: rtc.yaml# > > + > > +properties: > > + compatible: > > + oneOf: =20 >=20 > Why oneOf? Right, copy-paste leftover. >=20 > > + - items: > > + - enum: > > + - renesas,r9a06g032-rtc > > + - const: renesas,rzn1-rtc > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + minItems: 3 > > + maxItems: 3 > > + > > + interrupt-names: > > + items: > > + - const: alarm > > + - const: timer > > + - const: pps > > + > > + clocks: > > + maxItems: 1 > > + > > + clock-names: > > + const: hclk > > + > > + start-year: true =20 >=20 > You don't need this, it's coming from rtc.yaml. Right. Thanks, Miqu=C3=A8l