linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Radhey Shyam Pandey <radheys@xilinx.com>
Cc: Srinivas Neeli <sneeli@xilinx.com>,
	"a.zummo@towertech.it" <a.zummo@towertech.it>,
	Michal Simek <michals@xilinx.com>,
	Srinivas Goud <sgoud@xilinx.com>,
	Shubhrajyoti Datta <shubhraj@xilinx.com>,
	"linux-rtc@vger.kernel.org" <linux-rtc@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	git <git@xilinx.com>
Subject: Re: [PATCH V3 1/2] dt-bindings: rtc: zynqmp: Add clock information
Date: Wed, 5 Jan 2022 00:44:44 +0100	[thread overview]
Message-ID: <YdTb7IixX6JsUtJ4@piout.net> (raw)
In-Reply-To: <SA1PR02MB8560D9A6A6C90DC1A90A2364C7679@SA1PR02MB8560.namprd02.prod.outlook.com>

Hello Srinivas,

On 30/11/2021 06:37:45+0000, Radhey Shyam Pandey wrote:
> > -----Original Message-----
> > From: Srinivas Neeli <srinivas.neeli@xilinx.com>
> > Sent: Tuesday, November 30, 2021 11:26 AM
> > To: a.zummo@towertech.it; alexandre.belloni@bootlin.com; Michal Simek
> > <michals@xilinx.com>; Srinivas Goud <sgoud@xilinx.com>; Shubhrajyoti Datta
> > <shubhraj@xilinx.com>; Radhey Shyam Pandey <radheys@xilinx.com>
> > Cc: linux-rtc@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-
> > kernel@vger.kernel.org; git <git@xilinx.com>; Srinivas Neeli
> > <sneeli@xilinx.com>
> > Subject: [PATCH V3 1/2] dt-bindings: rtc: zynqmp: Add clock information
> > 
> > Added clock information and deprecated calibration support.
> 
> Better to also add some background for this change.
> > 
> > Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
> 
> Please add Rob and DT mailing list.
> 

I'm indeed waiting on Rob's review...

> ./scripts/get_maintainer.pl <.patch>
> > ---
> > Changes in V3:
> > -New patch
> > ---
> >  .../bindings/rtc/xlnx,zynqmp-rtc.yaml         | 20 +++++++++----------
> >  1 file changed, 10 insertions(+), 10 deletions(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
> > b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
> > index bdb72d3ddf2a..7e87bc1ef9df 100644
> > --- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
> > +++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
> > @@ -26,20 +26,19 @@ properties:
> >    interrupts:
> >      minItems: 2
> > 
> > +  clocks:
> > +    items:
> > +      - description: rtc_clk is the operating frequency of crystal.
> > +
> > +  clock-names:
> > +    items:
> > +      - const: "rtc_clk"
> > +
> >    interrupt-names:
> >      items:
> >        - const: alarm
> >        - const: sec
> > 
> > -  calibration:
> 
> What about existing users for this property?
> > -    description: |
> > -      calibration value for 1 sec period which will
> > -      be programmed directly to calibration register.
> > -    $ref: /schemas/types.yaml#/definitions/uint32
> > -    minimum: 0x1
> > -    maximum: 0x1FFFFF
> > -    default: 0x198233
> > -

I think this needs to stay to mark it as deprecated.

> >  required:
> >    - compatible
> >    - reg
> > @@ -60,6 +59,7 @@ examples:
> >          interrupt-parent = <&gic>;
> >          interrupts = <0 26 4>, <0 27 4>;
> >          interrupt-names = "alarm", "sec";
> > -        calibration = <0x198233>;
> > +        clock-names = "rtc_clk";
> > +        clocks = <&rtc_clk>;
> >        };
> >      };
> > --
> > 2.17.1
> 

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2022-01-04 23:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30  5:55 [PATCH V3 1/2] dt-bindings: rtc: zynqmp: Add clock information Srinivas Neeli
2021-11-30  5:55 ` [PATCH V3 2/2] rtc: zynqmp: Add calibration set and get support Srinivas Neeli
2022-01-04 23:48   ` Alexandre Belloni
2021-11-30  6:37 ` [PATCH V3 1/2] dt-bindings: rtc: zynqmp: Add clock information Radhey Shyam Pandey
2022-01-04 23:44   ` Alexandre Belloni [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=YdTb7IixX6JsUtJ4@piout.net \
    --to=alexandre.belloni@bootlin.com \
    --cc=a.zummo@towertech.it \
    --cc=git@xilinx.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=michals@xilinx.com \
    --cc=radheys@xilinx.com \
    --cc=sgoud@xilinx.com \
    --cc=shubhraj@xilinx.com \
    --cc=sneeli@xilinx.com \
    /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).