Commit b2965c91 authored by Johan Jonker's avatar Johan Jonker Committed by Mauro Carvalho Chehab

media: dt-bindings: media: rockchip-rga: add power-domains property

In the old txt situation we add/describe only properties that are used
by the driver/hardware itself. With yaml it also filters things in a
node that are used by other drivers like 'power-domains' for rk3399,
so add it to 'rockchip-rga.yaml'.
Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent b1f487ef
...@@ -39,6 +39,9 @@ properties: ...@@ -39,6 +39,9 @@ properties:
- const: hclk - const: hclk
- const: sclk - const: sclk
power-domains:
maxItems: 1
resets: resets:
maxItems: 3 maxItems: 3
...@@ -63,6 +66,7 @@ examples: ...@@ -63,6 +66,7 @@ examples:
- | - |
#include <dt-bindings/clock/rk3399-cru.h> #include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3399-power.h>
rga: rga@ff680000 { rga: rga@ff680000 {
compatible = "rockchip,rk3399-rga"; compatible = "rockchip,rk3399-rga";
reg = <0xff680000 0x10000>; reg = <0xff680000 0x10000>;
...@@ -71,6 +75,7 @@ examples: ...@@ -71,6 +75,7 @@ examples:
<&cru HCLK_RGA>, <&cru HCLK_RGA>,
<&cru SCLK_RGA_CORE>; <&cru SCLK_RGA_CORE>;
clock-names = "aclk", "hclk", "sclk"; clock-names = "aclk", "hclk", "sclk";
power-domains = <&power RK3399_PD_RGA>;
resets = <&cru SRST_RGA_CORE>, resets = <&cru SRST_RGA_CORE>,
<&cru SRST_A_RGA>, <&cru SRST_A_RGA>,
<&cru SRST_H_RGA>; <&cru SRST_H_RGA>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment