mbox series

[0/2] Add IR support for Hi3796CV300 SoC

Message ID 20191226120222.14745-1-shawn.guo@linaro.org (mailing list archive)
Headers show
Series Add IR support for Hi3796CV300 SoC | expand

Message

Shawn Guo Dec. 26, 2019, 12:02 p.m. UTC
The IR device on Hi3796CV300 SoC is mostly same as hix5hd2, except the
following two things.

 - IR_CLK offset is 0x60 instead of 0x48.
 - It needs to set an extra bit in IR_ENABLE register to enable IR.

The series adds a new compatible for Hi3796CV300 IR device and update
ir-hix5hd2 driver to support the device.

Shawn Guo (2):
  dt-bindings: media: add "hisilicon,hi3796cv300-ir" compatible
  media: rc: ir-hix5hd2: add hi3796cv300-ir support

 .../devicetree/bindings/media/hix5hd2-ir.txt  |  3 +-
 drivers/media/rc/ir-hix5hd2.c                 | 79 ++++++++++++++-----
 2 files changed, 63 insertions(+), 19 deletions(-)