diff options
author | Andreas Färber <afaerber@suse.de> | 2019-11-04 02:39:26 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-11-11 11:21:58 -0600 |
commit | 59b3d30f689d3660bb25ad557b60be6fecbdada6 (patch) | |
tree | 695534c3d472435561db72775896d26bffda44a3 /Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml | |
parent | 2fa0a530594d17bc858280fe1215e2558ed94f49 (diff) | |
download | lwn-59b3d30f689d3660bb25ad557b60be6fecbdada6.tar.gz lwn-59b3d30f689d3660bb25ad557b60be6fecbdada6.zip |
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: 553cedf60056 ("dt-bindings: Convert Arm Mali Midgard GPU to DT schema")
Fixes: 1be5b54d26ae ("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>
Diffstat (limited to 'Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml index 5c576e5019c6..019e69fe3b22 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml @@ -16,6 +16,10 @@ properties: oneOf: - items: - enum: + - samsung,exynos5250-mali + - const: arm,mali-t604 + - items: + - enum: - allwinner,sun50i-h6-mali - const: arm,mali-t720 - items: @@ -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" |