Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1085694lqp; Sun, 14 Apr 2024 13:43:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXhx6qg4bBgSUVvE3oJ7n2zFkN/QcZbcRIxzo2W9gxCrQKU7OU4dDvj0McfXRI+ygVhFhhYr2H9r9ADbCRg79cnk+R3JYqmagnTwZtQQ== X-Google-Smtp-Source: AGHT+IEZWh708jQ5yysrvfI6n/k0rf19E/qGiMCn0/v58GKQuR1v9rsNw8RrxF51djZP6nVqYgVo X-Received: by 2002:a05:6870:718b:b0:22a:551c:3170 with SMTP id d11-20020a056870718b00b0022a551c3170mr10464146oah.23.1713127432525; Sun, 14 Apr 2024 13:43:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713127432; cv=pass; d=google.com; s=arc-20160816; b=CPEIFlHGOSJbWnJoWFhdZoNhrpdIxxI4q6RgW54nbuaHMT35EU5yiOz17Ohy+y+CFf XkKJ80yrYVmNXGnmRJHcCXa7w+VU6dJ/4bUcBQ4lNYjmQtIBGSpHLrT+tw+GpQXthDFm AO7rteA5wPy9pM0l+keVjpX6K7w5ZCySygj5gAW/ksQ/V9jDP+C3wHiWzRn5Wk8/iQaz UdAH7+i8QI4t9ooJ7f0dYqJjLlu4G0gNF1qsn17dNqXjR3nsCjE3YWX1apysbf/O0eHs R02ICv1JbwCs9sVUAAhbj8kGhGxnTx2agHfaVLAjwsWUQak9kemUj+zeaG4E8oQWZOXn bJBA== 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=nvYToMFPPE74I8NLsqDxk9K1gCSCHZUPv0Sj5Zo+QFMtwzX0z6rZezySYDCdXJMM3K CuzdZMWcSr4tLspAseWaoykpJxwHDPR1z2jsKoSlCCjfZ0Lg+GL72sZUjzkx/ArYs5w3 qoeHkqxckEwjgFHttJbCWRCnpNEgonz4ypbVprEHc1JEaol1a1uMlKjs1sSVUQ6MYKP+ YAfl8vFS2sYxaPJKovEPWNjIdbEEknQyioZMrxfSc55jhpiVm+F1/4V956TfVf5zoojs s87pgGLoYHSN6wJ956ahdvwC2pvLfUMO3YFi8dVV32oNNF4AFQmCV3AQq5b6QkBiiW5x TrEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b=wIboygpi; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-144394-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144394-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t21-20020aa78f95000000b006ecea2c6a4csi6786690pfs.380.2024.04.14.13.43.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 13:43:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144394-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b=wIboygpi; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-144394-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144394-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 613DCB20EAC for ; Sun, 14 Apr 2024 20:43:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B400213958E; Sun, 14 Apr 2024 20:42:03 +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="wIboygpi" Received: from mail-108-mta94.mxroute.com (mail-108-mta94.mxroute.com [136.175.108.94]) (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 8CB3713849C for ; Sun, 14 Apr 2024 20:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.175.108.94 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713127323; cv=none; b=TtU2akjNy9cQ/TkxwZDOTSIq9wXa5jZeX2LYQ2OLyoh/RuPtmwkB3vN/NzqGqg4oeguruqW3XRLY4h93AYTqp4IW5VzZ3cezeCK+REsvRiaQ9WXv6/oV8Tgc3NQZe5J/wNmju05dHPLho+qEgBapeKGOZJyFikVFcZLE+pf1vrc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713127323; c=relaxed/simple; bh=liAeCOCis53oq3GtruCxMWUheY7cl+d70gOgO+0PYV8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WcZ2hfhWoEHVzDN3ERGA+GO4mNLtEHjFVt7Kc8c7DnxOAj3pbwWW/w5bVaywxTitlhwd528UU+/oDNQHV8rV5zLuukAsI+SCy0Pw3crB9SjD5Mpy4sk4E25U2abr6u5RtgPfPgOUP2vD6LkGGyj5RXzYevwrOdAkVTccdPSPYIw= 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=wIboygpi; arc=none smtp.client-ip=136.175.108.94 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-mta94.mxroute.com (ZoneMTA) with ESMTPSA id 18ede52c3790003bea.011 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 14 Apr 2024 20:35:49 +0000 X-Zone-Loop: 2ce37abd97a7f0f8e1b775590ab44dc06747849fa7f0 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=wIboygpiBVrHCP5phDiNICUnb2 iVjcjDZBWwxruKNdLXNOODWlCHMD70+AEp64Wo0z84/BfwuygHMTcoCLS9Ss9DR34yhKlaFPstYQa imzxH9GeQKYHGN5pw8pd+FWYAmm0vZgjpPzd4XQJ4LeJnN+hBOize6EI1kQldgU053M0jQMm2+/AH h3ckCeS0+pLCmTSNK52hl+3JYHDqpB7z5q5ub2JXHktfRENG3gdt/gyH4oB4FpKfQW/0hpjJOMhmR wBJgKpX7WtqMutTbj+uvURJXfV+prdkB6bSppRB8EFcKjO78DbpikDAxtbq7u0g/y8G9Tl2N4K8pW f0ZjBZWg==; 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 v4 18/25] dt-bindings: media: imx258: Add alternate compatible strings Date: Sun, 14 Apr 2024 14:34:56 -0600 Message-ID: <20240414203503.18402-19-git@luigi311.com> In-Reply-To: <20240414203503.18402-1-git@luigi311.com> References: <20240414203503.18402-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