Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1052631rdb; Fri, 20 Oct 2023 07:14:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEb4xysXN3BwRvOQyRl3yf3il3jYNrUVproyfOPf4vZGKqVBRpzoDD/lz+Zd5lpoesVYCNq X-Received: by 2002:a17:903:1cf:b0:1b9:e972:134d with SMTP id e15-20020a17090301cf00b001b9e972134dmr2119474plh.3.1697811293045; Fri, 20 Oct 2023 07:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697811293; cv=none; d=google.com; s=arc-20160816; b=FLfT8n1UB6rxx4WwuwOwWlMesGAXNRW3drlK7bVw3juozg0nS2sxXn9/E7ll2CQEtM IVqkkz1J5B8w64xC+PSH396kWFGVXrcLfDdsqAZ6dURQ4uFYqyhaa0ojd1YpATqDESuN /nQg7q3bdaGF0tQYhj8JONP37FGcMJNuoVEg6YbXEY5eWeboMsSc9u9//la1Gin2hlrp x6qwjDrLYLbYH2Vja+Iv74NtWcbM8uztV4/KkttF7OC1Rs4cEwt45S8oN/q/+O7gv8Ev zMXcMd8DuxoD9pTNbgd9b4BCFUygH6eA19kPkD66YneZaAs6/dSqX3HSxnuLpyveVhTB n7lw== 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=JD6mwhJo/tCFNUNjBKLMUK7FnEMFViJbfce3FCLQYtQ=; fh=vzxbNyLMe9vLAgM4fiJZzr5YK74KVn/TUbRE2v+wmWU=; b=X37o+nB+cYOkN9cYAaao/w5mCisG0Y3HVOtHAHjX2Xz+QBmVVQ5tkJQkfwvuhvjJWa XWDUKaCoXftpQGicZFW5IKiaNakmOa6KgA35qDdW7qd3KGH8jkDDOCNXH50E/3gXFspO jCIdJ82BKb4UfXMkDunh/Rb4ql2rczlrYAxNP6xsuN3MD09yz/qveY29kxrDkvWAX8b4 KDoJKMctjv/J5/B0qDNXmmJEScYV/kZ9O5Nre+7yA1KI1PyYZTi96dUy7pgsyZSXpb4t HHmeSNr0GGxAov4B9hmFnVevqkrmnMttkkTKVJ5i5XzDD1gUK5q8jpCwaJOnWaGcHLjj dDRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20230601 header.b=InkirstU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u11-20020a17090282cb00b001c4621ac000si1786516plz.246.2023.10.20.07.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 07:14:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20230601 header.b=InkirstU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 757FF842C6B0; Fri, 20 Oct 2023 07:14:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377531AbjJTOOd (ORCPT + 99 others); Fri, 20 Oct 2023 10:14:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377482AbjJTOOb (ORCPT ); Fri, 20 Oct 2023 10:14:31 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5A6819E; Fri, 20 Oct 2023 07:14:29 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9b95622c620so135988266b.0; Fri, 20 Oct 2023 07:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697811268; x=1698416068; 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=JD6mwhJo/tCFNUNjBKLMUK7FnEMFViJbfce3FCLQYtQ=; b=InkirstUr6E8D1dE9yUQ4MJafSx2exke+1vbcYqZN/UMEnvgWFe/1Mj0XAjtAqiRiz iDPXouySnaGHIPSb3ZFVcI1qpNCgDIajfI6K05xDUFf50s7a75dQLDkt85xs8sIc6+d5 7T4M/Vw1Tbz3/oy6dunLkyL6DmONL08p4GdzFvtdiMX9mT8i1Z5/QkDP6V5zHVpYB61M rwdl9HKtB4T3mTHCRNyGhYTBocRM+d/MGE6KEOVbPuWoIHgiKl5d7JyQ4X2CodylBqHY jUOGGxTuec31oOjwd0yQW0XNwZYfCV8hsMMqzeoA82svu5bI/FVECN8DN7kLYbJ1IP4f qRrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697811268; x=1698416068; 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=JD6mwhJo/tCFNUNjBKLMUK7FnEMFViJbfce3FCLQYtQ=; b=vyyXcjy+h1A/CXC5w09XsGGJXaDVlRhlxWEZJkDZdcLpzG2vS0X5kAaaoNwHfb5LqH 26Db+6s9ZvO9GfcyhYN3vFgkccvhPxf4mZNp7xAB+gDDd7lz1DWBEuIQTEF0+7jvnbPo PN8nJoSIAZH+KX5sm8Um/KuTDAOeEG4OhND8dzNJTiJywfDYOKKimdanYgbJ7FPWKd87 /TOwrsZFDaB1HcB7uq9p5e2sitsotsG6xvjcIfkwBM8XpgzjBQe61c5KJdqgAisIL2c1 oXVVkzq1QMB7zquZp2l9S3kpJjFkMxM1GiJcOEjS1LvhjbYkdpuA5LH6CE4UhTwmcVfP FCtQ== X-Gm-Message-State: AOJu0YxolzKQiwg7zZCYiQWr/CfwtdDYv04lfCJEOovUFQl4uM5ld4vr iq5IN2syTU/5k/9jtIl0F+o= X-Received: by 2002:a17:907:3183:b0:9bd:7f40:caa5 with SMTP id xe3-20020a170907318300b009bd7f40caa5mr1208771ejb.77.1697811268005; Fri, 20 Oct 2023 07:14:28 -0700 (PDT) Received: from tom-HP-ZBook-Fury-15-G7-Mobile-Workstation.station (net-188-217-59-109.cust.vodafonedsl.it. [188.217.59.109]) by smtp.gmail.com with ESMTPSA id i6-20020a17090671c600b009ada9f7217asm1562914ejk.88.2023.10.20.07.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 07:14:26 -0700 (PDT) From: Tommaso Merciai Cc: sakari.ailus@linux.intel.com, martin.hecht@avnet.eu, michael.roeder@avnet.eu, mhecht73@gmail.com, linuxfancy@googlegroups.com, Tommaso Merciai , Mauro Carvalho Chehab , Liam Girdwood , Mark Brown , Laurent Pinchart , Hans de Goede , Hans Verkuil , Tomi Valkeinen , Marco Felsch , Gerald Loacker , Andy Shevchenko , Daniel Scally , Shawn Tu , Linus Walleij , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v10 0/3] media: i2c: Add support for alvium camera Date: Fri, 20 Oct 2023 16:13:48 +0200 Message-Id: <20231020141354.2500602-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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 07:14:50 -0700 (PDT) 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: Documentation: LP-11 and LP-111 are states, not modes (c9a1b0b583db) 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 | 2666 +++++++++++++++++ drivers/media/i2c/alvium-csi2.h | 489 +++ 7 files changed, 3258 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