140243ad3SSantosh Shilimkar /*
240243ad3SSantosh Shilimkar  * OMAP44xx and OMAP54xx PRCM MPU function prototypes
340243ad3SSantosh Shilimkar  *
440243ad3SSantosh Shilimkar  * Copyright (C) 2010, 2013 Texas Instruments, Inc.
540243ad3SSantosh Shilimkar  * Copyright (C) 2010 Nokia Corporation
640243ad3SSantosh Shilimkar  *
740243ad3SSantosh Shilimkar  * Paul Walmsley (paul@pwsan.com)
840243ad3SSantosh Shilimkar  * Rajendra Nayak (rnayak@ti.com)
940243ad3SSantosh Shilimkar  * Benoit Cousson (b-cousson@ti.com)
1040243ad3SSantosh Shilimkar  *
1140243ad3SSantosh Shilimkar  * This file is automatically generated from the OMAP hardware databases.
1240243ad3SSantosh Shilimkar  * We respectfully ask that any modifications to this file be coordinated
1340243ad3SSantosh Shilimkar  * with the public linux-omap@vger.kernel.org mailing list and the
1440243ad3SSantosh Shilimkar  * authors above to ensure that the autogeneration scripts are kept
1540243ad3SSantosh Shilimkar  * up-to-date with the file contents.
1640243ad3SSantosh Shilimkar  *
1740243ad3SSantosh Shilimkar  * This program is free software; you can redistribute it and/or modify
1840243ad3SSantosh Shilimkar  * it under the terms of the GNU General Public License version 2 as
1940243ad3SSantosh Shilimkar  * published by the Free Software Foundation.
2040243ad3SSantosh Shilimkar  *
2140243ad3SSantosh Shilimkar  */
2240243ad3SSantosh Shilimkar 
2340243ad3SSantosh Shilimkar #ifndef __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
2440243ad3SSantosh Shilimkar #define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
2540243ad3SSantosh Shilimkar 
2640243ad3SSantosh Shilimkar #ifndef __ASSEMBLER__
2790129336STero Kristo #include "prcm-common.h"
2890129336STero Kristo 
2990129336STero Kristo extern struct omap_domain_base prcm_mpu_base;
3040243ad3SSantosh Shilimkar 
3140243ad3SSantosh Shilimkar extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
3240243ad3SSantosh Shilimkar extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
3340243ad3SSantosh Shilimkar extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
3440243ad3SSantosh Shilimkar 					    s16 idx);
3540243ad3SSantosh Shilimkar extern void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu);
3640243ad3SSantosh Shilimkar #endif
3740243ad3SSantosh Shilimkar 
3840243ad3SSantosh Shilimkar #endif
39