Received: by 10.223.185.116 with SMTP id b49csp1777815wrg; Thu, 22 Feb 2018 03:00:58 -0800 (PST) X-Google-Smtp-Source: AH8x2270AO92u74ausTMrNGzmnBGH6xJsvoVm6XVEoEAbaV41H7DSWbshe6J/0KOb2DYoZcw9/ei X-Received: by 10.101.71.141 with SMTP id e13mr5321475pgs.438.1519297258804; Thu, 22 Feb 2018 03:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519297258; cv=none; d=google.com; s=arc-20160816; b=POSk+Afh+SHSDET/xocoOUAA8fsg8PRMExZ+8oCJXwHFkqycLyMsQ+wkYnOshVuEhI 3miZVA2nDlQSO6yx404A+Ce5uOT8X8H4mVpMGsYBka1ObjS1SFrcy965I3+3d0fB85AK ao2NAvrAWX+vYKxzyUOaxXKw4cSK6Cxmc/urgLifbSTmVaFWhQEH1s2ludjNUwXKGr5a nvzauPiTAL4iCdl+V9WMm7GVcYDgGzKcNCO2+G2Cyf4xWtO4cvDa+44UFHLkLv379aXd ygoiOPpY3NKtsGgWWEd/M9C1ikQhD48+vyv+41aq0el6R1JqFIZX6Ho0NrnrB1gFk8sH dJWQ== 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:arc-authentication-results; bh=/st/EHMl8HLYqe8KP821+Q3F4LJBmWsuOE8xcJmR3lg=; b=yx3RKsGYCdUs8zGIBu3AgMaDE9UZToEiUMcaj5VJ+dVhR4TCRnMY7cNMe8TZQKa83Y h5AWwgL8L173tRKNk5vuXgvHlEwV4s2yBCAmPcVWMezuPwjdruQPjDjpNFFWa7NtfW7S obvSqC0BV6pc0c0WRcC9f5CgpKeJf0xragIkhVSCrc29P8hue4aEui12BnPGjs50H1HF +daEnU3wJfHogxPMY5EydEuUjKTkqLUnqqNpXyWzo2zefcz1/7PfXbhyrww6Dx8SwRPP XgRdL/4uGNr57e6JqrTLGacj4eMxVRNx46GqR+H650CMBmCaI+DQnDTQXcbn41uMxGjJ QBRg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t190si1105366pgb.595.2018.02.22.03.00.43; Thu, 22 Feb 2018 03:00:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753538AbeBVK7m (ORCPT + 99 others); Thu, 22 Feb 2018 05:59:42 -0500 Received: from mga02.intel.com ([134.134.136.20]:35549 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753411AbeBVK7l (ORCPT ); Thu, 22 Feb 2018 05:59:41 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2018 02:59:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,377,1515484800"; d="scan'208";a="32705440" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by fmsmga001.fm.intel.com with ESMTP; 22 Feb 2018 02:59:33 -0800 Received: by paasikivi.fi.intel.com (Postfix, from userid 1000) id 90A2020736; Thu, 22 Feb 2018 12:59:32 +0200 (EET) Date: Thu, 22 Feb 2018 12:59:32 +0200 From: Sakari Ailus To: Rui Miguel Silva 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 Message-ID: <20180222105932.t4j7ranj2qp4jhj6@paasikivi.fi.intel.com> References: <20180222102338.28896-1-rui.silva@linaro.org> <20180222102338.28896-2-rui.silva@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180222102338.28896-2-rui.silva@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rui, Thanks for the patchset. Could you use "dt: bindings: " prefix in the subject? 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. > +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. > + > +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>; > + }; > + }; > + }; > +}; -- Regards, Sakari Ailus sakari.ailus@linux.intel.com