]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: timer: Remove sifive,fine-ctr-bits property
authorNick Hu <nick.hu@sifive.com>
Mon, 20 Apr 2026 06:18:55 +0000 (23:18 -0700)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Mon, 20 Apr 2026 17:52:25 +0000 (19:52 +0200)
The counter width can be inferred from the compatible string, making the
explicit "sifive,fine-ctr-bits" property redundant. Remove the property
to simplify the bindings.

Fixes: 0f920690a82c ("dt-bindings: timer: Add SiFive CLINT2")
Suggested-by: Conor Dooley <conor+dt@kernel.org>
Signed-off-by: Nick Hu <nick.hu@sifive.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/linux-riscv/20260330-relative-hardened-5ce35fe1ef57@spud/
Link: https://patch.msgid.link/20260419-clintv2-remove-fine-ctr-v1-1-7527f4d45850@sifive.com
Documentation/devicetree/bindings/timer/sifive,clint.yaml

index 3c16b260db040d54ab27c658ac5f6f1d4c57984a..051edb1da0d73915603c5bb1a8859ad87f68f452 100644 (file)
@@ -72,22 +72,6 @@ properties:
     minItems: 1
     maxItems: 4095
 
-  sifive,fine-ctr-bits:
-    maximum: 15
-    description: The width in bits of the fine counter.
-
-if:
-  properties:
-    compatible:
-      contains:
-        const: sifive,clint2
-then:
-  required:
-    - sifive,fine-ctr-bits
-else:
-  properties:
-    sifive,fine-ctr-bits: false
-
 additionalProperties: false
 
 required: