]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / mach-omap2 / prcm_mpu_44xx_54xx.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
40243ad3
SS
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.
40243ad3
SS
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__
90129336
TK
23#include "prcm-common.h"
24
25extern struct omap_domain_base prcm_mpu_base;
40243ad3
SS
26
27extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
28extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
29extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
30 s16 idx);
31extern void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu);
32#endif
33
34#endif