Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
18264436
Commit
18264436
authored
Jun 29, 2005
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Copied back OMAP version of TPS65010 driver
Copied back OMAP version of TPS65010 driver
parent
ef538f20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
drivers/i2c/chips/tps65010.c
drivers/i2c/chips/tps65010.c
+17
-17
No files found.
drivers/i2c/chips/tps65010.c
View file @
18264436
...
@@ -535,7 +535,7 @@ fail1:
...
@@ -535,7 +535,7 @@ fail1:
tps
->
irq
=
OMAP_GPIO_IRQ
(
58
);
tps
->
irq
=
OMAP_GPIO_IRQ
(
58
);
omap_request_gpio
(
58
);
omap_request_gpio
(
58
);
omap_set_gpio_direction
(
58
,
1
);
omap_set_gpio_direction
(
58
,
1
);
omap_set_gpio_edge_ctrl
(
58
,
OMAP_GPIO_FALLING_EDGE
);
set_irq_type
(
tps
->
irq
,
IRQT_FALLING
);
}
}
if
(
machine_is_omap_osk
())
{
if
(
machine_is_omap_osk
())
{
tps
->
model
=
TPS65010
;
tps
->
model
=
TPS65010
;
...
@@ -543,7 +543,7 @@ fail1:
...
@@ -543,7 +543,7 @@ fail1:
tps
->
irq
=
OMAP_GPIO_IRQ
(
OMAP_MPUIO
(
1
));
tps
->
irq
=
OMAP_GPIO_IRQ
(
OMAP_MPUIO
(
1
));
omap_request_gpio
(
OMAP_MPUIO
(
1
));
omap_request_gpio
(
OMAP_MPUIO
(
1
));
omap_set_gpio_direction
(
OMAP_MPUIO
(
1
),
1
);
omap_set_gpio_direction
(
OMAP_MPUIO
(
1
),
1
);
omap_set_gpio_edge_ctrl
(
OMAP_MPUIO
(
1
),
OMAP_GPIO_FALLING_EDGE
);
set_irq_type
(
tps
->
irq
,
IRQT_FALLING
);
}
}
if
(
machine_is_omap_h3
())
{
if
(
machine_is_omap_h3
())
{
tps
->
model
=
TPS65013
;
tps
->
model
=
TPS65013
;
...
@@ -1049,8 +1049,8 @@ static int __init tps_init(void)
...
@@ -1049,8 +1049,8 @@ static int __init tps_init(void)
}
else
if
(
machine_is_omap_h3
())
{
}
else
if
(
machine_is_omap_h3
())
{
/* gpio4 for SD, gpio3 for VDD_DSP */
/* gpio4 for SD, gpio3 for VDD_DSP */
#ifdef CONFIG_PM
#ifdef CONFIG_PM
/*
Enable LOW_PWR
*/
/*
FIXME: Enable LOW_PWR hangs H3
*/
tps65013_set_low_pwr
(
ON
);
//
tps65013_set_low_pwr(ON);
#endif
#endif
}
}
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment