From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01AB9282F19; Fri, 5 Jun 2026 15:57:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780675040; cv=none; b=FSzGexpjDPFanIleVS4E+J4LIIsqnMqLdfPBzJn8tSFMXaBIWbYkbc2/PPAury7f6VlbfihdxO8LCFx2rfU+P3z5VP3xmaSIzYb7DfyWSygfZlr7xNecfw1qPB3HsXO+4gcbsbPg/HFAhzJjLq9a6ioRAwj63JtwBDneiNIA8rk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780675040; c=relaxed/simple; bh=IXIDlDkH2Nt6GRHpfdIyQBJBx6ELNclUnu+w2kuYhws=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HxwGdtcKQpMA54DJNqZ3F/di/QEzB6EnYxDKTUqE9tZc52U5rQaLYI6PGIzwVWQFfUbyexuMQqHUZfIoTNLaB0gh59FUuo0ppDiPvU9p6XOHnjoL/WWJyl2DF7Gju33xdp3EgOLpKlAiS+ZyZGaQGhPtO5dLUDD1LvGF06IrV/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cvy8igCG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cvy8igCG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 387A21F00893; Fri, 5 Jun 2026 15:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780675039; bh=IXIDlDkH2Nt6GRHpfdIyQBJBx6ELNclUnu+w2kuYhws=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=cvy8igCGY7PDXHIdo0Cjq3euuz1JFzyWYk1eo4eSz3kLcMU7/M/yMpojTuwHCG3E/ PlXhDx1+fnTDGnfoWL7rjL2LT0U83XqSztYECPAbHlj3IVElx7laDEVgYht3Tu99Cx 5QhUGcxACu2FhOPj3/c2TzZkMS+h44zkxnSPN5IbFXHbIZdbaGjq+1reYSHvrYBvjC eoOAYhD+xyyKLWvBA0IhdLk1gtNAIcQilZ8ofWi2wM9q640uLWZ5rMfSDC3g+uZ+C/ H3u5X26A4FOONlD0o9Arr8tTPOj3AacITH+tb8UUoVRxQ9wVQU6YAfsVSPoaxzT8B2 srqshCrhgG9+w== Date: Fri, 5 Jun 2026 16:57:15 +0100 From: Conor Dooley To: Jai Luthra Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sakari Ailus , Laurent Pinchart , Kieran Bingham , Lachlan Michael , Ryuichi Tadano , Kengo Hayasaka , 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 Message-ID: <20260605-bullion-polka-bb32563c904b@spud> References: <20260605-imx678-v4-0-58e57c67143d@ideasonboard.com> <20260605-imx678-v4-1-58e57c67143d@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZNPYUyk16cDvnTmt" Content-Disposition: inline In-Reply-To: <20260605-imx678-v4-1-58e57c67143d@ideasonboard.com> --ZNPYUyk16cDvnTmt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > 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. >=20 > 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 pw-bot: changes-requested Cheers, Conor. --ZNPYUyk16cDvnTmt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCaiLx2wAKCRB4tDGHoIJi 0pWxAP9c/ou5rm6z6E8WuAd+/i+IyP5VS1CTr4+sGGxJ9KlM1wD/VriJx1OMyjj9 M9e+kEr58WtY4gS7j4dH+yoCaP8kgww= =R8/t -----END PGP SIGNATURE----- --ZNPYUyk16cDvnTmt--