From: "Pritam Manohar Sutar" <pritam.sutar@samsung.com>
To: "'Krzysztof Kozlowski'" <krzk@kernel.org>
Cc: <vkoul@kernel.org>, <kishon@kernel.org>, <robh@kernel.org>,
<krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<alim.akhtar@samsung.com>, <andre.draszik@linaro.org>,
<peter.griffin@linaro.org>, <kauschluss@disroot.org>,
<ivo.ivanov.ivanov1@gmail.com>, <m.szyprowski@samsung.com>,
<s.nawrocki@samsung.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>, <rosa.pila@samsung.com>,
<dev.tailor@samsung.com>, <faraz.ata@samsung.com>,
<muhammed.ali@samsung.com>, <selvarasu.g@samsung.com>
Subject: RE: [PATCH v3 2/9] phy: exyons5-usbdrd: support HS phy for ExynosAutov920
Date: Tue, 17 Jun 2025 23:06:30 +0530 [thread overview]
Message-ID: <000201dbdfae$5ef17e70$1cd47b50$@samsung.com> (raw)
In-Reply-To: <20250616-boisterous-mouse-of-current-adfd67@kuoka>
Hi Krzysztof,
> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: 16 June 2025 01:43 PM
> To: Pritam Manohar Sutar <pritam.sutar@samsung.com>
> Cc: vkoul@kernel.org; kishon@kernel.org; robh@kernel.org;
> krzk+dt@kernel.org; conor+dt@kernel.org; alim.akhtar@samsung.com;
> andre.draszik@linaro.org; peter.griffin@linaro.org; kauschluss@disroot.org;
> ivo.ivanov.ivanov1@gmail.com; m.szyprowski@samsung.com;
> s.nawrocki@samsung.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;
> rosa.pila@samsung.com; dev.tailor@samsung.com;
> faraz.ata@samsung.com; muhammed.ali@samsung.com;
> selvarasu.g@samsung.com
> Subject: Re: [PATCH v3 2/9] phy: exyons5-usbdrd: support HS phy for
> ExynosAutov920
>
> On Fri, Jun 13, 2025 at 11:26:06AM GMT, Pritam Manohar Sutar wrote:
> > This SoC has a single USB 3.1 DRD combo phy that supports both
> > UTMI+ (HS) and PIPE3 (SS) and three USB2.0 DRD HS phy controllers
> > those only support the UTMI+ (HS) interface.
> >
> > Support only UTMI+ port for this SoC which is very similar to what the
> > existing Exynos850 supports.
> >
> > The combo phy support is out of scope of this commit.
> >
> > Add required change in phy driver to support HS phy for this SoC.
> >
> > Signed-off-by: Pritam Manohar Sutar <pritam.sutar@samsung.com>
> > ---
> > drivers/phy/samsung/phy-exynos5-usbdrd.c | 25
> > ++++++++++++++++++++++++
> > 1 file changed, 25 insertions(+)
> >
> > diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c
> > b/drivers/phy/samsung/phy-exynos5-usbdrd.c
> > index 917a76d584f0..15965b4c6f78 100644
> > --- a/drivers/phy/samsung/phy-exynos5-usbdrd.c
> > +++ b/drivers/phy/samsung/phy-exynos5-usbdrd.c
> > @@ -2025,6 +2025,28 @@ static const struct exynos5_usbdrd_phy_drvdata
> exynos850_usbdrd_phy = {
> > .n_regulators = ARRAY_SIZE(exynos5_regulator_names),
> > };
> >
> > +static const struct phy_ops exynosautov920_usbdrd_phy_ops = {
> > + .init = exynos850_usbdrd_phy_init,
> > + .exit = exynos850_usbdrd_phy_exit,
> > + .owner = THIS_MODULE,
> > +};
> > +
> > +static const struct exynos5_usbdrd_phy_config
> phy_cfg_exynosautov920[] = {
> > + {
> > + .id = EXYNOS5_DRDPHY_UTMI,
> > + .phy_init = exynos850_usbdrd_utmi_init,
> > + },
> > +};
> > +
> > +static const struct exynos5_usbdrd_phy_drvdata
> exynosautov920_usbdrd_phy = {
> > + .phy_cfg = phy_cfg_exynosautov920,
> > + .phy_ops = &exynosautov920_usbdrd_phy_ops,
> > + .clk_names = exynos5_clk_names,
> > + .n_clks = ARRAY_SIZE(exynos5_clk_names),
> > + .core_clk_names = exynos5_core_clk_names,
> > + .n_core_clks = ARRAY_SIZE(exynos5_core_clk_names),
>
> Where are the supplies? Where is power on/off seqequence in the phy ops?
>
> No pmu control (missing offset)?
>
LDO regulators are always on. USB don’t control them for ExynosAutov920.
Phy isol is shared across the USBs. And it is handled in bootloader (if one causes phy exit, it isolates all the phys).
Hence, supplies and power on/off are removed from phy ops.
> You have entire commit msg to explain unusual things.
>
Will update the same with commit message in next version of the patch-set (v4).
> Best regards,
> Krzysztof
Thank you,
Regards,
Pritam
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2025-06-18 1:23 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250613055037epcas5p1ce00fda1b535dbeb9a98458d1f0a28ee@epcas5p1.samsung.com>
2025-06-13 5:56 ` [PATCH v3 0/9] initial usbdrd phy support for Exynosautov920 soc Pritam Manohar Sutar
[not found] ` <CGME20250613055040epcas5p35219ddeddd9fe5f4632ca837db91847a@epcas5p3.samsung.com>
2025-06-13 5:56 ` [PATCH v3 1/9] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 HS phy compatible Pritam Manohar Sutar
2025-06-16 8:12 ` Krzysztof Kozlowski
2025-06-16 8:15 ` Krzysztof Kozlowski
2025-06-17 17:52 ` Pritam Manohar Sutar
[not found] ` <CGME20250613055043epcas5p2437abc65042529a2012a6ca80559ac80@epcas5p2.samsung.com>
2025-06-13 5:56 ` [PATCH v3 2/9] phy: exyons5-usbdrd: support HS phy for ExynosAutov920 Pritam Manohar Sutar
2025-06-13 9:09 ` neil.armstrong
2025-06-16 8:12 ` Krzysztof Kozlowski
2025-06-17 17:36 ` Pritam Manohar Sutar [this message]
[not found] ` <CGME20250613055047epcas5p220b1cd1e9b2819997a3d4747c395d13d@epcas5p2.samsung.com>
2025-06-13 5:56 ` [PATCH v3 3/9] arm64: dts: exynos: ExynosAutov920: add USB and USB-phy nodes Pritam Manohar Sutar
2025-06-16 8:13 ` Krzysztof Kozlowski
2025-06-17 17:49 ` Pritam Manohar Sutar
[not found] ` <CGME20250613055050epcas5p3f995a6696ccf4f7eeb0b5d76382f71f7@epcas5p3.samsung.com>
2025-06-13 5:56 ` [PATCH v3 4/9] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo HS phy Pritam Manohar Sutar
2025-06-16 8:15 ` Krzysztof Kozlowski
2025-06-17 18:04 ` Pritam Manohar Sutar
[not found] ` <CGME20250613055053epcas5p377269bcc2c8567c00a2298d86c0d26a4@epcas5p3.samsung.com>
2025-06-13 5:56 ` [PATCH v3 5/9] phy: exyons5-usbdrd: support HS combo phy for ExynosAutov920 Pritam Manohar Sutar
2025-06-13 9:11 ` neil.armstrong
2025-06-16 8:17 ` Krzysztof Kozlowski
2025-06-17 18:14 ` Pritam Manohar Sutar
[not found] ` <CGME20250613055056epcas5p29790d8086c89b16441f4b0a9c2a4db33@epcas5p2.samsung.com>
2025-06-13 5:56 ` [PATCH v3 6/9] arm64: dts: exynos: ExynosAutov920: add USB and USB HS combo phy nodes Pritam Manohar Sutar
[not found] ` <CGME20250613055059epcas5p28b26f4ccb0f58e1bfb172e92f9903a08@epcas5p2.samsung.com>
2025-06-13 5:56 ` [PATCH v3 7/9] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo SS phy Pritam Manohar Sutar
[not found] ` <CGME20250613055102epcas5p44f66699e2e1f3896948b71819ffea181@epcas5p4.samsung.com>
2025-06-13 5:56 ` [PATCH v3 8/9] phy: exyons5-usbdrd: support SS combo phy for ExynosAutov920 Pritam Manohar Sutar
2025-06-13 9:11 ` neil.armstrong
[not found] ` <CGME20250613055106epcas5p46a2e5e2d6f0e8811644643f6282fd9ca@epcas5p4.samsung.com>
2025-06-13 5:56 ` [PATCH v3 9/9] arm64: dts: exynos: ExynosAutov920: add USB and USB SS combo phy nodes Pritam Manohar Sutar
2025-06-13 9:12 ` neil.armstrong
2025-06-16 8:09 ` Krzysztof Kozlowski
2025-06-17 17:24 ` Pritam Manohar Sutar
2025-06-17 17:10 ` Pritam Manohar Sutar
2025-06-16 21:46 ` [PATCH v3 0/9] initial usbdrd phy support for Exynosautov920 soc Rob Herring (Arm)
2025-06-17 18:20 ` Pritam Manohar Sutar
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='000201dbdfae$5ef17e70$1cd47b50$@samsung.com' \
--to=pritam.sutar@samsung.com \
--cc=alim.akhtar@samsung.com \
--cc=andre.draszik@linaro.org \
--cc=conor+dt@kernel.org \
--cc=dev.tailor@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=faraz.ata@samsung.com \
--cc=ivo.ivanov.ivanov1@gmail.com \
--cc=kauschluss@disroot.org \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@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=muhammed.ali@samsung.com \
--cc=peter.griffin@linaro.org \
--cc=robh@kernel.org \
--cc=rosa.pila@samsung.com \
--cc=s.nawrocki@samsung.com \
--cc=selvarasu.g@samsung.com \
--cc=vkoul@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;
as well as URLs for NNTP newsgroup(s).