[PATCH v3 00/10] Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ
Sandor Yu
Sandor.yu at nxp.com
Tue Nov 8 05:00:03 PST 2022
The patch set initial support for Cadence MHDP(HDMI/DP) DRM bridge
drivers and Cadence HDP-TX PHY(HDMI/DP) drivers for iMX8MQ.
v2->v3:
Address comments for dt-bindings files.
- Correct dts-bindings file names
Rename phy-cadence-hdptx-dp.yaml to cdns,mhdp-imx8mq-dp.yaml
Rename phy-cadence-hdptx-hdmi.yaml to cdns,mhdp-imx8mq-hdmi.yaml
- Drop redundant words and descriptions.
- Correct hdmi/dp node name.
v2 is a completely different version compared to v1.
Previous v1 can be available here [1].
v1->v2:
- Reuse Cadence mailbox access functions from mhdp8546 instead of
rockchip DP.
- Mailbox access functions be convert to marco functions
that will be referenced by HDP-TX PHY(HDMI/DP) driver too.
- Plain bridge instead of component driver.
- Standalone Cadence HDP-TX PHY(HDMI/DP) driver.
- Audio driver are removed from the patch set, it will be add in another
patch set later.
The patch set compose of DRM bridge drivers and PHY drivers.
Both of them need the followed two patches to pass build.
drm: bridge: cadence: convert mailbox functions to macro functions
phy: Add HDMI configuration options
DRM bridges driver patches:
dts-bingings: display: bridge: Add MHDP HDMI bindings for i.MX8MQ
drm: bridge: cadence: Add MHDP DP driver for i.MX8MQ
dts-bindings: display: bridge: Add MHDP DP bindings for i.MX8MQ
drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ
PHY driver patches:
dts-bindings: phy: Add Cadence HDP-TX DP PHY bindings
phy: cadence: Add driver for HDP-TX DisplyPort PHY
dts-bindings: phy: Add Cadence HDP-TX HDMI PHY bindings
phy: cadence: Add driver for HDP-TX HDMI PHY
[1] https://patchwork.kernel.org/project/linux-rockchip/cover/cover.1590982881.git.Sandor.yu@nxp.com/
Sandor Yu (10):
drm: bridge: cadence: convert mailbox functions to macro functions
dt-bindings: display: bridge: Add MHDP HDMI for i.MX8MQ
drm: bridge: cadence: Add MHDP DP driver for i.MX8MQ
phy: Add HDMI configuration options
dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ
drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ
dt-bindings: phy: Add Cadence HDP-TX DP PHY
phy: cadence: Add driver for HDP-TX DisplyPort PHY
dt-bindings: phy: Add Cadence HDP-TX HDMI PHY
phy: cadence: Add driver for HDP-TX HDMI PHY
.../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 59 +
.../display/bridge/cdns,mhdp-imx8mq-hdmi.yaml | 59 +
.../bindings/phy/cdns,hdptx-dp-phy.yaml | 66 +
.../bindings/phy/cdns,hdptx-hdmi-phy.yaml | 50 +
drivers/gpu/drm/bridge/cadence/Kconfig | 25 +
drivers/gpu/drm/bridge/cadence/Makefile | 3 +
drivers/gpu/drm/bridge/cadence/cdns-dp-core.c | 1070 +++++++++++++++++
.../gpu/drm/bridge/cadence/cdns-hdmi-core.c | 1038 ++++++++++++++++
.../gpu/drm/bridge/cadence/cdns-mhdp-common.h | 402 +++++++
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 197 +--
.../drm/bridge/cadence/cdns-mhdp8546-core.h | 1 -
drivers/phy/cadence/Kconfig | 16 +
drivers/phy/cadence/Makefile | 2 +
drivers/phy/cadence/phy-cadence-hdptx-dp.c | 774 ++++++++++++
drivers/phy/cadence/phy-cadence-hdptx-hdmi.c | 948 +++++++++++++++
include/drm/bridge/cdns-mhdp-mailbox.h | 240 ++++
include/linux/phy/phy-hdmi.h | 33 +
include/linux/phy/phy.h | 7 +-
18 files changed, 4793 insertions(+), 197 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml
create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml
create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml
create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml
create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dp-core.c
create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c
create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.h
create mode 100644 drivers/phy/cadence/phy-cadence-hdptx-dp.c
create mode 100644 drivers/phy/cadence/phy-cadence-hdptx-hdmi.c
create mode 100644 include/drm/bridge/cdns-mhdp-mailbox.h
create mode 100644 include/linux/phy/phy-hdmi.h
--
2.34.1
More information about the linux-phy
mailing list