From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD807CD11C2 for ; Fri, 5 Apr 2024 16:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=taANJX9aD+ONEL0joOYvC4NnRKKPUmJCCjFSR2l/jFU=; b=2pP4hh4JnApaClG5F3kjqtfyKt VHnazK2mWoclB//xoJ62+LaHomVBB+lM4TfUo+dKWupI7rPXGOUVzTC4T1Sthq7B0EpLKsu8F8ivR trv9tOsttx7Qgg1hjr4WeQ3WpBS6gq5DK0Nycyb3nY0MHbFkmu4ncK1Nu67yMVDVISCSCczE/gXH5 SQM2H176NWUksPBY4EzuIIyo38dHFi3L5dzvg9vMvVjmdP+UMJ4H9A0bLgtYRlGdipnMPRpnt2njP Fia3eCPQEjql5jgHnG7dSy9WjVrZmuSECGkWM5EjvSrelZxT5nhtMu0+fG4SLfO1EkG23zdOvo0mw UAMp/S0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsmNI-00000007zV1-0RZx; Fri, 05 Apr 2024 16:25:08 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsmNE-00000007zTe-2JXo for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 16:25:06 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 84E02CE2453; Fri, 5 Apr 2024 16:25:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E052C433F1; Fri, 5 Apr 2024 16:24:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712334301; bh=e631Y6MEiUM4bdY0i8+RqUnFcYHrbYvYh4AY3c2OKqs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hcsClS20Fq4SLI/FbUZXI/30MEJwCw0mPfLZrr/R0EkMRetSPyJ5iYwp1vzcFPnTQ 3UfE9PH7aWXRdPKCpMlC36hJ2kQCuN4x6MzeGumMdjC0VsDAd3F6duoKVW+rSNrAfZ +0HA8OL2NfF/FCSaULcSPyMmeRTMwuBJOcfpwaQw83HmXIJ2GmQROXqP0I8bdntGM5 YbxT4k39KnYQwO8QadL/IFPXiVgcc06YtlbIYY5ImjqSKvXgnQMi7YwHaMmA94jJln 9lFAWQ1KpmN5HlwVEOqF+1b/prbhr/0cAHdjnhCF2E8gP9x72z2l9XpeBwpuUzC0bH A3LaECE2Q8gig== Date: Fri, 5 Apr 2024 17:24:55 +0100 From: Conor Dooley To: Dave Stevenson Cc: git@luigi311.com, linux-media@vger.kernel.org, jacopo.mondi@ideasonboard.com, mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, sakari.ailus@linux.intel.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, phone-devel@vger.kernel.org Subject: Re: [PATCH v3 18/25] dt-bindings: media: imx258: Add alternate compatible strings Message-ID: <20240405-citizen-rendering-a8345fc96fb0@spud> References: <20240403150355.189229-1-git@luigi311.com> <20240403150355.189229-19-git@luigi311.com> <20240403-vista-defendant-ebadbaa52059@spud> <20240405-affair-cruelly-a7e9d23b597c@spud> MIME-Version: 1.0 In-Reply-To: <20240405-affair-cruelly-a7e9d23b597c@spud> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_092504_958608_B95DC565 X-CRM114-Status: GOOD ( 29.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2567255170833036658==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2567255170833036658== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="J+r6cgI5MeerLX5y" Content-Disposition: inline --J+r6cgI5MeerLX5y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 05, 2024 at 05:24:11PM +0100, Conor Dooley wrote: > On Fri, Apr 05, 2024 at 11:25:50AM +0100, Dave Stevenson wrote: > > Hi Conor > >=20 > > On Wed, 3 Apr 2024 at 17:14, Conor Dooley wrote: > > > > > > On Wed, Apr 03, 2024 at 09:03:47AM -0600, git@luigi311.com wrote: > > > > From: Dave Stevenson > > > > > > > > There are a number of variants of the imx258 modules that can not > > > > be differentiated at runtime, so add compatible strings for the > > > > PDAF variant. > > > > > > > > Signed-off-by: Dave Stevenson > > > > Signed-off-by: Luis Garcia > > > > --- > > > > .../devicetree/bindings/media/i2c/sony,imx258.yaml | 9 +++++= ++-- > > > > 1 file changed, 7 insertions(+), 2 deletions(-) > > > > > > > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx25= 8.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > > > > index bee61a443b23..c978abc0cdb3 100644 > > > > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > > > > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > > > > @@ -13,11 +13,16 @@ description: |- > > > > IMX258 is a diagonal 5.867mm (Type 1/3.06) 13 Mega-pixel CMOS ac= tive pixel > > > > type stacked image sensor with a square pixel array of size 4208= x 3120. It > > > > is programmable through I2C interface. Image data is sent throu= gh MIPI > > > > - CSI-2. > > > > + CSI-2. The sensor exists in two different models, a standard var= iant > > > > + (IMX258) and a variant with phase detection autofocus (IMX258-PD= AF). > > > > + The camera module does not expose the model through registers, s= o the > > > > + exact model needs to be specified. > > > > > > > > properties: > > > > compatible: > > > > - const: sony,imx258 > > > > + enum: > > > > + - sony,imx258 > > > > + - sony,imx258-pdaf > > > > > > Does the pdaf variant support all of the features/is it register > > > compatible with the regular variant? If it is, the regular variant > > > should be a fallback compatible. > >=20 > > It has the same register set, but certain registers have to be > > programmed differently so that the image is corrected for the > > partially shielded pixels used for phase detect auto focus (PDAF). > > Either compatible will "work" on either variant of the module, but > > you'll get weird image artifacts when using the wrong one. >=20 > To paraphase, a fallback compatible is not suitable. Whoops, I forgot this: Acked-by: Conor Dooley Cheers, Conor. --J+r6cgI5MeerLX5y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZhAl1wAKCRB4tDGHoIJi 0kUVAPsHQcxSj1YlxmEykZ2pdEnrRssajk9+59xTX2aSDtjvjgD/QiU/zXLjFTnh wmmKk8lfqMokfNL4ZXerYYFKC/oSUAY= =wHSR -----END PGP SIGNATURE----- --J+r6cgI5MeerLX5y-- --===============2567255170833036658== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2567255170833036658==--