mbox series

[V2,0/5] platform: dwc: Add of DesignWare MIPI CSI-2 Host

Message ID 20180920111648.27000-1-lolivei@synopsys.com (mailing list archive)
Headers show
Series platform: dwc: Add of DesignWare MIPI CSI-2 Host | expand

Message

Luis de Oliveira Sept. 20, 2018, 11:16 a.m. UTC
This adds support for Synopsys MIPI CSI-2 Host and MIPI D-PHY.
The patch series include support for initialization/configuration of the
DW MIPI CSI-2 controller and DW MIPI D-PHY and both include a reference
platform driver.

This will enable future SoCs to use this standard approach and possibly
create a more clean environment.

This series also documents the dt-bindings needed for the platform drivers.

This was applied in: https://git.linuxtv.org/media_tree.git

Luis Oliveira (5):
  media: platform: Add a DesignWare folder to have Synopsys drivers
  Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx
    bindings
  media: platform: dwc: Add DW MIPI DPHY Rx platform
  Documentation: dt-bindings: Document bindings for DW MIPI CSI-2 Host
  media: platform: dwc: Add MIPI CSI-2 controller driver

 .../devicetree/bindings/media/snps,dw-csi-plat.txt |  74 +++
 .../devicetree/bindings/phy/snps,dphy-rx.txt       |  36 ++
 MAINTAINERS                                        |  11 +
 drivers/media/platform/Kconfig                     |   1 +
 drivers/media/platform/Makefile                    |   3 +
 drivers/media/platform/dwc/Kconfig                 |  43 ++
 drivers/media/platform/dwc/Makefile                |   4 +
 drivers/media/platform/dwc/dw-csi-plat.c           | 508 ++++++++++++++++++
 drivers/media/platform/dwc/dw-csi-plat.h           |  76 +++
 drivers/media/platform/dwc/dw-dphy-plat.c          | 365 +++++++++++++
 drivers/media/platform/dwc/dw-dphy-rx.c            | 594 +++++++++++++++++++++
 drivers/media/platform/dwc/dw-dphy-rx.h            | 176 ++++++
 drivers/media/platform/dwc/dw-mipi-csi.c           | 490 +++++++++++++++++
 drivers/media/platform/dwc/dw-mipi-csi.h           | 202 +++++++
 include/media/dwc/dw-mipi-csi-pltfrm.h             | 101 ++++
 15 files changed, 2684 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/snps,dw-csi-plat.txt
 create mode 100644 Documentation/devicetree/bindings/phy/snps,dphy-rx.txt
 create mode 100644 drivers/media/platform/dwc/Kconfig
 create mode 100644 drivers/media/platform/dwc/Makefile
 create mode 100644 drivers/media/platform/dwc/dw-csi-plat.c
 create mode 100644 drivers/media/platform/dwc/dw-csi-plat.h
 create mode 100644 drivers/media/platform/dwc/dw-dphy-plat.c
 create mode 100644 drivers/media/platform/dwc/dw-dphy-rx.c
 create mode 100644 drivers/media/platform/dwc/dw-dphy-rx.h
 create mode 100644 drivers/media/platform/dwc/dw-mipi-csi.c
 create mode 100644 drivers/media/platform/dwc/dw-mipi-csi.h
 create mode 100644 include/media/dwc/dw-mipi-csi-pltfrm.h

Comments

Maxime Ripard Sept. 21, 2018, 2:37 p.m. UTC | #1
Hi Luis,

On Thu, Sep 20, 2018 at 01:16:38PM +0200, Luis Oliveira wrote:
> This adds support for Synopsys MIPI CSI-2 Host and MIPI D-PHY.
> The patch series include support for initialization/configuration of the
> DW MIPI CSI-2 controller and DW MIPI D-PHY and both include a reference
> platform driver.
> 
> This will enable future SoCs to use this standard approach and possibly
> create a more clean environment.
> 
> This series also documents the dt-bindings needed for the platform drivers.
> 
> This was applied in: https://git.linuxtv.org/media_tree.git

I'm currently working on some MIPI D-PHY support through the generic
phy framework that could benefit your patches.

https://lwn.net/Articles/764173/

Feel free to comment on that serie if you have any particular
constraints or if you believe that some issues should be addressed.

Thanks!
Maxime
Luis de Oliveira Sept. 21, 2018, 3:27 p.m. UTC | #2
On 21-Sep-18 15:37, Maxime Ripard wrote:
> Hi Luis,
> 
> On Thu, Sep 20, 2018 at 01:16:38PM +0200, Luis Oliveira wrote:
>> This adds support for Synopsys MIPI CSI-2 Host and MIPI D-PHY.
>> The patch series include support for initialization/configuration of the
>> DW MIPI CSI-2 controller and DW MIPI D-PHY and both include a reference
>> platform driver.
>>
>> This will enable future SoCs to use this standard approach and possibly
>> create a more clean environment.
>>
>> This series also documents the dt-bindings needed for the platform drivers.
>>
>> This was applied in: https://git.linuxtv.org/media_tree.git
> 
> I'm currently working on some MIPI D-PHY support through the generic
> phy framework that could benefit your patches.
> 
> https://lwn.net/Articles/764173/
> 
> Feel free to comment on that serie if you have any particular
> constraints or if you believe that some issues should be addressed.

Hi Maxime,

I will check that, thanks!

> 
> Thanks!
> Maxime
>