Skip to content

Commit cc4fcf1

Browse files
Laurent Pinchartmchehab
authored andcommitted
media: dt-bindings: media: renesas,vsp1: Add power-domains and resets
The power-domains and resets properties are used in all DT sources in the kernel but are absent from the bindings. Document them and make them mandatory. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 6a72c8d commit cc4fcf1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Documentation/devicetree/bindings/media/renesas,vsp1.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ properties:
2929
clocks:
3030
maxItems: 1
3131

32+
power-domains:
33+
maxItems: 1
34+
35+
resets:
36+
maxItems: 1
37+
3238
renesas,fcp:
3339
$ref: /schemas/types.yaml#/definitions/phandle
3440
description:
@@ -39,6 +45,8 @@ required:
3945
- reg
4046
- interrupts
4147
- clocks
48+
- power-domains
49+
- resets
4250

4351
additionalProperties: false
4452

@@ -59,24 +67,30 @@ examples:
5967
- |
6068
#include <dt-bindings/clock/renesas-cpg-mssr.h>
6169
#include <dt-bindings/interrupt-controller/arm-gic.h>
70+
#include <dt-bindings/power/r8a7790-sysc.h>
6271
6372
vsp@fe928000 {
6473
compatible = "renesas,vsp1";
6574
reg = <0xfe928000 0x8000>;
6675
interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
6776
clocks = <&cpg CPG_MOD 131>;
77+
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
78+
resets = <&cpg 131>;
6879
};
6980
7081
# R8A77951 (R-Car H3) VSP2-BC
7182
- |
7283
#include <dt-bindings/clock/renesas-cpg-mssr.h>
7384
#include <dt-bindings/interrupt-controller/arm-gic.h>
85+
#include <dt-bindings/power/r8a7795-sysc.h>
7486
7587
vsp@fe920000 {
7688
compatible = "renesas,vsp2";
7789
reg = <0xfe920000 0x8000>;
7890
interrupts = <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>;
7991
clocks = <&cpg CPG_MOD 624>;
92+
power-domains = <&sysc R8A7795_PD_A3VP>;
93+
resets = <&cpg 624>;
8094
8195
renesas,fcp = <&fcpvb1>;
8296
};

0 commit comments

Comments
 (0)