From 96e78c102f8c9a3719b9cb4a9eb6becb063891ce Mon Sep 17 00:00:00 2001 From: Rabit Date: Sun, 8 Jul 2018 13:19:07 -0700 Subject: [PATCH] ASUS Tinkerboard: Restore justice - author of the gpiomem port According to: * https://github.com/joerg65/gpiomem_tinkerboard/blob/e7ebaf59179f893d4bab3333d4992f5aa4b70810/rk3288-gpiomem.c#L42-L44 * https://forum.armbian.com/topic/4792-tinker-board-gpio/?do=findComment&comment=53472 --- patch/kernel/rockchip-default/261_gpiomem_driver.patch | 7 +++++-- patch/kernel/rockchip-next/261_gpiomem_driver.patch | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/patch/kernel/rockchip-default/261_gpiomem_driver.patch b/patch/kernel/rockchip-default/261_gpiomem_driver.patch index c8327f1bc3..fb79540f5b 100644 --- a/patch/kernel/rockchip-default/261_gpiomem_driver.patch +++ b/patch/kernel/rockchip-default/261_gpiomem_driver.patch @@ -55,7 +55,7 @@ new file mode 100644 index 0000000..984471c --- /dev/null +++ b/drivers/char/rockchip/rk3288-gpiomem.c -@@ -0,0 +1,303 @@ +@@ -0,0 +1,307 @@ +/** + * GPIO memory device driver + * @@ -97,6 +97,10 @@ index 0000000..984471c + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + ++/* ++ * Ported to rk3288 from Jörg Wolff, 2017 ++ */ ++ +#include +#include +#include @@ -359,4 +363,3 @@ index 0000000..984471c +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -\ No newline at end of file diff --git a/patch/kernel/rockchip-next/261_gpiomem_driver.patch b/patch/kernel/rockchip-next/261_gpiomem_driver.patch index a132834ed9..60d12e531e 100644 --- a/patch/kernel/rockchip-next/261_gpiomem_driver.patch +++ b/patch/kernel/rockchip-next/261_gpiomem_driver.patch @@ -54,7 +54,7 @@ new file mode 100644 index 0000000..c289041 --- /dev/null +++ b/drivers/char/rockchip/rk3288-gpiomem.c -@@ -0,0 +1,303 @@ +@@ -0,0 +1,307 @@ +/** + * GPIO memory device driver + * @@ -96,6 +96,10 @@ index 0000000..c289041 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + ++/* ++ * Ported to rk3288 from Jörg Wolff, 2017 ++ */ ++ +#include +#include +#include