Skip to content

Commit

Permalink
drm: zte: add tvenc driver support
Browse files Browse the repository at this point in the history
It adds the TV Encoder driver to support video output in PAL and NTSC
format.  The driver uses syscon/regmap interface to configure register
bit sitting in SYSCTRL module for DAC power control.

Signed-off-by: Shawn Guo <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
  • Loading branch information
shawnguo2 committed Jan 28, 2017
1 parent 9f17d74 commit 098988c
Show file tree
Hide file tree
Showing 6 changed files with 446 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/zte/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ zxdrm-y := \
zx_drm_drv.o \
zx_hdmi.o \
zx_plane.o \
zx_tvenc.o \
zx_vou.o

obj-$(CONFIG_DRM_ZTE) += zxdrm.o
1 change: 1 addition & 0 deletions drivers/gpu/drm/zte/zx_drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ static struct platform_driver zx_drm_platform_driver = {
static struct platform_driver *drivers[] = {
&zx_crtc_driver,
&zx_hdmi_driver,
&zx_tvenc_driver,
&zx_drm_platform_driver,
};

Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/zte/zx_drm_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

extern struct platform_driver zx_crtc_driver;
extern struct platform_driver zx_hdmi_driver;
extern struct platform_driver zx_tvenc_driver;

static inline u32 zx_readl(void __iomem *reg)
{
Expand Down
Loading

0 comments on commit 098988c

Please sign in to comment.