* [PATCH] dt-bindings: gpu: add power-domains #cooling-cells to arm,mali-bifrost.yaml
@ 2020-04-25 15:40 Johan Jonker
2020-05-11 22:25 ` [PATCH] dt-bindings: gpu: add power-domains #cooling-cells to arm, mali-bifrost.yaml Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Johan Jonker @ 2020-04-25 15:40 UTC (permalink / raw)
To: heiko
Cc: robh+dt, airlied, daniel, dri-devel, devicetree, linux-arm-kernel,
linux-rockchip, linux-kernel
A test with the command below gives this error:
arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml: gpu@ff400000:
'#cooling-cells', 'power-domains'
do not match any of the regexes: 'pinctrl-[0-9]+'
With the conversion to yaml it also filters things
in a node that are used by other drivers like
'#cooling-cells' and 'power-domains'
for Rockchip px30 gpu nodes,
so add them to 'arm,mali-bifrost.yaml'.
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/gpu/
arm,mali-bifrost.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
index 0b229a7d4..b1844b9c2 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
@@ -43,9 +43,15 @@ properties:
operating-points-v2: true
+ power-domains:
+ maxItems: 1
+
resets:
maxItems: 2
+ "#cooling-cells":
+ const: 2
+
required:
- compatible
- reg
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: gpu: add power-domains #cooling-cells to arm, mali-bifrost.yaml
2020-04-25 15:40 [PATCH] dt-bindings: gpu: add power-domains #cooling-cells to arm,mali-bifrost.yaml Johan Jonker
@ 2020-05-11 22:25 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-05-11 22:25 UTC (permalink / raw)
To: Johan Jonker
Cc: dri-devel, linux-kernel, heiko, linux-arm-kernel, robh+dt,
devicetree, linux-rockchip, airlied
On Sat, 25 Apr 2020 17:40:37 +0200, Johan Jonker wrote:
> A test with the command below gives this error:
>
> arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml: gpu@ff400000:
> '#cooling-cells', 'power-domains'
> do not match any of the regexes: 'pinctrl-[0-9]+'
>
> With the conversion to yaml it also filters things
> in a node that are used by other drivers like
> '#cooling-cells' and 'power-domains'
> for Rockchip px30 gpu nodes,
> so add them to 'arm,mali-bifrost.yaml'.
>
> make ARCH=arm64 dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/gpu/
> arm,mali-bifrost.yaml
>
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
> Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-11 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-25 15:40 [PATCH] dt-bindings: gpu: add power-domains #cooling-cells to arm,mali-bifrost.yaml Johan Jonker
2020-05-11 22:25 ` [PATCH] dt-bindings: gpu: add power-domains #cooling-cells to arm, mali-bifrost.yaml Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).