]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: axp20x: Correct AXP806 POK interrupt prefix
authorChen-Yu Tsai <wens@csie.org>
Thu, 29 Mar 2018 04:31:15 +0000 (12:31 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 08:21:48 +0000 (09:21 +0100)
commit2ed146a5bd229551b8954aaa50d8549caadad807
treedfba939068e2c02a1b2a0d1cf11ba51ad2d22785
parentf4a504d615e4b079c1d864936035099beaaa067f
mfd: axp20x: Correct AXP806 POK interrupt prefix

When AXP806 support was added, POK was incorrectly expanded to PWROK.
However, the datasheet lists them as POK[LSNP], which is the same as
on the AXP288. Furthermore, the registers associated with POK functions
are the same as the PEK on the other AXP PMICs. This suggests that
"POK" means "Power On Key", much like "PEK" means "Power Enable Key",
instead of "Power OK".

This patch changes the "PWROK" prefix to "POK" for these interrupts.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/axp20x.c
include/linux/mfd/axp20x.h