Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp910652pxj; Fri, 11 Jun 2021 15:09:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUerv1uLC4bql2qnFAXjf7vw8LAg4VRtIkwgJ+9hWv9dT8vLqUaJphXgNdAy7ygvD5a1Tj X-Received: by 2002:a17:906:f2d6:: with SMTP id gz22mr5366694ejb.137.1623449364219; Fri, 11 Jun 2021 15:09:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623449364; cv=none; d=google.com; s=arc-20160816; b=mlnc6JU63vKuITUgTRzcPQCs+QpSdPZn5xcQaW8IqmL88AvmMU8K0Dbm6Qgm0TvDEF Rg4ccUVJnncTx2C+5AbsAFCPL5WrE7uI65AAQCMEMm6jOExBCdA7FnXx41dxtBzy/VBU pL64AzSgBqbZ+QIG4z1tzmlf3eGKeTZvKy0axDFkF1mxGIRrZZ85phdvNdwFoMPIoVWs cUp3YYx36rS49OrmaWiapQNR7CaCSD54KjnV+I7mW0kPdtiqXrCjw1t/oYr0IhxUKAb0 CJ+T4wThX3uH7xzNfODlH/e1ykf+IjQTyplMyhZKtgie9QkS6nqacbjDHEVfFRlKt/Iw eRlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uHu7ib6zrMGFlFkxj8zcg5J2SMfP4k+dwvTbqRmsLOM=; b=tS9j5xZEUCFM8mNBfUi+7MNAL/zu29JdPpZRh+WF7nVyMDlqPVggGX7EZOAdgY+jde DMvzUc7DTMQ9iBQKZ+ytCYALSh90u/lqacPC8/b+1zq+sIlSvR8JNzHAx8MOJPPtEUMz 8E00M3BVzBiy0juDTzPTOKC9ftCJBPhMgg9bOki00ilZSZe/cxwiBIZDhTKGPDLnF2+c JH8mOFObBBIxuR4d92VFkERlluLgg86gWJVGn6vGRi9slygtQzZaQfIG2EqZQ80eSHGt 8FIGlJ/Zre5Kss2L3glseGUPgSNQNrIPVW467jnGtU6KPpgSsVAJG1+r2OZ8A7u6hPr2 8XkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nigauri-org.20150623.gappssmtp.com header.s=20150623 header.b=Z2pE5csM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si5861851ejj.516.2021.06.11.15.09.00; Fri, 11 Jun 2021 15:09:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nigauri-org.20150623.gappssmtp.com header.s=20150623 header.b=Z2pE5csM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230181AbhFKWKA (ORCPT + 99 others); Fri, 11 Jun 2021 18:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbhFKWJ7 (ORCPT ); Fri, 11 Jun 2021 18:09:59 -0400 Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EE7EC061574 for ; Fri, 11 Jun 2021 15:07:55 -0700 (PDT) Received: by mail-vs1-xe36.google.com with SMTP id b1so4596848vsh.7 for ; Fri, 11 Jun 2021 15:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nigauri-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uHu7ib6zrMGFlFkxj8zcg5J2SMfP4k+dwvTbqRmsLOM=; b=Z2pE5csMALEIsCPPdOCmgY4A9S0wwyfX6N4llSNu/pYRrcENtXD1MOu/OpFuth+ymf Lj/ZSWSzrBR95OwDXHh7mRN2eurzEn6YOfO5pvL/Bd2BwWoyrcaHyePkvTHEYBVrgZ6o qNqEoMYSriFqNa74YuUm43eAR6U79uHBbeWGL8BCGLt0Jqo2tf3vrBiBdtGfchAw+s4Q Zs0VjmxBLpYSl4U85vQpXAg3fCf9mBLabWXJGe35IJTNWbscQjmUatPw4fx7f4dQ0OGC nXGgYgFNjri3WxUYN8dMsYILHYT55R/d2d1VP1HC0phkyf7nYJP55zYrqaTFy3r7Yjbq X61g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uHu7ib6zrMGFlFkxj8zcg5J2SMfP4k+dwvTbqRmsLOM=; b=UCvV018JcS6DzEYau340zZUNVOrY2dRPy1zAvmqJp+INvy615hChdNkY167pC93ktg bbBfX+n0IQcPL13StQb3rt7YpwxKva2Vpp6rtQthdFZV7hug1h5oxH8aD4YLN73LkedI P9TVKb9MnAOKf0m6KCHIjO06mhJaFi+bmigafKTdNUwBBzI1E1nBnNHLNJgK5UHyval+ TETkuEap+3gZo0dRUtX9w1/N5trTDQrXZAmroe5A19mZBFKhp9LBb9mgBF3ofLycEOuy fZ68PznDQJ6dLWFUKgqApTjQqvq1ZkluItFPtvGxgOEopNjibbEkLb0YE3MVbfNfwcne Gm9g== X-Gm-Message-State: AOAM532Stw4VdbPOY1GtQllC52sfiLb2TnJ2EpzX9kKQ8vPofbqoQjCt 9EBQaTECTPlWERqEAcvsvlxnEhNKcCD8JkGHdzYG X-Received: by 2002:a67:e359:: with SMTP id s25mr11751026vsm.55.1623449273388; Fri, 11 Jun 2021 15:07:53 -0700 (PDT) MIME-Version: 1.0 References: <20210602000918.779983-1-iwamatsu@nigauri.org> <20210610172141.GA1972573@robh.at.kernel.org> In-Reply-To: <20210610172141.GA1972573@robh.at.kernel.org> From: Nobuhiro Iwamatsu Date: Sat, 12 Jun 2021 07:07:27 +0900 Message-ID: Subject: Re: [PATCH v2] dt-bindings: rtc: zynqmp: convert bindings to YAML To: Rob Herring Cc: Alessandro Zummo , Alexandre Belloni , Michal Simek , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thanks for your review. 2021=E5=B9=B46=E6=9C=8811=E6=97=A5(=E9=87=91) 2:21 Rob Herring : > > On Wed, Jun 02, 2021 at 09:09:18AM +0900, Nobuhiro Iwamatsu wrote: > > Convert Real Time Clock for Xilinx Zynq MPSoC SoC bindings documentatio= n > > to YAML schemas. > > And this renamed the file to compatible string of DT. > > > > Signed-off-by: Nobuhiro Iwamatsu > > --- > > > > v2: Fix warning with DT_CHECKER_FLAGS=3D-m > > > > .../bindings/rtc/xlnx,zynqmp-rtc.yaml | 61 +++++++++++++++++++ > > .../devicetree/bindings/rtc/xlnx-rtc.txt | 25 -------- > > 2 files changed, 61 insertions(+), 25 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/rtc/xlnx,zynqmp-r= tc.yaml > > delete mode 100644 Documentation/devicetree/bindings/rtc/xlnx-rtc.txt > > > > diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml= b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > > new file mode 100644 > > index 00000000000000..c205cb86ef00be > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > > @@ -0,0 +1,61 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/rtc/xlnx,zynqmp-rtc.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Xilinx Zynq Ultrascale+ MPSoC Real Time Clock > > + > > +description: | > > Don't need '|' OK, I will drop. > > > + RTC controller for the Xilinx Zynq MPSoC Real Time Clock. > > + This separates IRQ lines for seconds and alarm. > > The RTC controller has separate IRQ... I will update description, thanks. > > > + > > +maintainers: > > + - Michal Simek > > + > > +allOf: > > + - $ref: rtc.yaml# > > + > > +properties: > > + compatible: > > + const: xlnx,zynqmp-rtc > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + minItems: 2 > > + > > + interrupt-names: > > + items: > > + - const: alarm > > + - const: sec > > + > > + calibration: > > + description: | > > + calibration value for 1 sec period which will > > + be programmed directly to calibration register. > > Needs a type $ref. OK, I will add $ref. > > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - interrupt-names > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + soc { > > + #address-cells =3D <2>; > > + #size-cells =3D <2>; > > + > > + rtc: rtc@ffa60000 { > > + compatible =3D "xlnx,zynqmp-rtc"; > > + reg =3D <0x0 0xffa60000 0x0 0x100>; > > + interrupt-parent =3D <&gic>; > > + interrupts =3D <0 26 4>, <0 27 4>; > > + interrupt-names =3D "alarm", "sec"; > > + calibration =3D <0x198233>; > > + }; > > + }; Best regards, Nobuhiro --=20 Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6