From: Elaine Zhang <zhangqing@rock-chips.com>
To: heiko@sntech.de, wxt@rock-chips.com
Cc: linux-arm-kernel@lists.infradead.org, huangtao@rock-chips.com,
shawn.lin@rock-chips.com, william.wu@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 4/6] arm64: dts: rockchip: add pd_sd power node for rk3399
Date: Fri, 9 Sep 2016 15:40:34 +0800 [thread overview]
Message-ID: <1473406836-6720-5-git-send-email-zhangqing@rock-chips.com> (raw)
In-Reply-To: <1473406836-6720-1-git-send-email-zhangqing@rock-chips.com>
1.add pd node for RK3399 Soc
2.create power domain tree
3.add qos node for domain
4.add the pd_sd consumers node
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 52eeb007fddf..e2ecad651cac 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -253,6 +253,7 @@
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>;
+ power-domains = <&power RK3399_PD_SD>;
status = "disabled";
};
@@ -718,6 +719,10 @@
compatible = "syscon";
reg = <0x0 0xffa60180 0x0 0x20>;
};
+ qos_sd: qos@ffa74000 {
+ compatible = "syscon";
+ reg = <0x0 0xffa74000 0x0 0x20>;
+ };
qos_hdcp: qos@ffa90000 {
compatible = "syscon";
@@ -875,6 +880,13 @@
<&qos_pcie>,
<&qos_usb_host0>,
<&qos_usb_host1>;
+
+ pd_sd@RK3399_PD_SD {
+ reg = <RK3399_PD_SD>;
+ clocks = <&cru HCLK_SDMMC>,
+ <&cru SCLK_SDMMC>;
+ pm_qos = <&qos_sd>;
+ };
};
pd_vio@RK3399_PD_VIO {
reg = <RK3399_PD_VIO>;
--
1.9.1
next prev parent reply other threads:[~2016-09-09 7:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 7:40 [PATCH 0/6] arm64: dts: rockchip: added some pd nodes for rk3399 Soc Elaine Zhang
2016-09-09 7:40 ` [PATCH 1/6] arm64: dts: rockchip: add pd_edp node for rk3399 Elaine Zhang
2016-09-09 7:40 ` [PATCH 2/6] arm64: dts: rockchip: add pd_emmc power " Elaine Zhang
2016-09-09 7:50 ` Ziyuan Xu
2016-09-09 7:40 ` [PATCH 3/6] arm64: dts: rockchip: add pd_perihp " Elaine Zhang
2016-09-09 7:40 ` Elaine Zhang [this message]
2016-09-09 7:48 ` [PATCH 5/6] arm64: dts: rockchip: add pd_sdioaudio " Elaine Zhang
2016-09-09 7:49 ` [PATCH 6/6] arm64: dts: rockchip: add pd_usb3 " Elaine Zhang
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=1473406836-6720-5-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=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=shawn.lin@rock-chips.com \
--cc=william.wu@rock-chips.com \
--cc=wxt@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
all inboxes | Powered by JetHome®