Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp883786imm; Fri, 5 Oct 2018 13:33:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV61F1yjtaDVP2Wgp2Tb03eOAACmtpwiM8FdZOQC0NKqkML0ZdFDVC+hLf5I+4vwmuojkN6Qd X-Received: by 2002:a63:194a:: with SMTP id 10-v6mr7420226pgz.192.1538771590379; Fri, 05 Oct 2018 13:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538771590; cv=none; d=google.com; s=arc-20160816; b=KaC6Vj4d25Bwt4/SMimjMf/SrhXMqTspPIvlAT1pYqn/foghRIRdkJevr4m21AggWq KiWmY6WrlwyEemjcy95qgJsP8HRJsKLuBIXGr2iSmSr/jux1pGzcJjibRVNdt5yolai3 oAvEsUUXqNe5xsy+Fbc0miYDGChRELm9pWe2aUU9iWgcRrSUrfcLJo9ReSW/t/AATeHG 5g8yQxRVqaJgOrRpvZBoH/z+XQZzd+h03089/WQSDoI8jOGgpupl7+JzAQ3fUU/2GVJw W9r6G3VJ1DC+pQVYZ2QhvqcGjx15z5aKKNRplYc6Q3s88ZRsUQ6rg4Dnv8mqAXPFiE1n HEig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=f1wpvtKTUCTBT+HmamF3OxnOhQKrPfOJPCqe96DoL30=; b=UxuHdZm7aJWSAfeDOm/EUBG+CSbQThVRJLjAQYc7UPOsxoDl9T3ZTnIHPsmMqvaiqf q03mxLdGyCwj4anzAA6nI9dW5TLRC7jde+3mpuiSOFvZiIxT+BvzDA+9woTDs646g2Nl prokpM9VG2/9mt8gN4uvFzGwmbetrrF3PrhEsd+0Xy3VbKqDfTqCDt1WZXzovkHVr3UV kDrcBLFjyinkixs1Ck+PNyci2VMp9gpHm90mQHYA9H7y2CRet/AYjSNMjyfIhTK6lOfl C836qwKw9EQZuGGlELDCvlBOr5aUkvDOLnSQH0D59/yV4j83yuWIzq2mHMXJBU1gNAwv KUGQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8-v6si8069354pgr.205.2018.10.05.13.32.54; Fri, 05 Oct 2018 13:33:10 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728958AbeJFDdJ (ORCPT + 99 others); Fri, 5 Oct 2018 23:33:09 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:37752 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728139AbeJFDdJ (ORCPT ); Fri, 5 Oct 2018 23:33:09 -0400 Received: by mail-ot1-f68.google.com with SMTP id o13-v6so13952114otl.4; Fri, 05 Oct 2018 13:32:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=f1wpvtKTUCTBT+HmamF3OxnOhQKrPfOJPCqe96DoL30=; b=NLxsLAbirEi3YUQmJq7mfMIz5vBKS/Gux7KdPGzMoFjaRNkf4Tvb0xDoN72kCJ8PXn 6XGI4Cez3sjpoggBy3FbRHd4jbE0vqGb8fbRa7xK0oggl1Q/2Xwfq0RcT+OZqK8Kd4KH H/sgWwKo4P5K4nx0BLlm9AMMJfk+Qs4/uSfea3zVPO29vb64wKRsAgIB8mA0tGyLplZ3 9MLX0yYXL4Sqx2Eqtv8NAXW/lljHUWAEYjZXRnjug0cCesAorUL26hfsjeEXzSJkhzl8 DDo/a0wVedNz+wT3yb4hRlsSxWBcDaWquz2dCIwHXrJCJyCHKY37dP1Vcj6R6dFzzfp4 YwhA== X-Gm-Message-State: ABuFfohrwlEwtPNuVGJ51MOqnJ1zcmiK5zdD1E5EYVBxqOSZzsOX/sB4 DglIkrL+NvB5z+Q9CqY+qw== X-Received: by 2002:a9d:29f2:: with SMTP id g47mr7164768otd.21.1538771567680; Fri, 05 Oct 2018 13:32:47 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r83-v6sm2790595oia.55.2018.10.05.13.32.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Oct 2018 13:32:47 -0700 (PDT) Date: Fri, 5 Oct 2018 15:32:46 -0500 From: Rob Herring To: Ricardo Ribalda Delgado Cc: Hans Verkuil , Laurent Pinchart , Sakari Ailus , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, jacopo@jmondi.org, devicetree@vger.kernel.org Subject: Re: [PATCH v8 1/3] [media] imx214: device tree binding Message-ID: <20181005203246.GA28765@bogus> References: <20181005124940.15539-1-ricardo.ribalda@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005124940.15539-1-ricardo.ribalda@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 05, 2018 at 02:49:37PM +0200, Ricardo Ribalda Delgado wrote: > From: Ricardo Ribalda > > Document bindings for imx214 camera sensor > > Cc: devicetree@vger.kernel.org > Reviewed-by: Laurent Pinchart > Signed-off-by: Ricardo Ribalda Delgado checkpatch.pl complains that the author and S-o-b don't match. > --- > .../devicetree/bindings/media/i2c/imx214.txt | 53 +++++++++++++++++++ sony,imx214.txt is preferred. > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/i2c/imx214.txt > > diff --git a/Documentation/devicetree/bindings/media/i2c/imx214.txt b/Documentation/devicetree/bindings/media/i2c/imx214.txt > new file mode 100644 > index 000000000000..421a019ab7f9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/i2c/imx214.txt > @@ -0,0 +1,53 @@ > +* Sony 1/3.06-Inch 13.13Mp CMOS Digital Image Sensor > + > +The Sony imx214 is a 1/3.06-inch CMOS active pixel digital image sensor with > +an active array size of 4224H x 3200V. It is programmable through an I2C > +interface. The I2C address can be configured to 0x1a or 0x10, depending on > +how the hardware is wired. Move the addresses to reg description. > +Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a maximum > +throughput of 1.2Gbps/lane. > + > + > +Required Properties: > +- compatible: value should be "sony,imx214" for imx214 sensor > +- reg: I2C bus address of the device > +- enable-gpios: GPIO descriptor for the enable pin. > +- vdddo-supply: Chip digital IO regulator (1.8V). > +- vdda-supply: Chip analog regulator (2.7V). > +- vddd-supply: Chip digital core regulator (1.12V). > +- clocks: Reference to the xclk clock. > +- clock-names: Shall be "xclk". > + > +Optional Properties: > +- flash-leds: See ../video-interfaces.txt > +- lens-focus: See ../video-interfaces.txt > + > +The imx214 device node shall contain one 'port' child node with > +an 'endpoint' subnode. For further reading on port node refer to > +Documentation/devicetree/bindings/media/video-interfaces.txt. > + > +Required Properties on endpoint: > +- data-lanes: check ../video-interfaces.txt > +- link-frequencies: check ../video-interfaces.txt > +- remote-endpoint: check ../video-interfaces.txt > + > +Example: > + > + camera_rear@1a { camera-sensor@1a If you need location, then perhaps use 'label'. > + compatible = "sony,imx214"; > + reg = <0x1a>; > + vdddo-supply = <&pm8994_lvs1>; > + vddd-supply = <&camera_vddd_1v12>; > + vdda-supply = <&pm8994_l17>; > + lens-focus = <&ad5820>; > + enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>; > + clocks = <&mmcc CAMSS_MCLK0_CLK>; > + clock-names = "xclk"; > + port { > + imx214_ep: endpoint { > + data-lanes = <1 2 3 4>; > + link-frequencies = /bits/ 64 <480000000>; > + remote-endpoint = <&csiphy0_ep>; > + }; > + }; > + }; > -- > 2.19.0 >