summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bee <knaerzche@gmail.com>2022-02-09 22:55:45 +0100
committerHeiko Stuebner <heiko@sntech.de>2022-02-11 20:20:59 +0100
commitf1775c26e8b8809d922a29bb5e3df6ea503d2fa0 (patch)
treef3bf63a6f4b321ba93a00061ce195e59840dc38f
parent2e87309e0660fed736ca5823b714c1d958941c4d (diff)
downloadlwn-f1775c26e8b8809d922a29bb5e3df6ea503d2fa0.tar.gz
lwn-f1775c26e8b8809d922a29bb5e3df6ea503d2fa0.zip
dt-bindings: gpu: mali-bifrost: describe clocks for the rk356x gpu
The Bifrost GPU in Rockchip RK356x SoCs has a core and a bus clock. Reflect this in the SoC specific part of the binding. Signed-off-by: Alex Bee <knaerzche@gmail.com> [move the changes to the SoC section] Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220209215549.94524-2-michael.riesch@wolfvision.net
-rw-r--r--Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
index 63a08f3f321d..4d6bfae0653c 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
@@ -159,6 +159,21 @@ allOf:
power-domains:
maxItems: 1
sram-supply: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3568-mali
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ clock-names:
+ items:
+ - const: gpu
+ - const: bus
+ required:
+ - clock-names
examples:
- |