From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
To: Rob Herring <robh@kernel.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Michal Simek <michal.simek@xilinx.com>,
linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
linux ARM <linux-arm-kernel@lists.infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] dt-bindings: rtc: zynqmp: convert bindings to YAML
Date: Sat, 12 Jun 2021 07:07:27 +0900 [thread overview]
Message-ID: <CABMQnV+RDqZAwAZ2Zd=KSUXcwzSZbjigWYTLd96xtHLKAih3RA@mail.gmail.com> (raw)
In-Reply-To: <20210610172141.GA1972573@robh.at.kernel.org>
Hi,
Thanks for your review.
2021年6月11日(金) 2:21 Rob Herring <robh@kernel.org>:
>
> On Wed, Jun 02, 2021 at 09:09:18AM +0900, Nobuhiro Iwamatsu wrote:
> > Convert Real Time Clock for Xilinx Zynq MPSoC SoC bindings documentation
> > to YAML schemas.
> > And this renamed the file to compatible string of DT.
> >
> > Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> > ---
> >
> > v2: Fix warning with DT_CHECKER_FLAGS=-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-rtc.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 <michal.simek@xilinx.com>
> > +
> > +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 = <2>;
> > + #size-cells = <2>;
> > +
> > + rtc: rtc@ffa60000 {
> > + compatible = "xlnx,zynqmp-rtc";
> > + reg = <0x0 0xffa60000 0x0 0x100>;
> > + interrupt-parent = <&gic>;
> > + interrupts = <0 26 4>, <0 27 4>;
> > + interrupt-names = "alarm", "sec";
> > + calibration = <0x198233>;
> > + };
> > + };
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
prev parent reply other threads:[~2021-06-11 22:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 0:09 [PATCH v2] dt-bindings: rtc: zynqmp: convert bindings to YAML Nobuhiro Iwamatsu
2021-06-10 17:21 ` Rob Herring
2021-06-11 22:07 ` Nobuhiro Iwamatsu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABMQnV+RDqZAwAZ2Zd=KSUXcwzSZbjigWYTLd96xtHLKAih3RA@mail.gmail.com' \
--to=iwamatsu@nigauri.org \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).