From patchwork Thu Feb 15 20:44:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13559135 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 4B7F8C48BC4 for ; Thu, 15 Feb 2024 20:45:11 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yL3OoWJOO5Zy5lwHKajnUZrEjJwKNqa0XbGBsqe/2rw=; b=LTNRSzJgO135Dm smEoeyI/Sj7JS2gtst9GCtdjUMVOX96JNVKSrQQL/3avFsA1oEvfcou2Sa+athyrRldIV1431mKOM YEwGO7FTn3eMHGGSvMV70O2Q/aEsqCBB/sKb9cit6sZbtqFSll+aShUtSvi0wW8Yf6mucHas9LOrL DXYBgnh9kmcc4NWuT7vZampNWeu8BM34ejcAjLI1ksD3yan4NNcJaZLQDqABSsfnJlpeTowfwqaax orBU/QThRAJ53yjb2zrVwV5/DR2LGvVdIJJjmde2A52oI+5yQH+5l+7Nmv6JrpMhpzU0f+VX2v4Nb YV/dDwFD6FDAebm9Ir3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raibN-0000000068k-1xsF; Thu, 15 Feb 2024 20:45:01 +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 1raibE-0000000065i-2S7A for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2024 20:44:54 +0000 Received: from umang.jain (unknown [103.86.18.214]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 33C6913AC; Thu, 15 Feb 2024 21:44:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1708029885; bh=xcbKewUfe6jBXYsCHtQ+JTCdRsu7qW0RHTxfeBfWcrI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lt8eNVwq7tKNh2veoQvkLmLyzPf8Jws12RVODOjMGI7nRzMIdtD6CrJZuJcisJJKu tqb0H9cTPTfQeLBoaFjYSpR1/TURUrw57p/wxH5b67LgbNHIbvFvJFUbghsTXhjZnS VZXQUgVLVEet6Z1Mh5gSMva72ERGXGCd4GvpdXhE= From: Umang Jain To: linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Fabio Estevam , Kieran Bingham , Laurent Pinchart , willl will , Sakari Ailus , Umang Jain Subject: [PATCH 1/2] media: dt-bindings: media: Add bindings for IMX283 Date: Fri, 16 Feb 2024 02:14:34 +0530 Message-ID: <20240215204436.9194-2-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240215204436.9194-1-umang.jain@ideasonboard.com> References: <20240215204436.9194-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240215_124452_788898_84E0082C X-CRM114-Status: GOOD ( 16.07 ) 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 Signed-off-by: Umang Jain --- .../bindings/media/i2c/sony,imx283.yaml | 100 ++++++++++++++++++ MAINTAINERS | 8 ++ 2 files changed, 108 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml 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..3cf46429b282 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml @@ -0,0 +1,100 @@ +# 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: + description: I2C address + maxItems: 1 + + assigned-clocks: true + assigned-clock-parents: true + assigned-clock-rates: true + + clocks: + description: Clock frequency from 6 to 24 MHz. + maxItems: 1 + + vana-supply: + description: Analog power supply (2.9V) + + vdig-supply: + description: Interface power supply (1.8V) + + vddl-supply: + description: Digital power supply (1.2V) + + port: + additionalProperties: false + $ref: /schemas/graph.yaml#/$defs/port-base + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: true + 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 8999497011a2..53df4b6e3260 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20366,6 +20366,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