From: Conor Dooley <conor@kernel.org>
To: Jai Luthra <jai.luthra@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
Lachlan Michael <Lachlan.Michael@sony.com>,
Ryuichi Tadano <Ryuichi.Tadano@sony.com>,
Kengo Hayasaka <Kengo.Hayasaka@sony.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 1/2] dt-bindings: media: i2c: Add Sony IMX678
Date: Fri, 5 Jun 2026 16:57:15 +0100 [thread overview]
Message-ID: <20260605-bullion-polka-bb32563c904b@spud> (raw)
In-Reply-To: <20260605-imx678-v4-1-58e57c67143d@ideasonboard.com>
[-- Attachment #1: Type: text/plain, Size: 1655 bytes --]
On Fri, Jun 05, 2026 at 08:56:28PM +0530, Jai Luthra wrote:
> Sony IMX678 is an 8.4 Megapixel (3856x2180) CMOS sensor, that can output
> pixels over MIPI CSI-2 bus. Add bindings for it.
>
> Runtime detection for mono vs color variant of this sensor is feasible
> by reading a register, but it's not always desirable given the sensor
> needs to be powered on for it, potentially flashing a privacy LED or
> wasting precious boot time.
>
> The manufacturer or vendor knows which sensor variant they are putting
> on their board, so we define the compatible property to expect the
> (color/mono) specific name of the sensor.
> This should still be followed by the generic fallback device name,
> "sony,imx678". If some vendor wants to share firmware (DT blobs) across
> "products" or SKUs that only differ in the mono vs color variant of the
> sensor used, they *can* do it by skipping the specific name at the cost
> of a build-time warning from dtbs_check.
>
> Drivers are expected to handle all three device names (two specific, and
> the generic fallback) gracefully.
I don't agree with this having this statement in the commit message, but
you're free to do it in the linux driver if the subsystem maintainers
tolerate it. This isn't how the compatible property is expected to be
used, and writing a note in a commit message doesn't define the ABI.
If, in the probably unlikely case, someone in bsd or $other-os wants to
support this device, they're not bound to make the same decision you
have.
With it gone,
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: changes-requested
Cheers,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-06-05 15:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 15:26 [PATCH v4 0/2] media: Add bindings and driver for " Jai Luthra
2026-06-05 15:26 ` [PATCH v4 1/2] dt-bindings: media: i2c: Add " Jai Luthra
2026-06-05 15:57 ` Conor Dooley [this message]
2026-06-05 15:26 ` [PATCH v4 2/2] media: i2c: imx678: Add driver for " Jai Luthra
2026-06-06 8:17 ` Tarang Raval
2026-06-06 13:22 ` Jai Luthra
2026-06-06 14:45 ` Tarang Raval
2026-06-06 15:29 ` Jai Luthra
2026-06-06 16:21 ` Tarang Raval
2026-06-07 3:34 ` Jai Luthra
2026-06-07 7:21 ` Tarang Raval
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=20260605-bullion-polka-bb32563c904b@spud \
--to=conor@kernel.org \
--cc=Kengo.Hayasaka@sony.com \
--cc=Lachlan.Michael@sony.com \
--cc=Ryuichi.Tadano@sony.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jai.luthra@ideasonboard.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=krzk+dt@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.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®