aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3da1264..51341f3 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,15 @@ reset. This is the quickest way I had for hackily debugging the effect of a
reset driver such as cds9k-reset, as there doesn't appear to be any sysfs or
debugfs nodes exposed for reset controllers in general.
-Usage:
+If you include a segment in your device tree like:
+
+ some_reset_consumer {
+ compatible = "david,simple-reset-consumer";
+ resets = <&some_reset>;
+ status = "okay";
+ };
+
+Then firing the resets looks like:
root@de10-nano:~# rmmod simple-reset-consumer
root@de10-nano:~# modprobe simple-reset-consumer