imx7 uart clock management

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

imx7 uart clock management

Jump to solution
757 Views
vsiles
Senior Contributor I

Hi !

In order to run a secure OS along side linux, I'd Linux to stop disabling the clock for UART (at the moment, CCM is still accessible from Linux in the normal world. At some point this will be removed but we are in the early phases of this project).

In order to achieve that, I removed all the clk_disable_unprepare and all the clk_unprepare from drivers/tty/serial/imx.c, but I still end up having UART's TARGET_ROOT value set to 0 sometimes.

Is there another part of the Linux code where uart's clock are disabled ?

Best,

V.

Labels (1)
0 Kudos
Reply
1 Solution
567 Views
vsiles
Senior Contributor I

In the end, the clocks are fine, it is the whole module that is disabled by Linux. I need to prevent that.

View solution in original post

0 Kudos
Reply
1 Reply
568 Views
vsiles
Senior Contributor I

In the end, the clocks are fine, it is the whole module that is disabled by Linux. I need to prevent that.

0 Kudos
Reply