Skip to content

Commit

Permalink
media: rc: introduce Meson IR blaster driver
Browse files Browse the repository at this point in the history
This patch adds the driver for Amlogic Meson IR blaster.

Some Amlogic SoCs such as A311D and T950D4 have IR transmitter
(blaster) controller onboard. It is capable of sending IR
signals with arbitrary carrier frequency and duty cycle.

The driver supports 3 modulation clock sources:
 - sysclk
 - xtal3 clock (xtal divided by 3)
 - 1us clock

Signed-off-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
  • Loading branch information
viktor-prutyanov authored and intel-lab-lkp committed Jul 9, 2021
1 parent 9651b0c commit 34b352c
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/media/rc/Kconfig
Expand Up @@ -246,6 +246,16 @@ config IR_MESON
To compile this driver as a module, choose M here: the
module will be called meson-ir.

config IR_MESON_IRBLASTER
tristate "Amlogic Meson IR blaster"
depends on ARCH_MESON || COMPILE_TEST
help
Say Y if you want to use the IR blaster available on
Amlogic Meson SoCs.

To compile this driver as a module, choose M here: the
module will be called meson-irblaster.

config IR_MTK
tristate "Mediatek IR remote receiver"
depends on ARCH_MEDIATEK || COMPILE_TEST
Expand Down
1 change: 1 addition & 0 deletions drivers/media/rc/Makefile
Expand Up @@ -28,6 +28,7 @@ obj-$(CONFIG_IR_ITE_CIR) += ite-cir.o
obj-$(CONFIG_IR_MCEUSB) += mceusb.o
obj-$(CONFIG_IR_FINTEK) += fintek-cir.o
obj-$(CONFIG_IR_MESON) += meson-ir.o
obj-$(CONFIG_IR_MESON_IRBLASTER) += meson-irblaster.o
obj-$(CONFIG_IR_NUVOTON) += nuvoton-cir.o
obj-$(CONFIG_IR_ENE) += ene_ir.o
obj-$(CONFIG_IR_REDRAT3) += redrat3.o
Expand Down

0 comments on commit 34b352c

Please sign in to comment.