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 51557C433EF for ; Thu, 7 Apr 2022 07:37:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241940AbiDGHjx (ORCPT ); Thu, 7 Apr 2022 03:39:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241934AbiDGHjn (ORCPT ); Thu, 7 Apr 2022 03:39:43 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BF60CEB for ; Thu, 7 Apr 2022 00:37:42 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id p15so8999036ejc.7 for ; Thu, 07 Apr 2022 00:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=yNWtSpIfre/T49Bu6Rn7xWkOXfSsUU2Q16+og1izX/M=; b=rbIPUQtXTcH/nbH8rFxu5Mv1mS7b/X1ycuR/uPgB5HQt3I35p/5bJBaSlnPR77KwcM bhpwO9P0KSHycnPGUlHMV59Xp8MlW9w1pmKqiisKOoJTJe4CdkLVwlQ53k055EsTDbm8 xaolUtOvSxp7kKlIHxwDFoaliRw2e6S2BkCPPBawcH/vt1EwhnQuFNKBLY8J5/PHXXx3 HDMOauJohAlJOIZC3lIkNjxKq+hJQY+42fKW62TGe85nFemJ/ul+BUIIIDEbETenk9cD FGkieze3jS1MWvrdp7QzTGzA7imBlceUkiVLJQwC61dN2CaLHgYQC2aHhfFcLDNq2LQ8 VWrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=yNWtSpIfre/T49Bu6Rn7xWkOXfSsUU2Q16+og1izX/M=; b=gx8+gSKdgsciFmpXY30pCeefvZQojYtIOPHig5QNk68pp2OBPmTEbYWfsZjCGj4y+Z pmq0g/qel6PYAe6R6k7ULQo8TxHh/apGWCBjOnqfekp33WTF1BKC+X+1GOQijzoEhG3A H3j7Hr/YLAAPSikd1TsEfSMBZpcYXMPmQUbkvSzbh5dAazwrVa6IIMT4z92RAozdl0rp vJ2kF9yR/F3854XDWN+Q3pMDsahh+z7PwPzADSVHlxhs7becGiVhDycXRbXU1SyR5FOn Qm85eh9YRIUW2iGyDZtAb84fJqLaKHWr9Lh3EXhzvAWR5OYh2fLjopwJiLJ1m4E/KXbU qA/w== X-Gm-Message-State: AOAM533F+hOoIzyztI+LEfQJqB5SCv1PhUA5Dv/E6g/KV+flUWP1DJK7 vc91tT9s8sVZuS0FQOBL33L/ZA== X-Google-Smtp-Source: ABdhPJwitQr3MWQZcHqAWXdeKfDKqOLsvrFlABaFkgsr9IvueNvggIKvJsK5PQ13C2QVOPveXeP3LA== X-Received: by 2002:a17:906:5597:b0:6ce:f3cc:14e8 with SMTP id y23-20020a170906559700b006cef3cc14e8mr11974793ejp.426.1649317061137; Thu, 07 Apr 2022 00:37:41 -0700 (PDT) Received: from [192.168.0.185] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id m14-20020a056402510e00b0041d0c0942adsm190773edd.52.2022.04.07.00.37.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 00:37:40 -0700 (PDT) Message-ID: Date: Thu, 7 Apr 2022 09:37:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 1/7] dt-bindings: rtc: rzn1: Describe the RZN1 RTC Content-Language: en-US To: Miquel Raynal , Alessandro Zummo , Alexandre Belloni Cc: 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 References: <20220405184716.1578385-1-miquel.raynal@bootlin.com> <20220405184716.1578385-2-miquel.raynal@bootlin.com> From: Krzysztof Kozlowski In-Reply-To: <20220405184716.1578385-2-miquel.raynal@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 05/04/2022 20:47, Miquel Raynal wrote: > Add new binding file for this RTC. > > 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 > > diff --git a/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml 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: Why oneOf? > + - 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 You don't need this, it's coming from rtc.yaml. Best regards, Krzysztof