From: Marek Vasut <marex@nabladev.com>
To: Fabrice Gasnier <fabrice.gasnier@foss.st.com>, linux-usb@vger.kernel.org
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>,
Conor Dooley <conor+dt@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Rob Herring <robh@kernel.org>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
devicetree@vger.kernel.org, kernel@dh-electronics.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH 1/4] dt-bindings: usb: Document ST UCPD
Date: Fri, 28 Aug 2026 18:33:53 +0200 [thread overview]
Message-ID: <7f6f7df9-55c7-4393-a4bb-42c6cc170df1@nabladev.com> (raw)
In-Reply-To: <42bb4c3c-1dbd-4902-9765-01687b74cb39@foss.st.com>
On 8/26/26 3:24 PM, Fabrice Gasnier wrote:
Hello Fabrice,
>>> I've sent a series for the complete case. Please check and review here:
>>> https://lore.kernel.org/linux-usb/20260821-ucpd-host-fusb340-v7-2-rfc-
>>> v1-0-c5e27cbc0795@foss.st.com/
>>
>> What is the difference between this driver and the ^ driver ?
>>
>
> Hello Marek,
>
> That includes the TCCP I2C driver (and an example on ST boards).
>
>> Why is this driver not covering "the complete case" , what is missing
>> here and not missing there ?
>
> I intended to show a complete case, e.g. UCPD controller driver and
> external TCPP I2C protection chip driver. The TCPP is a companion,
> complementary, e.g. provider/consumer relationship.
>
> You've pointed some "horribleness" there. I guess you talk about the
> straight forward approach e.g. EXPORT_SYMBOL() macros. That's an
> on-going work, a prototype. I could have sent as an RFC.
Yes please.
> I wanted to be transparent, so the correct level of APIs gets used.
>
> You propose to turn the TCPP into a GPIO chip ?
I think yes, it is after all four flip switches on I2C.
> That seems smart, at least for the CC lines switches.
> What about Vbus and Vconn, it could also fit regulator API ?
It would, but, aren't those also flip switches ?
It seems to me, that TCPP02/03 can enable/disable Vconn on CC1/CC2 (that
sound like two GPIOs), enable/disable gate driver (GPIO?) and
enable/disable gate source (GPIO?) .
> There are various functions, the bindings should be extensible enough
> for later use of additional functions. I'm thinking of:
> - Over-current events for Vbus & Vconn
> Could be represented as interrupt controller ?
> Or could benefit from a regulator notifier (if used) ?
> - Vbus sensing
Could extcon cover those ?
> My point is that, that can impact the dt-bindings or functionality.
> Sending UCPD driver only, without the TCCP binding & driver, I find it
> is a bit hard to review or test at my end without having a more complete
> view.
>
> I'm not sure which way you'd like to proceed ?
I am wondering whether maybe we should slow down a bit, get USB sorted
out and upstream first, and focus on UCPD/TCPP as the second step (not
in parallel to USB) ?
next prev parent reply other threads:[~2026-08-28 18:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-19 16:33 [PATCH 1/4] dt-bindings: usb: Document ST UCPD Marek Vasut
2026-08-19 16:33 ` [PATCH 2/4] usb: typec: ucpd: Add ST UCPD driver Marek Vasut
2026-08-19 16:47 ` sashiko-bot
2026-08-19 16:33 ` [PATCH 3/4] arm64: dts: st: Add UCPD node on stm32mp231 Marek Vasut
2026-08-19 16:42 ` sashiko-bot
2026-08-19 16:33 ` [PATCH 4/4] arm64: dts: st: Add UCPD node on stm32mp251 Marek Vasut
2026-08-19 16:44 ` [PATCH 1/4] dt-bindings: usb: Document ST UCPD sashiko-bot
2026-08-21 16:27 ` Fabrice Gasnier
2026-08-22 4:51 ` Marek Vasut
2026-08-26 13:24 ` Fabrice Gasnier
2026-08-28 16:33 ` Marek Vasut [this message]
2026-08-27 9:39 ` Krzysztof Kozlowski
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=7f6f7df9-55c7-4393-a4bb-42c6cc170df1@nabladev.com \
--to=marex@nabladev.com \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabrice.gasnier@foss.st.com \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=kernel@dh-electronics.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-usb@vger.kernel.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.