Commit 6d880961 authored by Inochi Amaoto's avatar Inochi Amaoto
Browse files

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: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250504104553.1447819-2-inochiama@gmail.com


Signed-off-by: default avatarInochi Amaoto <inochiama@gmail.com>
Signed-off-by: default avatarChen Wang <unicorn_wang@outlook.com>
Signed-off-by: default avatarChen Wang <wangchen20@iscas.ac.cn>
parent 0af2f6be
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -11,10 +11,18 @@ maintainers:

properties:
  compatible:
    enum:
      - sophgo,cv1800-clk
      - sophgo,cv1810-clk
    oneOf:
      - enum:
          - sophgo,cv1800b-clk
          - sophgo,cv1812h-clk
          - sophgo,sg2000-clk
      - items:
          - const: sophgo,sg2002-clk
          - const: sophgo,sg2000-clk
      - const: sophgo,cv1800-clk
        deprecated: true
      - const: sophgo,cv1810-clk
        deprecated: true

  reg:
    maxItems: 1