mirror of https://gitee.com/openkylin/linux.git
dt-bindings: gpu: mali-midgard: Tidy up conversion to YAML
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:553cedf600
("dt-bindings: Convert Arm Mali Midgard GPU to DT schema") Fixes:1be5b54d26
("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>
This commit is contained in:
parent
2fa0a53059
commit
59b3d30f68
|
@ -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
|
||||
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue