[PATCH] DRM: Rockchip: correct rate in the struct drm_dp_link assignment

2019-06-05 Thread sandor . yu
From: Sandor Yu variable of rate in the struct drm_dp_link should assign to 162000/27/54/81. Signed-off-by: Sandor Yu --- drivers/gpu/drm/rockchip/cdn-dp-reg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/cdn-dp-reg.c b/drivers

[PATCH 3/7] drm: bridge: cadence: initial support for MHDP DP bridge driver

2020-06-01 Thread sandor . yu
From: Sandor Yu This adds initial support for MHDP DP bridge driver. Basic DP functions are supported, that include: -Video mode set on-the-fly -Cable hotplug detect -MAX support resolution to 3096x2160@60fps -Support DP audio -EDID read via AUX Signed-off-by: Sandor Yu --- drivers/gpu

[PATCH 2/7] drm: bridge: cadence: Create cadence fold

2020-06-01 Thread sandor . yu
From: Sandor Yu Create new directory drm/bridge/cadence. Cadence MHDP DP and HDMI bridge dirver will added later. drm/rockchip/cdn-dp-reg.c will separate to three files. - cdns-mhdp-common.c: Provide basic MHDP register read/write via mailbox. public firmware load, event, edid and HPD

[PATCH 6/7] drm: imx: mhdp: Initial support for i.MX8MQ MHDP HDMI

2020-06-01 Thread sandor . yu
From: Sandor Yu Add initial support for i.MX8MQ MHDP HDMI. Add MHDP HDMI PHY configuration. The features are same as mhdp hdmi bridge driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/imx/mhdp/Kconfig | 5 +- drivers/gpu/drm/imx/mhdp/Makefile | 2 +- drivers

[PATCH 1/7] drm/rockchip: prepare common code for cdns and rk dpi/dp driver

2020-06-01 Thread sandor . yu
From: Sandor Yu - Extracted common fields from cdn_dp_device to a new cdns_mhdp_device structure which will be used by two separate drivers later on. - Moved some datatypes (audio_format, audio_info, vic_pxl_encoding_format, video_info) from cdn-dp-core.c to cdn-dp-reg.h. - Changed prefixes

[PATCH 5/7] drm: bridge: cadence: Initial support for MHDP HDMI bridge driver

2020-06-01 Thread sandor . yu
From: Sandor Yu This adds initial support for cadence MHDP HDMI bridge driver. Basic HDMI functions are supported, that include: -Video mode set on-the-fly -Cable hotplug detect -MAX support resolution to 3096x2160@60fps -HDMI audio -AV infoframe -EDID read -SCDC read Signed-off

[PATCH 7/7] dt-bindings: display: Document Cadence MHDP HDMI/DP bindings

2020-06-01 Thread sandor . yu
From: Sandor Yu Document the bindings used for the Cadence MHDP HDMI/DP bridge. Signed-off-by: Sandor Yu --- .../bindings/display/bridge/cdns,mhdp.yaml| 46 +++ .../devicetree/bindings/display/imx/mhdp.yaml | 59 +++ 2 files changed, 105 insertions(+) create

[PATCH 4/7] drm: imx: mhdp: initial support for i.MX8MQ MHDP Displayport

2020-06-01 Thread sandor . yu
From: Sandor Yu Initial support for i.MX8MQ MHDP Displayport. Add MHDP DP PHY configutation. The features are same as MHDP DP bridge driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/imx/Kconfig | 1 + drivers/gpu/drm/imx/Makefile| 1 + drivers/gpu/drm

[PATCH 0/7] Initial support for Cadence MHDP(HDMI/DP)

2020-06-01 Thread sandor . yu
From: Sandor Yu The patch set initial support for Cadence MHDP(HDMI/DP) drm bridge driver and iMX8MQ HDMI/DP. The first patch drm/rockchip: prepare common code for cdns and rk dpi/dp driver is from the link https://patchwork.kernel.org/patch/10788309/ that still in reviewing. Files in drm

RE: [EXT] Re: [PATCH 1/7] drm/rockchip: prepare common code for cdns and rk dpi/dp driver

2020-06-04 Thread Sandor Yu
> -Original Message- > From: Laurent Pinchart > Sent: Wednesday, June 3, 2020 7:29 AM > To: Emil Velikov > Cc: Sandor Yu ; Andrzej Hajda ; > Neil Armstrong ; Jonas Karlman > ; Jernej Skrabec ; Heiko Stübner > ; Sandy Huang ; > d...@cadence.com; ML dri-devel

