diff mbox series

[v3,1/4] dt-bindings: gpu: mali-bifrost: Allow up to two clocks

Message ID 20210805025948.10900-2-ezequiel@collabora.com
State New
Headers show
Series RK3568 GPU | expand

Commit Message

Ezequiel Garcia Aug. 5, 2021, 2:59 a.m. UTC
Commit b681af0bc1cc ("drm: panfrost: add optional bus_clock")
added an optional bus_clock to support Allwinner H6 T-720 GPU.
Increase the max clock items in the dt-binding to reflect this.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
---
 .../devicetree/bindings/gpu/arm,mali-bifrost.yaml          | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Rob Herring Aug. 13, 2021, 5:44 p.m. UTC | #1
On Wed, Aug 04, 2021 at 11:59:45PM -0300, Ezequiel Garcia wrote:
> Commit b681af0bc1cc ("drm: panfrost: add optional bus_clock")

> added an optional bus_clock to support Allwinner H6 T-720 GPU.

> Increase the max clock items in the dt-binding to reflect this.

> 

> Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>

> ---

>  .../devicetree/bindings/gpu/arm,mali-bifrost.yaml          | 7 ++++++-

>  1 file changed, 6 insertions(+), 1 deletion(-)

> 

> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml

> index 0f73f436bea7..01532140096e 100644

> --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml

> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml

> @@ -38,7 +38,12 @@ properties:

>        - const: gpu

>  

>    clocks:

> -    maxItems: 1

> +    minItems: 1

> +    maxItems: 2

> +

> +  clock-names:

> +    minItems: 1

> +    maxItems: 2


You have to define what the names are.

>  

>    mali-supply: true

>  

> -- 

> 2.32.0

> 

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
index 0f73f436bea7..01532140096e 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
@@ -38,7 +38,12 @@  properties:
       - const: gpu
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    maxItems: 2
+
+  clock-names:
+    minItems: 1
+    maxItems: 2
 
   mali-supply: true