aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2018-03-29 00:31:15 -0400
committerLee Jones <lee.jones@linaro.org>2018-05-16 04:21:48 -0400
commiteef2b53a3ec6b1919d32bd722d2f5d33769a1f48 (patch)
treedfba939068e2c02a1b2a0d1cf11ba51ad2d22785 /include/linux/mfd
parente26f87e5ca75a181b6da16dd835e57b329a2664f (diff)
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/axp20x.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h
index a2489363a998..517e60eecbcb 100644
--- a/include/linux/mfd/axp20x.h
+++ b/include/linux/mfd/axp20x.h
@@ -592,11 +592,11 @@ enum axp806_irqs {
592 AXP806_IRQ_DCDCC_V_LOW, 592 AXP806_IRQ_DCDCC_V_LOW,
593 AXP806_IRQ_DCDCD_V_LOW, 593 AXP806_IRQ_DCDCD_V_LOW,
594 AXP806_IRQ_DCDCE_V_LOW, 594 AXP806_IRQ_DCDCE_V_LOW,
595 AXP806_IRQ_PWROK_LONG, 595 AXP806_IRQ_POK_LONG,
596 AXP806_IRQ_PWROK_SHORT, 596 AXP806_IRQ_POK_SHORT,
597 AXP806_IRQ_WAKEUP, 597 AXP806_IRQ_WAKEUP,
598 AXP806_IRQ_PWROK_FALL, 598 AXP806_IRQ_POK_FALL,
599 AXP806_IRQ_PWROK_RISE, 599 AXP806_IRQ_POK_RISE,
600}; 600};
601 601
602enum axp809_irqs { 602enum axp809_irqs {