forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> for identifying this and saving hours of debugging time. Signed-off-by: Paul Walmsley <[email protected]> [ttynkkynen: ported to tegra124 from tegra114] Signed-off-by: Tuomas Tynkkynen <[email protected]> [mikko.perttunen: ported to special reset callback] Signed-off-by: Mikko Perttunen <[email protected]> Acked-by: Michael Turquette <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information
1 parent
66b6f3d
commit a3c83ff
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* This header provides Tegra124-specific constants for binding | ||
* nvidia,tegra124-car. | ||
*/ | ||
|
||
#ifndef _DT_BINDINGS_RESET_TEGRA124_CAR_H | ||
#define _DT_BINDINGS_RESET_TEGRA124_CAR_H | ||
|
||
#define TEGRA124_RESET(x) (6 * 32 + (x)) | ||
#define TEGRA124_RST_DFLL_DVCO TEGRA124_RESET(0) | ||
|
||
#endif /* _DT_BINDINGS_RESET_TEGRA124_CAR_H */ |