]> 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)
commitee7bb44f274e6c1ac797928b5bc4631bb73af160
treedfba939068e2c02a1b2a0d1cf11ba51ad2d22785
parent21b194da79c4112fcb152fce2da0965369552b4d
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