Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0c157024
Commit
0c157024
authored
May 05, 2009
by
Russell King
Committed by
Russell King
May 05, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-rmk' of
git://git.pengutronix.de/git/imx/linux-2.6
parents
64724ef8
25971dfe
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
812 deletions
+16
-812
arch/arm/Kconfig
arch/arm/Kconfig
+1
-0
arch/arm/configs/mx31moboard_defconfig
arch/arm/configs/mx31moboard_defconfig
+0
-790
arch/arm/configs/mx3_defconfig
arch/arm/configs/mx3_defconfig
+1
-1
arch/arm/plat-mxc/dma-mx1-mx2.c
arch/arm/plat-mxc/dma-mx1-mx2.c
+5
-12
arch/arm/plat-mxc/gpio.c
arch/arm/plat-mxc/gpio.c
+1
-1
arch/arm/plat-mxc/include/mach/board-mx27ads.h
arch/arm/plat-mxc/include/mach/board-mx27ads.h
+1
-1
drivers/video/mx3fb.c
drivers/video/mx3fb.c
+7
-7
No files found.
arch/arm/Kconfig
View file @
0c157024
...
@@ -454,6 +454,7 @@ config ARCH_MXC
...
@@ -454,6 +454,7 @@ config ARCH_MXC
select ARCH_MTD_XIP
select ARCH_MTD_XIP
select GENERIC_GPIO
select GENERIC_GPIO
select ARCH_REQUIRE_GPIOLIB
select ARCH_REQUIRE_GPIOLIB
select HAVE_CLK
help
help
Support for Freescale MXC/iMX-based family of processors
Support for Freescale MXC/iMX-based family of processors
...
...
arch/arm/configs/mx31moboard_defconfig
deleted
100644 → 0
View file @
64724ef8
This diff is collapsed.
Click to expand it.
arch/arm/configs/mx3_defconfig
View file @
0c157024
...
@@ -197,7 +197,7 @@ CONFIG_MXC_PWM=y
...
@@ -197,7 +197,7 @@ CONFIG_MXC_PWM=y
#
#
CONFIG_CPU_32=y
CONFIG_CPU_32=y
CONFIG_CPU_V6=y
CONFIG_CPU_V6=y
CONFIG_CPU_32v6K=y
# CONFIG_CPU_32v6K is not set
CONFIG_CPU_32v6=y
CONFIG_CPU_32v6=y
CONFIG_CPU_ABRT_EV6=y
CONFIG_CPU_ABRT_EV6=y
CONFIG_CPU_PABRT_NOIFAR=y
CONFIG_CPU_PABRT_NOIFAR=y
...
...
arch/arm/plat-mxc/dma-mx1-mx2.c
View file @
0c157024
...
@@ -693,12 +693,15 @@ int imx_dma_request(int channel, const char *name)
...
@@ -693,12 +693,15 @@ int imx_dma_request(int channel, const char *name)
local_irq_restore
(
flags
);
local_irq_restore
(
flags
);
return
-
EBUSY
;
return
-
EBUSY
;
}
}
memset
(
imxdma
,
0
,
sizeof
(
imxdma
));
imxdma
->
name
=
name
;
local_irq_restore
(
flags
);
/* request_irq() can block */
#ifdef CONFIG_ARCH_MX2
#ifdef CONFIG_ARCH_MX2
ret
=
request_irq
(
MXC_INT_DMACH0
+
channel
,
dma_irq_handler
,
0
,
"DMA"
,
ret
=
request_irq
(
MXC_INT_DMACH0
+
channel
,
dma_irq_handler
,
0
,
"DMA"
,
NULL
);
NULL
);
if
(
ret
)
{
if
(
ret
)
{
local_irq_restore
(
flags
)
;
imxdma
->
name
=
NULL
;
printk
(
KERN_CRIT
"Can't register IRQ %d for DMA channel %d
\n
"
,
printk
(
KERN_CRIT
"Can't register IRQ %d for DMA channel %d
\n
"
,
MXC_INT_DMACH0
+
channel
,
channel
);
MXC_INT_DMACH0
+
channel
,
channel
);
return
ret
;
return
ret
;
...
@@ -708,13 +711,6 @@ int imx_dma_request(int channel, const char *name)
...
@@ -708,13 +711,6 @@ int imx_dma_request(int channel, const char *name)
imxdma
->
watchdog
.
data
=
channel
;
imxdma
->
watchdog
.
data
=
channel
;
#endif
#endif
imxdma
->
name
=
name
;
imxdma
->
irq_handler
=
NULL
;
imxdma
->
err_handler
=
NULL
;
imxdma
->
data
=
NULL
;
imxdma
->
sg
=
NULL
;
local_irq_restore
(
flags
);
return
ret
;
return
ret
;
}
}
EXPORT_SYMBOL
(
imx_dma_request
);
EXPORT_SYMBOL
(
imx_dma_request
);
...
@@ -737,10 +733,7 @@ void imx_dma_free(int channel)
...
@@ -737,10 +733,7 @@ void imx_dma_free(int channel)
local_irq_save
(
flags
);
local_irq_save
(
flags
);
/* Disable interrupts */
/* Disable interrupts */
__raw_writel
(
__raw_readl
(
DMA_BASE
+
DMA_DIMR
)
|
(
1
<<
channel
),
imx_dma_disable
(
channel
);
DMA_BASE
+
DMA_DIMR
);
__raw_writel
(
__raw_readl
(
DMA_BASE
+
DMA_CCR
(
channel
))
&
~
CCR_CEN
,
DMA_BASE
+
DMA_CCR
(
channel
));
imxdma
->
name
=
NULL
;
imxdma
->
name
=
NULL
;
#ifdef CONFIG_ARCH_MX2
#ifdef CONFIG_ARCH_MX2
...
...
arch/arm/plat-mxc/gpio.c
View file @
0c157024
...
@@ -124,7 +124,7 @@ static void mx3_gpio_irq_handler(u32 irq, struct irq_desc *desc)
...
@@ -124,7 +124,7 @@ static void mx3_gpio_irq_handler(u32 irq, struct irq_desc *desc)
irq_stat
=
__raw_readl
(
port
->
base
+
GPIO_ISR
)
&
irq_stat
=
__raw_readl
(
port
->
base
+
GPIO_ISR
)
&
__raw_readl
(
port
->
base
+
GPIO_IMR
);
__raw_readl
(
port
->
base
+
GPIO_IMR
);
BUG_ON
(
!
irq_stat
);
mxc_gpio_irq_handler
(
port
,
irq_stat
);
mxc_gpio_irq_handler
(
port
,
irq_stat
);
}
}
#endif
#endif
...
...
arch/arm/plat-mxc/include/mach/board-mx27ads.h
View file @
0c157024
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
/*
/*
* Base address of PBC controller, CS4
* Base address of PBC controller, CS4
*/
*/
#define PBC_BASE_ADDRESS 0x
EB0
00000
#define PBC_BASE_ADDRESS 0x
f43
00000
#define PBC_REG_ADDR(offset) (void __force __iomem *) \
#define PBC_REG_ADDR(offset) (void __force __iomem *) \
(PBC_BASE_ADDRESS + (offset))
(PBC_BASE_ADDRESS + (offset))
...
...
drivers/video/mx3fb.c
View file @
0c157024
...
@@ -1152,11 +1152,11 @@ static struct fb_ops mx3fb_ops = {
...
@@ -1152,11 +1152,11 @@ static struct fb_ops mx3fb_ops = {
*/
*/
static
int
mx3fb_suspend
(
struct
platform_device
*
pdev
,
pm_message_t
state
)
static
int
mx3fb_suspend
(
struct
platform_device
*
pdev
,
pm_message_t
state
)
{
{
struct
mx3fb_data
*
drv_data
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_data
*
mx3fb
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_info
*
mx3_fbi
=
drv_data
->
fbi
->
par
;
struct
mx3fb_info
*
mx3_fbi
=
mx3fb
->
fbi
->
par
;
acquire_console_sem
();
acquire_console_sem
();
fb_set_suspend
(
drv_data
->
fbi
,
1
);
fb_set_suspend
(
mx3fb
->
fbi
,
1
);
release_console_sem
();
release_console_sem
();
if
(
mx3_fbi
->
blank
==
FB_BLANK_UNBLANK
)
{
if
(
mx3_fbi
->
blank
==
FB_BLANK_UNBLANK
)
{
...
@@ -1172,16 +1172,16 @@ static int mx3fb_suspend(struct platform_device *pdev, pm_message_t state)
...
@@ -1172,16 +1172,16 @@ static int mx3fb_suspend(struct platform_device *pdev, pm_message_t state)
*/
*/
static
int
mx3fb_resume
(
struct
platform_device
*
pdev
)
static
int
mx3fb_resume
(
struct
platform_device
*
pdev
)
{
{
struct
mx3fb_data
*
drv_data
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_data
*
mx3fb
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_info
*
mx3_fbi
=
drv_data
->
fbi
->
par
;
struct
mx3fb_info
*
mx3_fbi
=
mx3fb
->
fbi
->
par
;
if
(
mx3_fbi
->
blank
==
FB_BLANK_UNBLANK
)
{
if
(
mx3_fbi
->
blank
==
FB_BLANK_UNBLANK
)
{
sdc_enable_channel
(
mx3_fbi
);
sdc_enable_channel
(
mx3_fbi
);
sdc_set_brightness
(
mx3fb
,
drv_data
->
backlight_level
);
sdc_set_brightness
(
mx3fb
,
mx3fb
->
backlight_level
);
}
}
acquire_console_sem
();
acquire_console_sem
();
fb_set_suspend
(
drv_data
->
fbi
,
0
);
fb_set_suspend
(
mx3fb
->
fbi
,
0
);
release_console_sem
();
release_console_sem
();
return
0
;
return
0
;
...
...
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