LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v3 0/2] Add support for ov7251 camera sensor
@ 2018-04-24 15:01 Todor Tomov
  2018-04-24 15:01 ` [PATCH v3 1/2] dt-bindings: media: Binding document for OV7251 " Todor Tomov
  2018-04-24 15:01 ` [PATCH v3 2/2] media: Add a driver for the ov7251 " Todor Tomov
  0 siblings, 2 replies; 5+ messages in thread
From: Todor Tomov @ 2018-04-24 15:01 UTC (permalink / raw)
  To: mchehab, hverkuil, sakari.ailus, laurent.pinchart, linux-media,
	linux-kernel
  Cc: Todor Tomov

The ov7251 sensor is a 1/7.5-Inch B&W VGA (640x480) CMOS Digital Image
Sensor from Omnivision.

--------------------------------------------------------------------------

Version 3:
- DT binding: added that there shall be a single endpoint node in the port node;
- added a comment for regulator enable order;
- set exposure and gain with a single i2c transaction;
- caclulate sleep after gpio config from external clock frequency;
- use MEDIA_BUS_FMT_Y10_1X10 format code;
- lock for power state, controls, mode and start streaming;
- remove regulator_set_voltage();
- use probe_new();
- remove i2c_device_id table;
- change of_property_read_u32 to fwnode_property_read_u32;
- few corrections from checkpatch --strict.

--------------------------------------------------------------------------

Version 2:
- changed ov7251 node's name in DT binding example;
- SPDX licence identifier;
- better names for register value defines;
- remove power reference counting and leave a power state only;
- use v4l2_find_nearest_size() to find sensor mode by requested size;
- set ycbcr_enc, quantization and xfer_func in set_fmt;
- use struct fwnode_handle instead of struct device_node;
- add comment in driver about external clock value.

--------------------------------------------------------------------------

Todor Tomov (2):
  dt-bindings: media: Binding document for OV7251 camera sensor
  media: Add a driver for the ov7251 camera sensor

 .../devicetree/bindings/media/i2c/ov7251.txt       |   52 +
 drivers/media/i2c/Kconfig                          |   13 +
 drivers/media/i2c/Makefile                         |    1 +
 drivers/media/i2c/ov7251.c                         | 1501 ++++++++++++++++++++
 4 files changed, 1567 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/ov7251.txt
 create mode 100644 drivers/media/i2c/ov7251.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-25 15:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24 15:01 [PATCH v3 0/2] Add support for ov7251 camera sensor Todor Tomov
2018-04-24 15:01 ` [PATCH v3 1/2] dt-bindings: media: Binding document for OV7251 " Todor Tomov
2018-04-24 15:01 ` [PATCH v3 2/2] media: Add a driver for the ov7251 " Todor Tomov
2018-04-25 10:54   ` Sakari Ailus
2018-04-25 15:56     ` Todor Tomov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).