From: "Macpaul Lin (林智斌)" <Macpaul.Lin@mediatek.com>
To: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"cy_huang@richtek.com" <cy_huang@richtek.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
Alexandre Mergnat <amergnat@baylibre.com>
Cc: "fparent@baylibre.com" <fparent@baylibre.com>,
"Bear Wang (萩原惟德)" <bear.wang@mediatek.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
Project_Global_Chrome_Upstream_Group
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
"macpaul@gmail.com" <macpaul@gmail.com>,
"Pablo Sun (孫毓翔)" <pablo.sun@mediatek.com>,
"simon.sun@yunjingtech.com" <simon.sun@yunjingtech.com>,
"Yow-shin Liou (劉祐炘)" <yow-shin.liou@mediatek.com>,
"Chris-qj Chen (陳奇進)" <Chris-qj.Chen@mediatek.com>
Subject: Re: [PATCH v4 1/2] arm64: dts: mediatek: mt8395-genio-1200-evk: add support for TCPC port
Date: Fri, 21 Feb 2025 11:39:09 +0000 [thread overview]
Message-ID: <f09f880b7f9b642140109f17ed3f89aa44195b99.camel@mediatek.com> (raw)
In-Reply-To: <cb392432-e452-4460-ace6-54b3649aed52@collabora.com>
On Thu, 2025-02-20 at 16:58 +0100, AngeloGioacchino Del Regno wrote:
>
>
[snip]
> > + tcpc {
> > + compatible = "mediatek,mt6360-tcpc";
> > + interrupts-extended = <&pio 17
> > IRQ_TYPE_LEVEL_LOW>;
> > + interrupt-names = "PD_IRQB";
> > +
> > + connector {
> > + compatible = "usb-c-connector";
> > + label = "USB-C";
> > + data-role = "dual";
> > + op-sink-microwatt = <10000000>;
> > + power-role = "dual";
> > + try-power-role = "sink";
>
> Would be appreciated if you could also complete the node by adding
> the pd-revision
> property, enabling full USBC Power Delivery for the MT6360 PMIC.
>
Well, I have no idea about the pd-revision of MT6360.
I could found MT6360 supports PD 3.0 according to the datasheet,
however, I have no idea about the other fields like major and minor
values. Dear ChiYuan, could you help to provide the value of pd-
revision? The property has been defined in
Documentation/devicetree/bindings/connector/usb-connector.yaml.
> Same for the alternate modes, adding the DP alt mode is a matter of
> seconds... and
> well, it does sound a bit weird to add alternate modes without a
> mux... so, in this
> case you can choose either to:
> - Squash the two commits (tcpc, it5205) and do everything in one;
> or
> - Add the alternate mode node to the connector in the commit
> introducing the mux.
>
> Either of the two options is okay for me, so you choose.
> >
Well, I could squash the two commits together and adding the DP alt
mode values in next version.
> >
> > &ssusb0 {
> > + dr_mode = "otg";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&u3_p0_vbus>;
> > + role-switch-default-mode = "peripheral";
>
> There's no need for a default mode here, luckily the MediaTek MTU3
> controllers
> don't need that for real :-)
Okay, will drop it than.
Thanks.
Macpaul Lin
> Drop please.
>
> Cheers,
> Angelo
>
>
next prev parent reply other threads:[~2025-02-21 11:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 14:33 [PATCH v4 1/2] arm64: dts: mediatek: mt8395-genio-1200-evk: add support for TCPC port Macpaul Lin
2025-02-20 14:33 ` [PATCH v4 2/2] arm64: dts: mediatek: mt8395-genio-1200-evk: add support for MUX IT5205 Macpaul Lin
2025-02-20 15:58 ` [PATCH v4 1/2] arm64: dts: mediatek: mt8395-genio-1200-evk: add support for TCPC port AngeloGioacchino Del Regno
2025-02-21 11:39 ` Macpaul Lin (林智斌) [this message]
2025-02-24 1:54 ` ChiYuan Huang
2025-02-24 8:54 ` AngeloGioacchino Del Regno
2025-02-20 21:29 ` Rob Herring (Arm)
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=f09f880b7f9b642140109f17ed3f89aa44195b99.camel@mediatek.com \
--to=macpaul.lin@mediatek.com \
--cc=Chris-qj.Chen@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=amergnat@baylibre.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bear.wang@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=cy_huang@richtek.com \
--cc=devicetree@vger.kernel.org \
--cc=fparent@baylibre.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=linux-usb@vger.kernel.org \
--cc=macpaul@gmail.com \
--cc=matthias.bgg@gmail.com \
--cc=pablo.sun@mediatek.com \
--cc=robh@kernel.org \
--cc=simon.sun@yunjingtech.com \
--cc=yow-shin.liou@mediatek.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