public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 00/19] i.MXRT1050 add LCDIF support
@ 2020-04-08 15:10 Giulio Benetti
  2020-04-08 15:10 ` [PATCH v3 01/19] clk: imx: pllv3: add enable_bit Giulio Benetti
                   ` (16 more replies)
  0 siblings, 17 replies; 45+ messages in thread
From: Giulio Benetti @ 2020-04-08 15:10 UTC (permalink / raw)
  To: u-boot

This patchset add support for LCDIF on i.MXRT1050 evk. This requires
PLL5 to be setup, mxsfb needs to use display_timing to retrieve if Lcd
has inverted PIXCLOCK from dts.

With this patchset applied we temporary loose DCache support until it will
get implemented, since a function in mxsfb.c is needed for setting cache
behaviour. Anyway this way Lcd will show the console same way as serial
does.

Also I've moved private sunxi_ctfb_mode_to_display_timing() to videomodes
since I need it for mxfsb.c too, then having a unified function to convert
from ctfb_mode to display_timing.

Changes:
V1->V2:
* moved hard-coded LCDIF's parent clock from clk-imxrt1050.c to imxrt1050-evk.dts
* reworded some commit log
V2->V3:
* added comment to describe what is a ctfb in videomodes

Giulio Benetti (19):
  clk: imx: pllv3: add enable_bit
  clk: imx: clk-imxrt1050: fix typo in clock name "video:"
  clk: imx: clk-imxrt1050: setup PLL5 for video in non-SPL
  clk: imx: clk-imxrt1050: add set_parent() callback
  videomodes: add helper function to convert from ctfb to display_timing
  sunxi: display: use common video_ctfb_mode_to_display_timing()
  video: mxsfb: add support for DM CLK
  video: mxsfb: add support for i.MXRT
  video: mxsfb: refactor for using display_timings
  video: mxsfb: enable setting HSYNC negative polarity
  video: mxsfb: enable setting VSYNC negative polarity
  video: mxsfb: enable setting PIXDATA on negative edge
  video: mxsfb: enable setting ENABLE negative polarity
  imxrt1050_evk: add 16bpp video support if video layer enabled
  ARM: dts: i.mxrt1050: add lcdif node
  ARM: dts: imxrt1050: allow this dtsi file to be compiled in Linux
  arch: arm: dts: imxrt1050-evk: add lcdif node
  configs: imxrt1050-evk: enable video support/console
  configs: imxrt1050-evk: temporary disable DCACHE

 arch/arm/dts/imxrt1050-evk.dts             | 60 ++++++++++++++
 arch/arm/dts/imxrt1050.dtsi                | 14 +++-
 arch/arm/include/asm/arch-imxrt/imx-regs.h |  6 ++
 arch/arm/include/asm/mach-imx/regs-lcdif.h |  6 +-
 configs/imxrt1050-evk_defconfig            |  6 ++
 drivers/clk/imx/clk-imxrt1050.c            | 30 ++++++-
 drivers/clk/imx/clk-pllv3.c                |  9 +++
 drivers/video/mxsfb.c                      | 94 ++++++++++++++--------
 drivers/video/sunxi/sunxi_display.c        | 33 +-------
 drivers/video/videomodes.c                 | 29 +++++++
 drivers/video/videomodes.h                 | 11 +++
 include/configs/imxrt1050-evk.h            | 15 ++++
 12 files changed, 242 insertions(+), 71 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2020-04-19  9:09 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-08 15:10 [PATCH v3 00/19] i.MXRT1050 add LCDIF support Giulio Benetti
2020-04-08 15:10 ` [PATCH v3 01/19] clk: imx: pllv3: add enable_bit Giulio Benetti
2020-04-19  9:09   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 02/19] clk: imx: clk-imxrt1050: fix typo in clock name "video:" Giulio Benetti
2020-04-19  9:09   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 03/19] clk: imx: clk-imxrt1050: setup PLL5 for video in non-SPL Giulio Benetti
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 04/19] clk: imx: clk-imxrt1050: add set_parent() callback Giulio Benetti
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 05/19] videomodes: add helper function to convert from ctfb to display_timing Giulio Benetti
2020-04-17 18:08   ` Anatolij Gustschin
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 06/19] sunxi: display: use common video_ctfb_mode_to_display_timing() Giulio Benetti
2020-04-17 18:09   ` Anatolij Gustschin
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 07/19] video: mxsfb: add support for DM CLK Giulio Benetti
2020-04-17 18:09   ` Anatolij Gustschin
2020-04-19  9:09   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 08/19] video: mxsfb: add support for i.MXRT Giulio Benetti
2020-04-17 18:11   ` Anatolij Gustschin
2020-04-19  9:09   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 09/19] video: mxsfb: refactor for using display_timings Giulio Benetti
2020-04-17 18:16   ` Anatolij Gustschin
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 10/19] video: mxsfb: enable setting HSYNC negative polarity Giulio Benetti
2020-04-17 18:18   ` Anatolij Gustschin
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 11/19] video: mxsfb: enable setting VSYNC " Giulio Benetti
2020-04-17 18:19   ` Anatolij Gustschin
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 12/19] video: mxsfb: enable setting PIXDATA on negative edge Giulio Benetti
2020-04-17 18:24   ` Anatolij Gustschin
2020-04-19  9:09   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 13/19] video: mxsfb: enable setting ENABLE negative polarity Giulio Benetti
2020-04-17 18:26   ` Anatolij Gustschin
2020-04-19  9:08   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 14/19] imxrt1050_evk: add 16bpp video support if video layer enabled Giulio Benetti
2020-04-17 18:27   ` Anatolij Gustschin
2020-04-19  9:09   ` sbabic at denx.de
2020-04-08 15:10 ` [PATCH v3 15/19] ARM: dts: i.mxrt1050: add lcdif node Giulio Benetti
2020-04-17 18:27   ` Anatolij Gustschin
2020-04-19  9:09   ` sbabic at denx.de
2020-04-15 20:05 ` [PATCH v3 00/19] i.MXRT1050 add LCDIF support Giulio Benetti
2020-04-16  1:26 ` Fabio Estevam
2020-04-16 15:22   ` Giulio Benetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox