Skip to content

Commit

Permalink
dt-bindings: gpu: mali-midgard: Tidy up conversion to YAML
Browse files Browse the repository at this point in the history
Instead of grouping alphabetically by third-party vendor, leading to
one-element enums, start sorting by Mali model number, as done for
Utgard.

This already allows us to de-duplicate two "arm,mali-t760" sections and
will make it easier to add new vendor compatibles.

Fixes: 553cedf ("dt-bindings: Convert Arm Mali Midgard GPU to DT schema")
Fixes: 1be5b54 ("dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible")
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
[robh: don't resort everything to avoid conflicts]
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Andreas Färber authored and Rob Herring committed Nov 11, 2019
1 parent 2fa0a53 commit 59b3d30
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ properties:
pattern: '^gpu@[a-f0-9]+$'
compatible:
oneOf:
- items:
- enum:
- samsung,exynos5250-mali
- const: arm,mali-t604
- items:
- enum:
- allwinner,sun50i-h6-mali
Expand All @@ -25,19 +29,12 @@ properties:
- items:
- enum:
- rockchip,rk3288-mali
- samsung,exynos5433-mali
- const: arm,mali-t760
- items:
- enum:
- rockchip,rk3399-mali
- const: arm,mali-t860
- items:
- enum:
- samsung,exynos5250-mali
- const: arm,mali-t604
- items:
- enum:
- samsung,exynos5433-mali
- const: arm,mali-t760

# "arm,mali-t624"
# "arm,mali-t628"
Expand Down

0 comments on commit 59b3d30

Please sign in to comment.