mbox series

[U-Boot,00/17] Convert some imx6 boards to DM_VIDEO

Message ID 20190318222947.7148-1-agust@denx.de
Headers show
Series Convert some imx6 boards to DM_VIDEO | expand

Message

Anatolij Gustschin March 18, 2019, 10:29 p.m. UTC
This series starts conversion of ipuv3 driver to DM_VIDEO.
It has been tested on apalis_imx6 module with LVDS display
attached and on wandboard with HDMI display.

With applied "[PATCH 17/17] imx6: wandboard: convert to DM_MMC"
building wandboard target doesn't work. To fix this please
apply patches [1], [2] and enable CONFIG_AHCI and CONFIG_DM_SCSI
in wandboard_defconfig.

[1] http://patchwork.ozlabs.org/patch/1050141
[2] http://patchwork.ozlabs.org/patch/1050143

Anatolij Gustschin (17):
  video: ipuv3: add DM_VIDEO support
  video: move ipuv3 files to subdirectory
  imx: move CONFIG_VIDEO_IPUV3 to defconfigs
  imx6: dts: add 'u-boot,dm-pre-reloc' to soc and ipu nodes
  apalis_imx6: convert to DM_VIDEO
  imx6: icore: convert to DM_VIDEO
  imx6: ge_bx50v3: convert to DM_VIDEO
  colibri_imx6: convert to DM_VIDEO
  mx6sabresd: convert to DM_VIDEO
  mx6sabreauto: convert to DM_VIDEO
  imx6: wandboard: add device tree
  imx6: wandboard: convert to DM_GPIO and enable pinctrl driver
  imx6: wandboard: convert to DM_USB
  imx6: wandboard: convert to DM_VIDEO
  imx6: wandboard: convert to DM_PMIC
  imx6: wandboard: convert to DM_I2C
  imx6: wandboard: convert to DM_MMC

 arch/arm/dts/imx6dl-wandboard-revb1.dts   |  18 +
 arch/arm/dts/imx6qdl-wandboard-revb1.dtsi |  41 +++
 arch/arm/dts/imx6qdl-wandboard.dtsi       | 380 ++++++++++++++++++++++
 arch/arm/dts/imx6qdl.dtsi                 |   2 +
 arch/arm/include/asm/mach-imx/video.h     |   1 +
 arch/arm/mach-imx/video.c                 |  25 +-
 board/wandboard/MAINTAINERS               |   3 +
 board/wandboard/spl.c                     |  92 ++++++
 board/wandboard/wandboard.c               | 160 +++------
 configs/apalis_imx6_defconfig             |   4 +-
 configs/aristainetos2_defconfig           |   1 +
 configs/aristainetos2b_defconfig          |   1 +
 configs/aristainetos_defconfig            |   1 +
 configs/cgtqmx6eval_defconfig             |   1 +
 configs/cm_fx6_defconfig                  |   1 +
 configs/colibri_imx6_defconfig            |   3 +-
 configs/dms-ba16-1g_defconfig             |   1 +
 configs/dms-ba16_defconfig                |   1 +
 configs/ge_bx50v3_defconfig               |   2 +
 configs/gwventana_emmc_defconfig          |   1 +
 configs/gwventana_gw5904_defconfig        |   1 +
 configs/gwventana_nand_defconfig          |   1 +
 configs/imx6dl_icore_nand_defconfig       |   2 +-
 configs/imx6q_icore_nand_defconfig        |   2 +-
 configs/imx6qdl_icore_mmc_defconfig       |   2 +-
 configs/imx6qdl_icore_nand_defconfig      |   2 +-
 configs/m53menlo_defconfig                |   1 +
 configs/marsboard_defconfig               |   1 +
 configs/mx51evk_defconfig                 |   1 +
 configs/mx53cx9020_defconfig              |   1 +
 configs/mx53loco_defconfig                |   1 +
 configs/mx53ppd_defconfig                 |   1 +
 configs/mx6cuboxi_defconfig               |   1 +
 configs/mx6qsabrelite_defconfig           |   1 +
 configs/mx6sabreauto_defconfig            |   3 +-
 configs/mx6sabresd_defconfig              |   3 +-
 configs/nitrogen6dl2g_defconfig           |   1 +
 configs/nitrogen6dl_defconfig             |   1 +
 configs/nitrogen6q2g_defconfig            |   1 +
 configs/nitrogen6q_defconfig              |   1 +
 configs/nitrogen6s1g_defconfig            |   1 +
 configs/nitrogen6s_defconfig              |   1 +
 configs/novena_defconfig                  |   1 +
 configs/riotboard_defconfig               |   1 +
 configs/riotboard_spl_defconfig           |   1 +
 configs/tbs2910_defconfig                 |   1 +
 configs/wandboard_defconfig               |  18 +-
 drivers/video/Kconfig                     |   9 +-
 drivers/video/Makefile                    |   2 +-
 drivers/video/imx/Kconfig                 |   8 +
 drivers/video/imx/Makefile                |   6 +
 drivers/video/{ => imx}/ipu.h             |   0
 drivers/video/{ => imx}/ipu_common.c      |   0
 drivers/video/{ => imx}/ipu_disp.c        |   0
 drivers/video/{ => imx}/ipu_regs.h        |   0
 drivers/video/{ => imx}/mxc_ipuv3_fb.c    |  89 ++++-
 drivers/video/{ => imx}/mxcfb.h           |   0
 include/configs/advantech_dms-ba16.h      |   1 -
 include/configs/apalis_imx6.h             |   1 -
 include/configs/aristainetos-common.h     |   1 -
 include/configs/cgtqmx6eval.h             |   1 -
 include/configs/cm_fx6.h                  |   1 -
 include/configs/colibri_imx6.h            |   1 -
 include/configs/embestmx6boards.h         |   1 -
 include/configs/ge_bx50v3.h               |   8 -
 include/configs/gw_ventana.h              |   1 -
 include/configs/m53menlo.h                |   1 -
 include/configs/mx51evk.h                 |   1 -
 include/configs/mx53cx9020.h              |   1 -
 include/configs/mx53loco.h                |   1 -
 include/configs/mx53ppd.h                 |   5 -
 include/configs/mx6cuboxi.h               |   1 -
 include/configs/mx6sabre_common.h         |   1 -
 include/configs/nitrogen6x.h              |   1 -
 include/configs/novena.h                  |   1 -
 include/configs/tbs2910.h                 |   1 -
 include/configs/wandboard.h               |  18 -
 77 files changed, 766 insertions(+), 187 deletions(-)
 create mode 100644 arch/arm/dts/imx6dl-wandboard-revb1.dts
 create mode 100644 arch/arm/dts/imx6qdl-wandboard-revb1.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-wandboard.dtsi
 create mode 100644 drivers/video/imx/Kconfig
 create mode 100644 drivers/video/imx/Makefile
 rename drivers/video/{ => imx}/ipu.h (100%)
 rename drivers/video/{ => imx}/ipu_common.c (100%)
 rename drivers/video/{ => imx}/ipu_disp.c (100%)
 rename drivers/video/{ => imx}/ipu_regs.h (100%)
 rename drivers/video/{ => imx}/mxc_ipuv3_fb.c (88%)
 rename drivers/video/{ => imx}/mxcfb.h (100%)

