Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * OMAP44xx and 54xx PRM common functions
0004  *
0005  * Copyright (C) 2009-2013 Texas Instruments, Inc.
0006  * Copyright (C) 2009-2010 Nokia Corporation
0007  *
0008  * Paul Walmsley (paul@pwsan.com)
0009  * Rajendra Nayak (rnayak@ti.com)
0010  * Benoit Cousson (b-cousson@ti.com)
0011  *
0012  * This file is automatically generated from the OMAP hardware databases.
0013  * We respectfully ask that any modifications to this file be coordinated
0014  * with the public linux-omap@vger.kernel.org mailing list and the
0015  * authors above to ensure that the autogeneration scripts are kept
0016  * up-to-date with the file contents.
0017  */
0018 
0019 #ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
0020 #define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
0021 
0022 #include "prcm-common.h"
0023 
0024 /* Function prototypes */
0025 #ifndef __ASSEMBLER__
0026 
0027 /*
0028  * OMAP4/OMAP5 access functions for voltage controller (VC) and
0029  * voltage proccessor (VP) in the PRM.
0030  */
0031 extern u32 omap4_prm_vcvp_read(u8 offset);
0032 extern void omap4_prm_vcvp_write(u32 val, u8 offset);
0033 extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset);
0034 
0035 int __init omap44xx_prm_init(const struct omap_prcm_init_data *data);
0036 
0037 #endif
0038 
0039 #endif