From patchwork Thu Jul 14 08:34:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Kharuk X-Patchwork-Id: 12917478 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 662F8CCA47B for ; Thu, 14 Jul 2022 08:34:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234074AbiGNIe6 (ORCPT ); Thu, 14 Jul 2022 04:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235642AbiGNIey (ORCPT ); Thu, 14 Jul 2022 04:34:54 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD41A3A4BD for ; Thu, 14 Jul 2022 01:34:53 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l68so569498wml.3 for ; Thu, 14 Jul 2022 01:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VIgI+F26G1gJKt1Gr76+HSSJDGWR7umecGKNXFaZ7og=; b=dFGwqUXPPN0ceufP9CKUR5FAN5qG8PU+svDqXJLkYjCJNf4TdzUm5HAEvU4jbgcrft ojBrpfPPHnWnRy4gughIQp0xzTFDP+rubv2GJwrVRUdJ62Pa3Qza0TaQDd0d0sSN/gmG 7JYrRu+iSz5R87ueAsCV5dC5QjPNkmSr7PeI6TgdSOlLLuADPoC6C9AO7JbxTNnnQtcR VNh/ctpez17iub/3EYEyhq3NxDdrWPAX2wVTNwsUeTKfJRWPCMnzCCZzolEhx9eVp4ik bJS56NoXZ+YQ+EyxP3cqFzTA2utr+C0rhEkotwgILA1QjHhyOJKMZX5jIMSx4DtYyQrI yMCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VIgI+F26G1gJKt1Gr76+HSSJDGWR7umecGKNXFaZ7og=; b=Kl+DpL3ae+JXR4XH1QZubr94Ppl5ukaf/2rCH1AjVwgZCVK/pxSq6kE847o4FBgCV6 ZIVvp2M5lXj+rcDz9EHIlYkynVDsp/hCuWe9zphbUC76O3ucTeeF0QNrDSldhRCdCFtS myE2g0WGsHCwoNn5gU7m+WfVYKAMXxwDhmot7NS+NkCi8gPqOc9+HGq/0X7jdE5c5Ma/ QdMuyA6ttLt3o8lgr0wNABXT3twdcnYN57YkX23ixpI6/7ibMxRyPCGMUBspHK8tmUeQ lOgp84wynDWu26kt+UnetPENJUTkmO+DwK+r8M2BbNAKxQHpZIO2knfqpJVzO48iCh4i AQgw== X-Gm-Message-State: AJIora8Q1at7g33+9nhKfj3+7h7I52YYOMoSe1MxXcoqb+ZTxxPQ4Tzs l+SwtHzaZoYf23MJdL2MZTgWl9G4e5St38RoyviNO5IRqGMJD2WS5jLZa3PABzKmGSOls5NYAk0 NoR4YfUO57duK6MorIqDR+W3irYAfYZYBvX8MEvVmjE/x3/TOEpL+r6RH/dcCJx4vPm0p7bBB X-Google-Smtp-Source: AGRyM1vISoW45NJgK2VFRIJirLCEZhWCjmDWlmAWXbY32fT6wi3/cRFShxa9KJ6CR/+nelkcioF4VA== X-Received: by 2002:a05:600c:4e90:b0:3a0:57d6:4458 with SMTP id f16-20020a05600c4e9000b003a057d64458mr7962627wmq.198.1657787692262; Thu, 14 Jul 2022 01:34:52 -0700 (PDT) Received: from melexis ([194.44.50.167]) by smtp.gmail.com with ESMTPSA id n18-20020a05600c4f9200b003a2ec73887fsm7882763wmq.1.2022.07.14.01.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 01:34:51 -0700 (PDT) From: Volodymyr Kharuk To: linux-media@vger.kernel.org Cc: Volodymyr Kharuk , Andrii Kyselov , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Hyun Kwon , Laurent Pinchart , Michal Simek , Kieran Bingham , devicetree@vger.kernel.org Subject: [PATCH v2 0/6] media: i2c: mlx7502x ToF camera support Date: Thu, 14 Jul 2022 11:34:42 +0300 Message-Id: X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, This series adds support for the Melexis 75026 and 75027 Time of Flight camera sensors, with DT bindings in patch 5/6 and a driver in patch 6/6. Also it adds 1X12 greyscale format to xilinx MIPI receiver in patch 1/6 and to xilinx video in patch 2/6. v2: - added external clock to the sensor - added all regulators required by the sensor - added posibility to choose sensor type in device tree - added prefixes to all custom types in device tree and driver as well - style fixes Volodymyr Kharuk (6): media: xilinx: csi2rxss: Add 1X12 greyscale format media: xilinx: video: Add 1X12 greyscale format media: v4l: ctrls: Add user control base for mlx7502x media: uapi: Add mlx7502x header file media: dt-bindings: media: i2c: Add mlx7502x camera sensor binding media: i2c: Add driver for mlx7502x ToF sensor .../bindings/media/i2c/melexis,mlx7502x.yaml | 146 ++ MAINTAINERS | 9 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/mlx7502x.c | 2020 +++++++++++++++++ .../media/platform/xilinx/xilinx-csi2rxss.c | 1 + drivers/media/platform/xilinx/xilinx-vip.c | 2 + include/uapi/linux/mlx7502x.h | 31 + include/uapi/linux/v4l2-controls.h | 6 + 9 files changed, 2229 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/melexis,mlx7502x.yaml create mode 100644 drivers/media/i2c/mlx7502x.c create mode 100644 include/uapi/linux/mlx7502x.h base-commit: d8e8aa866ed8636fd6c1017c3d9453eab2922496