1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * OMAP44xx and 54xx PRM common functions 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Copyright (C) 2009-2013 Texas Instruments, Inc. 6*4882a593Smuzhiyun * Copyright (C) 2009-2010 Nokia Corporation 7*4882a593Smuzhiyun * 8*4882a593Smuzhiyun * Paul Walmsley (paul@pwsan.com) 9*4882a593Smuzhiyun * Rajendra Nayak (rnayak@ti.com) 10*4882a593Smuzhiyun * Benoit Cousson (b-cousson@ti.com) 11*4882a593Smuzhiyun * 12*4882a593Smuzhiyun * This file is automatically generated from the OMAP hardware databases. 13*4882a593Smuzhiyun * We respectfully ask that any modifications to this file be coordinated 14*4882a593Smuzhiyun * with the public linux-omap@vger.kernel.org mailing list and the 15*4882a593Smuzhiyun * authors above to ensure that the autogeneration scripts are kept 16*4882a593Smuzhiyun * up-to-date with the file contents. 17*4882a593Smuzhiyun */ 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun #ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H 20*4882a593Smuzhiyun #define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun #include "prcm-common.h" 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun /* Function prototypes */ 25*4882a593Smuzhiyun #ifndef __ASSEMBLER__ 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun /* 28*4882a593Smuzhiyun * OMAP4/OMAP5 access functions for voltage controller (VC) and 29*4882a593Smuzhiyun * voltage proccessor (VP) in the PRM. 30*4882a593Smuzhiyun */ 31*4882a593Smuzhiyun extern u32 omap4_prm_vcvp_read(u8 offset); 32*4882a593Smuzhiyun extern void omap4_prm_vcvp_write(u32 val, u8 offset); 33*4882a593Smuzhiyun extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset); 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun int __init omap44xx_prm_init(const struct omap_prcm_init_data *data); 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun #endif 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun #endif 40