From 27209bb802048f4803d9cd9a5c2f99d613986446 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 19 Dec 2017 10:53:07 +0100 Subject: import drivers from devel/jogness 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 --- .../modules/hellodriver/patch-hello-dts.diff | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 schulung_tools/drivers/modules/hellodriver/patch-hello-dts.diff (limited to 'schulung_tools/drivers/modules/hellodriver/patch-hello-dts.diff') diff --git a/schulung_tools/drivers/modules/hellodriver/patch-hello-dts.diff b/schulung_tools/drivers/modules/hellodriver/patch-hello-dts.diff new file mode 100644 index 0000000..2d0bf52 --- /dev/null +++ b/schulung_tools/drivers/modules/hellodriver/patch-hello-dts.diff @@ -0,0 +1,26 @@ +diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts +index d949fac..4952799 100644 +--- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts ++++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts +@@ -132,6 +132,21 @@ + status = "disabled"; + }; + ++ hello@1 { ++ compatible = "virtual,hello"; ++ index = <1>; ++ }; ++ ++ hello@5 { ++ compatible = "virtual,hello"; ++ index = <5>; ++ }; ++ ++ hello@8 { ++ compatible = "virtual,hello"; ++ index = <8>; ++ }; ++ + watchdog@100e5000 { + compatible = "arm,sp805", "arm,primecell"; + reg = <0x100e5000 0x1000>; -- cgit v1.2.3