Skip to content

Commit 6d88096

Browse files
committed
dt-bindings: clock: sophgo: Use precise compatible for CV1800 series SoC
As previous binding uses a wildcard compatible for existed clock device of CV1800 series SoC, it is not suitable for existed requirement. The only exception is sophgo,sg2000-clk, it does match a real device, so keep it as is. Add new precise compatible for existed clock devices of CV1800 series SoCs and make old wildcard compatible deprecated. Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20250504104553.1447819-2-inochiama@gmail.com Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Chen Wang <unicorn_wang@outlook.com> Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
1 parent 0af2f6b commit 6d88096

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
enum:
15-
- sophgo,cv1800-clk
16-
- sophgo,cv1810-clk
17-
- sophgo,sg2000-clk
14+
oneOf:
15+
- enum:
16+
- sophgo,cv1800b-clk
17+
- sophgo,cv1812h-clk
18+
- sophgo,sg2000-clk
19+
- items:
20+
- const: sophgo,sg2002-clk
21+
- const: sophgo,sg2000-clk
22+
- const: sophgo,cv1800-clk
23+
deprecated: true
24+
- const: sophgo,cv1810-clk
25+
deprecated: true
1826

1927
reg:
2028
maxItems: 1

0 commit comments

Comments
 (0)