From patchwork Thu Nov 14 16:01:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13875337 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 D06491BC49 for ; Thu, 14 Nov 2024 16:01:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731600107; cv=none; b=GCWQVRWxh01dUYHWvi/DI8B9JLzBnj3JGDF9sXyGPmDjerpm/J7S8DolcsPjCqGjZ1j9DTEN1Q+fP/7s3izQzr+ANufwdK09z1TyydlT1NW/9gZBLr0u8sa7D3pvucE+giHRtJM18wgmTqwBmEFjnvcJm55PYxDkaLFctVdro40= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731600107; c=relaxed/simple; bh=1EPzcE/kgZDig5Otxrs/UZexLcFi8WM1Xgs11JokbYA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=aOLMKwlOAdnlP9m/c5SEDp/G4WxuceOXAsVRZdZqyFLktPTRXMC1EriennRIXO/DVRe2twXI4l81cqL0IZiPdpyiPebpO4UBhUbUnJ2E9jIaR6bH8dHYed5zho09rZgN4XRvc7t+lOSAGcyWvDDu/S1bmHBZxCoNiCLfsr4Z+hk= 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=gHPv12Wg; arc=none smtp.client-ip=209.85.221.42 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="gHPv12Wg" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3821c5f6eb1so473789f8f.3 for ; Thu, 14 Nov 2024 08:01:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1731600103; x=1732204903; 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=3JMdSgtq+Ttm3L6LRQ+ruGkVxLt0T6TxcM+79MWVPjE=; b=gHPv12WgX84b9BZBuABq8IgpEx9aCr9sfEs6amrpqNn8HVTZrh05b0Jfgl9YgN75CZ UkXFPW+ztAA2I96LFL/GY0sSVwfFPzHH/9LT4yRjnBYlK8rYFBYqAn9t4VJ26mpge7q7 UJVGbwBBUarhE2QhewPnFc431i+PCExbAKk2/rF7lODSZlslAedcMunoeEg8a492MRLX mLmYsXugmJS+exb+vzjPvJcVdGmf6vtoYi6pr8rk0AUJdV2I2TSMPTPML1+hOReBKP41 jISZIia5OSUEpoHiMUyORwF+6GBrOtrqNeN8kHg8CyaAnKaBmKGZKsVN8JPG5X7I8u20 u7HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731600103; x=1732204903; 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=3JMdSgtq+Ttm3L6LRQ+ruGkVxLt0T6TxcM+79MWVPjE=; b=IVEHXZM0+pv1ld1nrC6IkY5ksoXoLWyoFBFiDsSFHWhhYbuxVpHGz39XUCUjLdm9zu f8BJzh/uDITI8KwW0H1hv0NSfzvWtOF3hAiyt3T5OwLyaC2cTaOqUqc390kWcwzicuaD gIO8WlGNLlGfIM+YBhXt1ZiQHdr5kpMNTGiJAwHJZp+GFNiUj/CUStoiMUPM6P7AlWdt 5TdIT0YHpPYLuy28KXHJJGotKFaQ38Fdxpoa7Fmd9ONBIFxqjyHXuHI37Xb2ylD6AGll ieScNe3nGezuPPg0QVObkFWlvU7mcCS8YVcaoyFhmnH9MMptlHttu2tNbGhSRxysbTd5 iFmQ== X-Gm-Message-State: AOJu0YxsxwtiN9kxMn0YTBoVNA+zWsGC75iG+8rvcZMgRN5KL8IlFC9l MpJEha4MD2bLwzqvYG/VEOYVkLI7vzkVW2nbEqmWM54rRuNIAWZmshD+C6iNxXk= X-Google-Smtp-Source: AGHT+IHU3640S++GiWHY22g8DyZvC0xVaN2q6y5oxKROmxj3Ujh55YAboEOHGvnPvVceKb9fEiHwew== X-Received: by 2002:a05:6000:784:b0:382:5af:e993 with SMTP id ffacd0b85a97d-38205afeb31mr11196763f8f.54.1731600102718; Thu, 14 Nov 2024 08:01:42 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-382200fe00esm1139024f8f.42.2024.11.14.08.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 08:01:42 -0800 (PST) From: Dave Stevenson Subject: [PATCH 0/3] media: i2c: imx290: Add support for imx462 Date: Thu, 14 Nov 2024 16:01:12 +0000 Message-Id: <20241114-media-imx290-imx462-v1-0-c538a2e24786@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=H4sIAMgeNmcC/x2MQQqAIBAAvxJ7TmgXS+or0UFzqz1YoRBB+Pes0 zCHmQcSR+EEQ/VA5EuSHHsRrCuYN7uvrMQXB2pII6JWgb1YJeGmvvmgO1Ku8ziTdsa4Fkp5Rl7 k/q/jlPMLm8rouWUAAAA= 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 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 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 --- Dave Stevenson (3): media: i2c: imx290: Limit analogue gain according to module media: dt-bindings: media: i2c: 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 | 78 ++++++++++++++++++++-- 2 files changed, 74 insertions(+), 6 deletions(-) --- base-commit: ed61c59139509f76d3592683c90dc3fdc6e23cd6 change-id: 20241114-media-imx290-imx462-b6d1c24b77b5 Best regards,