Comments

Anatolij Gustschin March 18, 2019, 10:37 p.m. UTC | #1
On Mon, 18 Mar 2019 23:29:30 +0100
Anatolij Gustschin agust@denx.de wrote:

> This series starts conversion of ipuv3 driver to DM_VIDEO.

These patches are based on 'next' branch of git://git.denx.de/u-boot-imx.git.

--
Anatolij
Fabio Estevam March 20, 2019, 1:25 p.m. UTC | #2
Hi Anatolij,

On Mon, Mar 18, 2019 at 7:30 PM Anatolij Gustschin <agust@denx.de> wrote:
>
> This series starts conversion of ipuv3 driver to DM_VIDEO.
> It has been tested on apalis_imx6 module with LVDS display
> attached and on wandboard with HDMI display.
>
> With applied "[PATCH 17/17] imx6: wandboard: convert to DM_MMC"
> building wandboard target doesn't work. To fix this please
> apply patches [1], [2] and enable CONFIG_AHCI and CONFIG_DM_SCSI
> in wandboard_defconfig.
>
> [1] http://patchwork.ozlabs.org/patch/1050141
> [2] http://patchwork.ozlabs.org/patch/1050143
>
> Anatolij Gustschin (17):
>   video: ipuv3: add DM_VIDEO support
>   video: move ipuv3 files to subdirectory
>   imx: move CONFIG_VIDEO_IPUV3 to defconfigs
>   imx6: dts: add 'u-boot,dm-pre-reloc' to soc and ipu nodes
>   apalis_imx6: convert to DM_VIDEO
>   imx6: icore: convert to DM_VIDEO
>   imx6: ge_bx50v3: convert to DM_VIDEO
>   colibri_imx6: convert to DM_VIDEO
>   mx6sabresd: convert to DM_VIDEO
>   mx6sabreauto: convert to DM_VIDEO
>   imx6: wandboard: add device tree

Thanks for converting wandboard to DM.

I haven't had a chance to test this series yet, but I am wondering if
the SPL size can still fit in the 64k of the internal RAM available on
mx6solo.

Do you know?

Thanks
Anatolij Gustschin March 20, 2019, 1:38 p.m. UTC | #3
Hi Fabio,

On Wed, 20 Mar 2019 10:25:02 -0300
Fabio Estevam festevam@gmail.com wrote:
...
> Thanks for converting wandboard to DM.
> 
> I haven't had a chance to test this series yet, but I am wondering if
> the SPL size can still fit in the 64k of the internal RAM available on
> mx6solo.
> 
> Do you know?

I've tested on wandboard with MX6Solo, the SPL size was 47 KiB.

Thanks,
Anatolij
Fabio Estevam March 20, 2019, 1:40 p.m. UTC | #4
Hi Anatolij,

On Wed, Mar 20, 2019 at 10:38 AM Anatolij Gustschin <agust@denx.de> wrote:

> I've tested on wandboard with MX6Solo, the SPL size was 47 KiB.

Excellent! That's great news, thanks :-)