From patchwork Tue Jun 20 12:22:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 13285777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 654CBEB64D8 for ; Tue, 20 Jun 2023 12:22:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231966AbjFTMWe (ORCPT ); Tue, 20 Jun 2023 08:22:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231962AbjFTMWc (ORCPT ); Tue, 20 Jun 2023 08:22:32 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 733D510F8; Tue, 20 Jun 2023 05:22:30 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-986d871a9beso601104766b.1; Tue, 20 Jun 2023 05:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687263749; x=1689855749; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Fcq5N60nfQxL2AkC4k0hnO6HDG5qwiL6ahvDhw8nL84=; b=f4iwAfeupafLiAk53S671K/Us/NF85GSm9sArN7JrWgnD09WojbNv9zgSjQ3xGRQTk yyKLLM5mJm9ZVmBwCcCch3+le4uZBZEmQQ8vUsYrFTQLCVgwMlegXefkCTJIGCjRe8H3 wGnjzOjV1P0MB13j6KAZFTWkJLYj0gCZQTpLoJccu9zDXzshgqwuu33TIc+Z1tmGnlsZ /Vj08U059PG+HQgE9QbzQaJnljPIrkqdgaz8adwXLqsDqG6539GZnNeIirnxsRojFU6P Z8GnMQectYtnoZZHwbcwDhiUamQPtE0laAqmfFXnpVUyYiKimRwbyQi3QXfrNciU6ITC 9s+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687263749; x=1689855749; 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=Fcq5N60nfQxL2AkC4k0hnO6HDG5qwiL6ahvDhw8nL84=; b=AfZ9zXzfKcErOuxN3LWKMptgOQUrJVZr8FLXTPF7+Gj+6bdY1KfTYhjeMrEUmzMjBK dQJRdAkgsKY6UUNULv0EMExDdRMLbn3Slul76tuS+K6vClzNq5Aa20VcbAj34DRtTW7a FeL/jwC0xApUtmMAB1WMC1dLpTGUMznuEiZbFhIg9SpTg/9P0MndS0SLd5sfVJkjx1gd pCQekVCG9b6rWwvzNnDTymhSgDhP0hWS4fs0gJICQ+oTORzBRYvmpn650SaWSviEzexK O/r/IehEnGIeroRkBSGN+fNG9L0L8Z7XWkcnDTdlXnCkoQczwj5MHtziYCD+0tOP2VX7 64iw== X-Gm-Message-State: AC+VfDzeDb53fTBYEZk8+P2H/ot13b5aPLMeZTA0Q62ZsynVuoZDmq/U AO79d+8lwNbE8n0IJqUiS/0= X-Google-Smtp-Source: ACHHUZ7knw1bOSFq09Yrnd43GlWmbxcwd1QNNfpraauZ1FAM4WxwAZIkpoDomsGKK0r87gg1Qgi5Bg== X-Received: by 2002:a17:907:e8b:b0:988:9b29:5647 with SMTP id ho11-20020a1709070e8b00b009889b295647mr4844928ejc.77.1687263748615; Tue, 20 Jun 2023 05:22:28 -0700 (PDT) Received: from tom-HP-ZBook-Fury-15-G7-Mobile-Workstation.station (net-2-39-142-242.cust.vodafonedsl.it. [2.39.142.242]) by smtp.gmail.com with ESMTPSA id me16-20020a170906aed000b0098669cc16b2sm1305200ejb.83.2023.06.20.05.22.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 05:22:28 -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, hdegoede@redhat.com, Tommaso Merciai , Mauro Carvalho Chehab , Liam Girdwood , Mark Brown , Sakari Ailus , Hans Verkuil , Marco Felsch , Gerald Loacker , Mikhail Rudenko , Shawn Tu , Linus Walleij , Nicholas Roth , Benjamin Mugnier , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v7 0/3] media: i2c: Add support for alvium camera Date: Tue, 20 Jun 2023 14:22:17 +0200 Message-Id: <20230620122225.58862-1-tomm.merciai@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-media@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! [1] - https://github.com/avs-sas/linux/tree/tm/ideasonboard/v6.4.0-rc2/isi/imx8mp_evk/alvium_drv_skel1e_v1 [2] - https://gist.github.com/Scott31393/077a10024a6058536d3f2fdde476265a 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 | 11 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/alvium-csi2.c | 2767 +++++++++++++++++ drivers/media/i2c/alvium-csi2.h | 474 +++ 7 files changed, 3361 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