mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jirislaby@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Daniel Lezcano <daniel.lezcano@kernel.org>,
	Thomas Gleixner <tglx@kernel.org>,
	Daniel Golle <daniel@makrotopia.org>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Kees Cook <kees+treewide@kernel.org>,
	John Crispin <john@phrozen.org>,
	Songjun Wu <songjun.wu@linux.intel.com>,
	Yi xin Zhu <yzhu@maxlinear.com>,
	Rahul Tanwar <rtanwar@maxlinear.com>,
	linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
	devicetree@vger.kernel.org, linux-clk@vger.kernel.org
Subject: [PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema
Date: Wed, 2 Dec 2026 20:56:59 +0000	[thread overview]
Message-ID: <1f0ed22909f5051d243b02678e5ebc047e7119ae.1796234065.git.daniel@makrotopia.org> (raw)
In-Reply-To: <cover.1796234065.git.daniel@makrotopia.org>

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@makrotopia.org>
---
 .../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@makrotopia.org>
+
+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

  parent reply	other threads:[~2026-12-02 20:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
2026-12-02 20:56 ` [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node Daniel Golle
2026-12-02 20:56 ` [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain Daniel Golle
2026-12-02 20:56 ` Daniel Golle [this message]
2026-12-02 20:57 ` [PATCH 4/6] dt-bindings: x86: Document MaxLinear " Daniel Golle
2026-12-02 20:57 ` [PATCH 5/6] x86/platform: Add MaxLinear Lightning Mountain SoC option Daniel Golle
2026-12-02 20:58 ` [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board Daniel Golle
2026-12-03 14:39 ` [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Krzysztof Kozlowski
2026-12-03 15:02   ` Dave Hansen
2026-12-03 15:06     ` Krzysztof Kozlowski
2026-12-03 15:17       ` Dave Hansen

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=1f0ed22909f5051d243b02678e5ebc047e7119ae.1796234065.git.daniel@makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=bmasney+clk@redhat.com \
    --cc=bp@alien8.de \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@kernel.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hpa@zytor.com \
    --cc=jbrunet+clk@baylibre.com \
    --cc=jirislaby@kernel.org \
    --cc=john@phrozen.org \
    --cc=kees+treewide@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=robh@kernel.org \
    --cc=rtanwar@maxlinear.com \
    --cc=sboyd@kernel.org \
    --cc=songjun.wu@linux.intel.com \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    --cc=yzhu@maxlinear.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

all inboxes | Powered by JetHome®