1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * OMAP44xx and OMAP54xx PRCM MPU function prototypes
4  *
5  * Copyright (C) 2010, 2013 Texas Instruments, Inc.
6  * Copyright (C) 2010 Nokia Corporation
7  *
8  * Paul Walmsley (paul@pwsan.com)
9  * Rajendra Nayak (rnayak@ti.com)
10  * Benoit Cousson (b-cousson@ti.com)
11  *
12  * This file is automatically generated from the OMAP hardware databases.
13  * We respectfully ask that any modifications to this file be coordinated
14  * with the public linux-omap@vger.kernel.org mailing list and the
15  * authors above to ensure that the autogeneration scripts are kept
16  * up-to-date with the file contents.
17  */
18 
19 #ifndef __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
20 #define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
21 
22 #ifndef __ASSEMBLER__
23 #include "prcm-common.h"
24 
25 extern struct omap_domain_base prcm_mpu_base;
26 
27 extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
28 extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
29 extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
30 					    s16 idx);
31 extern void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu);
32 #endif
33 
34 #endif
35