[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <VE1PR04MB6768BFBAED0B5B59D873DD70913F0@VE1PR04MB6768.eurprd04.prod.outlook.com>
Date: Fri, 18 Sep 2020 01:45:17 +0000
From: Qiang Zhao <qiang.zhao@....com>
To: Bruno Thomsen <bruno.thomsen@...il.com>
CC: Rob Herring <robh@...nel.org>,
"a.zummo@...ertech.it" <a.zummo@...ertech.it>,
"alexandre.belloni@...tlin.com" <alexandre.belloni@...tlin.com>,
"linux-rtc@...r.kernel.org" <linux-rtc@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/3] dt-bindings: rtc-2127: Add bindings for
nxp,rtc-2127.txt
On Fri, Sep 18, 2020 at 03:29, Bruno Thomsen <bruno.thomsen@...il.com> wrote:
> -----Original Message-----
> From: Bruno Thomsen <bruno.thomsen@...il.com>
> Sent: 2020年9月18日 3:29
> To: Qiang Zhao <qiang.zhao@....com>
> Cc: Rob Herring <robh@...nel.org>; a.zummo@...ertech.it;
> alexandre.belloni@...tlin.com; linux-rtc@...r.kernel.org;
> devicetree@...r.kernel.org; linux-kernel@...r.kernel.org
> Subject: Re: [PATCH 1/3] dt-bindings: rtc-2127: Add bindings for
> nxp,rtc-2127.txt
>
> Den man. 14. sep. 2020 kl. 09.08 skrev Qiang Zhao <qiang.zhao@....com>:
> >
> > On Fri, Sep 11, 2020 at 22:03, Rob Herring <robh@...nel.org> wrote:
>
> > Please help to review as below, if it is ok, I will send the new version patch.
> Thank you!
> >
> > diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
> > b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
> > new file mode 100644
> > index 0000000..809dd59
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
> > @@ -0,0 +1,38 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +%YAML 1.2
> > +---
> > +$id:
> > +https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevi
> >
> +cetree.org%2Fschemas%2Frtc%2Fnxp%2Cpcf2127.yaml%23&data=02%7
> C01%7
> >
> +Cqiang.zhao%40nxp.com%7C5a271aa3d1ed46ea578108d85b3ff9f6%7C686e
> a1d3bc
> >
> +2b4c6fa92cd99c5c301635%7C0%7C0%7C637359677624002617&sdata
> =UGZ9B6E
> > +xteIMvxc3zvPfr%2FjZVQuPD6DJ6b2kZ%2BOO%2BIA%3D&reserved=0
> > +$schema:
> > +https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevi
> >
> +cetree.org%2Fmeta-schemas%2Fcore.yaml%23&data=02%7C01%7Cqiang
> .zha
> >
> +o%40nxp.com%7C5a271aa3d1ed46ea578108d85b3ff9f6%7C686ea1d3bc2b4
> c6fa92c
> >
> +d99c5c301635%7C0%7C0%7C637359677624002617&sdata=7P2m9OvIs
> FS6Q2By9
> > +DNmK9Oq5Ff6B%2BNSEA4F7otTT8g%3D&reserved=0
> > +
> > +title: PCF RTCs
> > +
> > +maintainers:
> > + - Qiang Zhao <qiang.zhao@....com>
> > +
> > +allOf:
> > + - $ref: "rtc.yaml#"
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - nxp,pcf2127
> > + - nxp,pcf2129
>
> The device driver have 3 compatible strings, "nxp,pca2129" is missing.
Thank you for your reminder, I will add in next version.
>
> /Bruno
>
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + interrupts:
> > + maxItems: 1
> > +
> > + no-watchdog:
> > + maxItems: 1
> > +
> > + start-year: true
> > +
> > +required:
> > + - compatible
> > + - reg
> > +
> > +additionalProperties: false
> > +
> > +...
> >
> > >
> > > Documentation/devicetree/writing-schema.rst and about 1000 examples
> > > in the kernel tree.
> > >
> > > Rob
Best Regards
Qiang Zhao
Powered by blists - more mailing lists