Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1462416rdb; Tue, 30 Jan 2024 21:53:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IExS5bYlfp2/zrrTc/5knqx6TLFSlLornTVGbLT4Nlk8YcEez//4TGZTyQH3LauHEmZ/EV+ X-Received: by 2002:a2e:8906:0:b0:2d0:602a:71fd with SMTP id d6-20020a2e8906000000b002d0602a71fdmr490534lji.9.1706680419442; Tue, 30 Jan 2024 21:53:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706680419; cv=pass; d=google.com; s=arc-20160816; b=KN8TswXkPoLUutctwL+V7bxIaKojYyHOXX1MtTgIU0yC4NemMzxK35Xe094Gaq12y5 XfZhhscZbsvZKMuTWRuK4DaQEmWOEz6dAcod0SmLMVFBk4qKRJ+ZuvZkgShbgHKVNwdz 9eFiv0xV6yn3asVxDNitrsU9Pb+zr0RQM0uNgWT5aPs91GuoqXL9ThV9bmDiNGue4QFi 2gs84nnPHmw20zE2rbiVWzcdZE2tHJNurQY3AkxSyeLJPI7kPgCBYatWF4pHhcZ5aYnP rjJz3J+gWvy4qnjkfPi4trjJGPjhhFSD6ZIRIx9eFAnyHeZvZ2PQ4G1SN/ns3kF63nCw VhRA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=iTJ7zQzAQtv1oDuiVCCGC7WMm8Ik0DQ+B3/r4oC1M+Y=; fh=jGOgnXAZTakpyRBTQROfJLzhNbzxm3jzvosp7VL9MDw=; b=KyNAypi616UXxe+NUjy/2PmMOGpd0ZgdJSaY7t7DtYfQKSiuZCHoc3YCj95bQGi+dM Fg6uJOKNWaUOMnBdPDJ04QjuNCZDJGxb5fJHNU0w7Xetn8PQMCsbTQuV7ZZwiaQm33Vr XkgklJa+ByaIE71axfajblTolHXfoRQq3XjLtnhcv8WdHET15oloQmj3wGvd94xxY0LI T24+t2c5Iydl1IzYD45AA9ksl569fEuIuZpr722qIAxt7wrCAO9BGAAKHKqKrNR0C05U eYjfaFPitJsGGQeM+uvZCJRwC/BYkx455aBCVaiEjhMCRs3UH4FeKa15UUvHt489Qc/E 2lbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=mREkTbXH; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-45789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45789-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUoSgu6Wq+nDIGYRwK1ZMkc0+j9t/700aEjDL92Vp2FCZU+ErasQ/AEUCm7qsoEROnh/2aGHJ8Q2g/LyIwmCwtUNIm0tl4sNwaVwKSK3Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v11-20020a50d58b000000b00559eed310b0si5518186edi.396.2024.01.30.21.53.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 21:53:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=mREkTbXH; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-45789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45789-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2F16C1F276B2 for ; Wed, 31 Jan 2024 05:53:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D54363F8FF; Wed, 31 Jan 2024 05:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="mREkTbXH" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB4123F8F7; Wed, 31 Jan 2024 05:52:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706680346; cv=none; b=RWRfeohsljrHQa780Sht9KESGGjSzcSTymG8qkvGcm98hC6+EYOnplXEtA9F0lC9BhIEcbXTM9HZLZqfIxlHYS5VQd5n8FKJmkGjsOgDa1YPw2SYnGf4ZKi9Dc0vFp57VvOAYKYsqikUyew6ufxNcLJWzr1xj8YV77lbHGQDdkk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706680346; c=relaxed/simple; bh=oLIoHkCq7oxroT661WmG3ewiFL1pCsYktfj18SCPxK0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fiKt9a0revLgkdcDtiEXJlrHbTf/vlee+IPnn7U47u7QyD2Pn9sNdYcwRz3lZHLx4zGyI0PcZh/XT8IZJPgOkxjOjbtPQWlYPnfBkLToS0FlglaLQ8vHI+510fNw2UB9y+do+hKJ1NZKfxuHfnbBOj6MUgcW+yQs6piT6yGyY2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=mREkTbXH; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from umang.Jain (unknown [103.86.18.206]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C661F3D9; Wed, 31 Jan 2024 06:50:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1706680257; bh=oLIoHkCq7oxroT661WmG3ewiFL1pCsYktfj18SCPxK0=; h=From:To:Cc:Subject:Date:From; b=mREkTbXHguI7h4qA9e846aeJY3aBYevjyG4kgFlQBeUg0z74K8aAwkXrWAC7XqSI3 euV4oEjxiIekIKQbNLyIxfa1Ztzlx45Sb9XtV9+ZweBuAaujwJ0dnJxI1VqVQvRsM3 kGusMaeUgNpOEgmAPQa7yboZXp7rq64VgCa3mCvk= From: Umang Jain To: linux-media@vger.kernel.org Cc: Kieran Bingham , Mauro Carvalho Chehab , open list , Sakari Ailus , Umang Jain Subject: [PATCH v2 0/5] imx335: Support additional link-freq and TPG Date: Wed, 31 Jan 2024 11:22:03 +0530 Message-ID: <20240131055208.170934-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds support for additional link frequency and test pattern generator on IMX335. Patch 1/5 is a drive-by patch which drops setting of a reserved register. This register has no effect in operation/streaming of the sensor. Patch 2/5 adds usage of v4l2_link_freq_to_bitmap V4L2 helper. Patch 3/4 supports for additional link-frequency supported by IMX335 Patch 4/5 is also a prep-up patch for TPG introduction(in 5/5), as the test pattern needs sensor to be powered up to apply the test pattern. Patch 5/5 adds the TPG. Changes in v2: - add new patch 2/5 to use v4l2_link_freq_to_bitmap - fixup a return; in 4/5 Matthias Fend (1): media: i2c: imx335: Add support for test pattern generator Umang Jain (4): media: i2c: imx335: Drop setting of 0x3a00 register media: imx335: Use v4l2_link_freq_to_bitmap helper media: i2c: imx335: Support multiple link frequency media: i2c: imx335: Refactor power sequence to set controls drivers/media/i2c/imx335.c | 250 ++++++++++++++++++++++++++++++------- 1 file changed, 205 insertions(+), 45 deletions(-) base-commit: d7cb6098f1d4866ae864cccdbb3fdcea1176a7f6 -- 2.41.0