Skip to content

media: rc: add support for Amlogic Meson IR receiver

Beniamino Galvani linux-arm-kernel linux-devicetree linux-media lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: rc: meson: document device tree bindingsDocumentation/devicetree/bindings/media/meson-ir.txt+14 -00 replies
2/3media: rc: add driver for Amlogic Meson IR remote receiverMAINTAINERS drivers/media/rc/Kconfig drivers/media/rc/Makefile +1 more+229 -02 replies
3/3ARM: dts: meson: add IR receiver nodearch/arm/boot/dts/meson.dtsi+7 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchCarlo Caione
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] media: rc: add support for Amlogic Meson IR receiver

Hi,

this is a driver for the infrared receiver available in Amlogic Meson6 and Meson8 SoCs. The device can operate in two modes: "NEC" mode in which the hardware decodes frames using the NEC IR protocol, and "general" mode in which the receiver simply reports the duration of pulses and spaces for software decoding.

In order to have the maximum compatibility with different protocols the driver implements software decoding.

Changes since v2 [ https://lkml.org/lkml/2014/10/12/149 ]:
- avoid calling rc_free_device() twice in probe error path

Changes since v1 [ https://lkml.org/lkml/2014/11/9/20 ]:
- added COMPILE_TEST to allow compilation for other architectures
- added missing header files
- removed bogus vendor, product and version assignments
- added file path to Meson entry in MAINTAINERS
- reordered patches

Beniamino Galvani (3):
media: rc: meson: document device tree bindings
media: rc: add driver for Amlogic Meson IR remote receiver
ARM: dts: meson: add IR receiver node

 .../devicetree/bindings/media/meson-ir.txt         |  14 ++
 MAINTAINERS                                        |   1 +
 arch/arm/boot/dts/meson.dtsi                       |   7 +
 drivers/media/rc/Kconfig                           |  11 ++
 drivers/media/rc/Makefile                          |   1 +
 drivers/media/rc/meson-ir.c                        | 216 +++++++++++++++++++++
 6 files changed, 250 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/meson-ir.txt
 create mode 100644 drivers/media/rc/meson-ir.c
Signature · 1 line
1.9.1