Shawn Guo
e4b9b6454d
media: rc: ir-hix5hd2: add hi3796cv300-ir support
...
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 following changes are made to deal with them.
- Define a SoC specific data to accommodate IR_CLK offset and the flag
telling requirement of extra enable bit.
- Create function hix5hd2_ir_enable() to handle IR enabling. The original
hix5hd2_ir_enable() is all about managing IR clock, so gets renamed
to hix5hd2_ir_clk_enable().
- Device table hix5hd2_ir_table[] gets moved forward, as it's being
used by hix5hd2_ir_probe() now.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-01-08 11:48:20 +01:00
..
2019-12-10 00:22:18 +01:00
2019-12-14 09:10:47 +01:00
2019-12-25 20:47:24 -07:00
2019-12-04 19:44:12 -08:00
2019-12-15 11:36:12 -08:00
2020-01-03 12:11:30 -08:00
2019-12-12 08:20:10 -08:00
2020-01-03 16:08:05 +10:00
2019-12-18 22:02:27 -08:00
2020-01-04 21:48:48 -08:00
2019-12-09 11:52:50 +00:00
2019-12-12 17:56:08 +01:00
2019-12-02 17:23:21 -08:00
2019-12-01 18:43:25 -08:00
2019-12-23 10:42:58 +09:00
2019-12-27 12:06:06 +05:30
2019-12-09 17:13:19 +10:00
2019-12-20 03:40:24 -08:00
2019-11-27 10:53:50 -08:00
2019-12-02 14:13:00 -08:00
2019-12-17 10:39:55 -08:00
2019-12-27 11:02:48 -08:00
2020-01-02 10:16:04 +10:00
2019-12-01 18:20:54 -08:00
2019-12-01 20:36:41 -08:00
2019-12-01 13:46:15 -08:00
2019-12-17 15:45:59 +01:00
2019-12-10 23:15:09 +01:00
2019-12-01 13:46:15 -08:00
2019-11-29 11:48:39 +01:00
2019-12-09 09:27:52 +01:00
2019-12-15 14:58:13 -08:00
2019-12-07 18:33:01 -08:00
2019-12-12 10:28:54 +01:00
2019-12-20 10:42:25 -08:00
2020-01-04 21:48:59 -08:00
2019-12-01 13:46:15 -08:00
2019-12-01 16:09:28 -08:00
2019-11-30 14:35:43 -08:00
2019-12-01 18:42:02 -08:00
2019-12-13 14:27:19 -08:00
2020-01-08 11:48:20 +01:00
2019-12-06 08:28:51 -08:00
2019-12-03 13:58:22 -08:00
2019-12-03 14:37:12 -08:00
2019-12-21 06:17:05 -08:00
2019-12-19 08:13:43 +01:00
2019-12-03 14:09:14 -08:00
2019-12-30 20:15:02 -08:00
2019-12-19 17:33:23 -08:00
2019-12-07 18:38:17 -08:00
2019-12-01 18:43:25 -08:00
2019-12-13 14:27:19 -08:00
2019-12-05 11:43:31 -08:00
2019-12-22 09:54:33 -08:00
2019-12-12 15:25:37 -06:00
2019-12-18 16:15:36 +00:00
2019-12-05 11:43:31 -08:00
2019-12-16 11:38:20 +01:00
2020-01-04 14:16:57 -08:00
2019-12-04 10:48:09 -08:00
2019-12-30 20:19:27 -08:00
2019-12-05 11:28:14 -08:00
2019-12-04 19:44:13 -08:00
2019-12-17 13:08:41 -08:00
2019-12-10 11:43:37 +01:00
2019-12-01 18:39:24 -08:00
2019-12-03 13:31:08 -08:00
2019-12-24 22:41:06 -08:00
2019-12-27 17:28:41 -08:00
2019-12-20 03:40:24 -08:00
2019-12-17 13:06:31 -08:00
2020-01-08 11:13:25 +01:00
2019-12-27 17:28:41 -08:00
2019-12-05 13:18:54 -08:00
2019-12-07 21:49:06 +08:00
2019-12-17 14:17:32 +01:00
2019-12-18 19:23:42 +01:00
2019-12-07 14:51:04 -08:00
2019-12-08 13:28:11 -08:00
2019-12-03 13:58:22 -08:00
2019-12-01 13:46:15 -08:00
2019-12-11 08:14:07 -05:00
2019-12-01 18:01:03 -08:00
2019-12-21 06:24:56 -08:00