Skip to contentSkip to conversation

arm64: dts: meson: ir keymap updates

PATCH In review Christian Hewitt 3 participants 10 messages Aug 25, 2019 – Aug 27, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: meson: ir keymap updates

This series adds keymaps for several box/board vendor IR remote devices to respective device-tree files. The keymaps were submitted in [0] and have been queued for inclusion in Linux 5.4.

The Khadas remote change swaps the rc-geekbox keymap for rc-khadas. The Geekbox branded remote was only sold for a brief period when VIM(1) was a new device. The Khadas branded remote that replaced it exchanged the Geekbox full-screen key for an Android mouse button using a different IR keycode. The rc-khadas keymap supports the mouse button keycode and maps it to KEY_MUTE.

[0] https://patchwork.kernel.org/project/linux-media/list/?series=160309

Christian Hewitt (7):
arm64: dts: meson-g12b-odroid-n2: add rc-odroid keymap
arm64: dts: meson-g12a-x96-max: add rc-x96max keymap
arm64: dts: meson-gxbb-wetek-hub: add rc-wetek-hub keymap
arm64: dts: meson-gxbb-wetek-play2: add rc-wetek-play2 keymap
arm64: dts: meson-gxl-s905x-khadas-vim: use rc-khadas keymap
arm64: dts: meson-gxl-s905w-tx3-mini: add rc-tx3mini keymap
arm64: dts: meson-gxm-khadas-vim2: use rc-khadas keymap

 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts         | 1 +
 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts       | 1 +
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts       | 4 ++++
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts     | 4 ++++
 arch/arm64/boot/dts/amlogic/meson-gxl-s905w-tx3-mini.dts   | 4 ++++
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +-
 arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts      | 2 +-
 7 files changed, 16 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/7 arm64: dts: meson-g12b-odroid-n2: add rc-odroid keymap

add the rc-odroid keymap to the ir node

---
 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts +1 -0
index 81780ff..35cef76 100644
@@ -314,6 +314,7 @@
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
+	linux,rc-map-name = "rc-odroid";
 };
 
 /* SD card */
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/7 arm64: dts: meson-g12a-x96-max: add rc-x96max keymap

In reply to Christian Hewitt

add the rc-x96max keymap to the ir node

---
 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +1 -0
index fe4013c..357d7dc 100644
@@ -277,6 +277,7 @@
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
+	linux,rc-map-name = "rc-x96max";
 };
 
 &ext_mdio {
Signature · 1 line
2.7.4
#3 lore raw

PATCH 3/7 arm64: dts: meson-gxbb-wetek-hub: add rc-wetek-hub keymap

In reply to Christian Hewitt

add the rc-wetek-hub keymap to the ir node

---
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +4 -0
index 2bfe699..83b985b 100644
@@ -12,3 +12,7 @@
 	compatible = "wetek,hub", "amlogic,meson-gxbb";
 	model = "WeTek Hub";
 };
+
+&ir {
+	linux,rc-map-name = "rc-wetek-hub";
+};
Signature · 1 line
2.7.4
#4 lore raw

PATCH 4/7 arm64: dts: meson-gxbb-wetek-play2: add rc-wetek-play2 keymap

In reply to Christian Hewitt

add the rc-wetek-play2 keymap to the ir node

---
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts +4 -0
index 0038522..1d32d1f 100644
@@ -54,3 +54,7 @@
 &usb1 {
 	status = "okay";
 };
+
+&ir {
+	linux,rc-map-name = "rc-wetek-play2";
+};
Signature · 1 line
2.7.4
#5 lore raw

PATCH 5/7 arm64: dts: meson-gxl-s905x-khadas-vim: use rc-khadas keymap

In reply to Christian Hewitt

Swap to the rc-khadas keymap that maps the mouse button to KEY_MUTE.

