Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED Linux Kernel Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Miscellaneous
KED Linux Kernel Fork
Commits
32584c86
Commit
32584c86
authored
16 years ago
by
Ian Molton
Browse files
Options
Downloads
Patches
Plain Diff
E-series UDC support
Signed-off-by:
IAn Molton
<
spyro@f2s.com
>
parent
8fb105f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/mach-pxa/Makefile
+1
-1
1 addition, 1 deletion
arch/arm/mach-pxa/Makefile
arch/arm/mach-pxa/eseries_udc.c
+57
-0
57 additions, 0 deletions
arch/arm/mach-pxa/eseries_udc.c
with
58 additions
and
1 deletion
arch/arm/mach-pxa/Makefile
+
1
−
1
View file @
32584c86
...
...
@@ -36,7 +36,7 @@ obj-$(CONFIG_MACH_PCM990_BASEBOARD) += pcm990-baseboard.o
obj-$(CONFIG_MACH_TOSA)
+=
tosa.o
obj-$(CONFIG_MACH_EM_X270)
+=
em-x270.o
obj-$(CONFIG_MACH_MAGICIAN)
+=
magician.o
obj-$(CONFIG_ARCH_PXA_ESERIES)
+=
eseries.o
obj-$(CONFIG_ARCH_PXA_ESERIES)
+=
eseries.o
eseries_udc.o
ifeq
($(CONFIG_MACH_ZYLONITE),y)
obj-y
+=
zylonite.o
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/eseries_udc.c
0 → 100644
+
57
−
0
View file @
32584c86
/*
* UDC functions for the Toshiba e-series PDAs
*
* Copyright (c) Ian Molton 2003
*
* This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*
*/
#include
<linux/kernel.h>
#include
<linux/init.h>
#include
<linux/device.h>
#include
<asm/arch/udc.h>
#include
<asm/arch/eseries-gpio.h>
#include
<asm/arch/hardware.h>
#include
<asm/arch/pxa-regs.h>
#include
<asm/mach/arch.h>
#include
<asm/mach-types.h>
#include
<asm/mach/map.h>
#include
<asm/domain.h>
/* local PXA generic code */
#include
"generic.h"
static
struct
pxa2xx_udc_mach_info
e7xx_udc_mach_info
=
{
.
gpio_vbus
=
GPIO_E7XX_USB_DISC
,
.
gpio_pullup
=
GPIO_E7XX_USB_PULLUP
,
.
gpio_pullup_inverted
=
1
};
static
struct
pxa2xx_udc_mach_info
e800_udc_mach_info
=
{
.
gpio_vbus
=
GPIO_E800_USB_DISC
,
.
gpio_pullup
=
GPIO_E800_USB_PULLUP
,
.
gpio_pullup_inverted
=
1
};
static
int
__init
eseries_udc_init
(
void
)
{
if
(
machine_is_e330
()
||
machine_is_e350
()
||
machine_is_e740
()
||
machine_is_e750
()
||
machine_is_e400
())
pxa_set_udc_info
(
&
e7xx_udc_mach_info
);
else
if
(
machine_is_e800
())
pxa_set_udc_info
(
&
e800_udc_mach_info
);
return
0
;
}
module_init
(
eseries_udc_init
);
MODULE_AUTHOR
(
"Ian Molton <spyro@f2s.com>"
);
MODULE_DESCRIPTION
(
"eseries UDC support"
);
MODULE_LICENSE
(
"GPLv2"
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment