From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751911AbdIXHyJ (ORCPT ); Sun, 24 Sep 2017 03:54:09 -0400 Received: from p3plsmtpa06-03.prod.phx3.secureserver.net ([173.201.192.104]:47293 "EHLO p3plsmtpa06-03.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751811AbdIXHyH (ORCPT ); Sun, 24 Sep 2017 03:54:07 -0400 From: Leon Luo To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, hans.verkuil@cisco.com, sakari.ailus@linux.intel.com Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, leonl@leopardimaging.com, soren.brinkmann@xilinx.com Subject: [PATCH v6 1/2] media:imx274 device tree binding file Date: Sun, 24 Sep 2017 00:53:28 -0700 Message-Id: <20170924075329.9927-1-leonl@leopardimaging.com> X-Mailer: git-send-email 2.14.0.rc1 X-CMAE-Envelope: MS4wfC5EN/PEvfr9LMw6It3m/3qbqoxkTWudFIAfAYMa3IwJwqnjFEj1w2J9AokZI+D1FM3On7ecvUJjZn1SNq/e9l71v7JCVZRn7nYP7GIsKG5DYIcNuyNn g8x3us5qfulgEhbECQFdFBLFlp3pz9YWan8mT5Bxx4hhNrCtpMoMpwi6aj6nx7b13ONMk9La83xgqtqyLd7ifxJYql2k3SUcLZVELphsspQ8C1R6yRmxAA5f u3M3WwbixP/+7lyefEmyr7K6qrYqJwbqQ3dsiLGuE8bw3rMK11U8Mi0QflcuNoqmai1+gNwx9xbJVRDxIiqmwaWCmkELt5wSZ6152/vQ4Y/w96eDHysKpkMm O9u5PsV9fjujZtSV8fGOMfC70Lsoje7ayfD6uwQYexsb+3Vkq9XOhRtZJPY4eqGljuE4rtWO7X0HHn2nWiVOwjCKLFxm+H8m0rFY8aPaHFEAN1dXYGbM5RV+ NZH6MNKRpm1McdArJ5BUNZ82N0X15mOjmam0qI+ObKENSl+BR+Z/lTnqpwY= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The binding file for imx274 CMOS sensor V4l2 driver Signed-off-by: Leon Luo --- v6: - no changes v5: - add 'port' and 'endpoint' information v4: - no changes v3: - remove redundant properties and references - document 'reg' property v2: - no changes --- .../devicetree/bindings/media/i2c/imx274.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/imx274.txt diff --git a/Documentation/devicetree/bindings/media/i2c/imx274.txt b/Documentation/devicetree/bindings/media/i2c/imx274.txt new file mode 100644 index 000000000000..80f2e89568e1 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/imx274.txt @@ -0,0 +1,33 @@ +* Sony 1/2.5-Inch 8.51Mp CMOS Digital Image Sensor + +The Sony imx274 is a 1/2.5-inch CMOS active pixel digital image sensor with +an active array size of 3864H x 2202V. It is programmable through I2C +interface. The I2C address is fixed to 0x1a as per sensor data sheet. +Image data is sent through MIPI CSI-2, which is configured as 4 lanes +at 1440 Mbps. + + +Required Properties: +- compatible: value should be "sony,imx274" for imx274 sensor +- reg: I2C bus address of the device + +Optional Properties: +- reset-gpios: Sensor reset GPIO + +The imx274 device node should contain one 'port' child node with +an 'endpoint' subnode. For further reading on port node refer to +Documentation/devicetree/bindings/media/video-interfaces.txt. + +Example: + sensor@1a { + compatible = "sony,imx274"; + reg = <0x1a>; + #address-cells = <1>; + #size-cells = <0>; + reset-gpios = <&gpio_sensor 0 0>; + port { + sensor_out: endpoint { + remote-endpoint = <&csiss_in>; + }; + }; + }; -- 2.14.0.rc1