2019-06-04 15:11:33 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2013-05-29 23:38:05 +07:00
|
|
|
/*
|
|
|
|
* OMAP44xx and OMAP54xx PRCM MPU function prototypes
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010, 2013 Texas Instruments, Inc.
|
|
|
|
* Copyright (C) 2010 Nokia Corporation
|
|
|
|
*
|
|
|
|
* Paul Walmsley (paul@pwsan.com)
|
|
|
|
* Rajendra Nayak (rnayak@ti.com)
|
|
|
|
* Benoit Cousson (b-cousson@ti.com)
|
|
|
|
*
|
|
|
|
* This file is automatically generated from the OMAP hardware databases.
|
|
|
|
* We respectfully ask that any modifications to this file be coordinated
|
|
|
|
* with the public linux-omap@vger.kernel.org mailing list and the
|
|
|
|
* authors above to ensure that the autogeneration scripts are kept
|
|
|
|
* up-to-date with the file contents.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
|
|
|
|
#define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLER__
|
2017-05-31 22:00:00 +07:00
|
|
|
#include "prcm-common.h"
|
|
|
|
|
|
|
|
extern struct omap_domain_base prcm_mpu_base;
|
2013-05-29 23:38:05 +07:00
|
|
|
|
|
|
|
extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
|
|
|
|
extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
|
|
|
|
extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
|
|
|
|
s16 idx);
|
|
|
|
extern void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|