Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2592745rdb; Mon, 4 Dec 2023 01:47:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXFcKHts1ffp8ju1JciSxGRNxUaPVvpAf7rsX6lo4/63raov1YuZFY3gjOdZT1WvzjP7Ge X-Received: by 2002:a05:6a00:2405:b0:6ce:2732:294 with SMTP id z5-20020a056a00240500b006ce27320294mr1260843pfh.67.1701683257680; Mon, 04 Dec 2023 01:47:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701683257; cv=none; d=google.com; s=arc-20160816; b=KhtBJ0kvyoDVIl6931RTtOUIZ9x+5ZvoNjMLfAB51Ms0KhA7J+3Pl3AhcLObLPmPFV Ch3S3/V3uIYq5B3CgMbtQlOfLqZjLgN5EWg5ugORcTfBwjs3/6GlzLo8BneYtIqXfKpI 24GoNIuDdAy7CF683otQVL42fcthp9MgOuCpli0LDiB2G/SD5sbvLNYI8dvSkeraD9I6 jgAaxjdOUn2rq6XECXX20euxfBgDZYjPY+1zMObuKfpue1qY2kql/nWHRlA6XFHTZLEN CP50/lbT2gWqfsO6YCrJogI42FA/e+ew8AsboeZC2EZ7Rims2ov9p0LoPsh4ewL84QZ/ VjRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=N7+GisMetmeV1BjhAW+nXBCvnzDTHf4Bb1eGUAm0TFs=; fh=i9AkHGnztG2S1ezrDmkQ4LKo4kBm3VcjXopD1pbl8Gc=; b=gS3c3OOR6ASVS0GEqvsOdRpDjRPLj3TaDEYJaPCYkCk1PUmsZ30FwpmTIRRRHx8xPi cww2M7+vbWAIJnVhv15WGKtQ6l/nVq5Y0xeGxMp9j6QXNogkAU22oopdJgOLMQKX1JlR LVr3mQEeuf5yVkfB9pXqHILcbjYjR8eYGHUdIeksMiEfs7LUJ0iKb8Oay4D+z3QnjQKH 3GnwLoAzbDCSigDTpGfgB96Qho9Smq02REubH7W6eY/BnEpodiNfw1Rw/monL+7kGsCS 9GYj+CPajbM8+4QAndgarafi0oddI36hOXhVIqpXa4XFTTOLiaBUJJBiY6vam6WiW0WE 30kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20230601 header.b=nguQT6fE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id q20-20020a056a00151400b006cc07022e9fsi812116pfu.57.2023.12.04.01.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 01:47:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20230601 header.b=nguQT6fE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6CDCA8089870; Mon, 4 Dec 2023 01:47:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbjLDJrU (ORCPT + 99 others); Mon, 4 Dec 2023 04:47:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbjLDJrS (ORCPT ); Mon, 4 Dec 2023 04:47:18 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E34AD6; Mon, 4 Dec 2023 01:47:24 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a18b0f69b33so751932366b.0; Mon, 04 Dec 2023 01:47:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701683242; x=1702288042; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=N7+GisMetmeV1BjhAW+nXBCvnzDTHf4Bb1eGUAm0TFs=; b=nguQT6fEdXUR1UNH1xjla1b0QlZLMoDNFAGgpKsUzHP7wZzz4E8yl+D1MxU1sJZfWg +gMYH8W18/Nm7a7unwFGBPyOZwG0HnCO09qV56umE+HkD8OJXxNPZ91Si3GH395sSTFO wHA3uKco+qgorQEopyhxr7t7UWx2GZIJXj12vqNRLio4/2g4QMZ7zoXYhU1v/a82b2Cb GNU4ILgBO3Crhx/Uy2EdWzxL0cTkPLNNawSIb+RE+GnjZ9RKFKTlaT+MdmOTIS6JiDM2 BFPmWAYZIjrypabN0XQ9OaYYeaGyNpphPLYf4FUB6EkdmbimGG8iGjBWoDavrfkefpSP kt4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701683242; x=1702288042; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N7+GisMetmeV1BjhAW+nXBCvnzDTHf4Bb1eGUAm0TFs=; b=lRTFr7BR+KKt6tRyzO9BKzm4n6kRv/iJfEFCoB57Osggl2/0tfNrPC4MfxPjUpCkrr fPTpTIYWWMYv0TjGjA7pnzHZaWCuAl+XYfezy+/DgcPp0Lvh2SPqXA0AfHX2XSmLUdh1 1cR0MAVIZrid2nGNYB3tLxgvb1dMJEjuilgsXj1fKLBjHCVe63f6B054EvRbW/XfXk2d zYgyv4ZFZZ50bVTPD41JQMzoULKial0yJzJWgxQYrua35lf2zqTNaLD82lrTZak1U1qM djRpn2PG4KD4q4HB+DSTEFIZPNQZ0jao2JB78Pt4RoX2kytuk87PqzKtOYRtYqwLpZ2j 1K1g== X-Gm-Message-State: AOJu0YyHXGbYCeG/reVCkRdeRksj3BBqHpbXqxNsZ8eWUTcHEGV30lVE yFDPcoUD5qVkfgfhT1s5ByU= X-Received: by 2002:a17:906:212:b0:a1b:7af2:614d with SMTP id 18-20020a170906021200b00a1b7af2614dmr902929ejd.37.1701683242451; Mon, 04 Dec 2023 01:47:22 -0800 (PST) Received: from tom-HP-ZBook-Fury-15-G7-Mobile-Workstation.station (net-188-217-48-100.cust.vodafonedsl.it. [188.217.48.100]) by smtp.gmail.com with ESMTPSA id le12-20020a170907170c00b009dd90698893sm5051705ejc.38.2023.12.04.01.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 01:47:22 -0800 (PST) From: Tommaso Merciai Cc: laurent.pinchart@ideasonboard.com, martin.hecht@avnet.eu, michael.roeder@avnet.eu, linuxfancy@googlegroups.com, mhecht73@gmail.com, sakari.ailus@linux.intel.com, christophe.jaillet@wanadoo.fr, Tommaso Merciai , Mauro Carvalho Chehab , Liam Girdwood , Mark Brown , Hans de Goede , Hans Verkuil , Tomi Valkeinen , Alain Volmat , Paul Elder , Gerald Loacker , Andy Shevchenko , Bingbu Cao , Linus Walleij , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v15 0/3] media: i2c: Add support for alvium camera Date: Mon, 4 Dec 2023 10:47:13 +0100 Message-Id: <20231204094719.190334-1-tomm.merciai@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 04 Dec 2023 01:47:34 -0800 (PST) Hi all, This series add support for Allied Vision Alvium camera. The Alvium camera is shipped with sensor + isp in the same housing. The camera can be equipped with one out of various sensor and abstract the user from this. Camera is connected via MIPI CSI-2. Driver use latest V4L2_CCI_I2C API. https://www.alliedvision.com/en/products/embedded-vision-solutions/ Tested the following alvium models: - alvium 1500 C-500c - alvium 1800 C-2050c - alvium 1800 C-1240c - alvium 1800 C-040c - alvium 1800 C-052c - alvium 1800 C-240m Note: - Driver is rebased on top of [1], commit [2]. Thanks & Regards, Tommaso - [1] https://git.linuxtv.org/sailus/media_tree.git/log/ - [2] media: stm32-dcmipp: STM32 DCMIPP camera interface driver (79adb3adb331) Tommaso Merciai (3): dt-bindings: vendor-prefixes: Add prefix alliedvision media: dt-bindings: alvium: add document YAML binding media: i2c: Add support for alvium camera .../media/i2c/alliedvision,alvium-csi2.yaml | 81 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 9 + drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/alvium-csi2.c | 2530 +++++++++++++++++ drivers/media/i2c/alvium-csi2.h | 475 ++++ 7 files changed, 3108 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.yaml create mode 100644 drivers/media/i2c/alvium-csi2.c create mode 100644 drivers/media/i2c/alvium-csi2.h -- 2.34.1