29 Jun, 2016
4 commits
-
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR(). Also remove unneeded error handling of
platform_get_resource().Signed-off-by: Wei Yongjun
Signed-off-by: Lee Jones -
Wire up the powerkey driver functionality for the hi655x PMIC.
Signed-off-by: John Stultz
Signed-off-by: Lee Jones -
Currently the hi655x-pmic driver has names for interrupt mask
values, but not for the interrupt numbers themselves.So to allow for interrupt numbers to have sane names, rename
the mask values with the _MASK postfix and use the existing
names as the interrupt nameSigned-off-by: John Stultz
Signed-off-by: Lee Jones -
While trying to get the powerkey to function, I found when
pressing the key, I would get infinitely repeating interrupts.After digging around a bit, it seems we didn't set the ack_base
value for the regmap irqchip logic, so nothing was acking the
interrupt.This patch adds the ack_base, which seems to make things work.
Signed-off-by: John Stultz
Signed-off-by: Lee Jones
18 May, 2016
1 commit
-
Add PMIC MFD driver to support hisilicon hi665x.
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Signed-off-by: Xinwei Kong
Reviewed-by: Haojian Zhuang
Signed-off-by: Lee Jones