Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dt-bindings: Add OF properties to ov7670

Describe newly introduced OF properties for ov7670 image sensor.
The driver supports two standard properties to configure synchronism
signals polarities and one custom property already supported as
platform data options to suppress pixel clock during horizontal
blankings.

Re-phrase child nodes description while at there.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Jacopo Mondi and committed by
Mauro Carvalho Chehab
622b2d10 36e49ffb

+14 -2
+14 -2
Documentation/devicetree/bindings/media/i2c/ov7670.txt
··· 9 9 - clocks: reference to the xclk input clock. 10 10 - clock-names: should be "xclk". 11 11 12 + Required Endpoint Properties: 13 + - hsync-active: active state of the HSYNC signal, 0/1 for LOW/HIGH respectively. 14 + - vsync-active: active state of the VSYNC signal, 0/1 for LOW/HIGH respectively. 15 + 12 16 Optional Properties: 13 17 - reset-gpios: reference to the GPIO connected to the resetb pin, if any. 14 18 Active is low. 15 19 - powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. 16 20 Active is high. 21 + - ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output 22 + signal during horizontal blankings. 17 23 18 - The device node must contain one 'port' child node for its digital output 19 - video port, in accordance with the video interface bindings defined in 24 + The device node must contain one 'port' child node with one 'endpoint' child 25 + sub-node for its digital output video port, in accordance with the video 26 + interface bindings defined in: 20 27 Documentation/devicetree/bindings/media/video-interfaces.txt. 21 28 22 29 Example: ··· 41 34 assigned-clocks = <&pck0>; 42 35 assigned-clock-rates = <25000000>; 43 36 37 + ov7670,pclk-hb-disable; 38 + 44 39 port { 45 40 ov7670_0: endpoint { 41 + hsync-active = <0>; 42 + vsync-active = <0>; 43 + 46 44 remote-endpoint = <&isi_0>; 47 45 }; 48 46 };