From: Macpaul Lin <macpaul.lin@mediatek.com>
To: Fei Shao <fshao@chromium.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
<jianguo.zhang@mediatek.com>, <jian.yang@mediatek.com>,
<jieyy.yang@mediatek.com>
Cc: Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
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>,
Bear Wang <bear.wang@mediatek.com>,
Pablo Sun <pablo.sun@mediatek.com>
Subject: Re: [PATCH 2/9] arm64: dts: mediatek: mt8188: Add PCIe nodes
Date: Wed, 2 Oct 2024 20:42:38 +0800 [thread overview]
Message-ID: <7faeac1b-0b7a-a820-16a5-330b82d12e01@mediatek.com> (raw)
In-Reply-To: <20241002114614.847553-3-fshao@chromium.org>
On 10/2/24 19:41, Fei Shao wrote:
>
>
> External email : Please do not click links or open attachments until you
> have verified the sender or the content.
>
>
> Add PCIe node and the associated PHY node.
> Individual board device tree should enable the nodes as needed.
>
> Signed-off-by: Fei Shao <fshao@chromium.org>
> ---
>
> arch/arm64/boot/dts/mediatek/mt8188.dtsi | 62 ++++++++++++++++++++++++
> 1 file changed, 62 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
> index 10195a4e4e9d..9431f3c5c228 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
> @@ -1763,6 +1763,53 @@ xhci0: usb@112b0000 {
> status = "disabled";
> };
>
> + pcie: pcie@112f0000 {
> + compatible = "mediatek,mt8188-pcie", "mediatek,mt8192-pcie";
> + reg = <0 0x112f0000 0 0x2000>;
> + reg-names = "pcie-mac";
It seems the property 'linux,pci-domain = <0>;' is missing?
[snip]
> + };
> + };
> +
> nor_flash: spi@1132c000 {
> compatible = "mediatek,mt8188-nor", "mediatek,mt8186-nor";
> reg = <0 0x1132c000 0 0x1000>;
> @@ -1775,6 +1822,21 @@ nor_flash: spi@1132c000 {
> status = "disabled";
> };
>
> + pciephy: t-phy@11c20700 {
> + compatible = "mediatek,mt8188-tphy", "mediatek,generic-tphy-v3";
> + ranges = <0 0 0x11c20700 0x700>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + status = "disabled";
> +
The power-domains property is missing.
It should be 'power-domains = <&spm MT8188_POWER_DOMAIN_PEXTP_PHY_TOP>;'
> + pcieport: pcie-phy@0 {
> + reg = <0 0x700>;
> + clocks = <&topckgen CLK_TOP_CFGREG_F_PCIE_PHY_REF>;
> + clock-names = "ref";
> + #phy-cells = <1>;
> + };
> + };
> +
> i2c1: i2c@11e00000 {
> compatible = "mediatek,mt8188-i2c";
> reg = <0 0x11e00000 0 0x1000>,
Thanks!
Best regards,
Macpaul Lin
next prev parent reply other threads:[~2024-10-02 12:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-02 11:41 [PATCH 0/9] Add platform supports to MediaTek MT8188 SoC (part 2) Fei Shao
2024-10-02 11:41 ` [PATCH 1/9] arm64: dts: mediatek: mt8188: Assign GCE aliases Fei Shao
2024-10-02 11:41 ` [PATCH 2/9] arm64: dts: mediatek: mt8188: Add PCIe nodes Fei Shao
2024-10-02 12:42 ` Macpaul Lin [this message]
2024-10-03 6:17 ` Fei Shao
2024-10-02 11:41 ` [PATCH 3/9] arm64: dts: mediatek: mt8188: Add MIPI DSI nodes Fei Shao
2024-10-02 11:41 ` [PATCH 4/9] arm64: dts: mediatek: mt8188: Add video decoder and encoder nodes Fei Shao
2024-10-02 11:41 ` [PATCH 5/9] arm64: dts: mediatek: mt8188: Add JPEG " Fei Shao
2024-10-02 11:41 ` [PATCH 6/9] arm64: dts: mediatek: mt8188: Add display nodes for vdosys0 Fei Shao
2024-10-02 11:41 ` [PATCH 7/9] arm64: dts: mediatek: mt8188: Add display nodes for vdosys1 Fei Shao
2024-10-02 11:41 ` [PATCH 8/9] arm64: dts: mediatek: mt8188: Add DP-INTF nodes Fei Shao
2024-10-02 11:41 ` [PATCH 9/9] arm64: dts: mediatek: mt8188: Add eDP and DP TX nodes Fei Shao
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=7faeac1b-0b7a-a820-16a5-330b82d12e01@mediatek.com \
--to=macpaul.lin@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bear.wang@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fshao@chromium.org \
--cc=jian.yang@mediatek.com \
--cc=jianguo.zhang@mediatek.com \
--cc=jieyy.yang@mediatek.com \
--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=pablo.sun@mediatek.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
all inboxes | Powered by JetHome®