iMX8M mini change assigned clock rate to MIPI-DSI on Android 9

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8M mini change assigned clock rate to MIPI-DSI on Android 9

901 Views
ngreen
Contributor II

Hello All,

We are trying to build an Android 9 OS for our custom board that is using an iMX8M Mini SoM and a Custom MIPI-DSI Display Panel.

As a first step we wrote a driver to the display on Yocto Linux environment (based on panel-raydium-rm67191 driver).
The result was fine and the clock rate of the MIPI-DSI was about 153MHz.

When we tried to customize the Android driver, the result was blank display and the MIPI-DSI clock was about 442MHz, although the MIPI-DSI configurations on both Yocto and Android seems the same.

Our LCD Module supports up to 250MHz.

We tried to tweak the mipi_dsi's assigned-clock-rates in the fsl-imx8mm.dtsi file, but we see on the Oscilloscope no change on the clock lines (still 442MHz, no matter what value we wrote at the assigned-clock-rates values).

Thanks
Nadav

0 Kudos
3 Replies

895 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nadav

 

for changing clock may be useful to look at

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Setting-i-MX8M-Mini-and-Nano-MIPI-DPHY-C...

Regarding Android modifications, it also should work if works in linux. Suggest to rebuild all from scratch and try latest

releases from link

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications...

 

Best regards
igor

0 Kudos

887 Views
ngreen
Contributor II

Hi Igor,

The first thing we've (@StanislavR & I) tried, was to change the pixel clock.

On Yocto the MIPI-DSI clock changed accordingly to the changes we've wrote in the panel driver, but on the Android build nothing changed.

Every time we build and run, no matter what we've changed (pixel clock or MIPI-DSI clock rates), the measured MIPI-DSI clock was about 445MHz.

Attached the display manufacturer's parameters.

Best Regards,
Nadav

0 Kudos

881 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nadav

 

Android 9  is old release and not more supported, suggest to try latest releases from link

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications...

 

Best regards
igor

0 Kudos