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: 11219373 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E05DB913 for ; Wed, 30 Oct 2019 09:50:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B492E21734 for ; Wed, 30 Oct 2019 09:50:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wCdwA8cD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726620AbfJ3JuZ (ORCPT ); Wed, 30 Oct 2019 05:50:25 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:41331 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbfJ3JuY (ORCPT ); Wed, 30 Oct 2019 05:50:24 -0400 Received: by mail-pg1-f196.google.com with SMTP id l3so1125738pgr.8 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=oP/D44MSRGBCRAj+hFdqSF30kd3NpaQ1MC+rGcsLIqsuAnnO05+Pz+1Uc3Ico5qy2q iOQGwp3jZH/xP0+9icCr1vlv/Zzi+zmYz29/m/h1wAOOCK0cixYvxmDW7XHa5qGyI3G7 DqZk+Qy0SQFjKNWzU4klftyF/mnORgn8x1WvhZfQMuiKDG2d2ewEbOrUrGflpGuv9CyI +vkwHOOvmJegLi6Quq4j85L56VF+TEfwfB1iiJi6pIz5GXgh5WkJbmSJOocUJCQM1D/K dzQAc0lJze0gvJoKLuwhEREeeQO/y9941S+LKooeeSQdUPLuJNtk7vGk4JeR7UKv4YYI LM1Q== X-Gm-Message-State: APjAAAVQdnQBWnx+6AWkJI6nIf605+gyFFx+ZUF1mERqYSCd3k1ysysA TyHX8zERzy0imsAuYaYUfmXo X-Google-Smtp-Source: APXvYqxc4nIJKggYP3YGCmdXDUVXHR+G1fS7IEc9x7gSziWCnoF0WyDLvXL7vMZlHVfbUF4IM9KpKQ== 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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 Reviewed-by: Rob Herring --- .../devicetree/bindings/media/i2c/imx296.yaml | 94 +++++++++++++++++++ MAINTAINERS | 8 ++ 2 files changed, 102 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/imx296.yaml 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