gpio-keyboard-driver: Add driver
Adds the gpio keyboard driver to the BSP. The driver probes but fails to find device tree information it is looking for. Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
22
board/skeleton/etc/init.d/S20driver-setup
Normal file
22
board/skeleton/etc/init.d/S20driver-setup
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
start() {
|
||||
modprobe gpio_keyboard_driver
|
||||
}
|
||||
|
||||
stop() {
|
||||
rmmod gpio_keyboard_driver
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
;;
|
||||
stop)
|
||||
stop
|
||||
;;
|
||||
restart)
|
||||
stop
|
||||
start
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user