[lkml]   [2019]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v6 0/4] DCMI bridge support
This patch serie allows to connect non-parallel camera sensor to
DCMI thanks to a bridge connected in between such as STMIPID02 [1].

Media controller support is introduced first, then support of
several sub-devices within pipeline with dynamic linking
between them.
In order to keep backward compatibility with applications
relying on V4L2 interface only, format set on video node
is propagated to all sub-devices connected to camera interface.


= history =
version 6:
- As per Sakari remark: add a FIXME explaining that this
version only supports subdevices which expose RGB & YUV
"parallel form" mbus code (_2X8)
- Add some trace around subdev_call(s_fmt) error & format
changes to debug subdev which only expose serial mbus code
- Conform to "<name>":<pad index> when tracing subdev infos

version 5:
- Remove remaining Change-Id
- Add Acked-by: Sakari Ailus <>

version 4:
- Also drop subdev nodes registry as suggested by Hans:

version 3:
- Drop media device registry to not expose media controller
interface to userspace as per Laurent' suggestion:
- Prefer "source" instead of "sensor" and keep it in
dcmi_graph_entity struct, move asd as first member
of struct as per Sakari' suggestion:
- Drop dcmi_graph_deinit() as per Sakari' suggestion:

version 2:
- Fix bus_info not consistent between media and V4L:
- Propagation of format set on video node to the sub-devices
chain connected on camera interface

version 1:
- Initial submission

Hugues Fruchet (4):
media: stm32-dcmi: improve sensor subdev naming
media: stm32-dcmi: trace the supported fourcc/mbus_code
media: stm32-dcmi: add media controller support
media: stm32-dcmi: add support of several sub-devices

drivers/media/platform/Kconfig | 2 +-
drivers/media/platform/stm32/stm32-dcmi.c | 317 +++++++++++++++++++++++++-----
2 files changed, 267 insertions(+), 52 deletions(-)


 \ /
  Last update: 2019-08-14 15:50    [W:0.151 / U:49.300 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site