mbox series

[RFC,0/9] arm64: imx8mm: Add MIPI DSI support

Message ID 20210621072424.111733-1-jagan@amarulasolutions.com
Headers show
Series arm64: imx8mm: Add MIPI DSI support | expand

Message

Jagan Teki June 21, 2021, 7:24 a.m. UTC
This series support MIPI DSI on i.MX8MM.

It worked directly with existing mxsfb driver but the SEC DSIM
timings has to be validate and tested through all platforms, 
ie reason I'm sending it as RFC.

Tested on Engicam i.Core MX8M Mini SoM.

patch 1: dt-bindings for SEC MIPI DSIM

patch 2: SEC MIPI DSIM bridge driver

patch 3: dt-bindings for SEC DSIM DPHY

patch 4: SEC DSIM DPHY driver

patch 5: MIPI DPHY reset enable in blk-ctl

patch 6: display mix blk ctl node

patch 7: eLCDIF node

patch 8: MIPI DSI pipeline nodes

patch 9: Enable LVDS panel on EDIMM2.2

Note:
- all these patches on top of Peng Fan's blk-ctl driver.
- anyone interest, please have a look on this repo
  https://github.com/openedev/linux/commits/imx8mm

Any inputs?
Jagan.

Jagan Teki (9):
  dt-bindings: display: bridge: Add Samsung SEC MIPI DSIM bindings
  drm: bridge: Add Samsung SEC MIPI DSIM bridge driver
  dt-bindings: phy: Add SEC DSIM DPHY bindings
  phy: samsung: Add SEC DSIM DPHY driver
  soc: imx8mm: blk-ctl: Add MIPI DPHY reset enable
  arm64: dts: imx8mm: Add display mix blk ctl
  arm64: dts: imx8mm: Add eLCDIF node support
  arm64: dts: imx8mm: Add MIPI DSI pipeline
  arm64: dts: imx8mm-icore: Enable LVDS panel for EDIMM2.2

 .../display/bridge/samsung,sec-dsim.yaml      |  184 ++
 .../bindings/phy/samsung,sec-dsim-dphy.yaml   |   56 +
 .../freescale/imx8mm-icore-mx8mm-edimm2.2.dts |   90 +
 arch/arm64/boot/dts/freescale/imx8mm.dtsi     |  104 ++
 drivers/gpu/drm/bridge/Kconfig                |   15 +
 drivers/gpu/drm/bridge/Makefile               |    1 +
 drivers/gpu/drm/bridge/sec-dsim.c             | 1535 +++++++++++++++++
 drivers/phy/samsung/Kconfig                   |    9 +
 drivers/phy/samsung/Makefile                  |    1 +
 drivers/phy/samsung/phy-sec-dsim-dphy.c       |  236 +++
 drivers/soc/imx/blk-ctl-imx8mm.c              |    4 +
 include/dt-bindings/power/imx8mm-power.h      |    5 +-
 12 files changed, 2238 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/samsung,sec-dsim.yaml
 create mode 100644 Documentation/devicetree/bindings/phy/samsung,sec-dsim-dphy.yaml
 create mode 100644 drivers/gpu/drm/bridge/sec-dsim.c
 create mode 100644 drivers/phy/samsung/phy-sec-dsim-dphy.c

Comments

Peng Fan (OSS) June 29, 2021, 7:10 a.m. UTC | #1
Hi Jagan,

> Subject: [RFC PATCH 0/9] arm64: imx8mm: Add MIPI DSI support
> 
> This series support MIPI DSI on i.MX8MM.
> 
> It worked directly with existing mxsfb driver but the SEC DSIM timings has to
> be validate and tested through all platforms, ie reason I'm sending it as RFC.
> 
> Tested on Engicam i.Core MX8M Mini SoM.

Thanks for the work.

> 
> patch 1: dt-bindings for SEC MIPI DSIM
> 
> patch 2: SEC MIPI DSIM bridge driver
> 
> patch 3: dt-bindings for SEC DSIM DPHY
> 
> patch 4: SEC DSIM DPHY driver
> 
> patch 5: MIPI DPHY reset enable in blk-ctl
> 
> patch 6: display mix blk ctl node
> 
> patch 7: eLCDIF node
> 
> patch 8: MIPI DSI pipeline nodes
> 
> patch 9: Enable LVDS panel on EDIMM2.2
> 
> Note:
> - all these patches on top of Peng Fan's blk-ctl driver.

Would you please update to use V8 patchset?

And the dtb:
https://patchwork.kernel.org/project/linux-arm-kernel/
patch/20210604111005.6804-1-peng.fan@oss.nxp.com/

