From patchwork Tue Apr 2 08:29:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13613553 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08A46CD1284 for ; Tue, 2 Apr 2024 08:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M4VyhpptIdyQNFhsu2z7llG9TFgMJCRicI5W1gBqvQM=; b=L+PWeWCT9dFgnQ 5O4yFc/IKoxn81vHkk6vc16iCharFIEBsGAnNKDVzg6syw0P4kzP0kix/wXDd2M5UX4+9r9hrQLmy /KbihTZ1sVj4UQ/GE/3S4hRA9IwSTKNbT+H6DgZJsn0RZ1/uQGknVVdamRQmc3GTDkG1PyQx3X0z3 YQvU8RqNf/lsNd/Y+K+65kpbrHb4F1gbI+ZtXXoKMFG5cKzturGxoY3n8+EhPdSB87kGGCUr5H1HQ B8CxkOnQc0cx6UHN8IWBiO4QmssiAiHpIAL79Zcgqjb2dvmpmhiNmEo1a2XXrpAS1vHj7b/oS84Gt jEPghmPBysRMs4ApZqwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrZWZ-0000000AEMm-2biH; Tue, 02 Apr 2024 08:29:43 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrZWV-0000000AEL0-32E1 for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2024 08:29:41 +0000 Received: from [192.168.1.118] (unknown [103.86.18.232]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C0F6B8B9; Tue, 2 Apr 2024 10:28:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1712046541; bh=JZ4HuL8RzgfCdNusE5xAG9ZebMy1iEu5iHgT0lgKWWs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=qx+zAYCasv7mEX806eL0e937i7NnGozDYouJJDBbsJ0enwzUJuXktUSclBxRP4yh6 5JgSlDD05YDZhYISWdeOWTlBPk7A9XwMRl9ROHEmeHa/chIwXUQDINk5fXY9F8eWEa ieUG2mEK5mIIq8nbAHi87uAJYb6ZQFYG5k59W9lg= From: Umang Jain Date: Tue, 02 Apr 2024 13:59:25 +0530 Subject: [PATCH 1/3] media: dt-bindings: media: Add bindings for IMX283 MIME-Version: 1.0 Message-Id: <20240402-kernel-name-extraversion-v1-1-57bb38de841b@ideasonboard.com> References: <20240402-kernel-name-extraversion-v1-0-57bb38de841b@ideasonboard.com> In-Reply-To: <20240402-kernel-name-extraversion-v1-0-57bb38de841b@ideasonboard.com> To: Kieran Bingham , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sakari Ailus Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Umang Jain , Rob Herring , Laurent Pinchart X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1712046569; l=4151; i=umang.jain@ideasonboard.com; s=20240402; h=from:subject:message-id; bh=JZ4HuL8RzgfCdNusE5xAG9ZebMy1iEu5iHgT0lgKWWs=; b=IvCU2jeT7fJ81oZ9RdbCmarcGok08699J3S9shMhFVr7WnQrHg8w2UGWKthkUc9XqghnfsM/e 9aCv79WsDT/DaDfpAXP6dL9q7d5f0kurak8eVzXYCj0kDqJ52u7V1eQ X-Developer-Key: i=umang.jain@ideasonboard.com; a=ed25519; pk=8K9qSAtc2dNF4Ax+jYC0w9dlfptU7wxPBQwOy0nxRoc= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240402_012939_963453_42A8EBE8 X-CRM114-Status: GOOD ( 13.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org - Add dt-bindings documentation for Sony IMX283 sensor driver - Add MAINTAINERS entry for Sony IMX283 binding documentation Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart Signed-off-by: Umang Jain --- .../devicetree/bindings/media/i2c/sony,imx283.yaml | 107 +++++++++++++++++++++ MAINTAINERS | 8 ++ 2 files changed, 115 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml new file mode 100644 index 000000000000..e4f49f1435a5 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml @@ -0,0 +1,107 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2024 Ideas on Board Oy +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/sony,imx283.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony IMX283 Sensor + +maintainers: + - Kieran Bingham + - Umang Jain + +description: + IMX283 sensor is a Sony CMOS active pixel digital image sensor with an active + array size of 5472H x 3648V. It is programmable through I2C interface. The + I2C client address is fixed to 0x1a as per sensor data sheet. Image data is + sent through MIPI CSI-2. + +properties: + compatible: + const: sony,imx283 + + reg: + maxItems: 1 + + clocks: + description: Clock frequency from 6 to 24 MHz. + maxItems: 1 + + vadd-supply: + description: Analog power supply (2.9V) + + vdd1-supply: + description: Interface power supply (1.8V) + + vdd2-supply: + description: Digital power supply (1.2V) + + reset-gpios: + description: Sensor reset (XCLR) GPIO + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + anyOf: + - items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + + link-frequencies: true + + required: + - data-lanes + - link-frequencies + + required: + - endpoint + +required: + - compatible + - reg + - clocks + - port + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera@1a { + compatible = "sony,imx283"; + reg = <0x1a>; + clocks = <&imx283_clk>; + + assigned-clocks = <&imx283_clk>; + assigned-clock-parents = <&imx283_clk_parent>; + assigned-clock-rates = <12000000>; + + vadd-supply = <&camera_vadd_2v9>; + vdd1-supply = <&camera_vdd1_1v8>; + vdd2-supply = <&camera_vdd2_1v2>; + + port { + imx283: endpoint { + remote-endpoint = <&cam>; + data-lanes = <1 2 3 4>; + link-frequencies = /bits/ 64 <360000000>; + }; + }; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 1a89e0d2ac61..a2e164131650 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20367,6 +20367,14 @@ T: git git://linuxtv.org/media_tree.git F: Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml F: drivers/media/i2c/imx274.c +SONY IMX283 SENSOR DRIVER +M: Kieran Bingham +M: Umang Jain +L: linux-media@vger.kernel.org +S: Maintained +T: git git://linuxtv.org/media_tree.git +F: Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml + SONY IMX290 SENSOR DRIVER M: Manivannan Sadhasivam L: linux-media@vger.kernel.org