mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sergey Lebedev <lsa.uz@pm.me>
To: Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
	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 10:07:33 +0000	[thread overview]
Message-ID: <20260915100722.38504-1-lsa.uz@pm.me> (raw)
In-Reply-To: <1070f707-8a23-419e-a0a2-a6f295ceb5a0@foss.st.com>

Benjamin,

First, an apology: I wrote that badly. Reading it back I can see it lands as
a request to move vd55g1 to request_firmware, and it was never meant as one.
You have had to defend a position I was not attacking, and that is my fault
rather than yours.

What I meant, and should have written: the VD55G0 firmware has to reach users
somehow, and I do not mind which of the two mechanisms carries it. Your three
reasons settle the mechanism for me - built in, and no more about it. Peter
preferred linux-firmware and I relayed that with his agreement; whether your
answer changes his view is his to say, not mine.

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

Yes, and it is not about the API at all. It is about who may put ST's
firmware into the kernel tree.

vd55g1.c raises no question. ST holds the copyright and ST put its own array
in its own file, GPL-2.0, 3512 bytes, no request_firmware path anywhere.
Nothing had to be granted, by anyone, to anyone.

VD55G0 is not in that position today. The bytes this series would carry were
extracted from a third-party out-of-tree driver, by people who are not ST.
That is the same question whether they land as a C array or as a file in
linux-firmware - the mechanism does not change who owns them. linux-firmware
only makes it audible, because WHENCE asks for the grant out loud, where a
built-in array lets the same question pass without being asked.

So there are three routes, and only one of them is clean:

  built in, sent by someone outside ST - which is the series as it stands.
  Works technically. Leaves the provenance question unasked rather than
  answered.

  linux-firmware - needs an explicit grant from ST in WHENCE, and you have
  now ruled out the API change it would require. So: closed.

  ST upstreams VD55G0 itself, with its own array, exactly as you did for
  vd55g1. Nobody outside ST has to ask for anything, because nothing is being
  redistributed by anyone who does not own it.

> 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.

That is the one I would hope for, and it is worth more than getting my own
machine working. It is the only route that ends the question rather than
moving it. And it puts VD55G0 on the same footing as its sibling, rather than
leaving it the part with an awkward history.

If the cleaning is what stands in the way, say what would help and I will do
what I can. I cannot clean code I do not have. I can carry the mechanical
half of it - checkpatch and sparse, builds across configurations, dt-binding
checks, a review pass. And I can test on hardware you may not have: a Surface
Pro 11 where the VD55G0 is the face-unlock sensor, so it is exercised by
something real rather than by a capture tool. Peter's series in this thread
already does a good deal of the genericising, if any of it is useful as a
starting point.

Whether GPL-2.0 on the surrounding code carries a blob with it is still a
licence question, and still not one I will answer.

Sergey


  reply	other threads:[~2026-09-15 10:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 21:33 Sergey Lebedev
2026-09-15  9:29 ` Benjamin Mugnier
2026-09-15 10:07   ` Sergey Lebedev [this message]
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=20260915100722.38504-1-lsa.uz@pm.me \
    --to=lsa.uz@pm.me \
    --cc=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=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®