[PATCH v4 5/9] drm/bridge: add a driver for T-Head TH1520 HDMI controller
Icenowy Zheng
zhengxingda at iscas.ac.cn
Fri Dec 26 05:27:53 PST 2025
在 2025-12-25星期四的 19:07 +0800,Andy Yan写道:
>
>
> Hello Icenowy:
>
> At 2025-12-25 00:12:01, "Icenowy Zheng" <zhengxingda at iscas.ac.cn>
> wrote:
> > From: Icenowy Zheng <uwu at icenowy.me>
> >
> > T-Head TH1520 SoC contains a Synopsys DesignWare HDMI controller
> > (paired
> > with DesignWare HDMI TX PHY Gen2) that takes the "DP" output from
> > the
> > display controller.
> >
> > Add a driver for this controller utilizing the common DesignWare
> > HDMI
> > code in the kernel.
> >
> > Signed-off-by: Icenowy Zheng <uwu at icenowy.me>
> > Signed-off-by: Icenowy Zheng <zhengxingda at iscas.ac.cn>
> > ---
> > No changes in v3, v4.
> >
> > Changes in v2:
> > - Created a new function to set PHY parameters and refactored the
> > control flow of the configure_phy callback.
> >
> > MAINTAINERS | 1 +
> > drivers/gpu/drm/bridge/Kconfig | 10 ++
> > drivers/gpu/drm/bridge/Makefile | 1 +
> > drivers/gpu/drm/bridge/th1520-dw-hdmi.c | 173
> > ++++++++++++++++++++++++
> > 4 files changed, 185 insertions(+)
> > create mode 100644 drivers/gpu/drm/bridge/th1520-dw-hdmi.c
>
>
> As this is a Synopsys DesignWare based IP, maybe it's better to put
> it under "drivers/gpu/drm/bridge/synopsys/"
> Or just create a dir for thead, I think there will come other display
> related drivers for thead in the future.
It's not proper to place vendor glues to synopsys/ .
As for T-Head, they stopped their embedded SoC business (sold to
another company) and now they only makes data-center chips, there
should be no T-Head display drivers in the future.
>
>
=========== 8< ============
More information about the linux-riscv
mailing list