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