devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add IR support for Hi3796CV300 SoC
@ 2019-12-26 12:02 Shawn Guo
  2019-12-26 12:02 ` [PATCH 1/2] dt-bindings: media: add "hisilicon,hi3796cv300-ir" compatible Shawn Guo
  2019-12-26 12:02 ` [PATCH 2/2] media: rc: ir-hix5hd2: add hi3796cv300-ir support Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Shawn Guo @ 2019-12-26 12:02 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Rob Herring, Jun Nie, devicetree, linux-media, Shawn Guo

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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-04  0:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-26 12:02 [PATCH 0/2] Add IR support for Hi3796CV300 SoC Shawn Guo
2019-12-26 12:02 ` [PATCH 1/2] dt-bindings: media: add "hisilicon,hi3796cv300-ir" compatible Shawn Guo
2020-01-04  0:25   ` Rob Herring
2019-12-26 12:02 ` [PATCH 2/2] media: rc: ir-hix5hd2: add hi3796cv300-ir support Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).