imx7 uart clock management

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx7 uart clock management

跳至解决方案
902 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
712 次查看
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 项奖励
回复
1 回复
713 次查看
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 项奖励
回复