AnsweredAssumed Answered

how to use imx8qm hdmi rx function in android10?

Question asked by jiang yaqiang on May 27, 2020
Latest reply on Jun 1, 2020 by Justin Jiang

HI :

 

Does anyone has experiment of using imx8qm's hdmi rx function. I have tried it with fsl-imx8qm-mek-hdmi-in.dts , and using it as a camera , but fail.

The hardware is good:

[ 505.934931] HDMI RX Cable Plug In
[ 506.055003] pma_config() Configuring PMA
[ 506.595315] pma_rx_clk_freq_detect() Starting Rx clock frequency detection...
[ 506.618977] pma_rx_clk_freq_detect() Starting Rx clock frequency detection... DONE (TMDS clock freq: 297000 kHz)
[ 506.629187] mxc-hdmi-rx 58268000.hdmi_rx: detect TMDS clock freq: 297000 kHz
[ 506.636271] pma_pll_config() Configuring PLL0 ...
[ 506.641001] VCO frequency (refclk: 24000 kHz, TMDS clk: 297000 kHz, OSR: 2, tmds_bit_clk_ratio: 10) equals 5942901 kHz
[ 506.671059] pma_pll_config() Current power state: 0x00
[ 506.676215] pma_pll_config() Deassert link reset
[ 506.680918] pma_pll_config() xcvr_psm_ready(0): 0x0
[ 506.685865] pma_pll_config() xcvr_psm_ready(1): 0x0
[ 506.690803] pma_pll_config() xcvr_psm_ready(2): 0x0
[ 506.714906] pma_pll_config() xcvr_psm_ready(0): 0x1
[ 506.719836] pma_pll_config() xcvr_psm_ready(1): 0x1
[ 506.724770] pma_pll_config() xcvr_psm_ready(2): 0x1
[ 506.746890] pma_pll_config() Requested A0 power mode
[ 507.266930] mxc-hdmi-rx 58268000.hdmi_rx: Scrambling disabled.
[ 507.326979] mxc-hdmi-rx 58268000.hdmi_rx: Error Vendro Infoframe IEEE OUI=0xFF3FDD
[ 507.334589] mxc-hdmi-rx 58268000.hdmi_rx: hdmi_vic=239
[ 507.339788] mxc-hdmi-rx 58268000.hdmi_rx: VIC: 0, pixel_encoding: 0.
[ 507.346189] VIC 0, pixel encoding: 0, TMDS bit clock ratio: 10 and TMDS clk 297000 KHz
[ 507.354158] Failed to detected TMDS/pixel clock ratio
[ 507.359225] VIC: 00 and TMDS clock of 297000 KHz
[ 507.363869] mxc-hdmi-rx 58268000.hdmi_rx: TMDS/pixel clock ratio correct
[ 507.370599] mxc-hdmi-rx 58268000.hdmi_rx: Detect mode VIC 0 8bit RGB

 

but, before hdmi-rx probe, that's an error log, I think it's a problem:

[    3.698386] mxc-md camera: deferring 58268000.hdmi_rx device registration

 

And is there anyway to config hdmi-rx output direct to lvds or hdmi ?

Outcomes