mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 03:26:54 +07:00
d9a16f9ab9
Split omap2_set_globals_prcm() into PRM, CM, and PRCM_MPU variants, since these are all separate IP blocks. This should make it easier to move the PRM, CM, PRCM_MPU code into drivers/ in future patchsets. At this point arch/arm/plat-omap/include/plat/prcm.h is empty; a subsequent patch will remove it, and remove the #include from all the files that #include it. Signed-off-by: Paul Walmsley <paul@pwsan.com> Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/*
|
|
* OMAP4 Power/Reset Management (PRM) function prototypes
|
|
*
|
|
* Copyright (C) 2010 Nokia Corporation
|
|
* Copyright (C) 2011 Texas Instruments, Inc.
|
|
* Paul Walmsley
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef __ARCH_ASM_MACH_OMAP2_PRMINST44XX_H
|
|
#define __ARCH_ASM_MACH_OMAP2_PRMINST44XX_H
|
|
|
|
/*
|
|
* In an ideal world, we would not export these low-level functions,
|
|
* but this will probably take some time to fix properly
|
|
*/
|
|
extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx);
|
|
extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx);
|
|
extern u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part,
|
|
s16 inst, u16 idx);
|
|
|
|
extern void omap4_prminst_global_warm_sw_reset(void);
|
|
|
|
extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst,
|
|
u16 rstctrl_offs);
|
|
extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst,
|
|
u16 rstctrl_offs);
|
|
extern int omap4_prminst_deassert_hardreset(u8 shift, u8 part, s16 inst,
|
|
u16 rstctrl_offs);
|
|
|
|
extern void omap_prm_base_init(void);
|
|
|
|
#endif
|