Commit 1bd2339d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Conor Dooley
Browse files

dt-bindings: timer: sifive,clint: Clean up compatible value section



Replace the sentences in the description listing some supported variants
by comments on the individual compatible values, to ease future
maintenance.  While at it, restore alphabetical sort order.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parent 6361b7de
Loading
Loading
Loading
Loading
+8 −13
Original line number Original line Diff line number Diff line
@@ -29,11 +29,11 @@ properties:
    oneOf:
    oneOf:
      - items:
      - items:
          - enum:
          - enum:
              - sifive,fu540-c000-clint
              - canaan,k210-clint       # Canaan Kendryte K210
              - starfive,jh7100-clint
              - sifive,fu540-c000-clint # SiFive FU540
              - starfive,jh7110-clint
              - starfive,jh7100-clint   # StarFive JH7100
              - canaan,k210-clint
              - starfive,jh7110-clint   # StarFive JH7110
          - const: sifive,clint0
          - const: sifive,clint0        # SiFive CLINT v0 IP block
      - items:
      - items:
          - enum:
          - enum:
              - allwinner,sun20i-d1-clint
              - allwinner,sun20i-d1-clint
@@ -45,14 +45,9 @@ properties:
        description: For the QEMU virt machine only
        description: For the QEMU virt machine only


    description:
    description:
      Should be "<vendor>,<chip>-clint" and "sifive,clint<version>".
      Should be "<vendor>,<chip>-clint", followed by "sifive,clint<version>"
      Supported compatible strings are -
      when compatible with a SiFive CLINT.  Please refer to
      "sifive,fu540-c000-clint" for the SiFive CLINT v0 as integrated
      sifive-blocks-ip-versioning.txt for details regarding the latter.
      onto the SiFive FU540 chip, "canaan,k210-clint" for the SiFive
      CLINT v0 as integrated onto the Canaan Kendryte K210 chip, and
      "sifive,clint0" for the SiFive CLINT v0 IP block with no chip
      integration tweaks.
      Please refer to sifive-blocks-ip-versioning.txt for details


  reg:
  reg:
    maxItems: 1
    maxItems: 1