]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: imx51: uart4, uart5 gates only exist on imx50, imx53
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 13 Dec 2017 11:57:48 +0000 (12:57 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 21 Dec 2017 23:59:05 +0000 (15:59 -0800)
commit59dc3d8c867370b4860c9df3eb5483da46823a4b
tree20d669eb5ed37cc06bbac4ba04a334a8d9f13999
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
clk: imx51: uart4, uart5 gates only exist on imx50, imx53

i.MX51 only has 3 UARTs and no CCGR7 register. In place of the CCGR7
register on i.MX50/i.MX53 that contains the ipg and per clock gates
for UARTs 4 and 5, on i.MX51 there is the CMEOR register.

Without this patch, the code disabling the UART clocks would also clear
the mod_en_ov_vpu bit in the CMEOR register, among others, which causes
register accesses to the VPU to lock up the system.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/imx/clk-imx51-imx53.c