[v5 0/4] Add Magicbox M16S support

Zhang Ning zhangn1985 at qq.com
Sun Jul 24 16:17:00 PDT 2022


these patches aim to add MagicBox M16S support.

MagicBox M16S is populor Tv box in China, manufacted by Alibaba at 2016,
with below spec:

Amlogic S912-H (S912 with dolby and dts)
2G ddr3
16G emmc
Marvell sd8897 BT/wifi module
100M ethernet
IR reciever
4K HDMI
AV out
Rest hole
5V2A power input
white LED

current status with these patches:
HDMI sound and AV out status unknown, others work well.
Wifi/Bt work without DT support.
LED pin is GPIO_TEST_N. Depends on Neil's patch. 

previouse patch:
v1: http://lists.infradead.org/pipermail/linux-amlogic/2022-July/013022.html
v2: http://lists.infradead.org/pipermail/linux-amlogic/2022-July/013051.html
v3: http://lists.infradead.org/pipermail/linux-amlogic/2022-July/013054.html
v4: http://lists.infradead.org/pipermail/linux-amlogic/2022-July/013060.html

Changes since v4:
fix typo in commit msg
remove useless blank line

Changes since v3:
split dt bindings to new patches.
change keymap scancode to hex.
move dts changes to single patch.
update commit msg.

Changes since V2:
add IR keymap.
update patch title.

Zhang Ning (4):
  media: rc: add keymap for MagicBox M16S remote
  media: rc: add keymap for MagicBox M16S remote
  dt-bindings: arm: add Magicbox M16S bindings
  arm64: dts: meson: Add MagicBox M16S support

 .../devicetree/bindings/arm/amlogic.yaml      |  1 +
 .../devicetree/bindings/media/rc.yaml         |  1 +
 arch/arm64/boot/dts/amlogic/Makefile          |  1 +
 .../dts/amlogic/meson-gxm-magicbox-m16s.dts   | 40 ++++++++++++++
 drivers/media/rc/keymaps/Makefile             |  1 +
 drivers/media/rc/keymaps/rc-magicbox.c        | 53 +++++++++++++++++++
 include/media/rc-map.h                        |  1 +
 7 files changed, 98 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-magicbox-m16s.dts
 create mode 100644 drivers/media/rc/keymaps/rc-magicbox.c

-- 
2.35.1




More information about the linux-amlogic mailing list