From: Krishna Manikandan <mkrishn@codeaurora.org>
To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Rajeev Nandan <rajeevny@codeaurora.org>,
kalyan_t@codeaurora.org, sbillaka@codeaurora.org,
abhinavk@codeaurora.org, robdclark@gmail.com,
swboyd@chromium.org, bjorn.andersson@linaro.org,
khsieh@codeaurora.org, freedreno@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, robh+dt@kernel.org
Subject: [PATCH v1 3/4] arm64: dts: qcom: sc7280: Add DSI display nodes
Date: Wed, 18 Aug 2021 15:57:03 +0530 [thread overview]
Message-ID: <1629282424-4070-3-git-send-email-mkrishn@codeaurora.org> (raw)
In-Reply-To: <1629282424-4070-1-git-send-email-mkrishn@codeaurora.org>
From: Rajeev Nandan <rajeevny@codeaurora.org>
Add DSI controller and PHY nodes for sc7280.
Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
---
arch/arm64/boot/dts/qcom/sc7280.dtsi | 101 +++++++++++++++++++++++++++++++++++
1 file changed, 101 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index fd7ff1c..aadf55d 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -1483,6 +1483,18 @@
status = "disabled";
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ dpu_intf1_out: endpoint {
+ remote-endpoint = <&dsi0_in>;
+ };
+ };
+ };
+
mdp_opp_table: mdp-opp-table {
compatible = "operating-points-v2";
@@ -1507,6 +1519,95 @@
};
};
};
+
+ dsi0: dsi@ae94000 {
+ compatible = "qcom,mdss-dsi-ctrl";
+ reg = <0 0x0ae94000 0 0x400>;
+ reg-names = "dsi_ctrl";
+
+ interrupt-parent = <&mdss>;
+ interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
+
+ clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
+ <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
+ <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
+ <&dispcc DISP_CC_MDSS_ESC0_CLK>,
+ <&dispcc DISP_CC_MDSS_AHB_CLK>,
+ <&gcc GCC_DISP_HF_AXI_CLK>;
+ clock-names = "byte",
+ "byte_intf",
+ "pixel",
+ "core",
+ "iface",
+ "bus";
+
+ operating-points-v2 = <&dsi_opp_table>;
+ power-domains = <&rpmhpd SC7280_CX>;
+
+ phys = <&dsi_phy>;
+ phy-names = "dsi";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ dsi0_in: endpoint {
+ remote-endpoint = <&dpu_intf1_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dsi0_out: endpoint {
+ };
+ };
+ };
+
+ dsi_opp_table: dsi-opp-table {
+ compatible = "operating-points-v2";
+
+ opp-187500000 {
+ opp-hz = /bits/ 64 <187500000>;
+ required-opps = <&rpmhpd_opp_low_svs>;
+ };
+
+ opp-300000000 {
+ opp-hz = /bits/ 64 <300000000>;
+ required-opps = <&rpmhpd_opp_svs>;
+ };
+
+ opp-358000000 {
+ opp-hz = /bits/ 64 <358000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>;
+ };
+ };
+ };
+
+ dsi_phy: dsi-phy@ae94400 {
+ compatible = "qcom,sc7280-dsi-phy-7nm";
+ reg = <0 0x0ae94400 0 0x200>,
+ <0 0x0ae94600 0 0x280>,
+ <0 0x0ae94900 0 0x280>;
+ reg-names = "dsi_phy",
+ "dsi_phy_lane",
+ "dsi_pll";
+
+ #clock-cells = <1>;
+ #phy-cells = <0>;
+
+ clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
+ <&rpmhcc RPMH_CXO_CLK>;
+ clock-names = "iface", "ref";
+
+ status = "disabled";
+ };
};
pdc: interrupt-controller@b220000 {
--
2.7.4
next prev parent reply other threads:[~2021-08-18 10:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-18 10:27 [PATCH v1 1/4] dt-bindings: msm: add DT bindings for sc7280 Krishna Manikandan
2021-08-18 10:27 ` [PATCH v1 2/4] arm64: dts: qcom: sc7280: add display dt nodes Krishna Manikandan
2021-08-18 19:57 ` Stephen Boyd
2021-09-30 11:56 ` mkrishn
2021-09-30 17:58 ` Stephen Boyd
2021-10-01 6:39 ` mkrishn
2021-10-05 1:51 ` Stephen Boyd
2021-10-05 9:52 ` mkrishn
2021-08-18 10:27 ` Krishna Manikandan [this message]
2021-08-18 16:35 ` [PATCH v1 3/4] arm64: dts: qcom: sc7280: Add DSI display nodes Matthias Kaehlcke
2021-08-18 19:59 ` Stephen Boyd
2021-08-18 10:27 ` [PATCH v1 4/4] arm64: dts: qcom: sc7280: add edp display dt nodes Krishna Manikandan
2021-08-18 16:14 ` Matthias Kaehlcke
2021-08-18 20:03 ` Stephen Boyd
2021-08-18 16:14 ` [PATCH v1 1/4] dt-bindings: msm: add DT bindings for sc7280 Rob Herring
2021-08-18 19:56 ` Stephen Boyd
2021-08-18 20:07 ` Stephen Boyd
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=1629282424-4070-3-git-send-email-mkrishn@codeaurora.org \
--to=mkrishn@codeaurora.org \
--cc=abhinavk@codeaurora.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=kalyan_t@codeaurora.org \
--cc=khsieh@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rajeevny@codeaurora.org \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sbillaka@codeaurora.org \
--cc=swboyd@chromium.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;
as well as URLs for NNTP newsgroup(s).