[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175553261709.1300451.5942152829890999372.robh@kernel.org>
Date: Mon, 18 Aug 2025 10:56:57 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Lakshay Piplani <lakshay.piplani@....com>
Cc: shashank.rebbapragada@....com, linux-rtc@...r.kernel.org,
priyanka.jain@....com, linux-kernel@...r.kernel.org,
conor+dt@...nel.org, alexandre.belloni@...tlin.com,
vikash.bansal@....com, devicetree@...r.kernel.org,
krzk+dt@...nel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: rtc: nxp,pcf85363: add timestamp
mode config
On Mon, 11 Aug 2025 13:51:22 +0530, Lakshay Piplani wrote:
> NXP PCF85263/PCF85363 provides three timestamp registers (TSR1-TSR3)
> which latch the current time when a selected event occurs. Add a
> vendor specific property, nxp,timestamp-mode, to select the event
> source for each register.
>
> Also introduce a new header 'pcf85363-tsr.h' to expose
> macros for timestamp mode fields, improving readability
> of device tree file.
>
> Signed-off-by: Lakshay Piplani <lakshay.piplani@....com>
> ---
> Changes in v2:
> - Addressed review comments from Rob Herring:
> * use $ref: /schemas/types.yaml#/definitions/uint32-array
> * tuple form with exactly 3 items (TSR1/TSR2/TSR3), per items decimal enums
> * define 'nxp,timestamp-mode' clearly
> * drop watchdog related vendor properties
> * remove watchdog related vendor properties from i2c example
>
> .../devicetree/bindings/rtc/nxp,pcf85363.yaml | 23 ++++++++++++++-
> include/dt-bindings/rtc/pcf85363-tsr.h | 28 +++++++++++++++++++
> 2 files changed, 50 insertions(+), 1 deletion(-)
> create mode 100644 include/dt-bindings/rtc/pcf85363-tsr.h
>
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
Powered by blists - more mailing lists