blob: 4df8da96e2a3e6f7899aa5eb5e58be91fc760962 [file] [log] [blame]
Simon Glass16134fd2011-08-30 06:23:13 +00001/*
2 * Copyright (c) 2011 The Chromium OS Authors.
Simon Glass16134fd2011-08-30 06:23:13 +00003 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Simon Glass16134fd2011-08-30 06:23:13 +00005 */
6
Tom Warrenab371962012-09-19 15:50:56 -07007/* Tegra20 clock control functions */
Simon Glass16134fd2011-08-30 06:23:13 +00008
Tom Warrenab371962012-09-19 15:50:56 -07009#ifndef _TEGRA20_CLOCK_H
10#define _TEGRA20_CLOCK_H
Simon Glass16134fd2011-08-30 06:23:13 +000011
Tom Warrenab371962012-09-19 15:50:56 -070012#include <asm/arch-tegra/clock.h>
Simon Glassc2ea5e42011-09-21 12:40:04 +000013
Tom Warren795f9d72013-01-23 14:01:01 -070014/* CLK_RST_CONTROLLER_OSC_CTRL_0 */
15#define OSC_FREQ_SHIFT 30
16#define OSC_FREQ_MASK (3U << OSC_FREQ_SHIFT)
17
Thierry Reding4bf98692014-12-09 22:25:06 -070018int tegra_plle_enable(void);
19
Tom Warrenab371962012-09-19 15:50:56 -070020#endif /* _TEGRA20_CLOCK_H */