RE: [EXT] Re: [PATCH 7/7] dt-bindings: display: Document Cadence MHDP HDMI/DP bindings

2020-06-04 Thread Sandor Yu
Hi Laurent, Thanks your review comments. > -Original Message- > From: Laurent Pinchart > Sent: Wednesday, June 3, 2020 7:44 AM > To: Sandor Yu > Cc: a.ha...@samsung.com; narmstr...@baylibre.com; jo...@kwiboo.se; > jernej.skra...@siol.net; he...@sntech.de; h...@r

RE: [EXT] Re: [PATCH 3/7] drm: bridge: cadence: initial support for MHDP DP bridge driver

2020-06-04 Thread Sandor Yu
> -Original Message- > From: Laurent Pinchart > Sent: Wednesday, June 3, 2020 7:35 AM > To: Sandor Yu > Cc: a.ha...@samsung.com; narmstr...@baylibre.com; jo...@kwiboo.se; > jernej.skra...@siol.net; he...@sntech.de; h...@rock-chips.com; > d...@c

[PATCH] drm/arm/malidp: fix mode_valid couldn't cull invalid modes issue

2021-08-09 Thread Sandor . yu
From: Sandor Yu In function malidp_crtc_mode_valid, mode->crtc_mode = 0 when run in drm_helper_probe_single_connector_modes. Invalid video modes are not culled and all modes move to the connector's modes list. It is not expected by mode_valid. Replace mode->crtc_clock with mode->clo

[PATCH v1 0/5] DRM: Bridge: DW_HDMI: Add new features and bug fix

2022-04-06 Thread Sandor . yu
From: Sandor Yu It is new features and bug fix patch set for DW_HDMI DRM bridge driver that has verified by NXP iMX865. Three new feature added: 1. Add GP Audio interface for DW_HDMI. 2. Add CEC PM functions to restore CEC status when device suspend/resume 3. New API for reset PHY Gen1. Two bugs

[PATCH v1 3/5] drm: bridge: dw_hdmi: Enable GCP only for Deep Color

2022-04-06 Thread Sandor . yu
From: Sandor Yu HDMI1.4b specification section 6.5.3: Source shall only send GCPs with non-zero CD to sinks that indicate support for Deep Color. DW HDMI GPC default enabled, clear gpc_auto bit for bpp 24. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 8 1

[PATCH v9 4/7] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2023-09-06 Thread Sandor Yu
included respective specific firmware is required. Driver will check display connector type and then load the corresponding driver. Signed-off-by: Sandor Yu Tested-by: Alexander Stein --- v8->v9: * Remove compatible string "cdns,mhdp8501" that had removed from dt-bindings file in

