Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2813121lqz; Wed, 3 Apr 2024 09:15:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzx+u5f4SbDrjyHYENO/+YpHU8qYjBMlJuWAjXg0eft73AcM5R6xMqqphQEXIAPaYKtFeCBBVi4rBQGmGstPAJtBtiN/3claSdgQsCMg== X-Google-Smtp-Source: AGHT+IGjWdAN60u/7kEivKmu8Tj/asQab9wmAmXduH0Z9KxukUhEx3TJv0cEQzAlM5JeOyn14Nd0 X-Received: by 2002:a05:6870:55c6:b0:22a:4b19:64 with SMTP id qk6-20020a05687055c600b0022a4b190064mr3483093oac.16.1712160906909; Wed, 03 Apr 2024 09:15:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712160906; cv=pass; d=google.com; s=arc-20160816; b=heCB+7146aHIMseSGUggtmkO927g4W85cvYeIuH+SaYioY97eKCtm8aJI/PwkOP1lN mUOD3Qb0fBkzAQ1YiswToY+Z/dC6g3/r2wDKq7l8kn/m4wjsO4f2KPpdkVkvrWobUwZ6 GGeO7puq6NSN/T2Foy9RB1bvPv0AQLJggsfweTZd6gjz/FieAXc4JE2L/k8v7QgeatDr WUZY9JJA5psR5b1EWRaiMXXFQtBgsyTnwHeCT1mo9KgU+l0d7LNZw2474Qaa2/1q1EIo J5DXxMc3g+YqruluzaKvJWRczqckNP7X3KoRqQhg7pbTtMqOWONpszHamq238BIOaGdi eDzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Lap75GAYAeVoSP3j7w8VFcgXkXGEq8yBMc3xt+aAAiQ=; fh=Vw01yGyLhOxIWFq2c3ZyQI4zse53VQxhcb9InEi093A=; b=hwL0tfAtkc4K7Ieh7zIkPvuW2eQ19TtnpHf/TqKpHd3G44FrjdgH6UigKeAi2y/bdS 1m7V/SlwwlvsHD3mfPgleSlY2vVDsljKIlLyuvjzkHz8RRMKwxRNUfJqCgjVzCQQ1kYi 3la2Yprbw63IlcKB+wqlosTs7Nj1T3ov/VYGaEkuFbW7ZiyfOd0cATfIU+a7b9fxHb7T WoCv2EbUB9foiPHSztVoOiw+PLtkcSV8Hp3vAF29QqgMnph0y1S631bBbF99kwOP/yqV BmuWxeNtTWv2aAU9R2Pr5+2zxic6AcB8TvB0Rud3sOXpnHtfnAz7Z9UKLe1er2efK38r 4F6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+LnZsIa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u17-20020a05620a085100b0078a5e461457si14681306qku.703.2024.04.03.09.15.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 09:15:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+LnZsIa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 47CC51C23460 for ; Wed, 3 Apr 2024 16:15:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D05814F117; Wed, 3 Apr 2024 16:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q+LnZsIa" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 795A914D433; Wed, 3 Apr 2024 16:14:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712160895; cv=none; b=CMeKmWubor/TFTUeyQPhTTTlSupRw9TRY9ns68CLg/Lh6yAB7+buTFaqfld1N9Gj7deCLCMNMLjQq4UoWm5T8QQlEJCjMHgOeit1u9DDEqq35HW/p1tG5H0BbXnlqOJPUDvDtXP36f24AWRsPcXU25cQKfgUAyyOg5wxNCb4pIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712160895; c=relaxed/simple; bh=Dw4TMcgMCYmhY8DkUmtF9XK+klTwM7RxE/GPJ5ycJF0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=t2ku/qIfqaKY1E6dMhrNgD/EYFks25O20WFI1dIAPUWL4D4/hidTC5E4m2fsYTbxcnngYG/qeerJQ0vh2J5pmbBRCfAeAx9uSCtqP8uXvL0APVvfaTCGzjN3ceFq98313xahJazfYI61xgfcbC7DvLc17sIcXTeOjzU5BpD3DjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q+LnZsIa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B015DC433F1; Wed, 3 Apr 2024 16:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712160895; bh=Dw4TMcgMCYmhY8DkUmtF9XK+klTwM7RxE/GPJ5ycJF0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q+LnZsIa2JGGoV12cX3ZMFQhd29l75NesZeX4wzM5ZgtWKEXLDNztOOzWr/GFhev1 tE1H+SaIbAdpnugrYIgh6WzbcOp6E++9hG5TeVmT08B589T+ncsXxX68JxxZ80XJIT qAym+sr7rBOxZWGcWmPQPZXd1+F+lodeNob5iXBbn2aLh3XHAY/Mc6nLnnN9RSmFWD dSocGzn7mou1RMW/gV5GCp3DPFDxCi4EO5Y9QU50YdMEu4XHD4Lll9+xBJBA4jurGO ocpL8tD168CUWyUqz7acBtK5wIm2oe/mOcVoypANl6/J4V6Fk0Q6RJpl0wVl8HiSA+ fdh54vM0/5inA== Date: Wed, 3 Apr 2024 17:14:49 +0100 From: Conor Dooley To: git@luigi311.com Cc: linux-media@vger.kernel.org, dave.stevenson@raspberrypi.com, 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: <20240403-vista-defendant-ebadbaa52059@spud> References: <20240403150355.189229-1-git@luigi311.com> <20240403150355.189229-19-git@luigi311.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-sha256; protocol="application/pgp-signature"; boundary="dTboEyzG/5e2UTpE" Content-Disposition: inline In-Reply-To: <20240403150355.189229-19-git@luigi311.com> --dTboEyzG/5e2UTpE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 03, 2024 at 09:03:47AM -0600, git@luigi311.com wrote: > From: Dave Stevenson >=20 > 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. >=20 > 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(-) >=20 > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx258.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 active p= ixel > type stacked image sensor with a square pixel array of size 4208 x 312= 0. It > is programmable through I2C interface. Image data is sent through MIPI > - CSI-2. > + CSI-2. The sensor exists in two different models, a standard variant > + (IMX258) and a variant with phase detection autofocus (IMX258-PDAF). > + The camera module does not expose the model through registers, so the > + exact model needs to be specified. > =20 > 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. Cheers, Conor. --dTboEyzG/5e2UTpE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZg2AeQAKCRB4tDGHoIJi 0g9GAP9MN2G2glo0Nhr4UByr3u4eG2VrUcxCMe2B4Uzd1ErwTQEA7j5t7hgUL0mU pr1/uez8k5GMNQNEpwMErPYIlusOjw8= =KKOZ -----END PGP SIGNATURE----- --dTboEyzG/5e2UTpE--