Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | 16134fd | 2011-08-30 06:23:13 +0000 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2011 The Chromium OS Authors. | ||||
Simon Glass | 16134fd | 2011-08-30 06:23:13 +0000 | [diff] [blame] | 4 | */ |
5 | |||||
Tom Warren | ab37196 | 2012-09-19 15:50:56 -0700 | [diff] [blame] | 6 | /* Tegra20 clock control functions */ |
Simon Glass | 16134fd | 2011-08-30 06:23:13 +0000 | [diff] [blame] | 7 | |
Tom Warren | ab37196 | 2012-09-19 15:50:56 -0700 | [diff] [blame] | 8 | #ifndef _TEGRA20_CLOCK_H |
9 | #define _TEGRA20_CLOCK_H | ||||
Simon Glass | 16134fd | 2011-08-30 06:23:13 +0000 | [diff] [blame] | 10 | |
Tom Warren | ab37196 | 2012-09-19 15:50:56 -0700 | [diff] [blame] | 11 | #include <asm/arch-tegra/clock.h> |
Simon Glass | c2ea5e4 | 2011-09-21 12:40:04 +0000 | [diff] [blame] | 12 | |
Tom Warren | 795f9d7 | 2013-01-23 14:01:01 -0700 | [diff] [blame] | 13 | /* CLK_RST_CONTROLLER_OSC_CTRL_0 */ |
14 | #define OSC_FREQ_SHIFT 30 | ||||
15 | #define OSC_FREQ_MASK (3U << OSC_FREQ_SHIFT) | ||||
16 | |||||
Thierry Reding | 4bf9869 | 2014-12-09 22:25:06 -0700 | [diff] [blame] | 17 | int tegra_plle_enable(void); |
18 | |||||
Tom Warren | ab37196 | 2012-09-19 15:50:56 -0700 | [diff] [blame] | 19 | #endif /* _TEGRA20_CLOCK_H */ |