From: Johan Jonker <jbx6244@gmail.com>
To: jacob-chen@iotwrt.com
Cc: ezequiel@collabora.com, mchehab@kernel.org, robh+dt@kernel.org,
heiko@sntech.de, linux-media@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 2/2] dt-bindings: media: rockchip-rga: add power-domains property
Date: Fri, 3 Apr 2020 15:06:07 +0200 [thread overview]
Message-ID: <20200403130607.6138-2-jbx6244@gmail.com> (raw)
In-Reply-To: <20200403130607.6138-1-jbx6244@gmail.com>
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: Johan Jonker <jbx6244@gmail.com>
---
Documentation/devicetree/bindings/media/rockchip-rga.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
index 3b110b574..dd645ddcc 100644
--- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml
+++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
@@ -39,6 +39,9 @@ properties:
- const: hclk
- const: sclk
+ power-domains:
+ maxItems: 1
+
resets:
maxItems: 3
@@ -63,6 +66,7 @@ examples:
- |
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/power/rk3399-power.h>
rga: rga@ff680000 {
compatible = "rockchip,rk3399-rga";
reg = <0xff680000 0x10000>;
@@ -71,6 +75,7 @@ examples:
<&cru HCLK_RGA>,
<&cru SCLK_RGA_CORE>;
clock-names = "aclk", "hclk", "sclk";
+ power-domains = <&power RK3399_PD_RGA>;
resets = <&cru SRST_RGA_CORE>,
<&cru SRST_A_RGA>,
<&cru SRST_H_RGA>;
--
2.11.0
next prev parent reply other threads:[~2020-04-03 13:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 13:06 [PATCH v2 1/2] dt-bindings: media: convert rockchip rga bindings to yaml Johan Jonker
2020-04-03 13:06 ` Johan Jonker [this message]
2020-04-14 17:57 ` [PATCH v2 2/2] dt-bindings: media: rockchip-rga: add power-domains property Rob Herring
[not found] ` <20200403130607.6138-1-jbx6244-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-04-14 17:57 ` [PATCH v2 1/2] dt-bindings: media: convert rockchip rga bindings to yaml Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200403130607.6138-2-jbx6244@gmail.com \
--to=jbx6244@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=ezequiel@collabora.com \
--cc=heiko@sntech.de \
--cc=jacob-chen@iotwrt.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox