From: Fei Shao <fshao@chromium.org>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: Fei Shao <fshao@chromium.org>, Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Rob Herring <robh@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org
Subject: [PATCH v3 8/9] arm64: dts: mediatek: mt8188: Add DP-INTF nodes
Date: Fri, 4 Oct 2024 16:12:00 +0800 [thread overview]
Message-ID: <20241004081218.55962-9-fshao@chromium.org> (raw)
In-Reply-To: <20241004081218.55962-1-fshao@chromium.org>
Add the primary and secondary dp-intf nodes.
These DP-INTF hardware IPs are the sink of the vdosys0 and vdosys1
display pipelines for the internal and external displays, respectively.
Individual board device tree should enable the nodes and connect input
and output ports as needed.
Signed-off-by: Fei Shao <fshao@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/mediatek/mt8188.dtsi | 26 ++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
index ec12617ea925..8864f1ead663 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
@@ -24,6 +24,8 @@ / {
#size-cells = <2>;
aliases {
+ dp-intf0 = &dp_intf0;
+ dp-intf1 = &dp_intf1;
ethdr0 = ðdr0;
gce0 = &gce0;
gce1 = &gce1;
@@ -2480,6 +2482,18 @@ disp_dsi1: dsi@1c012000 {
status = "disabled";
};
+ dp_intf0: dp-intf@1c015000 {
+ compatible = "mediatek,mt8188-dp-intf";
+ reg = <0 0x1c015000 0 0x1000>;
+ clocks = <&vdosys0 CLK_VDO0_DP_INTF0_DP_INTF>,
+ <&vdosys0 CLK_VDO0_DP_INTF0>,
+ <&apmixedsys CLK_APMIXED_TVDPLL1>;
+ clock-names = "pixel", "engine", "pll";
+ interrupts = <GIC_SPI 657 IRQ_TYPE_LEVEL_HIGH 0>;
+ power-domains = <&spm MT8188_POWER_DOMAIN_VDOSYS0>;
+ status = "disabled";
+ };
+
mutex0: mutex@1c016000 {
compatible = "mediatek,mt8188-disp-mutex";
reg = <0 0x1c016000 0 0x1000>;
@@ -2745,6 +2759,18 @@ merge4: merge@1c110000 {
mediatek,merge-fifo-en;
};
+ dp_intf1: dp-intf@1c113000 {
+ compatible = "mediatek,mt8188-dp-intf";
+ reg = <0 0x1c113000 0 0x1000>;
+ clocks = <&vdosys1 CLK_VDO1_DPINTF>,
+ <&vdosys1 CLK_VDO1_DP_INTF0_MMCK>,
+ <&apmixedsys CLK_APMIXED_TVDPLL2>;
+ clock-names = "pixel", "engine", "pll";
+ interrupts = <GIC_SPI 513 IRQ_TYPE_LEVEL_HIGH 0>;
+ power-domains = <&spm MT8188_POWER_DOMAIN_VDOSYS1>;
+ status = "disabled";
+ };
+
ethdr0: ethdr@1c114000 {
compatible = "mediatek,mt8188-disp-ethdr", "mediatek,mt8195-disp-ethdr";
reg = <0 0x1c114000 0 0x1000>,
--
2.47.0.rc0.187.ge670bccf7e-goog
next prev parent reply other threads:[~2024-10-04 8:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 8:11 [PATCH v3 0/9] Add platform supports to MediaTek MT8188 SoC (part 2) Fei Shao
2024-10-04 8:11 ` [PATCH v3 1/9] arm64: dts: mediatek: mt8188: Assign GCE aliases Fei Shao
2024-10-04 8:11 ` [PATCH v3 2/9] arm64: dts: mediatek: mt8188: Add PCIe nodes Fei Shao
2024-10-04 8:11 ` [PATCH v3 3/9] arm64: dts: mediatek: mt8188: Add MIPI DSI nodes Fei Shao
2024-10-04 8:11 ` [PATCH v3 4/9] arm64: dts: mediatek: mt8188: Add video decoder and encoder nodes Fei Shao
2024-10-04 8:11 ` [PATCH v3 5/9] arm64: dts: mediatek: mt8188: Add JPEG " Fei Shao
2024-10-04 8:11 ` [PATCH v3 6/9] arm64: dts: mediatek: mt8188: Add display nodes for vdosys0 Fei Shao
2024-10-04 8:11 ` [PATCH v3 7/9] arm64: dts: mediatek: mt8188: Add display nodes for vdosys1 Fei Shao
2024-10-04 8:12 ` Fei Shao [this message]
2024-10-04 8:12 ` [PATCH v3 9/9] arm64: dts: mediatek: mt8188: Add eDP and DP TX nodes Fei Shao
2024-10-04 9:33 ` [PATCH v3 0/9] Add platform supports to MediaTek MT8188 SoC (part 2) AngeloGioacchino Del Regno
2024-10-08 11:52 ` AngeloGioacchino Del Regno
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=20241004081218.55962-9-fshao@chromium.org \
--to=fshao@chromium.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@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;
as well as URLs for NNTP newsgroup(s).