public inbox for linux-phy@lists.infradead.org
 help / color / mirror / Atom feed
From: Parthiban <parthiban@linumiz.com>
To: "Kuba Szczodrzyński" <kuba@szczodrzynski.pl>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Samuel Holland" <samuel@sholland.org>,
	"Chen-Yu Tsai" <wens@csie.org>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: parthiban@linumiz.com, David Airlie <airlied@gmail.com>,
	Simona Vetter <simona@ffwll.ch>,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	linux-riscv@lists.infradead.org, linux-phy@lists.infradead.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	paulk@sys-base.io
Subject: Re: [PATCH v3 3/6] drm/sun4i: Enable LVDS output on sun20i D1s/T113
Date: Thu, 22 Jan 2026 11:22:00 +0100	[thread overview]
Message-ID: <6825d5bf-9d99-4872-a61f-1b145bfd2efa@linumiz.com> (raw)
In-Reply-To: <20251116134835.447357-1-kuba@szczodrzynski.pl>

Dear Kuba,

On 11/16/25 2:48 PM, Kuba Szczodrzyński wrote:
> +static void sun20i_tcon_setup_lvds_dphy(struct sun4i_tcon *tcon,
> +					const struct drm_encoder *encoder)
> +{
> +	union phy_configure_opts opts = { };
> +
> +	if (!tcon->quirks->has_combo_dphy || !tcon->dphy)
> +		return;
> +
> +	if (phy_init(tcon->dphy))
> +		return;
> +
> +	if (phy_set_mode(tcon->dphy, PHY_MODE_LVDS))

From Documentation/driver-api/phy/phy.rst, set_mode shall be after power_on. But re-order
will fail to work for our case. Not sure if this is fine.

Thanks,
Parthiban

> +		return;
> +
> +	if (phy_configure(tcon->dphy, &opts))
> +		return;
> +
> +	if (phy_power_on(tcon->dphy))
> +		return;



-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  reply	other threads:[~2026-01-22 10:22 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-21 16:17 [PATCH 0/5] drm/sun4i: Support LVDS on D1s/T113 combo D-PHY Kuba Szczodrzyński
2025-02-21 16:17 ` [PATCH 1/5] phy: allwinner: phy-sun6i-mipi-dphy: Support LVDS in " Kuba Szczodrzyński
2025-06-25  7:56   ` Paul Kocialkowski
2025-02-21 16:17 ` [PATCH 2/5] drm/sun4i: Support LVDS using MIPI DSI " Kuba Szczodrzyński
2025-06-25  8:03   ` Paul Kocialkowski
2025-06-25  8:36     ` Paul Kocialkowski
2025-02-21 16:17 ` [PATCH 3/5] drm/sun4i: Enable LVDS output on sun20i D1s/T113 Kuba Szczodrzyński
2025-06-25  8:06   ` Paul Kocialkowski
2025-02-21 16:17 ` [PATCH 4/5] riscv: dts: allwinner: d1s-t113: Add D-PHY to TCON LCD0 Kuba Szczodrzyński
2025-06-25  8:09   ` Paul Kocialkowski
2025-02-21 16:17 ` [PATCH 5/5] riscv: dts: allwinner: d1s-t113: Add LVDS0 pins Kuba Szczodrzyński
2025-06-25  8:24   ` Paul Kocialkowski
2025-06-25  8:35 ` [PATCH 0/5] drm/sun4i: Support LVDS on D1s/T113 combo D-PHY Paul Kocialkowski
2025-11-08 16:53 ` Parthiban
2025-11-16 13:18 ` [PATCH v2 0/6] " Kuba Szczodrzyński
2025-11-16 13:18   ` [PATCH v2 1/6] phy: allwinner: phy-sun6i-mipi-dphy: Support LVDS in " Kuba Szczodrzyński
2025-11-16 13:18   ` [PATCH v2 2/6] drm/sun4i: Support LVDS using MIPI DSI " Kuba Szczodrzyński
2025-11-16 13:18   ` [PATCH v2 3/6] drm/sun4i: Enable LVDS output on sun20i D1s/T113 Kuba Szczodrzyński
2025-11-16 13:18   ` [PATCH v2 4/6] dt-bindings: display: sun4i: Add D1s/T113 combo D-PHY bindings Kuba Szczodrzyński
2025-11-16 13:25 ` [PATCH v2 5/6] riscv: dts: allwinner: d1s-t113: Add D-PHY to TCON LCD0 Kuba Szczodrzyński
2025-11-16 13:25   ` [PATCH v2 6/6] riscv: dts: allwinner: d1s-t113: Add LVDS0 pins Kuba Szczodrzyński
2025-11-16 13:46 ` [PATCH v3 0/6] drm/sun4i: Support LVDS on D1s/T113 combo D-PHY Kuba Szczodrzyński
2025-11-16 13:47   ` [PATCH v3 1/6] phy: allwinner: phy-sun6i-mipi-dphy: Support LVDS in " Kuba Szczodrzyński
2025-11-20  6:24     ` Parthiban
2025-11-22 11:27       ` Kuba Szczodrzyński
2026-01-22 10:15     ` Parthiban
2025-11-16 13:48   ` [PATCH v3 2/6] drm/sun4i: Support LVDS using MIPI DSI " Kuba Szczodrzyński
2025-11-16 13:48   ` [PATCH v3 3/6] drm/sun4i: Enable LVDS output on sun20i D1s/T113 Kuba Szczodrzyński
2026-01-22 10:22     ` Parthiban [this message]
2025-11-16 13:49   ` [PATCH v3 4/6] dt-bindings: display: sun4i: Add D1s/T113 combo D-PHY bindings Kuba Szczodrzyński
2025-11-17  7:05     ` Krzysztof Kozlowski
2025-11-17 11:08       ` Kuba Szczodrzyński
2025-11-17 11:53         ` Krzysztof Kozlowski
2025-11-17 12:39           ` Kuba Szczodrzyński
2025-11-16 13:49   ` [PATCH v3 5/6] riscv: dts: allwinner: d1s-t113: Add D-PHY to TCON LCD0 Kuba Szczodrzyński
2025-11-16 13:50   ` [PATCH v3 6/6] riscv: dts: allwinner: d1s-t113: Add LVDS0 pins Kuba Szczodrzyński
2025-11-16 14:03   ` [PATCH v3 0/6] drm/sun4i: Support LVDS on D1s/T113 combo D-PHY Chen-Yu Tsai
2025-11-16 14:31     ` Kuba Szczodrzyński
2025-11-16 14:37       ` Chen-Yu Tsai
2025-11-16 16:48         ` Kuba Szczodrzyński
2026-02-07 13:34   ` Parthiban
2026-04-01  8:39     ` Parthiban
2026-04-01 15:04       ` Kuba Szczodrzyński

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=6825d5bf-9d99-4872-a61f-1b145bfd2efa@linumiz.com \
    --to=parthiban@linumiz.com \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@szczodrzynski.pl \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=paulk@sys-base.io \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    --cc=wens@csie.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