How to change value of clock control register. (DSI_CLKCTRL) in i.MX8 mini

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

How to change value of clock control register. (DSI_CLKCTRL) in i.MX8 mini

448 Views
ManojChate
Contributor I

Hi team

I need to set D-PHY select to '1' for 1Gbps PHY in imx8 mini. Please share how to perform this change in Linux. If possible, pls share steps on how to access register and registry bin as well.

MIPI-CAMERA #D-PHY#

Thanks

Labels (1)
0 Kudos
Reply
4 Replies

391 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @ManojChate 

 

You can try modifying the driver:

https://github.com/nxp-imx/linux-imx/blob/dfaf2136deb2af2e60b994421281ba42f1c087e0/drivers/video/fbd...

Manuel_Salas_0-1751911395488.png

 

Also, try if possible change with memtool at runtime (it is possible to fail).

 

Best regards,

Salas.

0 Kudos
Reply

370 Views
ManojChate
Contributor I
Thank you Salas.
I will try the same way and will update you on this.
0 Kudos
Reply

411 Views
ManojChate
Contributor I

Hello Salas,

My application requirements meet with LVDS clock running at 66.5MHz with D-PHY being run at 1.5Gbps. So going further to reduce EMI implications which we are facing due to LVDS cabling, we thought of reducing D-PHY to 1Gbps and observe the change in radiations.

Our understanding is that if we reduce D-PHY clock to 1Gbps, the drive strength and slew rate of clock would reduce, and we should observe some improvement in radiations.

 

Thanks

Manoj

0 Kudos
Reply

420 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @ManojChate 

I hope you are doing very well.

 

Could you please clarify why you need change the default (1.5Gbps) to the 1Gbps?

 

Best regards,

Salas.

0 Kudos
Reply