Skip to content

Commit 492390c

Browse files
author
Lee Jones
committed
mfd: ab8500-core: Add additional resources to ab8505_iddet_resources
Add VBUS_DET_R, VBUS_DET_F IRQ, ID_DET_PLUGR and ID_DET_PLUGF IRQ information to ab8505_iddet_resources. These are required to get interrupts for AB8505 cut-2. Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent 7c8f023 commit 492390c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎drivers/mfd/ab8500-core.c‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,30 @@ static struct resource ab8505_iddet_resources[] = {
10161016
.end = AB8505_INT_KEYSTUCK,
10171017
.flags = IORESOURCE_IRQ,
10181018
},
1019+
{
1020+
.name = "VBUS_DET_R",
1021+
.start = AB8500_INT_VBUS_DET_R,
1022+
.end = AB8500_INT_VBUS_DET_R,
1023+
.flags = IORESOURCE_IRQ,
1024+
},
1025+
{
1026+
.name = "VBUS_DET_F",
1027+
.start = AB8500_INT_VBUS_DET_F,
1028+
.end = AB8500_INT_VBUS_DET_F,
1029+
.flags = IORESOURCE_IRQ,
1030+
},
1031+
{
1032+
.name = "ID_DET_PLUGR",
1033+
.start = AB8500_INT_ID_DET_PLUGR,
1034+
.end = AB8500_INT_ID_DET_PLUGR,
1035+
.flags = IORESOURCE_IRQ,
1036+
},
1037+
{
1038+
.name = "ID_DET_PLUGF",
1039+
.start = AB8500_INT_ID_DET_PLUGF,
1040+
.end = AB8500_INT_ID_DET_PLUGF,
1041+
.flags = IORESOURCE_IRQ,
1042+
},
10191043
};
10201044

10211045
static struct resource ab8500_temp_resources[] = {

0 commit comments

Comments
 (0)