|
@@ -128,6 +128,7 @@ struct prm_reset_src_map {
|
|
* @was_any_context_lost_old: ptr to the SoC PRM context loss test fn
|
|
* @was_any_context_lost_old: ptr to the SoC PRM context loss test fn
|
|
* @clear_context_loss_flags_old: ptr to the SoC PRM context loss flag clear fn
|
|
* @clear_context_loss_flags_old: ptr to the SoC PRM context loss flag clear fn
|
|
* @late_init: ptr to the late init function
|
|
* @late_init: ptr to the late init function
|
|
|
|
+ * @assert_hardreset: ptr to the SoC PRM hardreset assert impl
|
|
*
|
|
*
|
|
* XXX @was_any_context_lost_old and @clear_context_loss_flags_old are
|
|
* XXX @was_any_context_lost_old and @clear_context_loss_flags_old are
|
|
* deprecated.
|
|
* deprecated.
|
|
@@ -137,11 +138,13 @@ struct prm_ll_data {
|
|
bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
|
|
bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
|
|
void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
|
|
void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
|
|
int (*late_init)(void);
|
|
int (*late_init)(void);
|
|
|
|
+ int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset);
|
|
};
|
|
};
|
|
|
|
|
|
extern int prm_register(struct prm_ll_data *pld);
|
|
extern int prm_register(struct prm_ll_data *pld);
|
|
extern int prm_unregister(struct prm_ll_data *pld);
|
|
extern int prm_unregister(struct prm_ll_data *pld);
|
|
|
|
|
|
|
|
+int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset);
|
|
extern u32 prm_read_reset_sources(void);
|
|
extern u32 prm_read_reset_sources(void);
|
|
extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx);
|
|
extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx);
|
|
extern void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx);
|
|
extern void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx);
|