projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
751391c
)
mfd: tps65090: Add resources for charger
author
Rhyland Klein
<rklein@nvidia.com>
Tue, 12 Mar 2013 22:08:07 +0000
(18:08 -0400)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 8 Apr 2013 16:00:27 +0000
(18:00 +0200)
Add irq resources to pass to the charger mfd sub dev so
the charger can listen for interrupts.
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65090.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/tps65090.c
b/drivers/mfd/tps65090.c
index 98edb5be85c6b39d299d4dffdac7a081d60b1d83..88846aeab74ff90ec0f4f6b54d43b0e0159ce438 100644
(file)
--- a/
drivers/mfd/tps65090.c
+++ b/
drivers/mfd/tps65090.c
@@
-56,12
+56,22
@@
#define TPS65090_INT2_MASK_OVERLOAD_FET6 6
#define TPS65090_INT2_MASK_OVERLOAD_FET7 7
+static struct resource charger_resources[] = {
+ {
+ .start = TPS65090_IRQ_VAC_STATUS_CHANGE,
+ .end = TPS65090_IRQ_VAC_STATUS_CHANGE,
+ .flags = IORESOURCE_IRQ,
+ }
+};
+
static struct mfd_cell tps65090s[] = {
{
.name = "tps65090-pmic",
},
{
.name = "tps65090-charger",
+ .num_resources = ARRAY_SIZE(charger_resources),
+ .resources = &charger_resources[0],
},
};
This page took
0.024697 seconds
and
5
git commands to generate.