From: Neil Armstrong <narmstrong@baylibre.com>
To: agust@denx.de, u-boot@lists.denx.de
Cc: mjourdan@baylibre.com, linux-amlogic@lists.infradead.org,
jbrunet@baylibre.com, Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH u-boot 00/11] meson: add support for Video Output
Date: Tue, 15 Jan 2019 17:17:48 +0100 [thread overview]
Message-ID: <20190115161759.1657-1-narmstrong@baylibre.com> (raw)
This patchset adds support for CVBS and/or HDMI output for Amlogic
Meson GX SoCs (GXBB, GXL and GXM) based on the Linux Meson DRM driver
ported to the U-Boot Video DM model. It supports only the "DMT" video
modes reported by the monitors since AVI InfoFrame management is
missing from the U-Boot video model.
The port includes some changes in the dw-hdmi driver to support custom
PHY calls and support for the ColorSpace converter since the
Amlogic Meson GX video pipeline can only output un YUV444 mode, thus
activating the CSC is needed to output RGB for HDMI.
Video Support needs some tweaks in the DT like the u-boot,dm-pre-reloc for
the VPU node and a tweak to access the HHI registers from the DW-HDMI
glue driver. A port of a linux patch is also necessary to hook a regulator
to enable HDMI.
Finally, it enables console mux and console env for all Amlogic boards
and enabled Video Support for the Libre Computer AML-S905X-CC board.
Jorge Ramirez-Ortiz (2):
video: dw_hdmi: support SoC specific read/write ops
video: dw_hdmi: add support for color conversion
Maxime Jourdan (6):
power: domain: meson-gx-pwrc-vpu: add missing depends
arm64: dts: meson-gx: vpu should be probed before relocation
arm64: dts: meson-gx: add hhi reg entry to hdmi_tx
arm: meson: board-gx: Setup VPU in fdt
arm: meson64: enable console mux and console env by default
arm: libretech-cc: enable video by default
Neil Armstrong (3):
video: Add Meson Video Processing Unit Driver
arm64: dts: meson-gx: Add hdmi_5v regulator as hdmi tx supply
configs: meson64: use vidconsole and usbkbd if enabled
arch/arm/dts/meson-gx-u-boot.dtsi | 21 +
arch/arm/dts/meson-gxbb-nanopi-k2-u-boot.dtsi | 7 +
arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi | 7 +
.../meson-gxl-s905x-khadas-vim-u-boot.dtsi | 7 +
arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 1 +
.../meson-gxl-s905x-libretech-cc-u-boot.dtsi | 7 +
arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 1 +
arch/arm/dts/meson-gxl-s905x-p212-u-boot.dtsi | 7 +
arch/arm/dts/meson-gxl-s905x-p212.dts | 1 +
.../arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi | 7 +
arch/arm/dts/meson-gxm-khadas-vim2.dts | 1 +
arch/arm/include/asm/arch-meson/meson-vpu.h | 13 +
arch/arm/mach-meson/board-gx.c | 5 +
configs/khadas-vim2_defconfig | 2 +
configs/khadas-vim_defconfig | 2 +
configs/libretech-cc_defconfig | 8 +
configs/odroid-c2_defconfig | 2 +
configs/p212_defconfig | 2 +
drivers/power/domain/Kconfig | 2 +-
drivers/video/Kconfig | 2 +
drivers/video/Makefile | 1 +
drivers/video/dw_hdmi.c | 267 ++-
drivers/video/meson/Kconfig | 12 +
drivers/video/meson/Makefile | 9 +
drivers/video/meson/meson_canvas.c | 45 +
drivers/video/meson/meson_dw_hdmi.c | 445 +++++
drivers/video/meson/meson_dw_hdmi.h | 134 ++
drivers/video/meson/meson_plane.c | 177 ++
drivers/video/meson/meson_registers.h | 1393 ++++++++++++++++
drivers/video/meson/meson_vclk.c | 893 ++++++++++
drivers/video/meson/meson_venc.c | 1464 +++++++++++++++++
drivers/video/meson/meson_vpu.c | 211 +++
drivers/video/meson/meson_vpu.h | 97 ++
drivers/video/meson/meson_vpu_init.c | 440 +++++
drivers/video/meson/simplefb_common.c | 29 +
drivers/video/meson/simplefb_common.h | 21 +
include/configs/meson64.h | 23 +
include/dw_hdmi.h | 74 +
include/media_bus_format.h | 156 ++
39 files changed, 5992 insertions(+), 4 deletions(-)
create mode 100644 arch/arm/dts/meson-gx-u-boot.dtsi
create mode 100644 arch/arm/dts/meson-gxbb-nanopi-k2-u-boot.dtsi
create mode 100644 arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi
create mode 100644 arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi
create mode 100644 arch/arm/dts/meson-gxl-s905x-libretech-cc-u-boot.dtsi
create mode 100644 arch/arm/dts/meson-gxl-s905x-p212-u-boot.dtsi
create mode 100644 arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi
create mode 100644 arch/arm/include/asm/arch-meson/meson-vpu.h
create mode 100644 drivers/video/meson/Kconfig
create mode 100644 drivers/video/meson/Makefile
create mode 100644 drivers/video/meson/meson_canvas.c
create mode 100644 drivers/video/meson/meson_dw_hdmi.c
create mode 100644 drivers/video/meson/meson_dw_hdmi.h
create mode 100644 drivers/video/meson/meson_plane.c
create mode 100644 drivers/video/meson/meson_registers.h
create mode 100644 drivers/video/meson/meson_vclk.c
create mode 100644 drivers/video/meson/meson_venc.c
create mode 100644 drivers/video/meson/meson_vpu.c
create mode 100644 drivers/video/meson/meson_vpu.h
create mode 100644 drivers/video/meson/meson_vpu_init.c
create mode 100644 drivers/video/meson/simplefb_common.c
create mode 100644 drivers/video/meson/simplefb_common.h
create mode 100644 include/media_bus_format.h
--
2.20.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2019-01-15 16:18 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-15 16:17 Neil Armstrong [this message]
2019-01-15 16:17 ` [PATCH u-boot 01/11] power: domain: meson-gx-pwrc-vpu: add missing depends Neil Armstrong
2019-01-28 19:58 ` Anatolij Gustschin
2019-01-15 16:17 ` [PATCH u-boot 02/11] video: dw_hdmi: support SoC specific read/write ops Neil Armstrong
2019-01-28 16:00 ` Anatolij Gustschin
2019-01-15 16:17 ` [PATCH u-boot 03/11] video: dw_hdmi: add support for color conversion Neil Armstrong
2019-01-28 16:01 ` Anatolij Gustschin
2019-01-15 16:17 ` [PATCH u-boot 04/11] video: Add Meson Video Processing Unit Driver Neil Armstrong
2019-01-28 19:56 ` Anatolij Gustschin
2019-01-29 8:26 ` Neil Armstrong
2019-01-29 10:28 ` Anatolij Gustschin
2019-01-15 16:17 ` [PATCH u-boot 05/11] arm64: dts: meson-gx: vpu should be probed before relocation Neil Armstrong
2019-01-15 16:17 ` [PATCH u-boot 06/11] arm64: dts: meson-gx: Add hdmi_5v regulator as hdmi tx supply Neil Armstrong
2019-01-15 16:17 ` [PATCH u-boot 07/11] arm64: dts: meson-gx: add hhi reg entry to hdmi_tx Neil Armstrong
2019-01-15 16:17 ` [PATCH u-boot 08/11] arm: meson: board-gx: Setup VPU in fdt Neil Armstrong
2019-01-28 20:07 ` Anatolij Gustschin
2019-01-15 16:17 ` [PATCH u-boot 09/11] configs: meson64: use vidconsole and usbkbd if enabled Neil Armstrong
2019-01-28 20:09 ` Anatolij Gustschin
2019-01-15 16:17 ` [PATCH u-boot 10/11] arm: meson64: enable console mux and console env by default Neil Armstrong
2019-01-28 20:11 ` Anatolij Gustschin
2019-01-15 16:17 ` [PATCH u-boot 11/11] arm: libretech-cc: enable video " Neil Armstrong
2019-01-28 20:12 ` Anatolij Gustschin
2019-01-28 9:10 ` [PATCH u-boot 00/11] meson: add support for Video Output Neil Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190115161759.1657-1-narmstrong@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=agust@denx.de \
--cc=jbrunet@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=mjourdan@baylibre.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®