Add Magicbox M16S support
v7 cover Add Magicbox M16S support
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 receiver
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 patchs:
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
v5: http://lists.infradead.org/pipermail/linux-amlogic/2022-July/013067.html
v6: http://lists.infradead.org/pipermail/linux-amlogic/2022-July/013094.html
Changes since v6:
add Sean's Signed-off-by
checkpatch error: typo and tab fix and no error reported. add manufactor bindings and change device bindings string to tmall,magicbox-m16s, suggested by Christian Hewitt and checkpatch.
Changes since v5:
update keymap bindings patch title, and commit msg.
fix swapped volume up/down key, find out by my wife.
move rc "M" key description from git log to code.
update board binding patch title.
update gpio key name.
remove gpio-keys address-cells and size-cells, which should be done in v4.
add 1 blank line before ethmac.
make phandle in alphabet order.
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):
dt-bindings: media: rc: add keymap bindings for MagicBox M16S remote
media: rc: add keymap for MagicBox M16S remote
dt-bindings: arm: amlogic: add MagicBox M16S bindings
arm64: dts: meson: Add MagicBox M16S support
.../devicetree/bindings/arm/amlogic.yaml | 1 + .../devicetree/bindings/media/rc.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../dts/amlogic/meson-gxm-magicbox-m16s.dts | 39 +++++++++++++ drivers/media/rc/keymaps/Makefile | 1 + drivers/media/rc/keymaps/rc-magicbox.c | 58 +++++++++++++++++++ include/media/rc-map.h | 1 + 8 files changed, 104 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-magicbox-m16s.dts create mode 100644 drivers/media/rc/keymaps/rc-magicbox.c
Signature · 7 lines
2.35.1 _______________________________________________ linux-amlogic mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-amlogic