From: "André Draszik" <andre.draszik@linaro.org>
To: Conor Dooley <conor@kernel.org>
Cc: Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Alim Akhtar <alim.akhtar@samsung.com>,
Peter Griffin <peter.griffin@linaro.org>,
Tudor Ambarus <tudor.ambarus@linaro.org>,
Sam Protsenko <semen.protsenko@linaro.org>,
Will McVicker <willmcvicker@google.com>,
Roy Luo <royluo@google.com>,
kernel-team@android.com, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH 3/9] dt-bindings: phy: samsung,usb3-drd-phy: gs101: require Type-C properties
Date: Wed, 27 Nov 2024 16:24:08 +0000 [thread overview]
Message-ID: <813713d8ac62be0782bcf36d1d23bec5f4a3c08e.camel@linaro.org> (raw)
In-Reply-To: <20241127-majorette-decorated-44dc1e7dd121@spud>
Hi Conor,
On Wed, 2024-11-27 at 16:00 +0000, Conor Dooley wrote:
> On Wed, Nov 27, 2024 at 10:58:13AM +0000, André Draszik wrote:
> > The USB PHY on gs101 needs to be configured based on the orientation of
> > the connector. For that the DTS needs a link between the phy's port and
> > a TCPCi, and we'll need to inform the phy driver that it should handle
> > the orientation (register a handler).
> >
> > Update the schema to enforce that by requiring the orientation-switch
> > and port properties (on gs101 only).
> >
> > Signed-off-by: André Draszik <andre.draszik@linaro.org>
>
> What is your driver doing if these are not provided? New required
> properties are an ABI break after all and I don't see a mention of how
> you're handling it here.
This is hooked-in in patch 8 of this series in
exynos5_usbdrd_setup_notifiers(). The new behaviour is gated off
if (device_property_present(phy_drd->dev, "orientation-switch")) {
...
Without that property (i.e. old DTS or !gs101), the driver will behave as
before (meaning for gs101 it will work in SS mode in one orientation only).
Does that address your concern?
Cheers,
Andre'
next prev parent reply other threads:[~2024-11-27 16:26 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 10:58 [PATCH 0/9] USB31DRD phy updates for Google Tensor gs101 (orientation & DWC3 rpm) André Draszik
2024-11-27 10:58 ` [PATCH 1/9] dt-bindings: phy: samsung,usb3-drd-phy: align to universal style André Draszik
2024-11-29 9:03 ` Peter Griffin
2024-11-27 10:58 ` [PATCH 2/9] dt-bindings: phy: samsung,usb3-drd-phy: add optional orientation-switch André Draszik
2024-11-27 16:00 ` Conor Dooley
2024-11-27 16:02 ` Conor Dooley
2024-11-27 16:27 ` André Draszik
2024-11-27 16:34 ` Conor Dooley
2024-11-27 10:58 ` [PATCH 3/9] dt-bindings: phy: samsung,usb3-drd-phy: gs101: require Type-C properties André Draszik
2024-11-27 16:00 ` Conor Dooley
2024-11-27 16:24 ` André Draszik [this message]
2024-11-27 16:34 ` Conor Dooley
2024-11-28 10:54 ` Peter Griffin
2024-11-27 10:58 ` [PATCH 4/9] phy: exynos5-usbdrd: convert to dev_err_probe André Draszik
2024-11-27 19:32 ` Krzysztof Kozlowski
2024-11-28 10:56 ` Peter Griffin
2024-11-27 10:58 ` [PATCH 5/9] phy: exynos5-usbdrd: fix EDS distribution tuning (gs101) André Draszik
2024-11-29 9:22 ` Peter Griffin
2024-11-27 10:58 ` [PATCH 6/9] phy: exynos5-usbdrd: gs101: ensure power is gated to SS phy in phy_exit() André Draszik
2024-11-27 19:42 ` Krzysztof Kozlowski
2024-11-28 6:25 ` André Draszik
2024-11-29 9:33 ` Peter Griffin
2024-11-27 10:58 ` [PATCH 7/9] phy: exynos5-usbdrd: gs101: configure SS lanes based on orientation André Draszik
2024-11-29 9:45 ` Peter Griffin
2024-11-27 10:58 ` [PATCH 8/9] phy: exynos5-usbdrd: subscribe to orientation notifier if required André Draszik
2024-12-04 14:10 ` Vinod Koul
2024-12-04 15:42 ` André Draszik
2024-11-27 10:58 ` [PATCH 9/9] phy: exynos5-usbdrd: allow DWC3 runtime suspend with UDC bound (E850+) André Draszik
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=813713d8ac62be0782bcf36d1d23bec5f4a3c08e.camel@linaro.org \
--to=andre.draszik@linaro.org \
--cc=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel-team@android.com \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=peter.griffin@linaro.org \
--cc=robh@kernel.org \
--cc=royluo@google.com \
--cc=s.nawrocki@samsung.com \
--cc=semen.protsenko@linaro.org \
--cc=tudor.ambarus@linaro.org \
--cc=vkoul@kernel.org \
--cc=willmcvicker@google.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;
as well as URLs for NNTP newsgroup(s).