Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp606430lqj; Sun, 2 Jun 2024 13:25:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgQp724ZyKI6T1VGFgwAbiLAOndE59AabOzEO+XRsHWCZsiVXpv0f7X7z0MJHX5rvb/aQbg2Re6H89RRMU8UW/i05I+jAnapsjWDYmSw== X-Google-Smtp-Source: AGHT+IGrMxFodK9xnhl7bMcq1TxWof35cUj6GMbhSMpWvkhEpTDpn9wtP/MjZKENqu17ajC98M6a X-Received: by 2002:a17:903:41d0:b0:1f4:5f95:9481 with SMTP id d9443c01a7336-1f6359a63c9mr104707325ad.10.1717359902619; Sun, 02 Jun 2024 13:25:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717359902; cv=pass; d=google.com; s=arc-20160816; b=y9LAZ/P5qm2d/FcPnVkU4JLk36M8mz0vVkCCkg3oDiIZJpa1HH5+TvwW4pKL4yzGLH QGwZwruGjtlewhM4prrCy4C+f6oUgjeDkWKp+BivdtHgTjGdHejslJxyoiAGEFF8jJCr RDqB23SvlRppan//JQMS1qQevmRzv9J0Q67amnVNxYgoRjGDeypCliZdaBCKRhWjqams yKxTXkFIfTDUs+vEOsT4rNAz51pkQQgTuxJSBpVR5SdYtBrkVTMxMtYOSWjbabogOmTC VQhenMSHK9VhNjY540X21laDP0k4SiKhJAFuh1fyn4W1GrotEefCiwXzBPDQzDeG6fro T/AA== 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=fjcH4VWy4ZqsJsoV4CC7Q+m2Alzrh0XnBqb5qw7J4aQ+hWUl8C5WVGJlkZq3J4NoIS aD3VQP7hoRzZ3jwVPaoeaS9dAvJ0lnBt5qOsguvftX5yxzoRMEw6t1koOpaQa6YETxyS vaUZN7iM9jxTKrxGlP4/kMDjhBuaLoUe1oxkgL8kpBOI6xJc7q3I6Nb7zEU3NwY3YyOx B3qvnd921mS0YIQMd97/74f7czqC1J9Xsii+SEsfM/qgm6mhb0/ZVRQEXkp54tym3YHa J5Pnk+hd++xP9iD/E3vbY01Tbn9vGUwD3UkEy03LIuZF4G9xLBah9g6WReDHD+D1NYDx JpQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b=tTvuGlY2; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-198421-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198421-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f662b063d6si21285525ad.650.2024.06.02.13.25.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 13:25:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198421-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b=tTvuGlY2; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-198421-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198421-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 77AC228379D for ; Sun, 2 Jun 2024 20:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A216578C79; Sun, 2 Jun 2024 20:20:49 +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="tTvuGlY2" Received: from mail-108-mta41.mxroute.com (mail-108-mta41.mxroute.com [136.175.108.41]) (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 57FEB85289 for ; Sun, 2 Jun 2024 20:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.175.108.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717359648; cv=none; b=WZAb341X+6s2SZ9fwgHc7gapvXVF1sV5JOzVlWHmqOcLacmQExMvp5MHKutyg5gcQcN8VSPbWytMvMYa5VcfI5wvAa7e1ulG2zIquV53k9stRK+TtZNY9DlhM5o/yuDP4gKq4YSoBB+FV4xSbNoEJZBgdkarlLLeUs6bPBUDzIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717359648; c=relaxed/simple; bh=liAeCOCis53oq3GtruCxMWUheY7cl+d70gOgO+0PYV8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KCkrsvEd7BEMFG7scg3YyLCNtNKC3EP3394qHEsCNcp+LWfGVukGbo2T6ktiEXlYu4fn1Z9az6iVO/uWdMx71O0jM5MyuXw2E8hrqpxqex32wPVugc6nFCT4auORQL7EZ9KRqFqg4lke0XdsqfP6kJOLU9HDcUO/SXlz7nCA1IU= 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=tTvuGlY2; arc=none smtp.client-ip=136.175.108.41 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.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta41.mxroute.com (ZoneMTA) with ESMTPSA id 18fda96e095000e2b6.011 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 02 Jun 2024 20:14:32 +0000 X-Zone-Loop: 75c7acd39329e6f7cf41883a26bbcba920ac0bdb474e 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=tTvuGlY2R/yvA8ERPzoTDtgZ6I FUy0FdxvmaYyVNxmLqegOkq+sAY5FHGlaL5r99/LJtJqt+4ZOGkTntUNaz6yHqitfMaNXJ4bNkF+a N0jg3DKgq6PiWo3Vs+fhPpasirB2xOeaKKex461ShwZCVntTqceMSG97yJ26hb3gjdd50Zrh2CeLb WhPWFupwfjYy89IkpQrMf0aKZkM1NXfJQnlycbOwSD/eebB9DO8fPT4PbqOmSwyD2Xb9ONM1kyO5Q PZ9Xp9rxByYL1hlyzqLM6ZqPdYDFGBHHex9XF5jmDSPjf9kj/L1VqBI4GTA3b6kGw/2qMRVbvlECn /StAqmRA==; 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 v6 18/23] dt-bindings: media: imx258: Add alternate compatible strings Date: Sun, 2 Jun 2024 14:13:40 -0600 Message-ID: <20240602201345.328737-19-git@luigi311.com> In-Reply-To: <20240602201345.328737-1-git@luigi311.com> References: <20240602201345.328737-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