| #
a91da598 |
| 24-Jul-2020 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx: always enable key interrupt
We use it to exit charge animation while system is in runtime.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ia6bc3f7a20310f73e060418f0a0ab
input: rk8xx: always enable key interrupt
We use it to exit charge animation while system is in runtime.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ia6bc3f7a20310f73e060418f0a0ab01ef8745b11
show more ...
|
| #
5a157e97 |
| 12-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'thunder-boot' into next-dev
|
| #
d532d22e |
| 26-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx: enable interrupt only in suspend
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I4d5a2e38b8a73d11aa86cd9a0f18ca32b218d892
|
| #
01c5bab1 |
| 27-Jul-2019 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx pwrkey: refactor to match irq chip framework
The PIMC as parent has register the interrupt controller as a irq chip, and as a children, this driver only cares about the rise/fall event.
input: rk8xx pwrkey: refactor to match irq chip framework
The PIMC as parent has register the interrupt controller as a irq chip, and as a children, this driver only cares about the rise/fall event.
Change-Id: I934901a786b70920cd413e1fb15c8a5c372ea399 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
868ca499 |
| 11-Jun-2019 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx_pwrkey: register irq thread into key framework
Change-Id: Idbc90a55af76001afba218c7cfe0eb750dd24629 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
5a54baa7 |
| 03-Apr-2019 |
Joseph Chen <chenjh@rock-chips.com> |
dm: key: refactor code
- use standard dm framework to implement all key drivers; - all key node to be children and attach to key bus; - dm key uclass takes over most work; - reduce a lot of driver c
dm: key: refactor code
- use standard dm framework to implement all key drivers; - all key node to be children and attach to key bus; - dm key uclass takes over most work; - reduce a lot of driver code size;
Change-Id: I9ea4515249d493eb4434890b90350f694c07404f Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
64048c53 |
| 19-Jul-2018 |
Joseph Chen <chenjh@rock-chips.com> |
dm: key: optimise framework and update drivers
1. dm key framework takes over more generic jobs; 2. key drivers remove unused codes and match new framework; 3. only power key is registered as interr
dm: key: optimise framework and update drivers
1. dm key framework takes over more generic jobs; 2. key drivers remove unused codes and match new framework; 3. only power key is registered as interrupt key;
Change-Id: Icdda86f588af721b685f801ed251581f2fd85793 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
9cacbc78 |
| 28-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx: drivers/input/rk8xx_pwrkey.c
Change-Id: I920b761825f2f3114d38b17fa377bcb19e88bb18 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
1b6b965c |
| 22-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
pmic: add rk809 support
include sub modules: pmic, regulator, pwrkey
Change-Id: I840983ceafc7677840674e7d1aebab703e3a537d Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
1c223666 |
| 24-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
pmic: rk8xx: add init register setting for rk817
1. set pmic_sleep as sleep function; 2. set pmic_int active low.
Change-Id: I4bc4034e18b19dc9b1b328870db652d11173fe3a Signed-off-by: Joseph Chen <ch
pmic: rk8xx: add init register setting for rk817
1. set pmic_sleep as sleep function; 2. set pmic_int active low.
Change-Id: I4bc4034e18b19dc9b1b328870db652d11173fe3a Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
35d17bf7 |
| 08-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx: support plugout interrupt for rk816 and rk817
Change-Id: I474236292025f5656673191b10ad25f5362970b1 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
7f18d96c |
| 07-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
pmic: add RK817 support
include sub modules: pmic, regulator, pwrkey
Change-Id: I3a1cbaa3c4d069cbac17124f9c0fe3b01184697c Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
a7b534a0 |
| 30-Jan-2018 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx: refactor code
match key uclass framework.
Change-Id: Ib3677514483d7f6f08479100fae2046e4f3bdb4e Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
618d619d |
| 08-Dec-2017 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx pwrkey: replace printf with debug
I forgot to do this.
Change-Id: I4db233255a633cd403f4a279970d069b39124fe6 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
3ccaecfa |
| 28-Nov-2017 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx pwrkey: use irq to detect key event
because we support U-Boot system suspend and trap into ATF, we have to make pwrkey as wakeup source, so that we must register pmic_int as an irq.
we
input: rk8xx pwrkey: use irq to detect key event
because we support U-Boot system suspend and trap into ATF, we have to make pwrkey as wakeup source, so that we must register pmic_int as an irq.
we found reading 'get_timer(0)' will return a large value in the interrupt routine and I don't find out what happend now, so I add the 'get_ms()' which reads arm gerneric timer tick direcly.
we clean all PMIC interrupt status for safety to avoid pmic_int hold in low level which make PMIC can't respond to interrupt any more.
Change-Id: I46ff81030696f4672faa9fc81141952e52fd5ba9 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
9745ade2 |
| 27-Oct-2017 |
Joseph Chen <chenjh@rock-chips.com> |
input: rk8xx pwrkey: add some optimization
1. add key name and type; 2. clear both fall and rise interrupt when detect rise.
Change-Id: I0698f3decc4b92cf32ce564a1827eedb5ee19a01 Signed-off-by: Jose
input: rk8xx pwrkey: add some optimization
1. add key name and type; 2. clear both fall and rise interrupt when detect rise.
Change-Id: I0698f3decc4b92cf32ce564a1827eedb5ee19a01 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
436d684c |
| 18-Sep-2017 |
Joseph Chen <chenjh@rock-chips.com> |
input: add rk8xx pwrkey support
RK805/816 provide pwrkey function while RK808/818 is not.
Change-Id: Ia6cd9fcb0a360d81cff54cf49a1f1c9c653488e6 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|