blob: 3f139ebc839895137ff5488dfb07b0b0b81047cf [file] [log] [blame]
Santosh Shilimkar9920eca2013-05-29 12:38:01 -04001/*
2 * OMAP44xx and 54xx PRM common functions
3 *
4 * Copyright (C) 2009-2013 Texas Instruments, Inc.
5 * Copyright (C) 2009-2010 Nokia Corporation
6 *
7 * Paul Walmsley (paul@pwsan.com)
8 * Rajendra Nayak (rnayak@ti.com)
9 * Benoit Cousson (b-cousson@ti.com)
10 *
11 * This file is automatically generated from the OMAP hardware databases.
12 * We respectfully ask that any modifications to this file be coordinated
13 * with the public linux-omap@vger.kernel.org mailing list and the
14 * authors above to ensure that the autogeneration scripts are kept
15 * up-to-date with the file contents.
16 *
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License version 2 as
19 * published by the Free Software Foundation.
20 *
21 */
22
23#ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
24#define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
25
Tero Kristoab7b2ff2014-11-20 15:02:59 +020026#include "prcm-common.h"
27
Santosh Shilimkar9920eca2013-05-29 12:38:01 -040028/* Function prototypes */
29#ifndef __ASSEMBLER__
30
Santosh Shilimkar9920eca2013-05-29 12:38:01 -040031/*
32 * OMAP4/OMAP5 access functions for voltage controller (VC) and
33 * voltage proccessor (VP) in the PRM.
34 */
35extern u32 omap4_prm_vcvp_read(u8 offset);
36extern void omap4_prm_vcvp_write(u32 val, u8 offset);
37extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset);
38
Tero Kristoab7b2ff2014-11-20 15:02:59 +020039int __init omap44xx_prm_init(const struct omap_prcm_init_data *data);
Santosh Shilimkar9920eca2013-05-29 12:38:01 -040040
41#endif
42
43#endif