]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm/mach-omap2/prm44xx_54xx.h
2 * OMAP44xx and 54xx PRM common functions
4 * Copyright (C) 2009-2013 Texas Instruments, Inc.
5 * Copyright (C) 2009-2010 Nokia Corporation
7 * Paul Walmsley (paul@pwsan.com)
8 * Rajendra Nayak (rnayak@ti.com)
9 * Benoit Cousson (b-cousson@ti.com)
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.
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.
23 #ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
24 #define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
26 /* Function prototypes */
29 /* OMAP4/OMAP5-specific VP functions */
30 u32
omap4_prm_vp_check_txdone(u8 vp_id
);
31 void omap4_prm_vp_clear_txdone(u8 vp_id
);
34 * OMAP4/OMAP5 access functions for voltage controller (VC) and
35 * voltage proccessor (VP) in the PRM.
37 extern u32
omap4_prm_vcvp_read(u8 offset
);
38 extern void omap4_prm_vcvp_write(u32 val
, u8 offset
);
39 extern u32
omap4_prm_vcvp_rmw(u32 mask
, u32 bits
, u8 offset
);
41 extern int __init
omap44xx_prm_init(void);