From patchwork Wed Oct 30 09:49:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 178088 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1027165ill; Wed, 30 Oct 2019 02:50:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtvWgV/F3d4u8lKwbI73Q4sIFSsrtgEAH7ZXtm8bPaNxfqWg9xl5cin/MWsADTtwLLGc8o X-Received: by 2002:a17:906:4813:: with SMTP id w19mr8017304ejq.258.1572429025106; Wed, 30 Oct 2019 02:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572429025; cv=none; d=google.com; s=arc-20160816; b=tep86CUEsEEpYbSPfsZQlM8eQU7/QWvkqOgeb7T0LYtOgK+aP/95SX9E7VqD9Q8uSs OjoBuB99kcTiwX2m1Bbgy9WamkIv5hRnD6i+9PILHBeEqurrDOEvyul+nsJJEObYMbkX wMiSXZDGAkIwPxlF59+tMTliEI78C/2vYsvT5W27l22RNcsTE/4fDpjEbwXd/waUJ4yH p9nf5T+3KdsBN8ADI7eCX8dvsO/JEzwalTv106Ye7VG/dHbgZRUCbNcDe8O6N+q1Sqsb SxPskMkYhNv0ws0dHLaBfkinAFAgouvSCegR/NzL+eK6axZ7lt7U34AOB7lV+A2nMhOe +woA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=cftdRVtAP8UQA9RZHk0z4GAx0m9Po/cdw/g0rW6uNcc=; b=Onxf1nFvFwpOtDEpMAsSDTctC5iTvBPhfF6JHavWNF6MYf272nqmi4KxfmfR/gDuoz wbaCE/Qw0L2NLl92hcvG/UQaec+O1fmvls8msiAf8htXqUVujlXqTd6cG1GoRM+srYsy Xo05g4IuKwH38Tm2wsb5T2CMnvASBikHI4J47vBwKHER+iwVDiUrfY6ikdCQ3Bp2lkOf u6+Ys9n060viXzZygBrXT4hMte/hbJudI9ST0WjPI1d1qYjuM7WfwI584K3VM2q7J4I9 mwBjwAcZdQ7KslLbwtsrNDRmxFMr+uMPFtyzsYeimkly6LRPYErb3h4ohzTXtWkszWwI aGKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wCdwA8cD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f27si886248ejb.310.2019.10.30.02.50.24; Wed, 30 Oct 2019 02:50:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wCdwA8cD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfJ3JuY (ORCPT + 26 others); Wed, 30 Oct 2019 05:50:24 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:35710 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbfJ3JuX (ORCPT ); Wed, 30 Oct 2019 05:50:23 -0400 Received: by mail-pf1-f196.google.com with SMTP id d13so1232566pfq.2 for ; Wed, 30 Oct 2019 02:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cftdRVtAP8UQA9RZHk0z4GAx0m9Po/cdw/g0rW6uNcc=; b=wCdwA8cDhGfP5x35MPbKU+N2lcODb5ADD1ZdosQ9P1AD9v+CY/1Ivk72MjrDwA9IcY 4keYhmYK6mey0FY84tfA6G4xJut1d3DST6qfp+zzACfPIZ3SzM3BKY3kjgzbUwOy7eaq CJ+FwHlqPVo8hIBr2momd3M+it81ipB5kVvz6UjGKzCC8hrDDbmMRT1tUN/Ru5h/llLo c0LR6zTTogqUgQ7tX2V3O/xLHlbKFYSUvjhFJ7uX2jE9nX9lEoy5+3h3cEDJ7lkEIG/c xOuE0kqO66JULtB2d8/H7iLZD5Tvfgd097ckzS6uEf1zutX2SXXeHMfl5guq2EUm/eCb 00UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cftdRVtAP8UQA9RZHk0z4GAx0m9Po/cdw/g0rW6uNcc=; b=n0t4FDxT/2iwbui9GCjBaEE3O2TIl1n9elIyNU3g9IalM2JqQht5zPliCdPL3MJo26 EZLd+dgz0gLgVlnwI1biD/2MQ2zK9++HHIpwxYeuPPEswpfJpMcTYHCtiuciTU+nLf0A oROOnPHaLjpsiGMy7oKT0Qv308DA6SjGlngpVqKpUqv/JfnxmT2ol6oGNM2mYHR9T3My LxYwTutDljHrEL2rpmDVhV9MtKrDyUYLnM3BJFaoql1kDOdbXHx/UVweYz3+15yHknxF HdqQ6LVHdn+S3uIbM0tUL3y1ZIWI0WLQXWpUghnyhierMCOA0+wjyMv+dC07ClEel908 oxaQ== X-Gm-Message-State: APjAAAV9ly9WYGAe+5Nbw9nYa+KbfHt1VEpeqkocXztGBvOmReO7KhD5 aHLBKif4R0mFzsHO0BA4lJz6 X-Received: by 2002:a65:6203:: with SMTP id d3mr32446041pgv.272.1572429022561; Wed, 30 Oct 2019 02:50:22 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:618e:77d9:c9fa:423a:3851:8df4]) by smtp.gmail.com with ESMTPSA id n23sm2301329pff.137.2019.10.30.02.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 02:50:21 -0700 (PDT) From: Manivannan Sadhasivam To: mchehab@kernel.org, robh+dt@kernel.org, sakari.ailus@iki.fi Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, c.barrett@framos.com, a.brela@framos.com, peter.griffin@linaro.org, Manivannan Sadhasivam Subject: [PATCH v4 1/2] dt-bindings: media: i2c: Add IMX296 CMOS sensor binding Date: Wed, 30 Oct 2019 15:19:01 +0530 Message-Id: <20191030094902.32582-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191030094902.32582-1-manivannan.sadhasivam@linaro.org> References: <20191030094902.32582-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add YAML devicetree binding for IMX296 CMOS image sensor. Let's also add MAINTAINERS entry for the binding and driver. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/media/i2c/imx296.yaml | 94 +++++++++++++++++++ MAINTAINERS | 8 ++ 2 files changed, 102 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/imx296.yaml -- 2.17.1 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/media/i2c/imx296.yaml b/Documentation/devicetree/bindings/media/i2c/imx296.yaml new file mode 100644 index 000000000000..c04ec2203268 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/imx296.yaml @@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/imx296.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony IMX296 1/2.8-Inch CMOS Image Sensor + +maintainers: + - Manivannan Sadhasivam + +description: |- + The Sony IMX296 is a 1/2.9-Inch active pixel type CMOS Solid-state image + sensor with square pixel array and 1.58 M effective pixels. This chip + features a global shutter with variable charge-integration time. It is + programmable through I2C and 4-wire interfaces. The sensor output is + available via CSI-2 serial data output (1 Lane). + +properties: + compatible: + const: sony,imx296 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + description: + Input clock for the sensor. + items: + - const: mclk + + clock-frequency: + description: + Frequency of the mclk clock in Hertz. + + vddo-supply: + description: + Definition of the regulator used as interface power supply. + + vdda-supply: + description: + Definition of the regulator used as analog power supply. + + vddd-supply: + description: + Definition of the regulator used as digital power supply. + + reset-gpios: + description: + The phandle and specifier for the GPIO that controls sensor reset. + maxItems: 1 + + port: true + +required: + - compatible + - reg + - clocks + - clock-names + - clock-frequency + - vddo-supply + - vdda-supply + - vddd-supply + +additionalProperties: false + +examples: + - | + #include + + imx296: camera-sensor@1a { + compatible = "sony,imx296"; + reg = <0x1a>; + reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&camera_rear_default>; + clocks = <&gcc 90>; + clock-names = "mclk"; + clock-frequency = <37125000>; + vddo-supply = <&camera_vddo_1v8>; + vdda-supply = <&camera_vdda_3v3>; + vddd-supply = <&camera_vddd_1v2>; + + port { + imx296_ep: endpoint { + remote-endpoint = <&csiphy0_ep>; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 55199ef7fa74..51194bb2c392 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15140,6 +15140,14 @@ S: Maintained F: drivers/media/i2c/imx274.c F: Documentation/devicetree/bindings/media/i2c/imx274.txt +SONY IMX296 SENSOR DRIVER +M: Manivannan Sadhasivam +L: linux-media@vger.kernel.org +T: git git://linuxtv.org/media_tree.git +S: Maintained +F: drivers/media/i2c/imx296.c +F: Documentation/devicetree/bindings/media/i2c/imx296.yaml + SONY IMX319 SENSOR DRIVER M: Bingbu Cao L: linux-media@vger.kernel.org