aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-05-16 19:53:13 +1200
committerDavid Phillips <david@yeah.nah.nz>2021-05-16 19:54:22 +1200
commit42363803ecb23892f4aab06827e26f5f0785ba77 (patch)
treee2573a31f6a4aed22f61e319ea621abb25983c81
parenta92e37d1034cdf091b0c6900ebd75f2b72baec91 (diff)
downloadcds9k-42363803ecb23892f4aab06827e26f5f0785ba77.tar.xz
Add starter readme
-rw-r--r--README.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3da1264
--- /dev/null
+++ b/README.md
@@ -0,0 +1,46 @@
+# CDS9K Linux Kernel Drivers
+
+This repo houses Linux kernel drivers for the CDS9K FPGA/CPLD.
+
+This is a semi-fictional piece of hardware I'm developing for classroom/demo
+sessions on various aspects of Linux kernel driver development - it's not on
+any real boards, it's just a teaching tool. I do have a VHDL implementation
+which I will include once the IP blocks are more stable.
+
+## Drivers for IP blocks
+
+### `cds9k-fan`
+
+FIXME
+
+
+### `cds9k-led`
+
+FIXME
+
+
+### `cds9k-gpio`
+
+FIXME
+
+
+### `cds9k-reset`
+
+FIXME
+
+
+## Misc drivers
+
+There is currently one misc driver in this repo too: `simple-reset-consumer`.
+On probe, this driver takes a single reset from the device-tree and asks it to
+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:
+
+ root@de10-nano:~# rmmod simple-reset-consumer
+ root@de10-nano:~# modprobe simple-reset-consumer
+ [ 995.241046] simple-reset-consumer some_reset_consumer: firing reset
+ root@de10-nano:~#
+