]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: mx5: Set the DBGEN bit in ARM_GPC register
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 10 Jul 2018 16:31:48 +0000 (13:31 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 12 Jul 2018 01:52:20 +0000 (09:52 +0800)
commit26b754f99402d6e7fc4e07d67a2597e6ebabde8b
tree952de042c8ac68e8ce02a210c63e062777db151a
parent11d973de60e1a69e2b0b240557ad02cf9f884d71
ARM: mx5: Set the DBGEN bit in ARM_GPC register

On i.MX51/i.MX53 it is necessary to set the DBGEN bit in
ARM_GPC register in order to turn on the debug clocks.

The DBGEN bit of ARM_GPC register has the following description
in the i.MX53 Reference Manual:

"This allows the user to manually activate clocks within the debug
system. This register bit directly controls the platform's dbgen_out
output signal which connects to the DAP_SYS to enable all debug clocks.
Once enabled, the clocks cannot be disabled except by asserting the
disable_trace input of the DAP_SYS."

Based on a previous patch from Sebastian Reichel.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpu-imx5.c
arch/arm/mach-imx/mach-imx51.c
arch/arm/mach-imx/mach-imx53.c