Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3306267rdh; Thu, 28 Sep 2023 08:07:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRWQ4d1+c8fZq+POdeWK1IcLCQeUkbkvDYLzs5KLB1cy5fDG6NjilrBWXw8TSI3PfGCJJw X-Received: by 2002:a05:6a20:7292:b0:13f:b028:7892 with SMTP id o18-20020a056a20729200b0013fb0287892mr1450493pzk.2.1695913667606; Thu, 28 Sep 2023 08:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695913667; cv=none; d=google.com; s=arc-20160816; b=W0gSddT1+VBL0jwstiZz2k6+Qa5otA+K57t4KpPbnghomDiVknQavD7+BZ/X9FLHbo R8GQ/E5km1vF6EuJpRbfjJEkhT0vNwU042HSnQn8WkNquUl1bkBnp+ns35SLdiaZ98Qv YB8TXc5CtDRLjdFRj4D6BhI4/Uv5D9ZrmuSKj5349l/Jj42Y9NzNB+Fcw0uwBHxJut69 fmxbPxYNBaxqwJJz+gbQtbJg7iiSV5zWjaTbIRKL1uGKWpz2a2wJjn04q9lFyYoN34dZ 4HEV1TENjgFWd1WeBUFZsG8hd/OkeXiL3ueMD7en07CB80iclqgvM4f+N7sT8zM6abSj Ef+Q== 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=x6Ow1bv29rjgv5srlJSkWPtfCUBuq9oaZwHZ3Ajhxlw=; fh=65cXZBCuSjoUsmlhXFlVNLrdCv20xKxHNkmgPy4YknA=; b=uOuarxEfl/5rrmtKRjypRCjhQgUj6KyDjSZh1l9LgwaOud4QfxLkLFuvV7DdlfExnx wA28Yndh7gfx8rNlmOifmr4ArUd202VYG7wxgZ+hMtQjyo09X7MfPVdgyRrDCYKOc3Zv nc9IZIiF/BpAyGmLQkfIVS7ZHaN/HZtLhZdKGB4MqQGZnh9oBka2pkBI0NyGhSsjT0Sh /Sf2Q4dQiiYwXo5gNG670t4iS/wSHhRM2O05WL26/MD+nP72m1OsoNpP87VeoP0STcFi sgaXw6Nm85FbWHy1V9r9BzTFh+wqjTxKmaIRjh8d+MGNQFEUVbRP+PY+YLhnNH0l6edo du4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20230601 header.b=l37LomDV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id v135-20020a63618d000000b00578b5364e80si14896604pgb.557.2023.09.28.08.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:07:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20230601 header.b=l37LomDV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 4799D80755E5; Thu, 28 Sep 2023 07:56:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231294AbjI1O4s (ORCPT + 99 others); Thu, 28 Sep 2023 10:56:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbjI1O4r (ORCPT ); Thu, 28 Sep 2023 10:56:47 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E10DFF9; Thu, 28 Sep 2023 07:56:44 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-53406799540so10753664a12.1; Thu, 28 Sep 2023 07:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695913003; x=1696517803; 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=x6Ow1bv29rjgv5srlJSkWPtfCUBuq9oaZwHZ3Ajhxlw=; b=l37LomDVwaqt5gVAnvumZU4fA77WXTsz6DJ8Xvje/wuktx9wRA/lDgn8tEPBggnH0V Ra5rmfPYDSnfzFYGnaKHjpWAyEI9jv2uA1T6+60NHPgTPwwrghW7h4TlPtF1L61KgQqd sjvYpPpr/4esntFbs7s7zHS06PI/+ioY/n0G+srPZ6TWp92u1NqNO5SR/jNAb/uvrfBv yGTmqWSmz5xK/Iw7VcaNH4K/oIFeB5fldXaAMsYLZ+lCDXjqi67yjwuAfhVeKtC8TdVs AQsscp1TbLfPl5ML/KdKjsk7eCNu6r3mCjoWPQA39ISofBrXZ1bIFn6AWynGPctTiqqf Oblg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695913003; x=1696517803; 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=x6Ow1bv29rjgv5srlJSkWPtfCUBuq9oaZwHZ3Ajhxlw=; b=TbPKXGbtq+kNo2PK80yFaVoGWkKUcgXu+iE5186X3T89eD+ONSrCOD4frL3DNwWCdT wzo61i9mbv+WMo81mqrwkeRoBx2tWxjtOAuRkNaHLm0TxDrsPncbF0xNvREil7hwNpJk msxu1Dmk8myn/nm/4YSiaJ4bjqvPGjwfh7YN1gSZqx5sdNCG1UdCr7Oe/336BPawopIi KcAEksOLfPHzOeUoFjgH07yvc8cFuH+bxwJm9nxgnAI2FWS5G1LhXDACUcn7aVl27zy7 l27iG3SdSbGgJNCux+u8JYow3T9wJDVcmipZpvouaXJm9kQG1op92TpiDUvq18378/db 36aA== X-Gm-Message-State: AOJu0YzBtsnN9gRRCodn9R2KGcFUOPoofSRqeAvy7Y3B0Z0VBkb/NYm/ bsFSFcDlbnKNIU+x3cOYbIM= X-Received: by 2002:aa7:d793:0:b0:523:3754:a4e1 with SMTP id s19-20020aa7d793000000b005233754a4e1mr1470169edq.22.1695913003031; Thu, 28 Sep 2023 07:56:43 -0700 (PDT) Received: from tom-HP-ZBook-Fury-15-G7-Mobile-Workstation.station (net-188-217-54-79.cust.vodafonedsl.it. [188.217.54.79]) by smtp.gmail.com with ESMTPSA id f3-20020a056402068300b005256771db39sm9784459edy.58.2023.09.28.07.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 07:56:42 -0700 (PDT) From: Tommaso Merciai Cc: sakari.ailus@linux.intel.com, laurent.pinchart@ideasonboard.com, linuxfancy@googlegroups.com, Tommaso Merciai , Mauro Carvalho Chehab , Martin Hecht , Liam Girdwood , Mark Brown , Hans de Goede , Andy Shevchenko , Tomi Valkeinen , Marco Felsch , Gerald Loacker , Hans Verkuil , Benjamin Mugnier , Shawn Tu , Linus Walleij , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v9 0/3] media: i2c: Add support for alvium camera Date: Thu, 28 Sep 2023 16:56:31 +0200 Message-Id: <20230928145638.2268331-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 07:56:55 -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 last v4l2 V4L2_CCI_I2C. https://www.alliedvision.com/en/products/embedded-vision-solutions/ Tested the following alvium models: - alvium 1500c-c500 - alvium 1800c-2050c - alvium 1800c-1240c - alvium 1800c-0040c 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: dt-bindings: hynix,hi846: Document orientation and rotation (5801d7688e4f) 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 | 97 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 9 + drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/alvium-csi2.c | 2761 +++++++++++++++++ drivers/media/i2c/alvium-csi2.h | 474 +++ 7 files changed, 3354 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