[PATCH 1/2] dt-bindings: counter: Add new ti,omap-dmtimer-cap compatible

From
Gokul Praveen <hidden>
Date
2025-09-09 08:03:52
Also in
lkml
Reply to
Gokul Praveen, 2025-09-09
This commit adds a YAML binding for OMAP DM timer used in
capture operating mode.

Signed-off-by: Gokul Praveen <redacted>
---
 .../bindings/counter/ti,omap-dmtimer-cap.yaml | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/counter/ti,omap-dmtimer-cap.yaml
diff --git a/Documentation/devicetree/bindings/counter/ti,omap-dmtimer-cap.yaml b/Documentation/devicetree/bindings/counter/ti,omap-dmtimer-cap.yaml
new file mode 100644
index 000000000000..8de9cf58aee5
--- /dev/null
+++ b/Documentation/devicetree/bindings/counter/ti,omap-dmtimer-cap.yaml
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/counter/ti,omap-dmtimer-cap.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI dual mode timer Capture Module
+
+maintainers:
+  - Gokul Praveen <g-praveen@ti.com>
+
+description:
+  TI dual mode timer instances have an IO pin for Capture capability.
+
+properties:
+  compatible:
+    const: ti,omap-dmtimer-cap
+
+  ti,timers:
+    description: Timer instance phandle for the Capture
+    $ref: /schemas/types.yaml#/definitions/phandle
+
+required:
+  - compatible
+  - ti,timers
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    main_cap10: dmtimer-main-cap-10 {
+      compatible = "ti,omap-dmtimer-cap";
+      ti,timers = <&main_timer10>;
+    };
-- 
2.34.1
Thread (12 messages) 12 messages, 4 authors, last reply 2025-10-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help