From: Elaine Zhang <zhangqing@rock-chips.com>
To: heiko@sntech.de, khilman@baylibre.com, xf@rock-chips.com,
wxt@rock-chips.com
Cc: linux-arm-kernel@lists.infradead.org, huangtao@rock-chips.com,
zyw@rock-chips.com, xxx@rock-chips.com, jay.xu@rock-chips.com,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Elaine Zhang <zhangqing@rock-chips.com>
Subject: [PATCH v2 1/2] dt-bindings: modify document of Rockchip power domains
Date: Thu, 14 Apr 2016 14:20:19 +0800 [thread overview]
Message-ID: <1460614820-18865-2-git-send-email-zhangqing@rock-chips.com> (raw)
In-Reply-To: <1460614820-18865-1-git-send-email-zhangqing@rock-chips.com>
Rockchip Socs contain quality of service (qos) blocks managing priority,
bandwidth, etc of the connection of each domain to the interconnect.
These blocks loose state when their domain gets disabled and therefore
need to be saved when disabling and restored when enabling a power-domain.
These qos blocks also are similar over all currently available Rockchip
SoCs.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
Documentation/devicetree/bindings/soc/rockchip/power_domain.txt | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
index 98085c888d65..6c571a40cd31 100644
--- a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
+++ b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
@@ -21,6 +21,13 @@ Required properties for power domain sub nodes:
- clocks (optional): phandles to clocks which need to be enabled while power domain
switches state.
+Qos Example:
+
+ qos_gpu: qos_gpu@ffaf0000 {
+ compatible ="syscon";
+ reg = <0x0 0xffaf0000 0x0 0x20>;
+ };
+
Example:
power: power-controller {
@@ -32,6 +39,7 @@ Example:
pd_gpu {
reg = <RK3288_PD_GPU>;
clocks = <&cru ACLK_GPU>;
+ pm_qos = <&qos_gpu>;
};
};
--
1.9.1
next prev parent reply other threads:[~2016-04-14 6:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-14 6:20 [RESEND PATCH v2 0/2] rockchip: power-domain: support qos save and restore Elaine Zhang
2016-04-14 6:20 ` Elaine Zhang [this message]
2016-04-14 6:20 ` [PATCH v2 2/2] " Elaine Zhang
2016-04-19 8:41 ` [RESEND PATCH v2 0/2] " Heiko Stübner
-- strict thread matches above, loose matches on Subject: below --
2016-04-14 2:10 [PATCH " Elaine Zhang
2016-04-14 2:10 ` [PATCH v2 1/2] dt-bindings: modify document of Rockchip power domains Elaine Zhang
2016-04-14 4:52 ` Heiko Stübner
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=1460614820-18865-2-git-send-email-zhangqing@rock-chips.com \
--to=zhangqing@rock-chips.com \
--cc=heiko@sntech.de \
--cc=huangtao@rock-chips.com \
--cc=jay.xu@rock-chips.com \
--cc=khilman@baylibre.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=wxt@rock-chips.com \
--cc=xf@rock-chips.com \
--cc=xxx@rock-chips.com \
--cc=zyw@rock-chips.com \
/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;
as well as URLs for NNTP newsgroup(s).