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

2025-01-07 Thread Sandor Yu
> > > Hi, > > Am Dienstag, 7. Januar 2025, 15:42:56 CET schrieb Sandor Yu: > > Hi Alexander > > > > It may cause by the first preferred mode in EDID is not supported by driver. > > Please use modetest or other user application to change the video mode to &g

RE: [EXT] Re: [PATCH v20 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ

2025-01-07 Thread Sandor Yu
ates. > > Am Dienstag, 17. Dezember 2024, 07:51:42 CET schrieb Sandor Yu: > > The patch set initial support Cadence MHDP8501(HDMI/DP) DRM bridge > > driver and Cadence HDP-TX PHY(HDMI/DP) driver for Freescale i.MX8MQ. > > > > The patch set compose of DRM bridge drivers an

Re: [PATCH v20 5/9] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-12-30 Thread Sandor Yu
> On Wed, Dec 25, 2024 at 07:57:01AM +0000, Sandor Yu wrote: > > > > > > On Tue, Dec 17, 2024 at 02:51:47PM +0800, Sandor Yu wrote: > > > > Add a new DRM DisplayPort and HDMI bridge driver for Candence > > > MHDP8501 > > > > used in i

RE: [EXT] Re: [PATCH v20 5/9] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-12-24 Thread Sandor Yu
> > On Tue, Dec 17, 2024 at 02:51:47PM +0800, 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 u

RE: [EXT] Re: [PATCH v20 5/9] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-12-24 Thread Sandor Yu
> Hi, > > On Tue, Dec 17, 2024 at 02:51:47PM +0800, Sandor Yu wrote: > > +static ssize_t firmware_version_show(struct device *dev, > > +struct device_attribute *attr, char *buf); > > static > struct > > +device_at

RE: [EXT] Re: [PATCH v20 1/9] soc: cadence: Create helper functions for Cadence MHDP

2024-12-24 Thread Sandor Yu
> > On Tue, Dec 17, 2024 at 02:51:43PM +0800, Sandor Yu wrote: > > Cadence MHDP IP includes a firmware. Driver and firmware communicate > > through a mailbox. The basic mailbox access functions in this patch > > are derived from the DRM bridge MHDP8546 driver. > >

[PATCH v20 9/9] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support

2024-12-16 Thread Sandor Yu
From: Alexander Stein Add HDMI connector and connect it to MHDP output. Enable peripherals for HDMI output. Signed-off-by: Alexander Stein --- v19->v20: *No change v18->v19: - Move property data-lanes to endpoint of port@1 v17->v18: - replace lane-mapping with data-lanes .../dts/freescale/

[PATCH v20 8/9] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline

2024-12-16 Thread Sandor Yu
From: Alexander Stein This adds DCSS + MHDP + MHDP PHY nodes. PHY mode (DP/HDMI) is selected by the connector type connected to mhdp port@1 endpoint. Signed-off-by: Alexander Stein --- v17->v20: *No change arch/arm64/boot/dts/freescale/imx8mq.dtsi | 68 +++ 1 file changed

[PATCH v20 7/9] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-12-16 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort and 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. DisplayPort or HDMI PHY mode is configured in the driver. Signed-off-by: Sandor Yu Signed-off-by: Alexander Stein --- v19->

[PATCH v20 6/9] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY

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

[PATCH v20 5/9] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-12-16 Thread Sandor Yu
inary included respective specific firmware is required. Driver will check display connector type and then load the corresponding driver. Signed-off-by: Sandor Yu --- v19->v20: - Dump mhdp FW version by debugfs - Combine HDMI and DP cable detect functions into one function - Combine HDMI and

[PATCH v20 4/9] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-12-16 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu --- v19->v20: - remove data type link of data-lanes. v18->v19: - move data-lanes property to endpoint of port@1 v17->v18: - remove lane-mapping and replace it with data-lanes - remove r-b tag as

[PATCH v20 1/9] soc: cadence: Create helper functions for Cadence MHDP

2024-12-16 Thread Sandor Yu
be rewritten using these new helper functions. The register read/write and DP DPCD read/write command functions are also included in this new helper driver. Signed-off-by: Sandor Yu --- v19->v20: - new patch in v20. The patch split from Patch #1 in v19 and move to a new folder drivers/

[PATCH v20 3/9] phy: Add HDMI configuration options

2024-12-16 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-by

[PATCH v20 2/9] drm: bridge: cadence: Update mhdp8546 mailbox access functions

2024-12-16 Thread Sandor Yu
() - cdns_mhdp_secure_mailbox_send_recv_multi() All MHDP commands that need to be passed through the mailbox have been rewritten using these new helper functions. Signed-off-by: Sandor Yu --- v19->v20: - remove mhdp helper functions from the patch. v18->v19: - Use guard(mutex) - Add kerneldocs for all new APIs. - Detail commen

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

2024-12-16 Thread Sandor Yu
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/cover.159098288

Re: [PATCH v19 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-12-09 Thread Sandor Yu
> -Original Message- > From: Dmitry Baryshkov > Sent: 2024年11月26日 22:43 > To: Sandor Yu > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; Laurent Pinchart > ; jo...@kwiboo.se; > jernej.skra...@gmail.com; airl...@gmail.com; dan...@ffwll.ch;

Re: [PATCH v19 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-12-09 Thread Sandor Yu
> -Original Message- > From: Dmitry Baryshkov > Sent: 2024年11月27日 3:21 > To: Sandor Yu > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; Laurent Pinchart > ; jo...@kwiboo.se; > jernej.skra...@gmail.com; airl...@gmail.com; dan...@ffwll.ch;

RE: [EXT] Re: [PATCH v18 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-12-09 Thread Sandor Yu
> -Original Message- > From: Dmitry Baryshkov > Sent: 2024年11月30日 16:30 > To: Sandor Yu > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; Laurent Pinchart > ; jo...@kwiboo.se; > jernej.skra...@gmail.com; airl...@gmail.com; dan...@ffwll.ch;

[PATCH v19 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-11-26 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort and 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. DisplayPort or HDMI PHY mode is configured in the driver. Signed-off-by: Sandor Yu Signed-off-by: Alexander Stein --- v18->

[PATCH v19 7/8] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline

2024-11-26 Thread Sandor Yu
From: Alexander Stein This adds DCSS + MHDP + MHDP PHY nodes. PHY mode (DP/HDMI) is selected by the connector type connected to mhdp port@1 endpoint. Signed-off-by: Alexander Stein --- v17->v19: *No change arch/arm64/boot/dts/freescale/imx8mq.dtsi | 68 +++ 1 file changed

[PATCH v19 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support

2024-11-26 Thread Sandor Yu
From: Alexander Stein Add HDMI connector and connect it to MHDP output. Enable peripherals for HDMI output. Signed-off-by: Alexander Stein --- v18->v19: - Move property data-lanes to endpoint of port@1 v17->v18: - replace lane-mapping with data-lanes .../dts/freescale/imx8mq-tqma8mq-mba8mx.d

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

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

[PATCH v19 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-11-26 Thread Sandor Yu
inary included respective specific firmware is required. Driver will check display connector type and then load the corresponding driver. Signed-off-by: Sandor Yu --- v18->v19: - Get endpoint for data-lanes as it had move to endpoint of port@1 - Update clock management as devm_clk_get_enabled() in

[PATCH v19 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-11-26 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu --- v18->v19: - move data-lanes property to endpoint of port@1 v17->v18: - remove lane-mapping and replace it with data-lanes - remove r-b tag as property changed. v16->v17: - Add lane-mapping property

[PATCH v19 2/8] phy: Add HDMI configuration options

2024-11-26 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-by

[PATCH v19 1/8] drm: bridge: Cadence: Create MHDP helper driver

2024-11-26 Thread Sandor Yu
cdns_mhdp_dp_reg_write(), because it use the DPTX command ID DPTX_WRITE_REGISTER. New cdns_mhdp_reg_write() is added with the general command ID GENERAL_REGISTER_WRITE. Signed-off-by: Sandor Yu --- v18->v19: - Use guard(mutex) - Add kerneldocs for all new APIs. - Detail comments for mailbox access specific c

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

2024-11-26 Thread Sandor Yu
- 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/ Alexander Stein (2): arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline arm64: dts: imx8mq: t

RE: [EXT] Re: [PATCH v18 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-11-26 Thread Sandor Yu
> > On Tue, Nov 05, 2024 at 02:05:51PM +, Sandor Yu wrote: > > > > > > On Tue, Oct 29, 2024 at 02:02:14PM +0800, Sandor Yu wrote: > > > > Add Cadence HDP-TX DisplayPort and HDMI PHY driver for i.MX8MQ. > > > > > > > > Ca

Re: [PATCH v18 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-11-26 Thread Sandor Yu
> > > On 5 November 2024 14:05:51 GMT, Sandor Yu wrote: > >> > >> On Tue, Oct 29, 2024 at 02:02:14PM +0800, Sandor Yu wrote: > >> > Add Cadence HDP-TX DisplayPort and HDMI PHY driver for i.MX8MQ. > >> > > >> > Cadence HDP-TX PHY c

Re: [PATCH v18 1/8] drm: bridge: Cadence: Create MHDP helper driver

2024-11-05 Thread Sandor Yu
> > On Tue, Oct 29, 2024 at 02:02:09PM +0800, Sandor Yu wrote: > > Mailbox access functions in MHDP8546 will be share to other MHDP > > driver and Cadence HDP-TX HDMI/DP PHY drivers. > > > > Create a new MHDP helper driver and move all mailbox access functions >

Re: [PATCH v18 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-11-05 Thread Sandor Yu
> > On Tue, Oct 29, 2024 at 02:02:14PM +0800, Sandor Yu wrote: > > Add Cadence HDP-TX DisplayPort and 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. > > DisplayPort o

Re: [PATCH v18 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-11-05 Thread Sandor Yu
> On Tue, Oct 29, 2024 at 02:02:11PM +0800, Sandor Yu wrote: > > Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. > > > > Signed-off-by: Sandor Yu > > --- > > v17->v18: > > - remove lane-mapping and replace it with data-lanes > > - remo

RE: [EXT] Re: [PATCH v16 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ

2024-10-29 Thread Sandor Yu
> > Am Dienstag, dem 02.07.2024 um 20:22 +0800 schrieb Sandor Yu: > > This patchset sits on top > > Dmitry's 'make use of the HDMI connector infrastructure' patchset > > ([2]). > > > > The patch set initial support Cadence MHDP8501(HDMI/DP) D

RE: [EXT] Re: [PATCH v18 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-10-29 Thread Sandor Yu
> > On 29/10/2024 08:17, Sandor Yu wrote: > >> > >> On Tue, Oct 29, 2024 at 02:02:11PM +0800, Sandor Yu wrote: > >>> + interrupts: > >>> +items: > >>> + - description: Hotplug cable plugin. > >>> +

RE: [EXT] Re: [PATCH v18 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-10-29 Thread Sandor Yu
> > On Tue, Oct 29, 2024 at 02:02:11PM +0800, Sandor Yu wrote: > > + interrupts: > > +items: > > + - description: Hotplug cable plugin. > > + - description: Hotplug cable plugout. > > + > > + interrupt-names: > > +items: > >

[PATCH v18 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-10-28 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort and 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. DisplayPort or HDMI PHY mode is configured in the driver. Signed-off-by: Sandor Yu Signed-off-by: Alexander Stein --- v17->v18: -

[PATCH v18 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support

2024-10-28 Thread Sandor Yu
From: Alexander Stein Add HDMI connector and connect it to MHDP output. Enable peripherals for HDMI output. Signed-off-by: Alexander Stein --- v17->v18: - replace lane-mapping with data-lanes .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 21 +++ arch/arm64/boot/dts/freescale

[PATCH v18 7/8] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline

2024-10-28 Thread Sandor Yu
From: Alexander Stein This adds DCSS + MHDP + MHDP PHY nodes. PHY mode (DP/HDMI) is selected by the connector type connected to mhdp port@1 endpoint. Signed-off-by: Alexander Stein --- v17->v18: *No change arch/arm64/boot/dts/freescale/imx8mq.dtsi | 68 +++ 1 file changed

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

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

[PATCH v18 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-10-28 Thread Sandor Yu
inary included respective specific firmware is required. Driver will check display connector type and then load the corresponding driver. Signed-off-by: Sandor Yu --- v17->v18: - MHDP8501 HDMI and DP commands that need access mailbox are rewrited with new API functions created in patch #1. -

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

2024-10-28 Thread Sandor Yu
. - 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/ Alexander Stein (2): arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline arm64: dts: imx8mq:

[PATCH v18 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-10-28 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu --- v17->v18: - remove lane-mapping and replace it with data-lanes - remove r-b tag as property changed. v16->v17: - Add lane-mapping property v9->v16: *No change .../display/bridge/cdns,mhdp

[PATCH v18 2/8] phy: Add HDMI configuration options

2024-10-28 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-by

[PATCH v18 1/8] drm: bridge: Cadence: Create MHDP helper driver

2024-10-28 Thread Sandor Yu
cdns_mhdp_dp_reg_write(), because it use the DPTX command ID DPTX_WRITE_REGISTER. New cdns_mhdp_reg_write() is added with the general command ID GENERAL_REGISTER_WRITE. Signed-off-by: Sandor Yu --- v17->v18: - Create three ordinary mailbox access APIs cdns_mhdp_mailbox_send cdns_mhdp_mailbox_send_r

RE: [EXT] Re: [PATCH v17 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-10-25 Thread Sandor Yu
> > On 29/09/2024 04:36, Sandor Yu wrote: > > Hi Krzysztof, > > > > Thanks for your comments, > > > >> > >> > >> On Tue, Sep 24, 2024 at 03:36:48PM +0800, Sandor Yu wrote: > >>> Add bindings for Cadence MHDP8501 DisplayPort

Re: [PATCH v17 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-10-24 Thread Sandor Yu
> > On Mon, Sep 30, 2024 at 10:18:06AM +0200, Maxime Ripard wrote: > > On Sun, Sep 29, 2024 at 02:34:36AM GMT, Sandor Yu wrote: > > > > > +static void cdns_hdmi_sink_config(struct cdns_mhdp8501_device > > > > > +*mhdp) { > > > > > +

Re: [PATCH v17 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-09-28 Thread Sandor Yu
Hi Krzysztof, Thanks for your comments, > > > On Tue, Sep 24, 2024 at 03:36:48PM +0800, Sandor Yu wrote: > > Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. > > > > Signed-off-by: Sandor Yu > > Reviewed-by: Krzysztof Kozlowski > > Drop O

Re: [PATCH v17 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-09-28 Thread Sandor Yu
Hi Maxime, Thanks for your comments. > > On Tue, Sep 24, 2024 at 03:36:49PM GMT, Sandor Yu wrote: > > +static int cdns_mhdp8501_read_hpd(struct cdns_mhdp8501_device > *mhdp) > > +{ > > + u8 status; > > + int ret; > > + > > + mutex

Re: [PATCH v17 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-09-28 Thread Sandor Yu
Hi Dmitry, Thanks for your comments, > > On Tue, Sep 24, 2024 at 12:16:27PM GMT, Maxime Ripard wrote: > > On Tue, Sep 24, 2024 at 03:36:49PM GMT, Sandor Yu wrote: > > > +static int cdns_mhdp8501_read_hpd(struct cdns_mhdp8501_device > > > +*mhdp) { > >

[PATCH v17 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-09-24 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort and 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. DisplayPort or HDMI PHY mode is configured in the driver. Signed-off-by: Sandor Yu Signed-off-by: Alexander Stein --- v16->

[PATCH v17 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support

2024-09-24 Thread Sandor Yu
From: Alexander Stein Add HDMI connector and connect it to MHDP output. Enable peripherals for HDMI output. Signed-off-by: Alexander Stein --- .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 20 +++ arch/arm64/boot/dts/freescale/mba8mx.dtsi | 11 ++ 2 files changed,

[PATCH v17 7/8] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline

2024-09-24 Thread Sandor Yu
From: Alexander Stein This adds DCSS + MHDP + MHDP PHY nodes. PHY mode (DP/HDMI) is selected by the connector type connected to mhdp port@1 endpoint. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 68 +++ 1 file changed, 68 insertions(+) dif

[PATCH v17 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-09-24 Thread Sandor Yu
inary 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 --- v16->v17: - Reset the HDMI/DP link when an HPD (Hot Plug Detect) event is detected - Move the HDMI

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

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

[PATCH v17 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-09-24 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v16->v17: - Add lane-mapping property v9->v16: *No change .../display/bridge/cdns,mhdp8501.yaml | 109 ++ 1 file changed, 109 insertions(+)

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

2024-09-24 Thread Sandor Yu
he 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/ Alexander Stein (2): arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support

[PATCH v17 2/8] phy: Add HDMI configuration options

2024-09-24 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-by

[PATCH v17 1/8] drm: bridge: Cadence: Create mhdp helper driver

2024-09-24 Thread Sandor Yu
with a global mutex mhdp_mailbox_mutex to prevent race conditions in mailbox access by multi drivers. Signed-off-by: Sandor Yu --- v16->v17: - Replaces the local mutex mbox_mutex with a global mutex mhdp_mailbox_mutex v12->v16: *No change. V11->v12: - Move status initialize out of m

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

2024-09-24 Thread Sandor Yu
> > On Fri, 13 Sept 2024 at 11:46, Sandor Yu wrote: > > > > > > > Subject: Re: [EXT] Re: [PATCH v16 4/8] drm: bridge: Cadence: Add > > > MHDP8501 DP/HDMI driver > > > > > > On Fri, Sep 06, 2024 at 02:50:08AM GMT, Sandor Yu wrote: >

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

2024-09-13 Thread Sandor Yu
> Subject: Re: [EXT] Re: [PATCH v16 4/8] drm: bridge: Cadence: Add MHDP8501 > DP/HDMI driver > > On Fri, Sep 06, 2024 at 02:50:08AM GMT, Sandor Yu wrote: > > > On Tue, Sep 03, 2024 at 06:07:25AM GMT, Sandor Yu wrote: > > > > > -Original Messag

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

2024-09-05 Thread Sandor Yu
> > On Tue, Sep 03, 2024 at 06:07:25AM GMT, Sandor Yu wrote: > > Hi Maxime, > > > > Thanks for your comments, > > > > > -Original Message- > > > From: dri-devel On Behalf > > > Of Maxime Ripard > > > Sent: 2024年7月2

Re: [PATCH v16 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-09-02 Thread Sandor Yu
Hi Maxime, Thanks for your comments, > -Original Message- > From: dri-devel On Behalf Of > Maxime Ripard > Sent: 2024年7月2日 21:25 > To: Sandor Yu > Cc: dmitry.barysh...@linaro.org; andrzej.ha...@intel.com; > neil.armstr...@linaro.org; Laurent Pinchart > ; jo...@

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

2024-09-02 Thread Sandor Yu
> > Le 02/07/2024 à 14:22, Sandor Yu a écrit : > > 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. > > &g

Re: [PATCH v15 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-07-03 Thread Sandor Yu
Hi Maxime, Thanks for your detail explain, it is make sense to reset the HDMI link. I will implement it later. B.R Sandor > -Original Message- > From: Maxime Ripard > Sent: 2024年7月2日 20:40 > To: Sandor Yu > Cc: Alexander Stein ; Andrzej Hajda > ; Neil Armstro

[PATCH v16 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support

2024-07-02 Thread Sandor Yu
From: Alexander Stein Add HDMI connector and connect it to MHDP output. Enable peripherals for HDMI output. Signed-off-by: Alexander Stein --- .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 20 +++ arch/arm64/boot/dts/freescale/mba8mx.dtsi | 11 ++ 2 files changed,

[PATCH v16 7/8] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline

2024-07-02 Thread Sandor Yu
From: Alexander Stein This adds DCSS + MHDP + MHDP PHY nodes. PHY mode (DP/HDMI) is selected by the connector type connected to mhdp port@1 endpoint. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 68 +++ 1 file changed, 68 insertions(+) dif

[PATCH v16 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-07-02 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort and 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. DisplayPort or HDMI PHY mode is configured in the driver. Signed-off-by: Sandor Yu Signed-off-by: Alexander Stein --- v15->

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

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

[PATCH v16 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-07-02 Thread Sandor Yu
inary 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 --- v15->v16: - rebase the patchset sits on top Dmitry's 'make use of the HDMI connec

[PATCH v16 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501

2024-07-02 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v16: *No change .../display/bridge/cdns,mhdp8501.yaml | 104 ++ 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicet

[PATCH v16 2/8] phy: Add HDMI configuration options

2024-07-02 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 --- v15->

[PATCH v16 1/8] drm: bridge: Cadence: Create mhdp helper driver

2024-07-02 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 --- v12

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

2024-07-02 Thread Sandor Yu
idge 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/ Alexander Stein (2)

RE:Re: [PATCH v15 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-07-02 Thread Sandor Yu
Hi Vinod, Thanks for your comments, > From: Vinod Koul > Sent: 2024年4月5日 22:52 > On 06-03-24, 11:16, Alexander Stein wrote: > > From: Sandor Yu > > > > Add Cadence HDP-TX DisplayPort and HDMI PHY driver for i.MX8MQ. > > > > Cadence HDP-TX PHY could be

Re: [PATCH v15 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-07-02 Thread Sandor Yu
Hi Maxime, Thanks for your comments, > Subject: [EXT] Re: [PATCH v15 4/8] drm: bridge: Cadence: Add MHDP8501 > DP/HDMI driver > > Hi, > > On Wed, Mar 06, 2024 at 11:16:21AM +0100, Alexander Stein wrote: > > +static int cdns_mhdp8501_read_hpd(struct cdns_mhdp8501_device > *mhdp) > > +{ > > +

RE: [EXT] [PATCH v15 6/8] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ

2024-03-12 Thread Sandor Yu
Hi Alexander, Thanks for your combine HDMI and DP PHY driver into one driver. Basically, the HDMI and DP PHY initialize process and configuration same as V14. I have verify the DP and HDMI function with the patch set. I'm OK for the patch. B.R Sandor > > > From: Sandor Yu &g

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

2024-02-20 Thread Sandor Yu
Hi Alexander, Thanks for your comments, > > Hi, > > thanks for the update. > > Am Dienstag, 20. Februar 2024, 04:23:55 CET schrieb 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

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

2024-02-20 Thread Sandor Yu
Hi Alexander, Thanks for your comments, > > > Hi, > > thanks for the update. > > Am Dienstag, 20. Februar 2024, 04:23:53 CET schrieb Sandor Yu: > > Add bindings for Freescale iMX8MQ DP and HDMI PHY. > > > > Signed-off-by: Sandor Yu > > Reviewed-b

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

2024-02-19 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 --- v13->v14: *No change. v12->v13: - Fix

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

2024-02-19 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 --- v12->v14: *No change. v11->v12: - Return error c

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

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

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

2024-02-19 Thread Sandor Yu
inary 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 --- v13->v14: - Rebase to next-20240219, replace get_edid function by edid_read function. v12->v13: -

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

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

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

2024-02-19 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-by

[PATCH v14 1/7] drm: bridge: Cadence: Create mhdp helper driver

2024-02-19 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 --- v12

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

2024-02-19 Thread Sandor Yu
- 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/ Sando

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

2024-02-18 Thread Sandor Yu
Hi Alexander, Thanks for your comments, get_edid function will be replace by edid_read as community update in the next version. B.R Sandor > > > Hi Sandor, > > thanks for the update. > > Am Sonntag, 4. Februar 2024, 11:21:49 CET schrieb Sandor Yu: > > Add a new DRM

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

2024-02-04 Thread Sandor Yu
Hi Alexander, Thanks your comments, > > > Hi Sandor, > > thanks for the update. > > Am Mittwoch, 10. Januar 2024, 02:08:45 CET schrieb Sandor Yu: > > Add a new DRM DisplayPort and HDMI bridge driver for Candence > MHDP8501 > > used in i.MX8MQ SOC. MHDP85

RE: [EXT] Re: [PATCH v12 7/7] phy: freescale: Add HDMI PHY driver for i.MX8MQ

2024-02-04 Thread Sandor Yu
linux-ker...@vger.kernel.org; linux-...@lists.infradead.org; Sandor Yu > > Cc: ker...@pengutronix.de; dl-linux-imx ; Sandor Yu > ; Oliver Brown ; > s...@ravnborg.org > Subject: [EXT] Re: [PATCH v12 7/7] phy: freescale: Add HDMI PHY driver for > i.MX8MQ > > Caution: This is an exter

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

2024-02-04 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 --- v12->v13: - Fix build warning v11-&

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

2024-02-04 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 --- v12->v13: *No change. v11->v12: - Return error c

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

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

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

2024-02-04 Thread Sandor Yu
inary 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 --- v12->v13: - Explicitly include linux/platform_device.h for cdns-mhdp8501-core.c - Fix build warning - O

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

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

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

2024-02-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 Reviewed-by

[PATCH v13 1/7] drm: bridge: Cadence: Create mhdp helper driver

2024-02-04 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 --- v12

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

2024-02-04 Thread Sandor Yu
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 Yu (7

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

2024-01-09 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 --- v11->v12: - Adjust clk disable order. - Ret

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

2024-01-09 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 --- v11->v12: - Return error code to replace -1 for funct

  1   2   3   >