mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
To: Ruslan Koreev <koreev.r@gmail.com>,
	<sakari.ailus@linux.intel.com>, <sylvain.petinot@foss.st.com>,
	<dan.scally@ideasonboard.com>
Cc: <mchehab@kernel.org>, <hansg@kernel.org>,
	<ilpo.jarvinen@linux.intel.com>, <gregkh@linuxfoundation.org>,
	<linux-media@vger.kernel.org>,
	<platform-driver-x86@vger.kernel.org>,
	<linux-staging@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
	Peter Marshall <pm@petermarshall.ca>
Subject: Re: [PATCH 2/4] media: ipu-bridge: Add the ST VD55G1 (TBE20A1)
Date: Mon, 28 Sep 2026 10:39:50 +0200	[thread overview]
Message-ID: <ca2297e9-0fa3-46dc-9814-29a3f349c38e@foss.st.com> (raw)
In-Reply-To: <20260924171820.1179823-3-koreev.r@gmail.com>

Hi Ruslan,

Le 24/09/2026 à 19:18, Ruslan Koreev a écrit :
> Add the ACPI HID Lenovo uses for the ST VD55G1 IR camera of the ThinkPad
> X1 Carbon Gen 14. The firmware describes one CSI-2 data lane and, as
> usual, no link frequency, so the value has to come from this table; the
> vd55g1 driver requires exactly one.
> 
> Use 402 MHz (804 Mbps). The sensor derives its MIPI rate and clock tree
> from this value and the IPU7 CSI-2 receiver reads the same value back
> through V4L2_CID_LINK_FREQ, so both ends agree by construction. At
> 804 Mbps a full-width 10-bit line takes about 11 us on the link, which
> allows well over 100 fps at full resolution; lower rates lengthen every
> line proportionally. The rate is in the lower half of the 250 to
> 1200 Mbps range the sensor supports and is the one validated on the
> hardware, where 804x704 streams at 58 fps.
> 
> Signed-off-by: Ruslan Koreev <koreev.r@gmail.com>

Acked-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>

> ---
>  drivers/media/pci/intel/ipu-bridge.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c
> index bd64c0400..5941428ed 100644
> --- a/drivers/media/pci/intel/ipu-bridge.c
> +++ b/drivers/media/pci/intel/ipu-bridge.c
> @@ -101,6 +101,8 @@ static const struct ipu_sensor_config ipu_supported_sensors[] = {
>  	IPU_SENSOR_CONFIG("SONY471A", 1, 200000000),
>  	/* Sony IMX471 (found on Lenovo X1 Carbon G14) */
>  	IPU_SENSOR_CONFIG("TBE20A0", 1, 200000000),
> +	/* STMicroelectronics VD55G1 (found on Lenovo X1 Carbon G14) */
> +	IPU_SENSOR_CONFIG("TBE20A1", 1, 402000000),
>  	/* Toshiba T4KA3 */
>  	IPU_SENSOR_CONFIG("XMCC0003", 1, 321468000),
>  };

-- 
Regards,
Benjamin


  reply	other threads:[~2026-09-28  8:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24 17:18 [PATCH 0/4] Lenovo ThinkPad X1 Carbon Gen 14 IR camera: ST VD55G1 on Intel IPU7 Ruslan Koreev
2026-09-24 17:18 ` [PATCH 1/4] platform/x86: int3472: Map the VD55G1 power enable GPIO to "vana" Ruslan Koreev
2026-09-28  8:39   ` Benjamin Mugnier
2026-09-24 17:18 ` [PATCH 2/4] media: ipu-bridge: Add the ST VD55G1 (TBE20A1) Ruslan Koreev
2026-09-28  8:39   ` Benjamin Mugnier [this message]
2026-09-24 17:18 ` [PATCH 3/4] media: i2c: vd55g1: Add ACPI support for the Lenovo TBE20A1 HID Ruslan Koreev
2026-09-25  8:50   ` Sakari Ailus
2026-09-24 17:18 ` [PATCH 4/4] media: staging/ipu7: Add monochrome pixel formats Ruslan Koreev
2026-09-25  8:51   ` Sakari Ailus
2026-09-29  9:22     ` Ruslan Koreev

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=ca2297e9-0fa3-46dc-9814-29a3f349c38e@foss.st.com \
    --to=benjamin.mugnier@foss.st.com \
    --cc=dan.scally@ideasonboard.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=koreev.r@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=mchehab@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=pm@petermarshall.ca \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sylvain.petinot@foss.st.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

all inboxes | Powered by JetHome®