From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: "ChiYuan Huang" <cy_huang@richtek.com>,
"Macpaul Lin (林智斌)" <Macpaul.Lin@mediatek.com>
Cc: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"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>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"Alexandre Mergnat" <amergnat@baylibre.com>,
"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: Mon, 24 Feb 2025 09:54:06 +0100 [thread overview]
Message-ID: <5d10f630-57a4-427d-a14e-e4058d4fdffe@collabora.com> (raw)
In-Reply-To: <Z7vRUmETQaYRbEyZ@git-send.richtek.com>
Il 24/02/25 02:54, ChiYuan Huang ha scritto:
> On Fri, Feb 21, 2025 at 11:39:09AM +0000, Macpaul Lin (林智斌) wrote:
>> 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.
>>
> Hi, Macpaul:
>
> You can specify the version information to 3.1 version 1.6.
> Just add the below property into the 'connector' node.
>
> pd-revision = /bits/ 8 <0x03 0x01 0x01 0x06>;
>
> Regards,
> ChiYuan
Thanks ChiYuan, that's great to know.
With this - all boards relying on MT6360 can charge use the full set of supported
USB Power Delivery capabilities (that, since the PD revision is specific to the
MT6360 TCPC, and not board specific!).
Macpaul, please add the pd-revision as suggested, and for v6, please add my:
Reviewed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cheers!
Angelo
next prev parent reply other threads:[~2025-02-24 8:54 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 (林智斌)
2025-02-24 1:54 ` ChiYuan Huang
2025-02-24 8:54 ` AngeloGioacchino Del Regno [this message]
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=5d10f630-57a4-427d-a14e-e4058d4fdffe@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=Chris-qj.Chen@mediatek.com \
--cc=Macpaul.Lin@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=amergnat@baylibre.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