]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a329b67ea02566f812250ef9af42036d6ddafa7
tree8368e4b4bb79fbb1b764d6c614c7de1d30eee513
parenta88f4099549e0cfe851e334a01df0a6eea5c2c03
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