[PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema
From: Daniel Golle
Date: Wed Dec 02 2026 - 15:57:11 EST
Convert the binding of the HPET found in device tree described Intel
SoCs to DT schema, so that device trees using it can be validated. The
reg property, which the kernel reads to find the timer, becomes
required.
Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
---
.../bindings/timer/intel,ce4100-hpet.yaml | 37 +++++++++++++++++++
.../devicetree/bindings/x86/timer.txt | 6 ---
2 files changed, 37 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml
delete mode 100644 Documentation/devicetree/bindings/x86/timer.txt
diff --git a/Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml b/Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml
new file mode 100644
index 0000000000000..bc89703ceb8f3
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/intel,ce4100-hpet.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Intel High Precision Event Timer (HPET)
+
+maintainers:
+ - Daniel Golle <daniel@xxxxxxxxxxxxxx>
+
+description:
+ The HPET of Intel SoCs which are described by a device tree. Like other
+ generic devices of these SoCs it carries the ce4100 name in its compatible
+ because it first appeared in the CE4100 SoC.
+
+properties:
+ compatible:
+ const: intel,ce4100-hpet
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ timer@fed00000 {
+ compatible = "intel,ce4100-hpet";
+ reg = <0xfed00000 0x200>;
+ };
+
+...
diff --git a/Documentation/devicetree/bindings/x86/timer.txt b/Documentation/devicetree/bindings/x86/timer.txt
deleted file mode 100644
index c688af58e3bdb..0000000000000
--- a/Documentation/devicetree/bindings/x86/timer.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Timers
-------
-
-* High Precision Event Timer (HPET)
- Required property:
- compatible = "intel,ce4100-hpet";
--
2.56.1