linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch v5 0/8] media: i2c: ov2659: maintenance series
@ 2019-09-30 13:06 Benoit Parrot
  2019-09-30 13:06 ` [Patch v5 1/8] media: i2c: ov2659: Fix for image wrap-around in lower resolution Benoit Parrot
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Benoit Parrot @ 2019-09-30 13:06 UTC (permalink / raw)
  To: Hans Verkuil, Sakari Ailus
  Cc: linux-media, devicetree, linux-kernel, Benoit Parrot

This patch series is a collection of patches we have been carrying for a
while.

It includes a few sensor register fixes which would cause visual
artifacts at lower resolution and also at 720p.

Also on some board the 'powerdown' and /or 'reset' pins are not tied so
we need to add support for optional gpios to handle these.

Since these camera are removable on some board we also need the driver
to actually fail when there is no hardware present so the driver is
actually removed.

Also added a patch to check and propagate errors on s_stream invocation.

Finally, we update the licensing statement to use SPDX licensing.

Changes since v4:
- Changes the s_ctrl "power" access method to use pm runtime API
- Fix an issue with "streaming" vairable left on in error case.
- Added Acked-by from Prabhakar
- Added Reviwed-by from Rob

Changes since v3:
- Addressed review comment from Sakari about s_ctrl i2c access whne
  powered off

Changes since v2:
- Addressed review comment from Sakari
- Reworked the "media: i2c: ov2659: Add powerdown/reset gpio handling"
  to use pm_runtime if it is available but not to make it depend on it.
- Cleaned up the gpio related calls to remove the unnecessary NULL check

Changes since v1:
- Addressed review comment from Prabhakar
- Added support for reset-gpios
- Rework the power setting to use pm_runtime instead of s_power
  as based on discussion with Sakari it would be the prefered method
- Added a patch to reduce the number explicit include files to the
  minimum necessary instead of the previous kitchen sink approach

Benoit Parrot (8):
  media: i2c: ov2659: Fix for image wrap-around in lower resolution
  media: i2c: ov2659: Fix sensor detection to actually fail when device
    is not present
  media: i2c: ov2659: Cleanup include file list
  media: i2c: ov2659: fix s_stream return value
  media: dt-bindings: ov2659: add powerdown/reset-gpios optional
    property
  media: i2c: ov2659: Add powerdown/reset gpio handling
  media: i2c: ov2659: Fix missing 720p register config
  media: i2c: ov2659: Switch to SPDX Licensing

 .../devicetree/bindings/media/i2c/ov2659.txt  |   9 ++
 drivers/media/i2c/Kconfig                     |   2 +-
 drivers/media/i2c/ov2659.c                    | 139 +++++++++++++-----
 3 files changed, 112 insertions(+), 38 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-10-01  6:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-30 13:06 [Patch v5 0/8] media: i2c: ov2659: maintenance series Benoit Parrot
2019-09-30 13:06 ` [Patch v5 1/8] media: i2c: ov2659: Fix for image wrap-around in lower resolution Benoit Parrot
2019-09-30 13:06 ` [Patch v5 2/8] media: i2c: ov2659: Fix sensor detection to actually fail when device is not present Benoit Parrot
2019-09-30 13:06 ` [Patch v5 3/8] media: i2c: ov2659: Cleanup include file list Benoit Parrot
2019-09-30 13:06 ` [Patch v5 4/8] media: i2c: ov2659: fix s_stream return value Benoit Parrot
2019-10-01  6:04   ` Lad, Prabhakar
2019-09-30 13:06 ` [Patch v5 5/8] media: dt-bindings: ov2659: add powerdown/reset-gpios optional property Benoit Parrot
2019-09-30 13:06 ` [Patch v5 6/8] media: i2c: ov2659: Add powerdown/reset gpio handling Benoit Parrot
2019-10-01  6:03   ` Lad, Prabhakar
2019-09-30 13:06 ` [Patch v5 7/8] media: i2c: ov2659: Fix missing 720p register config Benoit Parrot
2019-09-30 13:06 ` [Patch v5 8/8] media: i2c: ov2659: Switch to SPDX Licensing Benoit Parrot

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