From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.142.180.65 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796245028; b=tjfTTtLOu2JGH1+1y0iBeWU0e9Zpfbee97H4fb8Fp6GUOjCK9HMVDFQRYcnkjcS6XrkJ mgVztNieQKhZ50R/eI/jA9s1twjJDjsVYSDs6NK2fE86b6eBvClhl/P9Sokx9456BpVje H0X8/MVjY8pctR1tqYH6slyEPbQg4nfrlynXJ0QTruk1/NJ549q7GadlincQWSQo3Zyd+ UuC5WlmeNN7xESpen/uUgW2Z0DjfSKqwkTpcv0WN8Fwu/VKJIVY/fJES1LuIpkAxnSPxF z7Ueb16l+lr0YFaBfscyP7G7Y+6dZ46BqmvUTK5exs8df6FIByuihG0x58jef86eXYQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796245028; h=DMARC-Filter:Received:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=TE5QhEJmFvbPujzulIlEk5dnN9Bk4+2sc+BpgvuyaCg=; b=19hqZzfe0kK38Y+SzESUUrya7rUnWyN51DRrFQhdCpqXTPEQvEjfcGDNio7Ge5y52wXs UW06Zgs+s+gEGmvyEah8UmqFK4vy5KNoMfrIHKOQrA6R4LK3knSuZkQuDjyf/LNlUrL9v haFRWweB6oxXozB+WUDm+v4S4c+xZWgbCjtFW15gLKSfizMQ0y34uDxLCAjN6CO/epCRu 0/jjisayK61Va4VWZ1b/vk+JelticCwtBC3oT21xWjfnr7pa3VIwpxWbhaBSx5TfQZ5R+ lhL0TaSu2LzaWw2tLbxt1A69JPH3qB4ck0lYX5u2BbnKSrWED9np7/n0TVI8WWfZKAQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.remote-ip=185.142.180.65 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB22F606A322; Wed, 2 Dec 2026 20:57:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DB22F606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256:X25519MLKEM768) (Exim 4.100.1) (envelope-from ) id 1xYpmw-000000004aY-30uX; Wed, 02 Dec 2026 20:57:02 +0000 Date: Wed, 2 Dec 2026 20:56:59 +0000 From: Daniel Golle To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Lezcano , Thomas Gleixner , Daniel Golle , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Stephen Boyd , Brian Masney , Jerome Brunet , Kees Cook , John Crispin , Songjun Wu , Yi xin Zhu , Rahul Tanwar , 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 Message-ID: <1f0ed22909f5051d243b02678e5ebc047e7119ae.1796234065.git.daniel@makrotopia.org> References: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 --- .../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 + +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