All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
To: Sergey Lebedev <lsa.uz@pm.me>, Peter Marshall <pm@petermarshall.ca>
Cc: Sylvain Petinot <sylvain.petinot@foss.st.com>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Hans de Goede <hansg@kernel.org>,
	Daniel Scally <dan.scally@ideasonboard.com>,
	<linux-media@vger.kernel.org>,
	<platform-driver-x86@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/7] media: i2c: st-vd55g1: Genericize driver and add VD55G0 support
Date: Tue, 15 Sep 2026 11:29:05 +0200	[thread overview]
Message-ID: <1070f707-8a23-419e-a0a2-a6f295ceb5a0@foss.st.com> (raw)
In-Reply-To: <20260910213308.53429-1-lsa.uz@pm.me>

Hi Sergey,

Le 10/09/2026 à 23:33, Sergey Lebedev a écrit :
> Following up on the firmware blocker I raised on 7 September, since it is
> still the thing that stops anyone but the author from using VD55G0. Relayed
> with Peter Marshall's agreement.
> 
> Peter sourced the firmware the same way I did for testing: the version 2.11
> patch array in Andre Gilerson's out-of-tree VD55G0 driver, which he reports is
> identical to the one in ST's standalone driver. He has published the extracted
> blobs for testing at
> 
>   https://github.com/petm5/vd55g-firmware
> 
> and would prefer submission to linux-firmware over a built-in array, so that
> firmware can be updated independently of the kernel version. I agree that is
> the better end state.
> 
> Worth adding, because it may lower the bar for getting there: the built-in
> arrangement is already in the tree, from ST, for the sibling part.
> drivers/media/i2c/vd55g1.c is Copyright (C) 2025 STMicroelectronics SA under
> SPDX-License-Identifier: GPL-2.0, and it carries vd55g1_patch_array[] - 3512
> bytes, firmware revision 2.9 by its own defines. That file has no
> request_firmware path at all; the built-in array is its only mechanism.

We initially thought of using linux-firmware, and we didn't for several
reasons :
- The firmware is reasonably small.
- The driver source code is directly dependant on the firmware, as some
behaviors may be altered by the firmware. Keeping it in the source code
allows easy synchronisation.
- A lot of mainline sensor do the same thing, with exception for only 4
drivers (ccs included) that use request-firmware.

It has been discussed with maintainers back to the vgxy61.

Unless I'm proven moving to the request_firmware API allows more upsides
than the above points, unfortunately I will not ack a serie that moves
from the builtin patch to the request_firmware API.

> 
> Different sensor and a different binary from the VD55G0 one, which measures
> 6868 bytes at revision 2.11, so it is precedent for the arrangement rather
> than for the blob. But it does mean a built-in for VD55G0 would not be asking
> ST for something they have not already done one part number over, whereas
> linux-firmware needs an explicit redistribution grant in WHENCE from the
> copyright holder.

I'm not sure I get you. Is this a licence problem of some sort ? Could
you rephrase ?

Anyway if we don't move to request_firmware I guess this is a non issue ?

By the way we didn't upstream the vd55g0 because it requires a bit of
cleaning, but this is something that could also be done.

> 
> So the two routes are not equally hard today, and they are not exclusive: a
> built-in now and linux-firmware when ST are ready is not a wasted step.
> 
> Whether GPL-2.0 on the surrounding code carries the blob with it is a licence
> question and not one I will answer.
> 
> Benjamin, Sylvain - this is the one blocker on the series that nobody outside
> ST can clear.
> 
> Sergey
> 

-- 
Regards,
Benjamin


  reply	other threads:[~2026-09-15  9:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 21:33 [PATCH 0/7] media: i2c: st-vd55g1: Genericize driver and add VD55G0 support Sergey Lebedev
2026-09-15  9:29 ` Benjamin Mugnier [this message]
2026-09-15 10:07   ` Sergey Lebedev
2026-09-15 11:48     ` Benjamin Mugnier
2026-09-15 17:36       ` Sergey Lebedev
2026-09-16  8:55         ` Benjamin Mugnier
  -- strict thread matches above, loose matches on Subject: below --
2026-09-07 20:59 Sergey Lebedev
2026-09-08  8:54 ` Benjamin Mugnier
2026-09-08 10:07   ` Sergey Lebedev
2026-09-02 20:45 Peter Marshall
2026-09-04 12:06 ` Benjamin Mugnier
     [not found]   ` <DL6TUYCM6AE9.3SFNKPI5T7CVS@petermarshall.ca>
2026-09-08  8:48     ` Benjamin Mugnier

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=1070f707-8a23-419e-a0a2-a6f295ceb5a0@foss.st.com \
    --to=benjamin.mugnier@foss.st.com \
    --cc=dan.scally@ideasonboard.com \
    --cc=hansg@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lsa.uz@pm.me \
    --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 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.