Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp159304ybx; Mon, 4 Nov 2019 17:45:33 -0800 (PST) X-Google-Smtp-Source: APXvYqy+JNJX9wzIpbmeaJurg3Llg5mxbDNQU5lxM94FQTLmiMuYKlohJ7p2h7h82oZfKAZbU8Mm X-Received: by 2002:a50:f058:: with SMTP id u24mr33665369edl.288.1572918333218; Mon, 04 Nov 2019 17:45:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572918333; cv=none; d=google.com; s=arc-20160816; b=lWod2w+lBzb4adMOyA6v2Zn/4N5g5F8Dk4IzJA4QGNjQbtuiJWST6I23oqb+Ax/Gkn jGuophO7a8SYgQchzJeLTtlczQ5GoOe2deYAthy1TR4mBIEARhWoFSptaEfW1E4LSEO+ r0OAPzs/xMg1Fy6iOLM4Rp8qo1pQKVGZ53a2etX6l3+Kk12xwosLeJf85Wm02dVXSzf9 vrfJgJEGLSdNLqOCT327a2LZZTDZBW10ojFCJIVuQTdXFf2aULvDs0szN3iDFqqszDBj s1DqWYe9lhJqAyt+5wjoVgnc0l2Uq9ZNVplWFBjmtSwnyOecBjSQO/vbvjQAfJXJLqQg FytA== 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=CUXJwWe90bW8v3xaQ2VIEMTd+WY4inmX6uoXpP0UKrU=; b=fYZTv1jeSlrToOCwxXrGmpufWp4LvJnmvj6KnTuCHyJSNfFoSiCxLMG69aoLXkr97p /J2iQvGS36KwjZo336Z8q+6gVwFC0OiKdhnfa5jLHMOYSWEXJWvbhjnHfQsdaLrtOZk9 hacgor4/m8/2lm+nyYdGgEynjL4flCaoX2GS90zdbwKKiue/dSX8uWqFq9NyvTS31e+M 2/RA5kGp1wZj1jUteDDZuxNG0Qlm6d38+bWKe6ZgFfoiP8lvwDRiTzlCyQAsnXid1ScB qMCfR1UZVRA3HCQF5IVoPdMzaT9Y4Qmi4pTZMWJSOx3Yj6QFc6Bo/0MxRs4swnDh1s1h YADg== 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 t17si12986614ejj.144.2019.11.04.17.45.10; Mon, 04 Nov 2019 17:45:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730228AbfKEBn4 (ORCPT + 99 others); Mon, 4 Nov 2019 20:43:56 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:45850 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728987AbfKEBnz (ORCPT ); Mon, 4 Nov 2019 20:43:55 -0500 Received: by mail-oi1-f193.google.com with SMTP id k2so16029591oij.12; Mon, 04 Nov 2019 17:43:55 -0800 (PST) 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=CUXJwWe90bW8v3xaQ2VIEMTd+WY4inmX6uoXpP0UKrU=; b=r5EuhHg6f8V5uZJsgCvYIpRsKkdlXHyeuAFsuMFTXx/AMza2vM7tmvMv8IDNCxjPAH my+FM0252BjXcRtI+LiYkkclhgbWHxVS3e0/kLKmdzQBfh2+if8BjwM21K1rJcjEurBf NPBfTzfX5ijXxFXZqYO3qGAqQ3W3ohygPxLbv/6aGKlhRj/MyoyNxHhgI+j35UxeDyET 3M66xVEUyP5nt13PNOP34RUchIJMRFrjSNcylc7AXPZUHwHzzbQVAOb0bEEI+BuLBAqO ffpUW+/Fc4x65T0krdgN+S7eLND6DfCGgVHJVHNudKAKZ9KQ9stxFTu37+Fybmmty9Cz Hzgg== X-Gm-Message-State: APjAAAW5QpqcYp3dJlhnSR7JFcyHbaRyZ83JlojNYKyG+3Pn6dgnrhwQ 65j7Pad4L2WFnMwfTxfR9Q== X-Received: by 2002:aca:da06:: with SMTP id r6mr1699237oig.82.1572918234843; Mon, 04 Nov 2019 17:43:54 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l18sm1216351oti.11.2019.11.04.17.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 17:43:54 -0800 (PST) Date: Mon, 4 Nov 2019 19:43:53 -0600 From: Rob Herring To: Manivannan Sadhasivam Cc: Sakari Ailus , mchehab@kernel.org, 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 Subject: Re: [PATCH v4 1/2] dt-bindings: media: i2c: Add IMX296 CMOS sensor binding Message-ID: <20191105014353.GA841@bogus> References: <20191030094902.32582-1-manivannan.sadhasivam@linaro.org> <20191030094902.32582-2-manivannan.sadhasivam@linaro.org> <20191030115328.GA6253@valkosipuli.retiisi.org.uk> <20191030120105.GA11432@Mani-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191030120105.GA11432@Mani-XPS-13-9360> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 30, 2019 at 05:31:05PM +0530, Manivannan Sadhasivam wrote: > Hi Sakari, > > On Wed, Oct 30, 2019 at 01:53:28PM +0200, Sakari Ailus wrote: > > Hi Nabuvannan, > > > > On Wed, Oct 30, 2019 at 03:19:01PM +0530, Manivannan Sadhasivam wrote: > > > 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 > > > --- > > > .../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 > > > > You're missing "type: object" under port. > > > > I did that intentionally, since there are other places where I can see the > "type" field not specified. So, I was not sure about that. Most of the > display bindings don't specify "type" and they are most available ones. > I don't think the "port" property differs between cameras and displays. > So I went with that. The difference is the panel bindings have a common schema included which defines 'port' at least as a node. I don't think an include would help too much here, so probably best to add 'type: object' for now. Either way, this may change once video-interfaces.txt is converted if any of those properties apply here. Either way: Reviewed-by: Rob Herring Rob