Skip to content

Commit afea00f

Browse files
nick650823gregkh
authored andcommitted
dt-bindings: timer: Remove sifive,fine-ctr-bits property
[ Upstream commit 1ccca10 ] 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: 0f92069 ("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 Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent bc4737e commit afea00f

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

Documentation/devicetree/bindings/timer/sifive,clint.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,6 @@ properties:
6969
minItems: 1
7070
maxItems: 4095
7171

72-
sifive,fine-ctr-bits:
73-
maximum: 15
74-
description: The width in bits of the fine counter.
75-
76-
if:
77-
properties:
78-
compatible:
79-
contains:
80-
const: sifive,clint2
81-
then:
82-
required:
83-
- sifive,fine-ctr-bits
84-
else:
85-
properties:
86-
sifive,fine-ctr-bits: false
87-
8872
additionalProperties: false
8973

9074
required:

0 commit comments

Comments
 (0)