[PATCH v9 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY

2023-09-06 Thread Sandor Yu
Add bindings for Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi

[PATCH v9 6/7] phy: freescale: Add DisplayPort PHY driver for i.MX8MQ

2023-09-06 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver for i.MX8MQ Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/freescale/Kconfig | 9 + drivers/phy

[PATCH v9 7/7] phy: freescale: Add HDMI PHY driver for i.MX8MQ

2023-09-06 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver for i.MX8MQ. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu Tested-by: Alexander Stein --- drivers/phy/freescale/Kconfig

[PATCH v9 2/7] phy: Add HDMI configuration options

2023-09-06 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu Reviewed

[PATCH v9 0/7] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ

2023-09-06 Thread Sandor Yu
r 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. [1] https://patchwork.kernel.org/project/linux-rockchip/cover/cover.1590982881.git.sandor...@nxp.com/ Sandor

[PATCH v9 1/7] drm: bridge: Cadence: convert mailbox functions to macro functions

2023-09-06 Thread Sandor Yu
MHDP8546 mailbox access functions will be share to other mhdp driver and Cadence HDP-TX HDMI/DP PHY drivers. Move those functions to head file include/drm/bridge/cdns-mhdp-mailbox.h and convert them to macro functions. Signed-off-by: Sandor Yu --- .../drm/bridge/cadence/cdns-mhdp8546-core.c

[PATCH v9 3/7] dt-bindings: display: bridge: Add Cadence MHDP850

2023-09-06 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v8->v9: * Add Krzysztof's R-b tag .../display/bridge/cdns,mhdp8501.yaml | 104 ++ 1 file changed, 104 insertions(+) create mode 100

RE: [EXT] Re: [PATCH v10 4/7] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2023-10-16 Thread Sandor Yu
> > On 13/10/2023 05:24, Sandor Yu wrote: > > Add a new DRM DisplayPort and HDMI bridge driver for Candence > MHDP8501 > > used in i.MX8MQ SOC. MHDP8501 could support HDMI or DisplayPort > > standards according embedded Firmware running in the uCPU. > >

[PATCH v11 2/7] phy: Add HDMI configuration options

2023-10-17 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu Reviewed

[PATCH v11 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501

2023-10-17 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v11: *No change. .../display/bridge/cdns,mhdp8501.yaml | 104 ++ 1 file changed, 104 insertions(+) create mode 100644 Documentat

[PATCH v11 4/7] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2023-10-17 Thread Sandor Yu
included respective specific firmware is required. Driver will check display connector type and then load the corresponding driver. Signed-off-by: Sandor Yu Tested-by: Alexander Stein --- v10->v11: - remove MODULE_ALIAS() from mhdp8501 driver. v9->v10: - struct cdns_mhdp_device is r

[PATCH v11 7/7] phy: freescale: Add HDMI PHY driver for i.MX8MQ

2023-10-17 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver for i.MX8MQ. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu Tested-by: Alexander Stein --- v9->v11: *No change. drivers/phy/freesc

[PATCH v11 0/7] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ

2023-10-17 Thread Sandor Yu
ctions 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. [1] https://patchwo

[PATCH v11 1/7] drm: bridge: Cadence: Creat mhdp helper driver

2023-10-17 Thread Sandor Yu
. New cdns_mhdp_reg_write() is created with the general command ID GENERAL_REGISTER_WRITE. rewrite cdns_mhdp_set_firmware_active() in mhdp8546 core driver, use cdns_mhdp_mailbox_send() to replace cdns_mhdp_mailbox_write() same as the other mailbox access functions. Signed-off-by: Sandor Yu --- v10

[PATCH v11 6/7] phy: freescale: Add DisplayPort PHY driver for i.MX8MQ

2023-10-17 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver for i.MX8MQ Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- v9->v11: *No change. drivers/phy/freescale/Kcon

[PATCH v11 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY

2023-10-17 Thread Sandor Yu
Add bindings for Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- v9->v11: *No change. .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/

Re: [PATCH v9 1/7] drm: bridge: Cadence: convert mailbox functions to macro functions

2023-09-28 Thread Sandor Yu
Hi Dmitry, Thanks your comments, > -Original Message- > From: Dmitry Baryshkov > Sent: 2023年9月28日 18:39 > > On 07/09/2023 04:05, Sandor Yu wrote: > > MHDP8546 mailbox access functions will be share to other mhdp driver > > and Cadence HDP-TX HDMI/DP

RE: [EXT] Re: [PATCH v10 1/7] drm: bridge: Cadence: Creat mhdp helper driver

2023-10-15 Thread Sandor Yu
Hi Alexander, Thanks your comments, > > Hi Sandor, > > thanks for the updated series. > > Am Freitag, 13. Oktober 2023, 05:24:20 CEST schrieb Sandor Yu: > > MHDP8546 mailbox access functions will be share to other mhdp driver > > and Cadence HDP-TX HDMI/DP PHY

RE: [EXT] Re: [PATCH v10 4/7] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2023-10-15 Thread Sandor Yu
Hi Alexander, Thanks your comments, > > > Hi Sandor, > > thanks for the updated series. > > Am Freitag, 13. Oktober 2023, 05:24:23 CEST schrieb Sandor Yu: > > Add a new DRM DisplayPort and HDMI bridge driver for Candence > MHDP8501 > > used in i.MX

RE: [EXT] Re: [PATCH v10 1/7] drm: bridge: Cadence: Creat mhdp helper driver

2023-10-16 Thread Sandor Yu
Hi Alexander, > > Hi Sandor, > > Am Montag, 16. Oktober 2023, 05:05:54 CEST schrieb Sandor Yu: > > Hi Alexander, > > > > Thanks your comments, > > > > > Hi Sandor, > > > > > > thanks for the updated series. > >

[PATCH v10 4/7] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2023-10-12 Thread Sandor Yu
included respective specific firmware is required. Driver will check display connector type and then load the corresponding driver. Signed-off-by: Sandor Yu Tested-by: Alexander Stein --- v9->v10: - struct cdns_mhdp_device is renamed to cdns_mhdp8501_device. - update for mhdp helper dri

[PATCH v10 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY

2023-10-12 Thread Sandor Yu
Add bindings for Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- v9->v10: *No change. .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/

[PATCH v10 0/7] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ

2023-10-12 Thread Sandor Yu
renced 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. [1] https://patchwork.kernel.org/project/linux-rockchip/cover/cov

[PATCH v10 1/7] drm: bridge: Cadence: Creat mhdp helper driver

2023-10-12 Thread Sandor Yu
. New cdns_mhdp_reg_write() is created with the general command ID GENERAL_REGISTER_WRITE. Signed-off-by: Sandor Yu --- v9->v10: *use mhdp helper driver to replace macro functions, move maibox access function and mhdp hdmi/dp common API functions into the driver. drivers/gpu/drm/bridge/cade

[PATCH v10 7/7] phy: freescale: Add HDMI PHY driver for i.MX8MQ

2023-10-12 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver for i.MX8MQ. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu Tested-by: Alexander Stein --- v9->v10: - update for mhdp helper dri

[PATCH v10 6/7] phy: freescale: Add DisplayPort PHY driver for i.MX8MQ

2023-10-12 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver for i.MX8MQ Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- v9->v10: - update for mhdp helper driver is introduced. Rem

[PATCH v10 2/7] phy: Add HDMI configuration options

2023-10-12 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu Reviewed

[PATCH v10 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501

2023-10-12 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v10: *No change. .../display/bridge/cdns,mhdp8501.yaml | 104 ++ 1 file changed, 104 insertions(+) create mode 100644 Documentat

RE: [EXT] Re: [PATCH v5 01/10] drm: bridge: cadence: convert mailbox functions to macro functions

2022-12-12 Thread Sandor Yu
Hi Lucas, Thanks your comments, > -Original Message- > From: Lucas Stach > Sent: 2022年12月9日 19:30 > To: Sandor Yu ; andrzej.ha...@intel.com; > neil.armstr...@linaro.org; robert.f...@linaro.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.sk

RE: [EXT] Re: [PATCH v4 02/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ

2022-11-22 Thread Sandor Yu
Hi Krzysztof, Thanks your comments, > -Original Message- > From: Krzysztof Kozlowski > Sent: 2022年11月22日 16:28 > To: Sandor Yu ; andrzej.ha...@intel.com; > neil.armstr...@linaro.org; robert.f...@linaro.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jer

[PATCH v4 08/10] phy: cadence: Add driver for HDP-TX DisplyPort PHY

2022-11-20 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig| 8 + drivers/phy/cadence

[PATCH v4 10/10] phy: cadence: Add driver for HDP-TX HDMI PHY

2022-11-20 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig | 8 + drivers/phy/cadence/Makefile

[PATCH v4 06/10] drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ

2022-11-20 Thread Sandor Yu
for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 12 + .../gpu/drm/bridge/cadence/cdns-hdmi-core.c | 1018 + 2 files changed, 1030 insertions(+) create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c diff --git a/drivers/gpu

[PATCH v4 05/10] dt-bindings: display: bridge: Add MHDP HDMI for i.MX8MQ

2022-11-20 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP HDMI. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-hdmi.yaml | 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml diff --git a/Documentation

[PATCH v4 07/10] dt-bindings: phy: Add Cadence HDP-TX DP PHY

2022-11-20 Thread Sandor Yu
Add bindings for Cadence HDP-TX DisplayPort PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-dp-phy.yaml | 68 +++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml diff --git a/Documentation

[PATCH v4 09/10] dt-bindings: phy: Add Cadence HDP-TX HDMI PHY

2022-11-20 Thread Sandor Yu
Add bindings for Cadence HDP-TX HDMI PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-hdmi-phy.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml diff --git a/Documentation

[PATCH v4 03/10] drm: bridge: cadence: Add MHDP DP driver for i.MX8MQ

2022-11-20 Thread Sandor Yu
was required for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 13 + drivers/gpu/drm/bridge/cadence/Makefile |3 + drivers/gpu/drm/bridge/cadence/cdns-dp-core.c | 1071 + .../gpu/drm/bridge/cadence/cdns-mhdp-common.h | 400 ++ 4

[PATCH v4 04/10] phy: Add HDMI configuration options

2022-11-20 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu --- include

[PATCH v4 02/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ

2022-11-20 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP DisplayPort. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml diff --git

[PATCH v4 01/10] drm: bridge: cadence: convert mailbox functions to macro functions

2022-11-20 Thread Sandor Yu
Mailbox access functions could be share to other mhdp driver and HDP-TX HDMI/DP PHY drivers, move those functions to head file include/drm/bridge/cdns-mhdp-mailbox.h and convert them to macro functions. Signed-off-by: Sandor Yu --- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 197

[PATCH v4 00/10] Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ

2022-11-20 Thread Sandor Yu
another patch set later. [1] https://patchwork.kernel.org/project/linux-rockchip/cover/cover.1590982881.git.sandor...@nxp.com/ Sandor Yu (10): drm: bridge: cadence: convert mailbox functions to macro functions dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ drm: bridge: cadence:

RE: [EXT] Re: [PATCH v3 05/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ

2022-11-17 Thread Sandor Yu
Hi Rob, Thanks your comments, > -Original Message- > From: Rob Herring > Sent: 2022年11月17日 0:27 > To: Sandor Yu > Cc: dri-devel@lists.freedesktop.org; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; > linux-..

[PATCH v5 03/10] drm: bridge: cadence: Add MHDP DP driver for i.MX8MQ

2022-11-27 Thread Sandor Yu
was required for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 13 + drivers/gpu/drm/bridge/cadence/Makefile |3 + drivers/gpu/drm/bridge/cadence/cdns-dp-core.c | 1071 + .../gpu/drm/bridge/cadence/cdns-mhdp-common.h | 400 ++ 4

[PATCH v5 07/10] dt-bindings: phy: Add Cadence HDP-TX DP PHY

2022-11-27 Thread Sandor Yu
Add bindings for Cadence HDP-TX DisplayPort PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-dp-phy.yaml | 68 +++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml diff --git a/Documentation

[PATCH v5 06/10] drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ

2022-11-27 Thread Sandor Yu
for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 12 + .../gpu/drm/bridge/cadence/cdns-hdmi-core.c | 1018 + 2 files changed, 1030 insertions(+) create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c diff --git a/drivers/gpu

[PATCH v5 04/10] phy: Add HDMI configuration options

2022-11-27 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu --- include

[PATCH v5 05/10] dt-bindings: display: bridge: Add MHDP HDMI for i.MX8MQ

2022-11-27 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP HDMI. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-hdmi.yaml | 102 ++ 1 file changed, 102 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml diff --git

[PATCH v5 08/10] phy: cadence: Add driver for HDP-TX DisplyPort PHY

2022-11-27 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig| 8 + drivers/phy/cadence

[PATCH v5 10/10] phy: cadence: Add driver for HDP-TX HDMI PHY

2022-11-27 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig | 8 + drivers/phy/cadence/Makefile

[PATCH v5 09/10] dt-bindings: phy: Add Cadence HDP-TX HDMI PHY

2022-11-27 Thread Sandor Yu
Add bindings for Cadence HDP-TX HDMI PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-hdmi-phy.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml diff --git a/Documentation

[PATCH v5 01/10] drm: bridge: cadence: convert mailbox functions to macro functions

2022-11-27 Thread Sandor Yu
Mailbox access functions could be share to other mhdp driver and HDP-TX HDMI/DP PHY drivers, move those functions to head file include/drm/bridge/cdns-mhdp-mailbox.h and convert them to macro functions. Signed-off-by: Sandor Yu --- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 197

[PATCH v5 02/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ

2022-11-27 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP DisplayPort. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 102 ++ 1 file changed, 102 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml diff --git

[PATCH v5 00/10] Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ

2022-11-27 Thread Sandor Yu
alone Cadence HDP-TX PHY(HDMI/DP) driver. - Audio driver are removed from the patch set, it will be add in another patch set later. [1] https://patchwork.kernel.org/project/linux-rockchip/cover/cover.1590982881.git.sandor...@nxp.com/ Sandor Yu (10): drm: bridge: cadence: convert mailbox f

RE: [EXT] Re: [PATCH v4 01/10] drm: bridge: cadence: convert mailbox functions to macro functions

2022-11-22 Thread Sandor Yu
> -Original Message- > From: Fabio Estevam > Sent: 2022年11月23日 2:09 > To: Sandor Yu > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; > robert.f...@linaro.org; laurent.pinch...@ideasonboard.com; > jo...@kwiboo.se; jernej.skra...@gmail.com; airl...@gmail.c

[PATCH v3 03/10] drm: bridge: cadence: Add MHDP DP driver for i.MX8MQ

2022-11-08 Thread Sandor Yu
was required for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 13 + drivers/gpu/drm/bridge/cadence/Makefile |3 + drivers/gpu/drm/bridge/cadence/cdns-dp-core.c | 1070 + .../gpu/drm/bridge/cadence/cdns-mhdp-common.h | 402

[PATCH v3 07/10] dt-bindings: phy: Add Cadence HDP-TX DP PHY

2022-11-08 Thread Sandor Yu
Add bindings for Cadence HDP-TX DisplayPort PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-dp-phy.yaml | 66 +++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml diff --git a/Documentation

[PATCH v3 06/10] drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ

2022-11-08 Thread Sandor Yu
for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 12 + .../gpu/drm/bridge/cadence/cdns-hdmi-core.c | 1038 + 2 files changed, 1050 insertions(+) create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c diff --git a/drivers/gpu

[PATCH v3 00/10] Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ

2022-11-08 Thread Sandor Yu
e: 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...@nxp.com/ Sandor Yu (10): drm: bridge: cadence: convert m

[PATCH v3 04/10] phy: Add HDMI configuration options

2022-11-08 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu --- include

[PATCH v3 05/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ

2022-11-08 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP DisplayPort. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 59 +++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml diff --git

[PATCH v3 01/10] drm: bridge: cadence: convert mailbox functions to macro functions

2022-11-08 Thread Sandor Yu
Mailbox access functions could be share to other mhdp driver and HDP-TX HDMI/DP PHY drivers, move those functions to head file include/drm/bridge/cdns-mhdp-mailbox.h and convert them to macro functions. Signed-off-by: Sandor Yu --- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 197

[PATCH v3 02/10] dt-bindings: display: bridge: Add MHDP HDMI for i.MX8MQ

2022-11-08 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP HDMI. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-hdmi.yaml | 59 +++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml diff --git a/Documentation

[PATCH v3 10/10] phy: cadence: Add driver for HDP-TX HDMI PHY

2022-11-08 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig | 8 + drivers/phy/cadence/Makefile

[PATCH v3 08/10] phy: cadence: Add driver for HDP-TX DisplyPort PHY

2022-11-08 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig| 8 + drivers/phy/cadence

[PATCH v3 09/10] dt-bindings: phy: Add Cadence HDP-TX HDMI PHY

2022-11-08 Thread Sandor Yu
Add bindings for Cadence HDP-TX HDMI PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-hdmi-phy.yaml | 50 +++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml diff --git a/Documentation

[v2 03/10] drm: bridge: cadence: Add MHDP DP driver for i.MX8MQ

2022-11-04 Thread Sandor Yu
was required for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 13 + drivers/gpu/drm/bridge/cadence/Makefile |3 + drivers/gpu/drm/bridge/cadence/cdns-dp-core.c | 1070 + .../gpu/drm/bridge/cadence/cdns-mhdp-common.h | 402

[v2 04/10] phy: Add HDMI configuration options

2022-11-04 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu --- include

[v2 01/10] drm: bridge: cadence: convert mailbox functions to macro functions

2022-11-04 Thread Sandor Yu
Mailbox access functions could be share to other mhdp driver and HDP-TX HDMI/DP PHY drivers, move those functions to head file include/drm/bridge/cdns-mhdp-mailbox.h and convert them to macro functions. Signed-off-by: Sandor Yu --- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 197

[v2 02/10] dts-bingings: display: bridge: Add MHDP HDMI bindings for i.MX8MQ

2022-11-04 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP HDMI. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-hdmi.yaml | 67 +++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml diff --git a/Documentation

[v2 0/10] Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ

2022-11-04 Thread Sandor Yu
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...@nxp.com/ Sandor Yu (10): drm: bridge: cade

[v2 05/10] dts-bindings: display: bridge: Add MHDP DP bindings for i.MX8MQ

2022-11-04 Thread Sandor Yu
Add bindings for i.MX8MQ MHDP DisplayPort. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 67 +++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml diff --git

[v2 10/10] phy: cadence: Add driver for HDP-TX HDMI PHY

2022-11-04 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig | 8 + drivers/phy/cadence/Makefile

[v2 06/10] drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ

2022-11-04 Thread Sandor Yu
for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 12 + .../gpu/drm/bridge/cadence/cdns-hdmi-core.c | 1038 + 2 files changed, 1050 insertions(+) create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c diff --git a/drivers/gpu

[v2 08/10] phy: cadence: Add driver for HDP-TX DisplyPort PHY

2022-11-04 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- drivers/phy/cadence/Kconfig| 8 + drivers/phy/cadence

[v2 09/10] dts-bindings: phy: Add Cadence HDP-TX HDMI PHY bindings

2022-11-04 Thread Sandor Yu
Add bindings for Cadence HDP-TX HDMI PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/phy-cadence-hdptx-hdmi.yaml | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml diff --git a/Documentation

[v2 07/10] dts-bindings: phy: Add Cadence HDP-TX DP PHY bindings

2022-11-04 Thread Sandor Yu
Add bindings for Cadence HDP-TX DisplayPort PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/phy-cadence-hdptx-dp.yaml| 70 +++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-hdptx-dp.yaml diff --git a/Documentation

RE: [EXT] Re: [v2 06/10] drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ

2022-11-09 Thread Sandor Yu
Thanks for your comments. > -Original Message- > From: Alexander Stein > Sent: 2022年11月8日 21:17 > To: jo...@kwiboo.se; Sandor Yu > Cc: dri-devel@lists.freedesktop.org; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; linux-ker...@vger.k

RE: [EXT] Re: [PATCH v3 00/10] Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ

2022-11-08 Thread Sandor Yu
Run get_maintainer.pl for patch 1, Your email address is list as follow, Jani Nikula (commit_signer:2/8=25%) And I add the email address that comment as "commit_signer" into Cc list. B.R Sandor > -Original Message- > From: Jani Nikula > Sent: 2022年11月8日 21:16 &g

RE: [EXT] Re: [PATCH v3 04/10] phy: Add HDMI configuration options

2022-11-10 Thread Sandor Yu
Thanks your comments, > -Original Message- > From: Vinod Koul > Sent: 2022年11月10日 15:39 > To: Sandor Yu > Cc: dri-devel@lists.freedesktop.org; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; > linux-...@lists.infr

RE: [EXT] Re: [PATCH v3 08/10] phy: cadence: Add driver for HDP-TX DisplyPort PHY

2022-11-10 Thread Sandor Yu
Thanks your comments, > -Original Message- > From: Vinod Koul > Sent: 2022年11月10日 15:41 > To: Sandor Yu > Cc: dri-devel@lists.freedesktop.org; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; > linux-...@lists.infr

RE: [EXT] Re: [v2 06/10] drm: bridge: cadence: Add MHDP HDMI driver for i.MX8MQ

2022-11-13 Thread Sandor Yu
Hi Alexander, > -Original Message- > From: Alexander Stein > Sent: 2022年11月10日 23:44 > To: Sandor Yu > Cc: jo...@kwiboo.se; dri-devel@lists.freedesktop.org; > devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-ker...@vger.kernel.org; linux-..

[PATCH v6 3/8] drm: bridge: Cadence: Add MHDP8501 DP driver

2023-06-14 Thread Sandor Yu
was required for the driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/bridge/cadence/Kconfig| 13 + drivers/gpu/drm/bridge/cadence/Makefile |2 + .../gpu/drm/bridge/cadence/cdns-mhdp8501-dp.c | 1078 + .../gpu/drm/bridge/cadence/cdns-mhdp8501.h| 399

[PATCH v6 0/8] Initial support for Cadence MHDP8501(HDMI/DP) for i.MX8MQ

2023-06-14 Thread Sandor Yu
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. [1] https://patchwork.kernel.org/project/linux-rockchip/

[PATCH v6 1/8] drm: bridge: Cadence: convert mailbox functions to macro functions

2023-06-14 Thread Sandor Yu
MHDP8546 mailbox access functions will be share to other mhdp driver and Cadence HDP-TX HDMI/DP PHY drivers. Move those functions to head file include/drm/bridge/cdns-mhdp-mailbox.h and convert them to macro functions. Signed-off-by: Sandor Yu --- .../drm/bridge/cadence/cdns-mhdp8546-core.c

  1   2   >