]> git.baikalelectronics.ru Git - uboot.git/commit
clk: rmobile: Move preboot clock shutdown to the driver
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 25 Nov 2017 21:08:55 +0000 (22:08 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Nov 2017 01:32:33 +0000 (02:32 +0100)
commitbb9aab680893f3dc70b8e64384e6470c78a3bda5
treee7ee5716bb67d7ec3465d147d821e05e3ca2cee3
parent9a536a80964355bf9211b008e33d5a7da9b24d66
clk: rmobile: Move preboot clock shutdown to the driver

The MSTP registers were poked in boards/renesas/rcar-common/common.c
in arch_preboot_os hook thus far to shut down the clock before Linux
takes over. With DM, this is no longer needed and we can do the same
in the clock driver .remove callback. This patch adds such a .remove
callback for R8A7795 and R8A7796.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/clk/renesas/clk-rcar-gen3.c