1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * OMAP44xx and OMAP54xx PRCM MPU function prototypes
5 * Copyright (C) 2010, 2013 Texas Instruments, Inc.
6 * Copyright (C) 2010 Nokia Corporation
8 * Paul Walmsley (paul@pwsan.com)
9 * Rajendra Nayak (rnayak@ti.com)
10 * Benoit Cousson (b-cousson@ti.com)
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.
19 #ifndef __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
20 #define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
23 #include "prcm-common.h"
25 extern struct omap_domain_base prcm_mpu_base
;
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
,
31 extern void __init
omap2_set_globals_prcm_mpu(void __iomem
*prcm_mpu
);