Received: by 10.223.185.116 with SMTP id b49csp793701wrg; Fri, 23 Feb 2018 06:57:46 -0800 (PST) X-Google-Smtp-Source: AH8x226qdJVc6dk5Evwb1yb3Ad56A4I1SRw5d3U83gexMcOhXYVJsyMIeFbMRGoBWyFMC5IkicDP X-Received: by 2002:a17:902:8501:: with SMTP id bj1-v6mr2041919plb.110.1519397866311; Fri, 23 Feb 2018 06:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519397866; cv=none; d=google.com; s=arc-20160816; b=Ruj9FzBqgDb+LSZAVC0QkgKE5SymKP7W9ENgpBVrDbrZNcu2M38thIVUlm01DmXeG5 chyVPaJtowdRzrkrQ7GPQCr4H1Zel4uisyRIjQLLRc3KPhqJSJlHDD+jw2GuNS9c1Amu Nk4VHl1W8xwkWzJIDAzMGMv2rftUpV0oUqvJ/eH9w/YBZ2kvjIUWwmXYLCjARorAFWuE iDUFPHv3+dW+A/rUBIti1jkCfh6Mbnti6OWef0kU5gpuZHzZrqptoIbJLMtZRKI4p7YP jwjzdg4ZPP3ESEEHuoUFNd4qV/dHY51bSaHgb0mY3W9j3J8jk56UKtlJwfxsuMqJSw/h jehg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:dkim-signature :arc-authentication-results; bh=vhWMnmeS6KeeJTKPzD8adA0r5L5KL5W/zaViNzFs07A=; b=ncAKumfjYv81yGwKY7/6UCrCpw6CSomqm3y/j+4k/x9bhx0a7CAnoIWG1HaJyHXU74 fUolU+c40j4UT3n2DJVSN0dWFxdDeVOz3gdiPnugBJeyE1oftRumHT9S8+YFecrELV4L ijrP/GJjdaVUXviW1HmWeAFAQ4WkzXcst9ep4ufOAluJoLbEw4E0EYqvIH7iNxAZY8jn lNBTd9XsGt29tLq/UurDbrOfMXMd7rLDi0eJTdVqkjBp4xyO/B8mlb9DUZ+PnTZNn5C3 6oQm2cvXeoVA8qKGOMLh2qygwuCfpfB5K76ydC4DiasXaFL9iwEG5tiSQlB3p7xuaEC3 Locw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NZzMPFZe; 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 m3si1628139pgs.54.2018.02.23.06.57.31; Fri, 23 Feb 2018 06:57:46 -0800 (PST) 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=NZzMPFZe; 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 S1751617AbeBWO4q (ORCPT + 99 others); Fri, 23 Feb 2018 09:56:46 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45758 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbeBWO4o (ORCPT ); Fri, 23 Feb 2018 09:56:44 -0500 Received: by mail-wr0-f196.google.com with SMTP id p104so14362162wrc.12 for ; Fri, 23 Feb 2018 06:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=vhWMnmeS6KeeJTKPzD8adA0r5L5KL5W/zaViNzFs07A=; b=NZzMPFZessjrIBjfr8//n3c24B9jK3+QQ/Ct3GCCvRFMuWxojtLjNmrkq5UKWyZWu7 qkI33FWAvmtccRwOPrqulr2ZZISjt35PmFBBHTHXlZWFslM34aFvmAXRmBNfwp2VLI8K OGzIF3GkrqZkyXo3TyiaiquxdNaLBZ1QHmE8g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=vhWMnmeS6KeeJTKPzD8adA0r5L5KL5W/zaViNzFs07A=; b=BlAojjh0dpQhAaplTdLp8VoOQmg+bFxEQbxMU2xPJev+8kiZsdtiSnaMoCkDA1nvg8 f8NUvRCUEwC6aK/24XEBs+w6xvSUYE69Jm2/8QFcekMfxaPYdkHA2FQ++xXwRLqJa+YO Gh6bjpxebZBssBLcrTNOS2ytNfFmRn1bYP6EPspz8rmQzunmHX4YOqqjOoJf1d5mtc13 3XmYZkqv5Nr/BXXY4MO66BPvQEju5NVHHsJ7OnSaNhWblX1J04/bACb7czx/Yq3renz5 NQoW4KXCyDJtMBl2G4S220jxj39KA8juMglXms81YYPzg/MdgyYUUqsoma1ni6TbQp0h LtrQ== X-Gm-Message-State: APf1xPDffzKU/SmDD8v9pm6ap6+DZNIugr114/QOyMrJ98yK20fWqOAI 3Q1mcPg5Ugs4bpvx5KrE3snFfA== X-Received: by 10.223.185.112 with SMTP id b45mr1893727wrg.159.1519397803104; Fri, 23 Feb 2018 06:56:43 -0800 (PST) Received: from arch-late ([2001:8a0:6606:9100:fe64:a386:8845:a072]) by smtp.gmail.com with ESMTPSA id a14sm3310491wra.27.2018.02.23.06.56.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Feb 2018 06:56:42 -0800 (PST) References: <20180222102338.28896-1-rui.silva@linaro.org> <20180222102338.28896-2-rui.silva@linaro.org> <20180222105932.t4j7ranj2qp4jhj6@paasikivi.fi.intel.com> User-agent: mu4e 1.0; emacs 27.0.50 From: Rui Miguel Silva To: Sakari Ailus Cc: mchehab@kernel.org, hverkuil@xs4all.nl, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Ryan Harkin , Rui Miguel Silva , devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] media: ov2680: dt: Add bindings for OV2680 In-reply-to: <20180222105932.t4j7ranj2qp4jhj6@paasikivi.fi.intel.com> Date: Fri, 23 Feb 2018 14:56:41 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sakari, Thanks for the review. On Thu 22 Feb 2018 at 10:59, Sakari Ailus wrote: > Hi Rui, > > Thanks for the patchset. > > Could you use "dt: bindings: " prefix in the subject? Sure, no problem. > > On Thu, Feb 22, 2018 at 10:23:37AM +0000, Rui Miguel Silva > wrote: >> Add device tree binding documentation for the OV5640 camera >> sensor. >> >> CC: devicetree@vger.kernel.org >> Signed-off-by: Rui Miguel Silva >> --- >> .../devicetree/bindings/media/i2c/ov2680.txt | 34 >> ++++++++++++++++++++++ >> 1 file changed, 34 insertions(+) >> create mode 100644 >> Documentation/devicetree/bindings/media/i2c/ov2680.txt >> >> diff --git >> a/Documentation/devicetree/bindings/media/i2c/ov2680.txt >> b/Documentation/devicetree/bindings/media/i2c/ov2680.txt >> new file mode 100644 >> index 000000000000..f9dc63ce5044 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/media/i2c/ov2680.txt >> @@ -0,0 +1,34 @@ >> +* Omnivision OV2680 MIPI CSI-2 sensor >> + >> +Required Properties: >> +- compatible: should be "ovti,ov2680" >> +- clocks: reference to the xvclk input clock. >> +- clock-names: should be "xvclk". >> + >> +Optional Properties: >> +- powerdown-gpios: reference to the GPIO connected to the >> powerdown pin, >> + if any. This is an active high signal to the >> OV2680. >> + >> +The device node must contain one 'port' child node for its >> digital output > > Please add that the port contains a single endpoint as well. Ack. > >> +video port, in accordance with the video interface bindings >> defined in >> +Documentation/devicetree/bindings/media/video-interfaces.txt. > > Please list required and optional endpoint properties as well. OK. --- Cheers, Rui > >> + >> +Example: >> + >> +&i2c2 { >> + ov2680: camera-sensor@36 { >> + compatible = "ovti,ov2680"; >> + reg = <0x36>; >> + clocks = <&osc>; >> + clock-names = "xvclk"; >> + powerdown-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; >> + >> + port { >> + ov2680_mipi_ep: endpoint { >> + remote-endpoint = >> <&mipi_sensor_ep>; >> + clock-lanes = <0>; >> + data-lanes = <1>; >> + }; >> + }; >> + }; >> +};