[v2,0/4] media: introduce microchip csi2dc driver
mbox series

Message ID 20200703074416.55272-1-eugen.hristev@microchip.com
Headers show
Series
  • media: introduce microchip csi2dc driver
Related show

Message

Eugen Hristev July 3, 2020, 7:44 a.m. UTC
Hi,

This series adds support for the Microchip csi2dc csi-2 demux controller.

I was not fully sure where is the best place for such a helper chip, thus
I added the driver in a separate 'misc' menu under the media menu.

There are references in the binding driver to the Synopsys IDI interface,
which is not yet in kernel mainline, as per the patch series at [1].

As this driver is still new, it still can get plenty of improvement, so,
waiting for feedback.

Thanks everyone for reviewing !

Changes in v2:
- fixed warnings for binding yaml check

[1] https://lwn.net/Articles/790917/

Eugen Hristev (4):
  dt-bindings: media: csi2dc: add bindings for microchip csi2dc
  media: misc: introduce miscellaneous menu for helper chips
  media: misc: introduce microchip_csi2dc driver
  MAINTAINERS: add microchip csi2dc

 .../bindings/media/microchip,csi2dc.yaml      | 185 +++++
 MAINTAINERS                                   |   7 +
 drivers/media/Kconfig                         |   1 +
 drivers/media/Makefile                        |   2 +-
 drivers/media/misc/Kconfig                    |  22 +
 drivers/media/misc/Makefile                   |   2 +
 drivers/media/misc/microchip_csi2dc.c         | 705 ++++++++++++++++++
 7 files changed, 923 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/media/microchip,csi2dc.yaml
 create mode 100644 drivers/media/misc/Kconfig
 create mode 100644 drivers/media/misc/Makefile
 create mode 100644 drivers/media/misc/microchip_csi2dc.c

Comments

Sakari Ailus Aug. 13, 2020, 10:23 p.m. UTC | #1
Hi Eugen,

On Fri, Jul 03, 2020 at 10:44:12AM +0300, Eugen Hristev wrote:
> Hi,
> 
> This series adds support for the Microchip csi2dc csi-2 demux controller.
> 
> I was not fully sure where is the best place for such a helper chip, thus
> I added the driver in a separate 'misc' menu under the media menu.

It goes under platform as the other platform drivers. There are some
similar chips already supported I believe.

Feel free to CC me in the future.