clk: clk-vf610: Add clock for Vybrid OCOTP controller
authorSanchayan Maity <maitysanchayan@gmail.com>
Mon, 7 Sep 2015 08:21:35 +0000 (13:51 +0530)
committerShawn Guo <shawnguo@kernel.org>
Wed, 23 Sep 2015 01:02:40 +0000 (18:02 -0700)
commit0753f56e411a5e216c9899c21e54bd11dde17313
tree8368e4b4bb79fbb1b764d6c614c7de1d30eee513
parent8efaf5ed4d442068a1b76f218c0a90e6a5989f11
clk: clk-vf610: Add clock for Vybrid OCOTP controller

Add clock support for Vybrid On-Chip One Time Programmable
(OCOTP) controller.

While the OCOTP block does not require explicit clock gating,
for programming the OCOTP timing register the clock rate of
ipg clock is required for timing calculations related to fuse
and shadow register read sequence. We explicitly specify the
ipg clock for OCOTP as a result.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-vf610.c
include/dt-bindings/clock/vf610-clock.h