Skip to content

Commit

Permalink
Merge pull request armbian#1032 from rabits/fb-gpiomem-to-rockchip-ne…
Browse files Browse the repository at this point in the history
…xt_master

ASUS Tinkerboard: Ported /dev/gpiomem from default to next rockchip kernel
  • Loading branch information
igorpecovnik authored Jul 5, 2018
2 parents effbb42 + b40aeaa commit 1670fd1
Show file tree
Hide file tree
Showing 3 changed files with 381 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/kernel/linux-rockchip-next.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 4.14.52 Kernel Configuration
# Linux/arm 4.14.53 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_ARM_HAS_SG_CHAIN=y
Expand Down Expand Up @@ -842,6 +842,7 @@ CONFIG_NF_LOG_COMMON=m
CONFIG_NF_LOG_NETDEV=m
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_SECMARK=y
# CONFIG_NF_CONNTRACK_ZONES is not set
CONFIG_NF_CONNTRACK_PROCFS=y
CONFIG_NF_CONNTRACK_EVENTS=y
CONFIG_NF_CONNTRACK_TIMEOUT=y
Expand Down Expand Up @@ -2223,6 +2224,8 @@ CONFIG_UNIX98_PTYS=y
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_RK_CHAR_DRIVERS=y
CONFIG_RK3288_DEVGPIOMEM=y
CONFIG_DEVMEM=y
# CONFIG_DEVKMEM is not set

Expand Down
17 changes: 17 additions & 0 deletions patch/kernel/rockchip-next/260_DTS_gpiomem_node.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/arch/arm/boot/dts/rk3288-tinker.dts b/arch/arm/boot/dts/rk3288-tinker.dts
index 925b277..33b198e 100644
--- a/arch/arm/boot/dts/rk3288-tinker.dts
+++ b/arch/arm/boot/dts/rk3288-tinker.dts
@@ -100,6 +100,12 @@
};
};

+ rk3288-gpiomem {
+ compatible = "rockchip,rk3288-gpiomem";
+ reg = <0x0 0xff750000 0x0 0x1000>;
+ status = "okay";
+ };
+
sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
Loading

0 comments on commit 1670fd1

Please sign in to comment.