xref: /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * OMAP44xx and OMAP54xx PRCM MPU function prototypes
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copyright (C) 2010, 2013 Texas Instruments, Inc.
6*4882a593Smuzhiyun  * Copyright (C) 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_PRCM_MPU_44XX_54XX_H
20*4882a593Smuzhiyun #define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #ifndef __ASSEMBLER__
23*4882a593Smuzhiyun #include "prcm-common.h"
24*4882a593Smuzhiyun 
25*4882a593Smuzhiyun extern struct omap_domain_base prcm_mpu_base;
26*4882a593Smuzhiyun 
27*4882a593Smuzhiyun extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
28*4882a593Smuzhiyun extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
29*4882a593Smuzhiyun extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
30*4882a593Smuzhiyun 					    s16 idx);
31*4882a593Smuzhiyun extern void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu);
32*4882a593Smuzhiyun #endif
33*4882a593Smuzhiyun 
34*4882a593Smuzhiyun #endif
35