Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp390014rwd; Thu, 8 Jun 2023 02:05:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IozaAE38jUq+aeLdHAlslxO9lXvFPdV5blioH/DB6EAUP92BOa0abxVbi/cROjUnGxw3v X-Received: by 2002:a17:902:d34b:b0:1ac:6d4c:c26a with SMTP id l11-20020a170902d34b00b001ac6d4cc26amr4523970plk.14.1686215127362; Thu, 08 Jun 2023 02:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686215127; cv=none; d=google.com; s=arc-20160816; b=xsrTXVZVYwihZf5FiLax8BTwEMIYN0D64tyGTktggPUaEnR8ORcFdXk9YH6Qt6ebRu 4EWWS3u7lqHahS72FEq5N1mDKe+o5tDeubGutcbhOKVhuFAAdjMxm1kEdkojEBYX2/PM nmybS5y/lYCXCD4NIfzYSZI8tqt5GXi9r/iOy7rBiewTqxTJQYOHryO5aNLfSmJDxQ9m OwAFw2titALmckyrtyYforbiKJY1XfqaGU9Cn1b7FTLdjiUStcRcnkm20E6/WXeQj1TW xlW/AZaj+Ctb5ZGjBjoV00Xvu6Upszqz2f4ap5yIVU4uqrS+Nfe8v99wfqDdl/mZZBcL kxyg== 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=jY0TqkytLM8ZaBdorQZOnJVO5Ap/VET/cHHd7xNrEGk=; b=agLMSdRHp36I2IaGwxEsxoegnVm6OTa6sgBmajxFiw3zKbRnyy2FfpMelxbSRsb1LK 0XkgAnmIF1eS/D4UWqvodTlucvweWGYbvdVcPAiZTMZNcqxcQ1ukRtNjV+d6Y5DAtWQi gXYLYte3YCUeWfvD56sE913foO1+dYnLmZkwXqVdEVF6jyock0yJJvZ74TEMnRCWvSPc SJgk9eLfjWHjAzGVAMZsKDIuvm7lC44rYhd9858dDFiXVIc2dtmJ/kH8K12AnbtEZmCn kR8O8FFT1xUNtjgQ49uvI8hGRW72hFQFju0mZ63ZHH8EiK12l0vHpB2Kwk0e+zfcxhd4 AACw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20221208 header.b=ZGw7j+nu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v2-20020a170903238200b001a97fd670e6si763442plh.208.2023.06.08.02.05.13; Thu, 08 Jun 2023 02:05:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20221208 header.b=ZGw7j+nu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235219AbjFHIbg (ORCPT + 99 others); Thu, 8 Jun 2023 04:31:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234421AbjFHIbd (ORCPT ); Thu, 8 Jun 2023 04:31:33 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F9DD26B2; Thu, 8 Jun 2023 01:31:32 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-97458c97333so63473866b.2; Thu, 08 Jun 2023 01:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686213091; x=1688805091; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jY0TqkytLM8ZaBdorQZOnJVO5Ap/VET/cHHd7xNrEGk=; b=ZGw7j+num/A3LhVGeRyKJVy+3ekygcrm/Ee08IxR+GGwphOJ6+3j6soddHHhRKpDiy TAjumcI6sFUN2xLvC0Fif+dj7NDNEPygaGxUSTHmtAwS+g4PnPKa+2Mg8dKyxyMcDSxg n2EGfaKk1rdkTW+WAdNrDAdDIapk820pPRQ+Wwb+Vdp0SSJOsqdGXBIdKczBt2/8rZDE fzedLMGjBHhzwfkiryiOQUvY0QkR7/KaKaaCDLj0jzoz9MEs/6MnQeN36MRphnderJ2p NwPPBN7y7xuDy6IOkbibn2/n+auf2m+/O7FSRYrf3H6nW3ZKcUO1lR/v/eZaFfvMBKTt kRhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686213091; x=1688805091; 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=jY0TqkytLM8ZaBdorQZOnJVO5Ap/VET/cHHd7xNrEGk=; b=dIL4748knDmatr7oKMaV9Tl0ll7AYxMEakB5Vz4+R/VuB8zry0ynL5PTwVMel8lerO 3l3yWHypOyjZklgB0Ltn6+mbsYqMZM0kiiuYjeOqopGrdxIYXuzhoYfm8nczK6AZ8HNt HAG/EGEqWPhszJBpchHCgKVnalUe0/e52c1qcQsFYmvDO5js43H8/j6K89txkCwGEWFc fCcx0N5Rz0Vp7PtbkpLLukNpmiPKXftTfHrztsBo83yQB4mDw/daSnGg1DZMJw4n4Ft/ P3O4J+2N+bZJ8XhusJgD6djt3peVn43mhk5pEzjjeB3+X/k8zFlavnmVJccOSeP+U34g S2WQ== X-Gm-Message-State: AC+VfDw3qpqk+aOQN3fl0pEzo0blZvCuQSzYdjhP5Gvwcus/Okd7OWIV iV7xygXyWa7UmbR2vSzsWgs= X-Received: by 2002:a17:907:7282:b0:974:31:ed74 with SMTP id dt2-20020a170907728200b009740031ed74mr7781715ejc.65.1686213090624; Thu, 08 Jun 2023 01:31:30 -0700 (PDT) Received: from tom-HP-ZBook-Fury-15-G7-Mobile-Workstation.station (net-188-217-50-121.cust.vodafonedsl.it. [188.217.50.121]) by smtp.gmail.com with ESMTPSA id y8-20020a170906558800b00974c32c9a75sm373690ejp.216.2023.06.08.01.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 01:31:30 -0700 (PDT) From: Tommaso Merciai Cc: jacopo.mondi@ideasonboard.com, laurent.pinchart@ideasonboard.com, martin.hecht@avnet.eu, michael.roeder@avnet.eu, linuxfancy@googlegroups.com, Tommaso Merciai , Mauro Carvalho Chehab , Liam Girdwood , Mark Brown , Sakari Ailus , Hans Verkuil , Marco Felsch , Gerald Loacker , Shawn Tu , =?UTF-8?q?Krzysztof=20Ha=C5=82asa?= , Linus Walleij , Nicholas Roth , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v5 0/3] media: i2c: Add support for alvium camera Date: Thu, 8 Jun 2023 10:31:13 +0200 Message-Id: <20230608083127.545750-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_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hello 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. Working on top of Ideas on Board (branch: ideasonboard/v6.2/isi) I'm able to test the driver on imx8mp-evk. I collect also some patches to enable HDMI on imx8mp-evk from Pengutronix (branch: pengutronix-imx8mp-hdmi) I collect the patchset required to enable ISI + HDMI on imx8mp-evk into the following branch from Avnet Silica Software & Services EMEA [1]. Some documentation on testing ISP and ISI of imx8mp-evk here [2]. Thanks all for the great work! 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 + drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/alvium-csi2.c | 3479 +++++++++++++++++ drivers/media/i2c/alvium-csi2.h | 485 +++ 6 files changed, 4074 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