---
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +1 -1
index 5499e8d..2a5cd30 100644
@@ -110,7 +110,7 @@
 };
 
 &ir {
-	linux,rc-map-name = "rc-geekbox";
+	linux,rc-map-name = "rc-khadas";
 };
 
 &gpio_ao {
Signature · 1 line
2.7.4
#6 lore raw

PATCH 6/7 arm64: dts: meson-gxl-s905w-tx3-mini: add rc-tx3mini keymap

In reply to Christian Hewitt

add the rc-tx3mini keymap to the ir node

---
 arch/arm64/boot/dts/amlogic/meson-gxl-s905w-tx3-mini.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxl-s905w-tx3-mini.dts +4 -0
index 789c819..dd729ac 100644
@@ -20,3 +20,7 @@
 		reg = <0x0 0x0 0x0 0x40000000>; /* 1 GiB or 2 GiB */
 	};
 };
+
+&ir {
+	linux,rc-map-name = "rc-tanix-tx3mini";
+};
Signature · 1 line
2.7.4
#7 lore raw

PATCH 7/7 arm64: dts: meson-gxm-khadas-vim2: use rc-khadas keymap

In reply to Christian Hewitt

Swap to the rc-khadas keymap that maps the mouse button to KEY_MUTE.

---
 arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +1 -1
index 989d33a..f25ddd1 100644
@@ -299,7 +299,7 @@
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
-	linux,rc-map-name = "rc-geekbox";
+	linux,rc-map-name = "rc-khadas";
 };
 
 &pwm_AO_ab {
Signature · 1 line
2.7.4
reviewer Reviewed-by on the v1 series
#8 lore raw
In reply to Christian Hewitt
Quoted 14 lines · Christian Hewitt

This series adds keymaps for several box/board vendor IR remote devices to respective device-tree files. The keymaps were submitted in [0] and have been queued for inclusion in Linux 5.4.

The Khadas remote change swaps the rc-geekbox keymap for rc-khadas. The Geekbox branded remote was only sold for a brief period when VIM(1) was a new device. The Khadas branded remote that replaced it exchanged the Geekbox full-screen key for an Android mouse button using a different IR keycode. The rc-khadas keymap supports the mouse button keycode and maps it to KEY_MUTE.

[0] https://patchwork.kernel.org/project/linux-media/list/?series=160309

Quoted 8 lines

Christian Hewitt (7):
arm64: dts: meson-g12b-odroid-n2: add rc-odroid keymap
arm64: dts: meson-g12a-x96-max: add rc-x96max keymap
arm64: dts: meson-gxbb-wetek-hub: add rc-wetek-hub keymap
arm64: dts: meson-gxbb-wetek-play2: add rc-wetek-play2 keymap
arm64: dts: meson-gxl-s905x-khadas-vim: use rc-khadas keymap
arm64: dts: meson-gxl-s905w-tx3-mini: add rc-tx3mini keymap
arm64: dts: meson-gxm-khadas-vim2: use rc-khadas keymap

maintainer
#9 lore raw
Quoted 25 lines · Martin Blumenstingl
Quoted 14 lines · Christian Hewitt

This series adds keymaps for several box/board vendor IR remote devices to respective device-tree files. The keymaps were submitted in [0] and have been queued for inclusion in Linux 5.4.

The Khadas remote change swaps the rc-geekbox keymap for rc-khadas. The Geekbox branded remote was only sold for a brief period when VIM(1) was a new device. The Khadas branded remote that replaced it exchanged the Geekbox full-screen key for an Android mouse button using a different IR keycode. The rc-khadas keymap supports the mouse button keycode and maps it to KEY_MUTE.

[0] https://patchwork.kernel.org/project/linux-media/list/?series=160309

Quoted 8 lines

Christian Hewitt (7):
arm64: dts: meson-g12b-odroid-n2: add rc-odroid keymap
arm64: dts: meson-g12a-x96-max: add rc-x96max keymap
arm64: dts: meson-gxbb-wetek-hub: add rc-wetek-hub keymap
arm64: dts: meson-gxbb-wetek-play2: add rc-wetek-play2 keymap
arm64: dts: meson-gxl-s905x-khadas-vim: use rc-khadas keymap
arm64: dts: meson-gxl-s905w-tx3-mini: add rc-tx3mini keymap
arm64: dts: meson-gxm-khadas-vim2: use rc-khadas keymap

Quoted 1 line

Queued for v5.4 w/Martin's tag,

Thanks,

Kevin