On Tue, Mar 25, 2025 at 01:43:43PM +0000, Caleb James DeLisle wrote:Got it.
+title: EcoNet EN751221 High Precision Timer (HPT)Drop items, that's const directly.
+
+maintainers:
+ - Caleb James DeLisle <cjd@xxxxxxxx>
+
+description:
+ The EcoNet High Precision Timer (HPT) is a timer peripheral found in various
+ EcoNet SoCs, including the EN751221 and EN751627 families. It provides per-VPE
+ count/compare registers and a per-CPU control register, with a single interrupt
+ line using a percpu-devid interrupt mechanism.
+
+properties:
+ compatible:
+ oneOf:
+ - items:
+ - const: econet,en751221-timerWidest constraints are always here.
+ - items:
+ - const: econet,en751627-timer
+ - const: econet,en751221-timer
+
+ reg: true
Got it.
+This goes under allOf:, to save re-indent later, and then after
+ interrupts:
+ maxItems: 1
+ description: A percpu-devid timer interrupt shared across CPUs.
+
+ clocks:
+ maxItems: 1
+
+if:
required: block (see example-schema).
+ properties:s/Base address for//
+ compatible:
+ contains:
+ const: econet,en751627-timer
+then:
+ properties:
+ reg:
+ items:
+ - description: Base address for VPE timers 0 and 1
because it is redundant. Bus/parent addressing already defines this as
base address, cannot be anything else.
+ - description: Base address for VPE timers 2 and 3Best regards,
+else:
+ properties:
+ reg:
+ items:
+ - description: Base address for VPE timers 0 and 1
Krzysztof