aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/reset/reset-simple.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/reset/reset-simple.h')
-rw-r--r--drivers/reset/reset-simple.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/reset/reset-simple.h b/drivers/reset/reset-simple.h
index 39af2014b5f1..8a496022baef 100644
--- a/drivers/reset/reset-simple.h
+++ b/drivers/reset/reset-simple.h
@@ -28,12 +28,16 @@
* @active_low: if true, bits are cleared to assert the reset. Otherwise, bits
* are set to assert the reset. Note that this says nothing about
* the voltage level of the actual reset line.
+ * @status_active_low: if true, bits read back as cleared while the reset is
+ * asserted. Otherwise, bits read back as set while the
+ * reset is asserted.
*/
struct reset_simple_data {
spinlock_t lock;
void __iomem *membase;
struct reset_controller_dev rcdev;
bool active_low;
+ bool status_active_low;
};
extern const struct reset_control_ops reset_simple_ops;