Thanks,
Peng.

> - anyone interest, please have a look on this repo
> 
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
> com%2Fopenedev%2Flinux%2Fcommits%2Fimx8mm&data=04%7C01%7
> Cpeng.fan%40nxp.com%7C8185c94655404000316208d93485a285%7C686ea
> 1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637598570833578734%7CU
> nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI
> 6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HKAHBv4YM0G6mVV3bq
> oPOyNb2mQTH03YSBU8RnrJmlE%3D&reserved=0
> 
> Any inputs?
> Jagan.
> 
> Jagan Teki (9):
>   dt-bindings: display: bridge: Add Samsung SEC MIPI DSIM bindings
>   drm: bridge: Add Samsung SEC MIPI DSIM bridge driver
>   dt-bindings: phy: Add SEC DSIM DPHY bindings
>   phy: samsung: Add SEC DSIM DPHY driver
>   soc: imx8mm: blk-ctl: Add MIPI DPHY reset enable
>   arm64: dts: imx8mm: Add display mix blk ctl
>   arm64: dts: imx8mm: Add eLCDIF node support
>   arm64: dts: imx8mm: Add MIPI DSI pipeline
>   arm64: dts: imx8mm-icore: Enable LVDS panel for EDIMM2.2
> 
>  .../display/bridge/samsung,sec-dsim.yaml      |  184 ++
>  .../bindings/phy/samsung,sec-dsim-dphy.yaml   |   56 +
>  .../freescale/imx8mm-icore-mx8mm-edimm2.2.dts |   90 +
>  arch/arm64/boot/dts/freescale/imx8mm.dtsi     |  104 ++
>  drivers/gpu/drm/bridge/Kconfig                |   15 +
>  drivers/gpu/drm/bridge/Makefile               |    1 +
>  drivers/gpu/drm/bridge/sec-dsim.c             | 1535
> +++++++++++++++++
>  drivers/phy/samsung/Kconfig                   |    9 +
>  drivers/phy/samsung/Makefile                  |    1 +
>  drivers/phy/samsung/phy-sec-dsim-dphy.c       |  236 +++
>  drivers/soc/imx/blk-ctl-imx8mm.c              |    4 +
>  include/dt-bindings/power/imx8mm-power.h      |    5 +-
>  12 files changed, 2238 insertions(+), 2 deletions(-)  create mode 100644
> Documentation/devicetree/bindings/display/bridge/samsung,sec-dsim.yaml
>  create mode 100644
> Documentation/devicetree/bindings/phy/samsung,sec-dsim-dphy.yaml
>  create mode 100644 drivers/gpu/drm/bridge/sec-dsim.c  create mode
> 100644 drivers/phy/samsung/phy-sec-dsim-dphy.c
> 
> --
> 2.25.1
Jagan Teki June 30, 2021, 12:24 p.m. UTC | #2
Hi Peng,

On Tue, Jun 29, 2021 at 12:40 PM Peng Fan (OSS) <peng.fan@oss.nxp.com> wrote:
>
> Hi Jagan,
>
> > Subject: [RFC PATCH 0/9] arm64: imx8mm: Add MIPI DSI support
> >
> > This series support MIPI DSI on i.MX8MM.
> >
> > It worked directly with existing mxsfb driver but the SEC DSIM timings has to
> > be validate and tested through all platforms, ie reason I'm sending it as RFC.
> >
> > Tested on Engicam i.Core MX8M Mini SoM.
>
> Thanks for the work.
>
> >
> > patch 1: dt-bindings for SEC MIPI DSIM
> >
> > patch 2: SEC MIPI DSIM bridge driver
> >
> > patch 3: dt-bindings for SEC DSIM DPHY
> >
> > patch 4: SEC DSIM DPHY driver
> >
> > patch 5: MIPI DPHY reset enable in blk-ctl
> >
> > patch 6: display mix blk ctl node
> >
> > patch 7: eLCDIF node
> >
> > patch 8: MIPI DSI pipeline nodes
> >
> > patch 9: Enable LVDS panel on EDIMM2.2
> >
> > Note:
> > - all these patches on top of Peng Fan's blk-ctl driver.
>
> Would you please update to use V8 patchset?
>
> And the dtb:
> https://patchwork.kernel.org/project/linux-arm-kernel/
> patch/20210604111005.6804-1-peng.fan@oss.nxp.com/

Thanks for the details.

I will rebase to use this series and test. Will update on blk-ctl patches.

Thanks,
Jagan.