clk: tegra: Add DFLL DVCO reset control for Tegra124
authorPaul Walmsley <pwalmsley@nvidia.com>
Tue, 19 May 2015 11:43:30 +0000 (14:43 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Jul 2015 07:32:48 +0000 (09:32 +0200)
commita3c83ff20c64a0ea3580aa7ed2953ff1602334dd
tree430475bf09ce175b8d6e1436693da8401b865ea9
parent66b6f3d07454a66ec029543c653d3bce7e6cb3c1
clk: tegra: Add DFLL DVCO reset control for Tegra124

The DVCO present in the DFLL IP block has a separate reset line,
exposed via the CAR IP block.  This reset line is asserted upon SoC
reset.  Unless something (such as the DFLL driver) deasserts this
line, the DVCO will not oscillate, although reads and writes to the
DFLL IP block will complete.

Thanks to Aleksandr Frid <afrid@nvidia.com> for identifying this and
saving hours of debugging time.

Signed-off-by: Paul Walmsley <pwalmsley@nvidia.com>
[ttynkkynen: ported to tegra124 from tegra114]
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
[mikko.perttunen: ported to special reset callback]
Signed-off-by: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Acked-by: Michael Turquette <mturquette@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra124.c
include/dt-bindings/reset/tegra124-car.h [new file with mode: 0644]