mbox series

[v2,00/11] media: exynos4-is: Improve support for s5pv210 and parallel ports

Message ID BN6PR04MB06603B2CD7F2C56B322AF882A3710@BN6PR04MB0660.namprd04.prod.outlook.com
Headers show
Series media: exynos4-is: Improve support for s5pv210 and parallel ports | expand

Message

Jonathan Bakker July 30, 2020, 11:01 p.m. UTC
This patchset improves support in the exynos4-is driver for s5pv210
platforms as well as for sensors connected to the parallel ports
and not using the CSIS device.

Fixes range from nullptr exceptions to probe fixes to JPEG fixes.  The
binding doc is changed to match what is implemented in the driver and
in the Goni DTS (the only in-tree user).

Some patches cleaning up non-DT support are also included.

The patches have been tested on a first-gen Galaxy S GT-i900M device based
on S5PV210.  Two sensors (CE147 and S5KA3DFX, both with non-mainline
drivers), both attached to port A, were succesfully used.

Changes from v1:
- Added R-b tags
- Changed entity function initialization to not remove any
- Cleaned up some commit messages
- Added patch cleaning up the counting of sensors
- Separated parsing of multiple sensors into a separate func
- Match DT documentation to driver rather than modifying driver

Jonathan Bakker (10):
  media: exynos4-is: Remove static driver data for S5PV210 FIMC variants
  media: exynos4-is: Fix nullptr when no CSIS device present
  media: exynos4-is: Correct missing entity function initialization
  media: exynos4-is: Properly set JPEG options for parallel ports
  media: exynos4-is: Use global num_sensors rather than local index
  media: exynos4-is: Add support for multiple sensors on one port
  media: exynos4-is: Remove inh_sensor_ctrls
  media: exynos4-is: Remove unused struct member input_index
  media: exynos4-is: Handle duplicate calls to vidioc_streamoff
  dt-bindings: media: Correct samsung-fimc parallel port numbering

Tomasz Figa (1):
  media: exynos4-is: Request syscon only if ISP writeback is present

 .../bindings/media/samsung-fimc.txt           |  6 +-
 .../media/platform/exynos4-is/fimc-capture.c  | 21 ++----
 drivers/media/platform/exynos4-is/fimc-core.c | 67 ++-----------------
 drivers/media/platform/exynos4-is/fimc-core.h |  5 --
 drivers/media/platform/exynos4-is/fimc-reg.c  |  7 ++
 drivers/media/platform/exynos4-is/media-dev.c | 54 ++++++++++-----
 6 files changed, 60 insertions(+), 100 deletions(-)