diff options
author | David Phillips <david@yeah.nah.nz> | 2021-05-16 19:53:13 +1200 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2021-05-16 19:54:22 +1200 |
commit | 42363803ecb23892f4aab06827e26f5f0785ba77 (patch) | |
tree | e2573a31f6a4aed22f61e319ea621abb25983c81 | |
parent | a92e37d1034cdf091b0c6900ebd75f2b72baec91 (diff) | |
download | cds9k-42363803ecb23892f4aab06827e26f5f0785ba77.tar.xz |
Add starter readme
-rw-r--r-- | README.md | 46 |
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:~# + |