summaryrefslogtreecommitdiff
path: root/schulung_tools/drivers
AgeCommit message (Collapse)Author
2019-02-15schulung_tools: drivers: remove modules subdirJohn Ogness
There is no need for the extra directory level. Move all the example modules to the parent "drivers" directory and delete the modules directory. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: relocate and minimize kernel build patchJohn Ogness
There is no reason the the kernel build patch needs to duplicate the entire hello driver. Just show the parts relating to kbuild integration. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: add patches for use with ledsJohn Ogness
These patches are based heavily on the work by Manu to make the driver lessons more interesting. Rather than create a new driver, I took his work and created a series of patches that do interesting modifications to the hello driver. These patches can be used together with the "leds" program to do live blinking demonstrations. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: update patch-add-sysfsJohn Ogness
Since hello.c changed, the patch for adding custom sysfs files needed to be updated. While at it, make the patch into a form that can be used with "git am". Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: cleanup codeJohn Ogness
- add SPDX license identifier - cleanup goto target names - remove an obsolete setting of owner to THIS_MODULE - update the module version Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: set to find Debian kernel buildJohn Ogness
The default build directory needed manual adjustment when the driver was to be built. Change it to use the Debian build path so this driver can be built immediately for the native Debian system without any changes. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28schulung_tools: add klist kernel moduleManuel Traut
this module can be used to show the usage of klist Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-09-28hello driver: add x86 supportJohn Ogness
Supporting x86 allows us to quickly show the hello driver in action directly from the x86 trainer image. It also shows how platform devices can be added on architectures that do not support device trees. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19import drivers from devel/jognessJohn Ogness
Simple drivers for use in the Linux Advanced schulung were only available in the devel/jogness branch. Push them to master so they are easily accessible to any trainer. Signed-off-by: John Ogness <john.ogness@linutronix.de>