|
@@ -317,6 +317,7 @@ typedef void (*regmap_unlock)(void *);
|
|
*
|
|
*
|
|
* @ranges: Array of configuration entries for virtual address ranges.
|
|
* @ranges: Array of configuration entries for virtual address ranges.
|
|
* @num_ranges: Number of range configuration entries.
|
|
* @num_ranges: Number of range configuration entries.
|
|
|
|
+ * @use_hwlock: Indicate if a hardware spinlock should be used.
|
|
* @hwlock_id: Specify the hardware spinlock id.
|
|
* @hwlock_id: Specify the hardware spinlock id.
|
|
* @hwlock_mode: The hardware spinlock mode, should be HWLOCK_IRQSTATE,
|
|
* @hwlock_mode: The hardware spinlock mode, should be HWLOCK_IRQSTATE,
|
|
* HWLOCK_IRQ or 0.
|
|
* HWLOCK_IRQ or 0.
|
|
@@ -365,6 +366,7 @@ struct regmap_config {
|
|
const struct regmap_range_cfg *ranges;
|
|
const struct regmap_range_cfg *ranges;
|
|
unsigned int num_ranges;
|
|
unsigned int num_ranges;
|
|
|
|
|
|
|
|
+ bool use_hwlock;
|
|
unsigned int hwlock_id;
|
|
unsigned int hwlock_id;
|
|
unsigned int hwlock_mode;
|
|
unsigned int hwlock_mode;
|
|
};
|
|
};
|