From patchwork Thu Dec 19 18:22:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 182146 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp835378iln; Thu, 19 Dec 2019 10:22:47 -0800 (PST) X-Google-Smtp-Source: APXvYqz4M2s0+YKPm1xgP1FLVDdEMGwvRDFnTeIx7XHZC2HxDCaEZExZljHISzy805f9vyXXRX6D X-Received: by 2002:a05:6830:184:: with SMTP id q4mr10347827ota.52.1576779767706; Thu, 19 Dec 2019 10:22:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576779767; cv=none; d=google.com; s=arc-20160816; b=Xr3nXAdk+gF4FwUOCLhf9p8xgzcjQ42I2LTBu9Btt4Ku3DKGf5nw6O92obFsHXMFT9 cSe/ZKaFx1eW/iTw7Favq10uASASNsvwDqNivS7C8pqFVmcHDt+lVqFcywZWCEQQfDK3 KxX03lWq9y+KIujYTPTv5lutfM4wd1ug2sYX2ZvqjuDO0lgKkL6kyytTPsI7/ebC2KZr aADTePEYBAc63vkSWerQ93EWWkZFZuCez2LC7J4E5aA5Hw4+P1ag5nKENTkvhHB7L5HL 01F+r78pO4SJHr7QLK064s548/kA8EqHaGL6Y2UEB5vD9QE1IuYudGFib1t5ZWmQdYQt g8JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=KXwFzfFzkYhY2Rnva/wezf54bh0dmerJAZ0lGR8bFSM=; b=X2JfN/nSV8mHTydJ9CiDujPfUCtZEuvkGKj2OfWF64gAut7sXUyTP5CWQacsJ2ZrOj VooAfPsnabW/ZbJ2omsccv4+Fi5lgVn35W2TfAc+Fh0h1EI40EzSX59gwgTz1Sf21b8l hDtt+ZS/vZniUVgyJjY9XSwTpojdkHTMFQAKFZGwAli5p0DRVWuuuCt/Ql1orZoXAi3T a+05//4f400O7AdXxKTVTx72fk4ngnKb45yZWzC6M0sK+i2liZPTawaAWft+Ec6VMTio I+hceBJarMZ6NaSFOwgoL+Ei8fz6fjj5fCAzPNeUOGKDNOEn4H7jN/YFysdnDedegtb4 OqaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ob3u1ZS5; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k17si3515646otl.158.2019.12.19.10.22.47; Thu, 19 Dec 2019 10:22:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ob3u1ZS5; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726869AbfLSSWq (ORCPT + 4 others); Thu, 19 Dec 2019 13:22:46 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:38910 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726797AbfLSSWq (ORCPT ); Thu, 19 Dec 2019 13:22:46 -0500 Received: by mail-pj1-f68.google.com with SMTP id l35so2918276pje.3 for ; Thu, 19 Dec 2019 10:22:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KXwFzfFzkYhY2Rnva/wezf54bh0dmerJAZ0lGR8bFSM=; b=Ob3u1ZS5Y2lM+xNn3smagXJWwa+13n2h9N1s/MqmA/ZeLp8npgsWnqOQglR44wkR8t HwDBZruhxNK+aDv7mQMK68l5P/N4C3O2JckUUbSHKkEGsbWvu/qUFOcQqSTODZhCRUse 9ZFwm+rdTllSQV5tl4j2ccySo67lLA6HifXiCaRp6gpWjStS4Q1/fijvecPvOoij2Dex /nlE6Yr5Z6tQIWzXKs/NOpbaV/umuWhjvUfJbruMq16PVbMR5XloFfGuajjYq39ELwgO kP56uIFCttgb3blX2KKbPrbwhtXs+SqvS9ZIUvRI9tsPaZky9umRogofXWZc2EA75coY +XRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KXwFzfFzkYhY2Rnva/wezf54bh0dmerJAZ0lGR8bFSM=; b=L26QL0KcEk52oMH3uEqwqXc4l+qXy2PtCJl67emJLQHrp3kAoBsRWxJknpFyq2u0jr 6CXuMrScKU8FctdwezCDOqfbxpgXk3byKglYYiWEgrAOkUAqdBOsYYvXFDiNTexx9EBn 3rHvtilv27oGY67ylgIUI/75xN9M/vwh3QCLPa3jBfZ/4lzkRRS8XNSoGQzHAAaf23bp MRjH9ya/AjaeQyQX7IO4BeO2V10UGLmFB87T28L3ipWArMpG/+j2FWHPt2MPOhUVn0D1 NQiEABrOF5lyn8wQj4A0Z5Pr7l4V0dyB1dvzy72PmzVsv1ZO5mPm2KCO2MCECNaxixHL F32A== X-Gm-Message-State: APjAAAWUZX4FX6hxi5zektIUS1RqBy2jZxFHkS37irREuRMQ+sUg8EyF dTLCF8zSA2AuWnPY9Auq4XFu X-Received: by 2002:a17:90a:f84:: with SMTP id 4mr11269191pjz.74.1576779765730; Thu, 19 Dec 2019 10:22:45 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6010:65a5:a416:e9bd:178a:9286]) by smtp.gmail.com with ESMTPSA id i3sm9085735pfg.94.2019.12.19.10.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 10:22:45 -0800 (PST) From: Manivannan Sadhasivam To: mchehab@kernel.org, sakari.ailus@iki.fi Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, c.barrett@framos.com, a.brela@framos.com, peter.griffin@linaro.org, Manivannan Sadhasivam Subject: [PATCH v2 0/6] Improvements to IMX290 CMOS driver Date: Thu, 19 Dec 2019 23:52:16 +0530 Message-Id: <20191219182222.18961-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, This patchset adds improvements to the existing media driver for IMX290 CMOS sensor from Sony. The major changes are adding 2 lane support, test pattern generation, RAW12 mode support, configurable link frequency & pixel rate. The link frequency & pixel rate combinations depend on various factors like lane count, resolution and image format as per the datasheet. Thanks, Mani Changes in v2: * Incorporated review comments from Sakari https://lkml.org/lkml/2019/11/29/428 * Added a patch to move settle time delay out of for loop in imx290_set_register_array() Manivannan Sadhasivam (6): media: i2c: imx290: Add support for 2 data lanes media: i2c: imx290: Add support for test pattern generation media: i2c: imx290: Add RAW12 mode support media: i2c: imx290: Add support to enumerate all frame sizes media: i2c: imx290: Add configurable link frequency and pixel rate media: i2c: imx290: Move the settle time delay out of loop drivers/media/i2c/imx290.c | 337 +++++++++++++++++++++++++++++++------ 1 file changed, 283 insertions(+), 54 deletions(-) -- 2.17.1