Tao Huang
b03830fcbe
input: rockchip_pwm_remotectl: Use irq_set_affinity_hint()
...
Fix build error when build as module by
replace irq_set_affinity() with irq_set_affinity_hint().
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1ccd70954a5910738bfe4c508046eda2f940a226
2021-07-14 20:17:44 +08:00
Huang zhibao
8f61ddb10f
input: rc: add support parser power key by rk pwm controller
...
some chips like 1126,356x support this feature
Signed-off-by: Huang zhibao <hzb@rock-chips.com>
Change-Id: Ia182204a4b3783b63b3cefbd70da8bd7089a9e82
2021-03-10 19:34:04 +08:00
Huang zhibao
e6684b5e75
input: remotectl: fix PWM_CH1_INT_ENABLE definition error
...
Signed-off-by: Huang zhibao <hzb@rock-chips.com>
Change-Id: Ib27d5ee7d25004f28978bfd797fa92f045ffb54f
2020-10-15 14:33:49 +08:00
Kever Yang
614dbbdcda
input: remotectl: Set REMOTECTL driver as tristate
...
The removectl drivers may be build as driver, set Kconfig to tristate to
support it.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Change-Id: Id786747e0eb0748644dc0fe76110e2805d4f2500
2020-09-15 20:13:46 +08:00
Guohai Wang
76897edeb8
input: Add IR decode driver
...
Change-Id: I7e6f36b70fd1f5356ad64cad9a0b9f2aab18c2b1
Signed-off-by: Guohai Wang <alex.wang@rock-chips.com>
Reviewed-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
2019-07-02 14:27:19 +08:00
Tao Huang
f9eefeeaa7
rk: add SPDX license identifier to files with no license
...
Change-Id: I754250669891307b0deab2bdab1bd01512713f79
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-01-31 20:56:06 +08:00
Xinhuang Li
cbc0075a13
input: rc: Fix clk get error
...
when the work clock is the same as the bus clock.drop
the "clock-names" property as the PWM uses only one
clock (the driver now needs to call devm_clk_get with NULL).
Change-Id: I7fcdd9635f81778a3dc522d99d0fc081408d6fea
Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
2017-12-01 18:22:23 +08:00
Xinhuang Li
00f0ddd6a2
input: rc: compatible with different numbers of clks definitions
...
rk3328 has two clk for pwm module
Change-Id: I85e7f08ef2f850a53dd16403f96ee4b0a0596c61
Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
2017-11-24 10:29:26 +08:00
Zhangbin Tong
962eb69630
input: rc: support parser power key through the underlying firmware
...
Change-Id: If9ba76081eca80d2d210dd42307e727e673b8b8a
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
2017-08-17 18:24:53 +08:00
Zhangbin Tong
e36814cb28
input: Add IR decode driver
...
Change-Id: I7e6f36b70fd1f5356ad64cad9a0b9f2aab18c2b1
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
2016-06-15 14:46:49 +08:00
huang zhibao
04e788ea78
input:ir: request rk pwm irq with IRQF_NO_SUSPEND flag
2014-11-05 15:44:37 +08:00
huang zhibao
40b8094c7e
input:ir, resume -> resume_early for wakeup one time
2014-10-13 17:59:27 +08:00
huang zhibao
bc0654474f
kernel:input:ir, fix start kernel oops and move spaces
2014-10-09 10:29:12 +08:00
huang zhibao
035efe383e
kernel:input: remotectl remove ir key struct to dts and handle ir irq not on cpu0
2014-10-08 17:37:41 +08:00
huang zhibao
61633a6c3b
input:ir: add new remote control support
2014-09-26 15:35:27 +08:00
huang zhibao
5ee7e3fac5
input: support ir long press
2014-08-06 18:11:43 +08:00
huang zhibao
d809b68ff7
input:ir:add remotectl support
2014-07-22 15:40:52 +08:00
wlq
201797df0d
AndroidComputer: remote Kconfig default n
...
modified:
arch/arm/configs/rk3188_ac_defconfig
drivers/input/remotectl/Kconfig
2013-10-24 15:17:34 +08:00
wlq
6e7e238d42
AndroidComputer: add rkxx remote driver
...
modified:
arch/arm/configs/rk3188_ac_defconfig
arch/arm/mach-rk3188/board-rk3188-ac.c
drivers/input/Kconfig
drivers/input/Makefile
new file:
arch/arm/mach-rk3188/include/mach/remotectl.h
drivers/input/remotectl/Kconfig
drivers/input/remotectl/Makefile
drivers/input/remotectl/rkxx_remotectl.c
2013-10-23 16:11:49 +08:00