blob: 8158b83446633164197974a51bebd316240fd416 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glass16134fd2011-08-30 06:23:13 +00002/*
3 * Copyright (c) 2011 The Chromium OS Authors.
Simon Glass16134fd2011-08-30 06:23:13 +00004 */
5
Tom Warrenab371962012-09-19 15:50:56 -07006/* Tegra20 clock control functions */
Simon Glass16134fd2011-08-30 06:23:13 +00007
Tom Warrenab371962012-09-19 15:50:56 -07008#ifndef _TEGRA20_CLOCK_H
9#define _TEGRA20_CLOCK_H
Simon Glass16134fd2011-08-30 06:23:13 +000010
Tom Warrenab371962012-09-19 15:50:56 -070011#include <asm/arch-tegra/clock.h>
Simon Glassc2ea5e42011-09-21 12:40:04 +000012
Tom Warren795f9d72013-01-23 14:01:01 -070013/* CLK_RST_CONTROLLER_OSC_CTRL_0 */
14#define OSC_FREQ_SHIFT 30
15#define OSC_FREQ_MASK (3U << OSC_FREQ_SHIFT)
16
Thierry Reding4bf98692014-12-09 22:25:06 -070017int tegra_plle_enable(void);
18
Tom Warrenab371962012-09-19 15:50:56 -070019#endif /* _TEGRA20_CLOCK_H */