devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add Omnivision OV4689 image sensor driver
@ 2022-09-27 22:21 Mikhail Rudenko
  2022-09-27 22:21 ` [PATCH v3 1/2] media: dt-bindings: i2c: document OV4689 Mikhail Rudenko
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Mikhail Rudenko @ 2022-09-27 22:21 UTC (permalink / raw)
  To: Tommaso Merciai, Dave Stevenson, Mauro Carvalho Chehab,
	Rob Herring, Krzysztof Kozlowski, Sakari Ailus, Hans Verkuil,
	Michael Tretter, Shawn Tu, Randy Dunlap, Mike Pagano, Arec Kao,
	Laurent Pinchart, Daniel Scally, Martin Kepplinger, Marek Vasut
  Cc: Mikhail Rudenko, linux-media, devicetree, linux-kernel

Hi,

this is the third revision of the Omnivision OV4689 driver. Main
changes in this version are (1) mapping physical camera gain to
monotonous and mostly linear logical gain exposed via corresponding
control and (2) reporting consistent pixel rate and hblank. These and
other minor changes are listed below:

changes in v3:
  - set 1st patch title to: "media: dt-bindings: i2c: document OV4689"
  - schema: drop clock-names
  - driver: use dem_clk_get(NULL)
  - schema: remove maxItems from powerdown-gpios
  - schema: make gpios optional
  - driver: use devm_gpiod_get_optional()
  - driver: remove __ prefixes from function names
  - driver: switch to .probe_new
  - driver: remove of_match_ptr
  - driver: add and use enum ov4689_mode_id
  - driver: make xvclk optional & try to get frequency from ACPI
  - driver: drop #if defined(CONFIG_MEDIA_CONTROLLER) in remove
  - driver: use ARRAY_SIZE(ov4689_supply_names) instead of define
  - driver: remove unused controls from struct ov4689
  - driver: use 504000000 instead of OV4689_LINK_FREQ_500MHZ
  - driver: compare link frequencies with menu array clock-frequency
  - driver: replace |= with ret = ret ?:
  - driver: merge power on/off into pm callbacks
  - driver: use actual clock rate in ov4689_cal_delay
  - driver: set up controls after writing register table in s_stream()
  - driver: remap sensor gain to linear and monotonous logical gain
  - driver: set pixel_rate to 480000000
  - driver: set HTS so that we have 30.00 fps and fix HBLANK reporting

changes in v2:
- bindings: reword descriptions
- bindings: move clock description to clocks property
- bindings: add data-lanes and link-frequencies properties to port
- driver: validate media bus configuration when probing

Mikhail Rudenko (2):
  media: dt-bindings: i2c: document OV4689
  media: i2c: add support for OV4689

 .../bindings/media/i2c/ovti,ov4689.yaml       |  134 +++
 MAINTAINERS                                   |    8 +
 drivers/media/i2c/Kconfig                     |   14 +
 drivers/media/i2c/Makefile                    |    1 +
 drivers/media/i2c/ov4689.c                    | 1027 +++++++++++++++++
 5 files changed, 1184 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml
 create mode 100644 drivers/media/i2c/ov4689.c

--
2.37.3

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

end of thread, other threads:[~2022-10-20  0:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-27 22:21 [PATCH v3 0/2] Add Omnivision OV4689 image sensor driver Mikhail Rudenko
2022-09-27 22:21 ` [PATCH v3 1/2] media: dt-bindings: i2c: document OV4689 Mikhail Rudenko
2022-09-28  8:08   ` Krzysztof Kozlowski
2022-09-27 22:21 ` [PATCH v3 2/2] media: i2c: add support for OV4689 Mikhail Rudenko
2022-10-18 17:58   ` Jacopo Mondi
2022-10-19 23:34     ` Mikhail Rudenko
2022-10-18 18:55   ` Christophe JAILLET
2022-10-20  0:22     ` Mikhail Rudenko
2022-10-19  8:23   ` Sakari Ailus
2022-10-19 23:13     ` Mikhail Rudenko
2022-10-17 13:05 ` [PATCH v3 0/2] Add Omnivision OV4689 image sensor driver Mikhail Rudenko

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).