From: Sascha Hauer <s.hauer@pengutronix.de>
To: "open list:BAREBOX" <barebox@lists.infradead.org>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH v2 00/15] video: Add Rockchip VOP2 support
Date: Fri, 27 Sep 2024 12:37:33 +0200 [thread overview]
Message-ID: <20240927-vop2-v2-0-dc8dcfc651d5@pengutronix.de> (raw)
This series adds support for the VOP2 controller found on the newer
Rockchip SoCs like RK3566, RK3568 and RK3588. It has been tested on a
RK3568 based ROCK3a board using HDMI and a RK3568 based custom board
using HDMI and RGB output.
The driver has support for a base plane and one or more overlay planes
which makes it possible to have a background image and a transparent
framebuffer console on an overlay.
Before adding the driver we have to add some headers from the Linux DRM
subsystem for easier inclusion of this DRM based driver.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Changes in v2:
- remove unused file rockchip_vop_reg.c
- make vpl deep probe aware
- register overlay framebuffers with base framebuffer name + suffix
- use dev_err_probe where appropriate
- do not register unused windows on RK3566
- use device_get_match_data() instead of dev_get_drvdata()
- register vop2 with device_platform_driver() instead of late_platform_driver()
- remove debugging leftover
- select DRIVER_VIDEO_EDID and DRIVER_VIDEO_DW_HDMI rather than depending on it
- Link to v1: https://lore.barebox.org/20240926-vop2-v1-0-fe0581f2020b@pengutronix.de
---
Sascha Hauer (15):
clk: rockchip: rk3568: Fix HDMI clocks
video: add videomode helpers
media-bus-format: update from kernel
regmap: add regfield support
video: add include/video/drm/drm_connector.h
fb: add fb_rect functions
video: Add Sitronix st7789v panel driver
video: add dw-hdmi driver
video: i.MX ipuv3: switch to upstream hdmi driver
fb: Accept overlay framebuffers without modes
fb: print more information on devinfo
fbconsole: Adjust fbconsole names for overlays
ARM: ARM64: implement dma_alloc_writecombine()
vpl: make vpl deep probe aware
video: Rockchip: Add VOP2 driver
arch/arm/cpu/mmu_64.c | 11 +-
arch/arm/cpu/mmu_64.h | 15 +-
drivers/base/regmap/internal.h | 11 +
drivers/base/regmap/regmap.c | 131 ++
drivers/clk/rockchip/clk-rk3568.c | 8 +-
drivers/video/Kconfig | 18 +
drivers/video/Makefile | 5 +-
drivers/video/dw-hdmi.c | 2286 ++++++++++++++++++++
drivers/video/{imx-ipu-v3/imx-hdmi.h => dw-hdmi.h} | 245 ++-
drivers/video/fb.c | 29 +-
drivers/video/fbconsole.c | 22 +-
drivers/video/imx-ipu-v3/Kconfig | 3 +-
drivers/video/imx-ipu-v3/Makefile | 2 +-
drivers/video/imx-ipu-v3/dw_hdmi-imx.c | 223 ++
drivers/video/imx-ipu-v3/imx-hdmi.c | 1360 ------------
drivers/video/mode-helpers.c | 174 ++
drivers/video/panel-sitronix-st7789v.c | 652 ++++++
drivers/video/rockchip/Kconfig | 18 +
drivers/video/rockchip/Makefile | 2 +
drivers/video/rockchip/dw_hdmi-rockchip.c | 365 ++++
drivers/video/rockchip/rockchip_drm_drv.h | 66 +
drivers/video/rockchip/rockchip_drm_vop.h | 424 ++++
drivers/video/rockchip/rockchip_drm_vop2.c | 2041 +++++++++++++++++
drivers/video/rockchip/rockchip_drm_vop2.h | 541 +++++
drivers/video/rockchip/rockchip_vop2_reg.c | 280 +++
drivers/video/vpl.c | 2 +
include/fb.h | 25 +
include/linux/hdmi.h | 445 ++++
include/linux/regmap.h | 39 +
include/uapi/drm/drm_mode.h | 93 +
include/video/drm/drm_connector.h | 502 +++++
include/video/drm/drm_modes.h | 409 ++++
include/video/dw_hdmi.h | 203 ++
include/video/media-bus-format.h | 55 +-
include/video/videomode.h | 40 +
include/video/vpl.h | 1 +
36 files changed, 9305 insertions(+), 1441 deletions(-)
---
base-commit: 46cb3f1ac62430d3fa662a4055c3a1c289ec3c86
change-id: 20240926-vop2-7b49f1b4c575
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
next reply other threads:[~2024-09-27 10:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-27 10:37 Sascha Hauer [this message]
2024-09-27 10:37 ` [PATCH v2 01/15] clk: rockchip: rk3568: Fix HDMI clocks Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 02/15] video: add videomode helpers Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 03/15] media-bus-format: update from kernel Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 04/15] regmap: add regfield support Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 05/15] video: add include/video/drm/drm_connector.h Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 06/15] fb: add fb_rect functions Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 07/15] video: Add Sitronix st7789v panel driver Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 08/15] video: add dw-hdmi driver Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 09/15] video: i.MX ipuv3: switch to upstream hdmi driver Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 10/15] fb: Accept overlay framebuffers without modes Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 11/15] fb: print more information on devinfo Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 12/15] fbconsole: Adjust fbconsole names for overlays Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 13/15] ARM: ARM64: implement dma_alloc_writecombine() Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 14/15] vpl: make vpl deep probe aware Sascha Hauer
2024-09-27 10:37 ` [PATCH v2 15/15] video: Rockchip: Add VOP2 driver Sascha Hauer
2024-09-30 6:35 ` Ahmad Fatoum
2024-10-01 6:35 ` Sascha Hauer
2024-10-01 6:32 ` [PATCH v2 00/15] video: Add Rockchip VOP2 support Sascha Hauer
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=20240927-vop2-v2-0-dc8dcfc651d5@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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