All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
To: "Mohit Dsor" <mohit.dsor@oss.qualcomm.com>,
	"Luca Ceresoli" <luca.ceresoli@bootlin.com>
Cc: "Sunyun Yang" <syyang@lontium.com>,
	"Andrzej Hajda" <andrzej.hajda@intel.com>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Robert Foss" <rfoss@kernel.org>,
	"Laurent Pinchart" <Laurent.pinchart@ideasonboard.com>,
	"Jonas Karlman" <jonas@kwiboo.se>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Vinod Koul" <vkoul@kernel.org>,
	<dri-devel@lists.freedesktop.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	<venkata.valluru@oss.qualcomm.com>,
	"Jessica Zhang" <jesszhan0024@gmail.com>,
	"Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH v11 2/2] drm/bridge: Add Lontium LT9611C(EX/UXD) MIPI DSI to HDMI driver
Date: Tue, 01 Sep 2026 09:09:11 +0200	[thread overview]
Message-ID: <DL3SHWGWGJRM.8EBXAKKNSVB5@bootlin.com> (raw)
In-Reply-To: <apXKES8WQzVDbQG8@hu-mdsor-hyd.qualcomm.com>

Hello Mohit,

On Mon Aug 31, 2026 at 8:38 PM CEST, Mohit Dsor wrote:

[...]

>> > +#include <drm/drm_of.h>
>>
>> Unused include?
> Using this header for of_drm_get_bridge_by_endpoint

of_drm_get_bridge_by_endpoint() is declared in drm_bridge.h.

>> > +static enum drm_mode_status
>> > +lt9611c_hdmi_tmds_char_rate_valid(const struct drm_bridge *bridge,
>>                      ^^^^
>> Out of curiosity, what does "char" means here?
> "char" = character — TMDS (Transition Minimized Differential Signaling) transmits data using 8b/10b encoding, where each
>   encoded 10-bit symbol is called a "character". The TMDS character rate is the number of these symbols transmitted per second
>   per lane, which equals the TMDS clock frequency.

Ah, OK, thanks for the explanation.

>> Also, I _think_ lt9611c_regulator_init() could just
>> devm_regulator_bulk_get_enable() to do both things at once, but I'm not
>> sure that would be compatible with PM. If it's safe it would simplify the
>> code quite a lot, and also allow using devm_drm_bridge_add() below, making
>> the remove function almost empty.
> regulator_bulk_disable/enable are called in suspend/resume and in remove — so devm_regulator_bulk_get_enable is not suitable
>   here

OK, I was not sure about that, thanks for checking.

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2026-09-01  7:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24 14:06 [PATCH v11 0/2] Subject: Add Lontium LT9611C(EX/UXD) MIPI DSI to HDMI driver mohit.dsor
2026-08-24 14:06 ` [PATCH v11 1/2] dt-bindings: bridge: " mohit.dsor
2026-08-24 14:06 ` [PATCH v11 2/2] drm/bridge: " mohit.dsor
2026-08-24 14:21   ` sashiko-bot
2026-08-30 14:39     ` Mohit Dsor
2026-08-25 14:09   ` Luca Ceresoli
2026-08-25 14:29     ` Krzysztof Kozlowski
2026-08-31 18:39       ` Mohit Dsor
2026-08-31 18:38     ` Mohit Dsor
2026-09-01  7:09       ` Luca Ceresoli [this message]
2026-09-02 18:41         ` Mohit Dsor

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=DL3SHWGWGJRM.8EBXAKKNSVB5@bootlin.com \
    --to=luca.ceresoli@bootlin.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=jesszhan0024@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mohit.dsor@oss.qualcomm.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=syyang@lontium.com \
    --cc=tzimmermann@suse.de \
    --cc=venkata.valluru@oss.qualcomm.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 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.