Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp558379lqm; Wed, 1 May 2024 08:47:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUH9+cuvQKS8g6OkFLsfcZP5K+2/BvlYSOGtBLaxY2gWbPmUxOlHOXwhSERbZK8NIG9rWHWLytaP1X+moCvFfItmAka9vg0lqsru0vGaw== X-Google-Smtp-Source: AGHT+IGwrU2PGqeRlktJh47na98YZDY5m1lvu/XrC06ahmUzjKtDzgp5rwMviT+NVMvCZ0/41Uo5 X-Received: by 2002:a05:6a21:3d89:b0:1af:670d:5082 with SMTP id bj9-20020a056a213d8900b001af670d5082mr2494230pzc.60.1714578435501; Wed, 01 May 2024 08:47:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714578435; cv=pass; d=google.com; s=arc-20160816; b=NRTApNnFbkq0N5C198ynVDptqJtfl/jL/bjhFCFcw6kRnNG2ID+V4+GZJOtgu5qVkm khfb4Zr5OuYJBWex2Ss0WTfMcSP0Ts28nMO1iUXyl9AcjiGVXswU8guRNffGJke8QSGz PZecNpNMz5zHfPLcXXb/4fookIUaSG/peICSn4x+nGpP8bO58qUp31ahPQj54b/8c3i7 5+z+HHl7MM2iKdg08+guYsANIPZkxLmL8FwudyNT5rvB+LAFFnNlxCiyXvFmtDMXFVQg LzeON8wEv0wUj/1adLE4PwC4VDIwTi96GIQPW1WPLMyAdvTLL+au74+rzKOP1nQFRNO6 GeHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=PzT4xTOEeVDL66kJK8reXjWQ9fp0oEJkeO2UsrLAT0g=; fh=eF1hxHLyDqoBMXzz4am33FqSJMF4hS+wiBIU94fUHsg=; b=vjFe74/iwdbpme08CY3xMCgUdLw+bN6REpHhBKeek5Mr26P05YEJCLUQItntJwcpoT GpE5yUgXu4tbNEHWuYUzyrm53WF0jvvFL66RgCNkl3TIMTykwH0AU6WaJsHqRsPMTraU kGdPylwo2H9EaRGGsml+mlbPh92YiK/OrnwPezNMK58ZpZac7h89TUMhgo0aX9wfViBL 9oEQBZUCrCM1f1Jl4BZEe4zcx0D/WiKszIYoqRGUlanrNVxwcxj328/fzazSY+wrl3Dp B26i2dcPomU+eTThgTW28beiMYxWouFEVOxHN1qgziwgBRXF+PKAdPDsrIxino/6PQZX Ehlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b="izN5/8E+"; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-165469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165469-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c3-20020a631c43000000b005dc8554d4f6si24028777pgm.49.2024.05.01.08.47.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 08:47:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b="izN5/8E+"; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-165469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165469-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 80E65288682 for ; Wed, 1 May 2024 15:27:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FD5F12FB0B; Wed, 1 May 2024 15:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=luigi311.com header.i=@luigi311.com header.b="izN5/8E+" Received: from mail-108-mta78.mxroute.com (mail-108-mta78.mxroute.com [136.175.108.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E35AF12F59D for ; Wed, 1 May 2024 15:26:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.175.108.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714577201; cv=none; b=pMuF+BqqVsK+AEv+W/rUAFiAYHwoOFwViJQDmo51rexToGhFXUbwX0iOd3t5KBC8Fgdnpl4D4SQQ6w7ZtZCRRcDi5ttwzIt+Smq6/onQ8af6rXGHit/3mBgWcznkKJouZvoaJKc0HbeHErNL4UJm2kkmT4FkwdoToIonjoblPAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714577201; c=relaxed/simple; bh=liAeCOCis53oq3GtruCxMWUheY7cl+d70gOgO+0PYV8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CGSKiWBSv9yuDaLpnf4Vgy7XlkPwwrtTj0RRz1thggRP0mrFo3dj85lOCUuGsPoDRKdTncBg1lmbb+ToArkCqs1qzExvqvAr261VPwASF+oBDEL/j7Y1yynFvRx/3eGpe07nVKz+vL4tqx53DHFYQqAZAY0caDJDgaK6QzifkPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=luigi311.com; spf=pass smtp.mailfrom=luigi311.com; dkim=pass (2048-bit key) header.d=luigi311.com header.i=@luigi311.com header.b=izN5/8E+; arc=none smtp.client-ip=136.175.108.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=luigi311.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=luigi311.com Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta78.mxroute.com (ZoneMTA) with ESMTPSA id 18f34c2c3b10008ca2.011 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 01 May 2024 15:25:30 +0000 X-Zone-Loop: 1425f019b24d1800aac63f627eed934db289d9d1ed3f DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=luigi311.com; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PzT4xTOEeVDL66kJK8reXjWQ9fp0oEJkeO2UsrLAT0g=; b=izN5/8E+EHY5iywXRGikzZ/FES t/NYOc+jhjgS2/X0Fl1sr5Tfv5YThU1A4d89T0JiOcbyWMVTOy7NMlaCbjPid6Oji+jprVKwT6jKw Nwt/lpKCbU7Av/592TCiMnL9QopQvSsuU6g27+pvS69cZ7shmbYOrAfQzhNmGKUuSA07R1UAp4dYZ qDGnK/Nez1yLP+h0wvO1ck47+toWHgy8K1K6HfWHE+b06hBPzEaYD/vJRHDSDnl25rM4XQPzzO2gq 4JsEaCcMrnu/bzjUHG4VQVbIR79IszftuO+hKjLGZWWCfLThmfI069bl65PbGXCm2VzNItWsxyGt5 E8nf6MYA==; From: git@luigi311.com To: linux-media@vger.kernel.org Cc: 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, Luis Garcia , Conor Dooley Subject: [PATCH v5 18/25] dt-bindings: media: imx258: Add alternate compatible strings Date: Wed, 1 May 2024 09:24:35 -0600 Message-ID: <20240501152442.1072627-19-git@luigi311.com> In-Reply-To: <20240501152442.1072627-1-git@luigi311.com> References: <20240501152442.1072627-1-git@luigi311.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Id: personal@luigi311.com 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 Acked-by: Conor Dooley Reviewed-by: Pavel Machek Reviewed-by: Rob Herring --- .../devicetree/bindings/media/i2c/sony,imx258.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 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 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. properties: compatible: - const: sony,imx258 + enum: + - sony,imx258 + - sony,imx258-pdaf assigned-clocks: true assigned-clock-parents: true -- 2.44.0