From: Lakshay Piplani <lakshay.piplani@nxp.com>
To: wbg@kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org
Cc: vikash.bansal@nxp.com, priyanka.jain@nxp.com,
shashank.rebbapragada@nxp.com,
Lakshay Piplani <lakshay.piplani@nxp.com>
Subject: [PATCH 1/2] dt-bindings: counter: Add binding for NXP PCF85263/PCF85363 stopwatch
Date: Mon, 15 Sep 2025 12:44:14 +0530 [thread overview]
Message-ID: <20250915071415.1956219-1-lakshay.piplani@nxp.com> (raw)
Add a devicetree binding schema for the NXP PCF8263/PCF85363 devices when used in
stopwatch (counter) mode.
In this configuration, the device operates as a high resolution stopwatch over I2C,
counting in centiseconds (1/100th of a second) up to 999,999 hours.
Signed-off-by: Lakshay Piplani <lakshay.piplani@nxp.com>
---
.../counter/nxp,pcf85363-stopwatch.yaml | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/counter/nxp,pcf85363-stopwatch.yaml
diff --git a/Documentation/devicetree/bindings/counter/nxp,pcf85363-stopwatch.yaml b/Documentation/devicetree/bindings/counter/nxp,pcf85363-stopwatch.yaml
new file mode 100644
index 000000000000..5fbb3f22ace4
--- /dev/null
+++ b/Documentation/devicetree/bindings/counter/nxp,pcf85363-stopwatch.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/counter/nxp,pcf85363-stopwatch.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP PCF85263ATL/PCF85363ATL Stopwatch (counter) mode
+
+maintainers:
+ - Lakshay Piplani <lakshay.piplani@nxp.com>
+
+description: |
+ Binding for NXP PCF82563ATL/PCF85363ATL devices when used in the
+ stopwatch mode. In this mode, the device provides a centi-seconds
+ (1/100th of a second) resolution operating over i2c.
+
+properties:
+ compatible:
+ enum:
+ - nxp,pcf85263atl
+ - nxp,pcf85363atl
+
+ reg:
+ maxItems: 1
+
+ quartz-load-femtofarads:
+ description:
+ The capacitive load of the quartz(x-tal).
+ enum: [6000, 7000, 12500]
+ default: 7000
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ counter@51 {
+ compatible = "nxp,pcf85363atl";
+ reg = <0x51>;
+ quartz-load-femtofarads = <7000>;
+ };
+ };
--
2.25.1
next reply other threads:[~2025-09-15 7:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 7:14 Lakshay Piplani [this message]
2025-09-15 7:14 ` [PATCH 2/2] counter: nxp-pcf85363-stopwatch: Add driver for NXP PCF85263/PCF85363 stopwatch Lakshay Piplani
2025-09-15 7:21 ` Krzysztof Kozlowski
2025-09-15 19:36 ` kernel test robot
2025-09-16 9:21 ` kernel test robot
2025-09-15 7:23 ` [PATCH 1/2] dt-bindings: counter: Add binding " Krzysztof Kozlowski
2025-10-05 6:45 ` William Breathitt Gray
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=20250915071415.1956219-1-lakshay.piplani@nxp.com \
--to=lakshay.piplani@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=priyanka.jain@nxp.com \
--cc=robh@kernel.org \
--cc=shashank.rebbapragada@nxp.com \
--cc=vikash.bansal@nxp.com \
--cc=wbg@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).