2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2011-08-30 06:23:13 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
|
|
*/
|
|
|
|
|
2012-09-19 22:50:56 +00:00
|
|
|
/* Tegra20 clock control functions */
|
2011-08-30 06:23:13 +00:00
|
|
|
|
2012-09-19 22:50:56 +00:00
|
|
|
#ifndef _TEGRA20_CLOCK_H
|
|
|
|
#define _TEGRA20_CLOCK_H
|
2011-08-30 06:23:13 +00:00
|
|
|
|
2012-09-19 22:50:56 +00:00
|
|
|
#include <asm/arch-tegra/clock.h>
|
2011-08-30 06:23:13 +00:00
|
|
|
|
2013-01-23 21:01:01 +00:00
|
|
|
/* CLK_RST_CONTROLLER_OSC_CTRL_0 */
|
|
|
|
#define OSC_FREQ_SHIFT 30
|
|
|
|
#define OSC_FREQ_MASK (3U << OSC_FREQ_SHIFT)
|
|
|
|
|
2014-12-10 05:25:06 +00:00
|
|
|
int tegra_plle_enable(void);
|
|
|
|
|
2012-09-19 22:50:56 +00:00
|
|
|
#endif /* _TEGRA20_CLOCK_H */
|