From: Dongchun Zhu <dongchun.zhu@mediatek.com> To: Tomasz Figa <tfiga@chromium.org> Cc: <linus.walleij@linaro.org>, <bgolaszewski@baylibre.com>, <mchehab@kernel.org>, <andriy.shevchenko@linux.intel.com>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <sakari.ailus@linux.intel.com>, <drinkcat@chromium.org>, <matthias.bgg@gmail.com>, <bingbu.cao@intel.com>, <srv_heupstream@mediatek.com>, <linux-mediatek@lists.infradead.org>, <linux-arm-kernel@lists.infradead.org>, <sj.huang@mediatek.com>, <linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>, <louis.kuo@mediatek.com>, <shengnan.wang@mediatek.com>, <dongchun.zhu@mediatek.com> Subject: Re: [PATCH V10 1/2] media: dt-bindings: media: i2c: Document OV02A10 bindings Date: Sat, 20 Jun 2020 15:57:21 +0800 Message-ID: <1592639841.8804.720.camel@mhfsdcap03> (raw) In-Reply-To: <20200618191332.GB73379@chromium.org> Hi Tomasz, Thanks for the review. On Thu, 2020-06-18 at 19:13 +0000, Tomasz Figa wrote: > Hi Dongchun, > > On Mon, Jun 15, 2020 at 08:29:36PM +0800, Dongchun Zhu wrote: > > Add DT bindings documentation for Omnivision OV02A10 image sensor. > > > > Signed-off-by: Dongchun Zhu <dongchun.zhu@mediatek.com> > > --- > > .../bindings/media/i2c/ovti,ov02a10.yaml | 171 +++++++++++++++++++++ > > MAINTAINERS | 7 + > > 2 files changed, 178 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml > > > > Thank you for the patch. Please see my comments inline. > > > diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml > > new file mode 100644 > > index 0000000..f84be1b > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml > > @@ -0,0 +1,171 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +# Copyright (c) 2020 MediaTek Inc. > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/media/i2c/ovti,ov02a10.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Omnivision OV02A10 CMOS Sensor Device Tree Bindings > > + > > +maintainers: > > + - Dongchun Zhu <dongchun.zhu@mediatek.com> > > + > > +description: |- > > + The Omnivision OV02A10 is a low-cost, high performance, 1/5-inch, 2 megapixel > > + image sensor, which is the latest production derived from Omnivision's CMOS > > + image sensor technology. Ihis chip supports high frame rate speeds up to 30fps > > + @ 1600x1200 (UXGA) resolution transferred over a 1-lane MIPI interface. The > > + sensor output is available via CSI-2 serial data output. > > + > > +properties: > > + compatible: > > + const: ovti,ov02a10 > > + > > + reg: > > + maxItems: 1 > > + > > + clocks: > > + items: > > + - description: top mux camtg clock > > + - description: divider clock > > + > > + clock-names: > > + items: > > + - const: eclk > > + - const: freq_mux > > + > > + clock-frequency: > > + description: > > + Frequency of the eclk clock in Hertz. > > + > > + dovdd-supply: > > + description: > > + Definition of the regulator used as Digital I/O voltage supply. > > + > > + avdd-supply: > > + description: > > + Definition of the regulator used as Analog voltage supply. > > + > > + dvdd-supply: > > + description: > > + Definition of the regulator used as Digital core voltage supply. > > + > > + powerdown-gpios: > > + description: > > + Must be the device tree identifier of the GPIO connected to the > > + PD_PAD pin. This pin is used to place the OV02A10 into Standby mode > > + or Shutdown mode. As the line is active low, it should be > > + marked GPIO_ACTIVE_LOW. > > This line is not active low. It needs to be high for the powerdown mode > to be active. > Sorry, I made a misunderstanding of the real meaning of 'line active'. For PD_PAD pin, 'effective' means 'sensor is shut down'. Yes, it's a 'shut down' signal, not a 'enable' signal. > > + maxItems: 1 > > + > > + reset-gpios: > > + description: > > + Must be the device tree identifier of the GPIO connected to the > > + RST_PD pin. If specified, it will be asserted during driver probe. > > + As the line is active high, it should be marked GPIO_ACTIVE_HIGH. > > This line is not active high. It needs to be low for the reset to be > active. > Fixed in next release. > Best regards, > Tomasz
next prev parent reply other threads:[~2020-06-20 8:00 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-15 12:29 [PATCH V10 0/2] media: i2c: Add support for OV02A10 sensor Dongchun Zhu 2020-06-15 12:29 ` [PATCH V10 1/2] media: dt-bindings: media: i2c: Document OV02A10 bindings Dongchun Zhu 2020-06-18 19:13 ` Tomasz Figa 2020-06-20 7:57 ` Dongchun Zhu [this message] 2020-06-15 12:29 ` [PATCH V10 2/2] media: i2c: ov02a10: Add OV02A10 image sensor driver Dongchun Zhu 2020-06-18 19:10 ` Tomasz Figa 2020-06-20 7:48 ` Dongchun Zhu 2020-06-22 15:23 ` Tomasz Figa [not found] ` <1593412218.17166.3.camel@mhfsdcap03> 2020-06-29 10:22 ` Tomasz Figa [not found] ` <1593417224.17166.10.camel@mhfsdcap03> 2020-06-29 10:27 ` Tomasz Figa 2020-06-30 1:13 ` Dongchun Zhu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1592639841.8804.720.camel@mhfsdcap03 \ --to=dongchun.zhu@mediatek.com \ --cc=andriy.shevchenko@linux.intel.com \ --cc=bgolaszewski@baylibre.com \ --cc=bingbu.cao@intel.com \ --cc=devicetree@vger.kernel.org \ --cc=drinkcat@chromium.org \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-media@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=louis.kuo@mediatek.com \ --cc=mark.rutland@arm.com \ --cc=matthias.bgg@gmail.com \ --cc=mchehab@kernel.org \ --cc=robh+dt@kernel.org \ --cc=sakari.ailus@linux.intel.com \ --cc=shengnan.wang@mediatek.com \ --cc=sj.huang@mediatek.com \ --cc=srv_heupstream@mediatek.com \ --cc=tfiga@chromium.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Unnamed repository; edit this file 'description' to name the repository. This inbox may be cloned and mirrored by anyone: git clone --mirror http://archive.lwn.net:8080/linux-media/0 linux-media/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 linux-media linux-media/ http://archive.lwn.net:8080/linux-media \ linux-media@vger.kernel.org lwn-linux-media@archive.lwn.net public-inbox-index linux-media Example config snippet for mirrors. Newsgroup available over NNTP: nntp://archive.lwn.net/lwn.kernel.linux-media AGPL code for this site: git clone https://public-inbox.org/public-inbox.git