From patchwork Wed Nov 20 19:17:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 845036 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 DE95619C543 for ; Wed, 20 Nov 2024 19:17:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732130252; cv=none; b=E2xmSyGFuLU4q4VKdgW1ZYStk6y2jwdoPIGbF+tJCEzuM5gRfo1u6Q1XWyeafjfl+HgYWm1x1rECaH6OXsh6jZQfKAsNq0eurJINyUuJ2fNXD3NgSYQWNo+VxhldjBAL2o0t+p4Bf1CF5sZTc3gFCf+XfUrJe/MoJbohGFkJxa8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732130252; c=relaxed/simple; bh=vGcatcbsSuXPFzJR3D9welFSsng16vRjIJUPoyCUcOo=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=fccYw7nkMZFhPOJDQBBttFQj/CzBdGcoyTEd39RLNZsDPe7pQi9UTdDse9D2Ma692USxN/Ywb4eOXFx70TC467AcerES7vdEnfNFlvuVoLaG/I08bP/vDlK/NKN4bWNkRZGlhR8x6jVSVA+doGnEiSRoOlUAWXcXZBQnmgzfv1U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com; spf=pass smtp.mailfrom=raspberrypi.com; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b=CSfOZL55; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="CSfOZL55" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4315eeb2601so406845e9.2 for ; Wed, 20 Nov 2024 11:17:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1732130249; x=1732735049; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=jr7qqPzbHAkagf9kWZH8AFBjV0Ls4zMfwt5LoWCWDEI=; b=CSfOZL5525XLRhDbzTsxEHBy3Jw6o5O632zGnHtRUhsLBfqEK0+TTmI+Mzeon74t/w NVfNgyxyImlD/y5Du+HmYLZOil3QdwBkuy5j8otfNycD8osy+a+n0XoFOE5KHXdqdORf urJksUYwjps1slXH8O/UoGsiFEsGUYodKxYeMJcz6BKHCUBmV9LCsTLvnCkpHK+M0sfV TGMtQpx3Z3FyHG37/JtXGbbnJSaMJaU2HOtef7+gPG4x8mLLwpR39zIvaXlV4xQ4LkiP mMq1/K2iXH1S+pABI33Ue3c/yqUeQU1De+nA8P/BPPDT8jEIDlEaTmL82AZXsm8EBA+H bCmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732130249; x=1732735049; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jr7qqPzbHAkagf9kWZH8AFBjV0Ls4zMfwt5LoWCWDEI=; b=Cyt0GhO/mgAgj7j2vrKZQ8RaL0a9xkQNSnksSPLjcgkl2buJc1DtwRhfDf17Bi3Y0N G4CJYKwfH8Dr53GMkIBhUfor4dqAthbKr2YX1X1x+RTvIZrW3N2ByvfiKBJFQzOhoNvz 9D4/dzW0RUSzbVHcdc6CVwUn9UM4kmvbNV3jFptmkg//qaYoUiqPf4WOL2TYlmO05wWF CA2CNE51/NaarCukWJQqKvJz1BZb5f0oN/W3DTjiQw60Gm70ne3rRVt4veZN4Ca2K9Rf 1WQZX3G8I51ivfHI2kxRTwTrCjjmc85xdB33wPpqWcBM6UMhjmxoZekA0Bl2nwRM/W91 ceCg== X-Gm-Message-State: AOJu0YwNlk/yVFNaEPWYkAizCgRzl97K4WCjVdueYY5ki8MP8sRfohJD L8Coq3t1uroC96xfhGDumK3H4s8QZ9r/IBeGm4ZbxQr5D5PXhTKlXRgKLFwn3esHK4Glq6J1j0T y X-Google-Smtp-Source: AGHT+IHvFo9WlmxcMV8IjdperLMhQZjV3VgLzVSA3y+8HnawYzK6+2xS69U+wMdnZmgdTzRDcgK+WQ== X-Received: by 2002:a05:600c:1f11:b0:42a:a6b8:f09f with SMTP id 5b1f17b1804b1-4334f0154b9mr36081565e9.23.1732130249071; Wed, 20 Nov 2024 11:17:29 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3825a2c5ef2sm172457f8f.53.2024.11.20.11.17.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 11:17:28 -0800 (PST) From: Dave Stevenson Subject: [PATCH v2 0/4] media: i2c: imx290: Add support for imx462 Date: Wed, 20 Nov 2024 19:17:02 +0000 Message-Id: <20241120-media-imx290-imx462-v2-0-7e562cf191d8@raspberrypi.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAK41PmcC/32NSQ7CMBAEvxLNGaN4cBY48Q+Ug5eBzCGLxihKF PnvOHkAp1a11NU7RBKmCI9iB6GFI09jBrwU4Hs7fkhxyAxYotFaGzVQYKt4WPFeHmFqVK4O2qN xTeMqyMtZ6M3raX11mXuO30m282TRR/vft2hVKl/dWouEpmnrp9g4OxLZZr76aYAupfQDVR3xf LwAAAA= To: Manivannan Sadhasivam , Sakari Ailus , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Laurent Pinchart , Alexander Stein Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Dave Stevenson , Conor Dooley X-Mailer: b4 0.14.1 imx462 is the successor to imx290 (and imx327 before that), and only requires a few very minor register tweaks. Whilst at it I also fixed the todo over imx327 and imx290 having very slightly different maximum analog gains (29.4dB vs 30.0dB) and added that to the variant structure. Signed-off-by: Dave Stevenson Reviewed-by: Alexander Stein --- Changes in v2: - Added patch 2 to correct register 0x3011 to 0x00 on imx290. - Corrected title for dtbindings patch to remove duplicated "media" - Picked up tags. - Link to v1: https://lore.kernel.org/r/20241114-media-imx290-imx462-v1-0-c538a2e24786@raspberrypi.com --- Dave Stevenson (4): media: i2c: imx290: Limit analogue gain according to module media: i2c: imx290: Register 0x3011 varies between imx327 and imx290 media: dt-bindings: sony,imx290: Add IMX462 to the IMX290 binding media: i2c: imx290: Add configuration for IMX462 .../devicetree/bindings/media/i2c/sony,imx290.yaml | 2 + drivers/media/i2c/imx290.c | 81 ++++++++++++++++++++-- 2 files changed, 76 insertions(+), 7 deletions(-) --- base-commit: ed61c59139509f76d3592683c90dc3fdc6e23cd6 change-id: 20241114-media-imx290-imx462-b6d1c24b77b5 Best regards,