1d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
240243ad3SSantosh Shilimkar /*
340243ad3SSantosh Shilimkar  * OMAP44xx and OMAP54xx PRCM MPU function prototypes
440243ad3SSantosh Shilimkar  *
540243ad3SSantosh Shilimkar  * Copyright (C) 2010, 2013 Texas Instruments, Inc.
640243ad3SSantosh Shilimkar  * Copyright (C) 2010 Nokia Corporation
740243ad3SSantosh Shilimkar  *
840243ad3SSantosh Shilimkar  * Paul Walmsley (paul@pwsan.com)
940243ad3SSantosh Shilimkar  * Rajendra Nayak (rnayak@ti.com)
1040243ad3SSantosh Shilimkar  * Benoit Cousson (b-cousson@ti.com)
1140243ad3SSantosh Shilimkar  *
1240243ad3SSantosh Shilimkar  * This file is automatically generated from the OMAP hardware databases.
1340243ad3SSantosh Shilimkar  * We respectfully ask that any modifications to this file be coordinated
1440243ad3SSantosh Shilimkar  * with the public linux-omap@vger.kernel.org mailing list and the
1540243ad3SSantosh Shilimkar  * authors above to ensure that the autogeneration scripts are kept
1640243ad3SSantosh Shilimkar  * up-to-date with the file contents.
1740243ad3SSantosh Shilimkar  */
1840243ad3SSantosh Shilimkar 
1940243ad3SSantosh Shilimkar #ifndef __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
2040243ad3SSantosh Shilimkar #define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
2140243ad3SSantosh Shilimkar 
2240243ad3SSantosh Shilimkar #ifndef __ASSEMBLER__
2390129336STero Kristo #include "prcm-common.h"
2490129336STero Kristo 
2590129336STero Kristo extern struct omap_domain_base prcm_mpu_base;
2640243ad3SSantosh Shilimkar 
2740243ad3SSantosh Shilimkar extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
2840243ad3SSantosh Shilimkar extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
2940243ad3SSantosh Shilimkar extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
3040243ad3SSantosh Shilimkar 					    s16 idx);
3140243ad3SSantosh Shilimkar extern void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu);
3240243ad3SSantosh Shilimkar #endif
3340243ad3SSantosh Shilimkar 
3440243ad3SSantosh Shilimkar #endif
35