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
f6a1f218
Commit
f6a1f218
authored
Nov 23, 2010
by
Russell King
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-rmk' of
git://git.pengutronix.de/git/imx/linux-2.6
parents
b0c4d4ee
46e3f307
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
19 deletions
+9
-19
arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
+0
-6
arch/arm/mach-mx25/devices-imx25.h
arch/arm/mach-mx25/devices-imx25.h
+2
-2
arch/arm/mach-mx3/mach-pcm037_eet.c
arch/arm/mach-mx3/mach-pcm037_eet.c
+2
-3
arch/arm/plat-mxc/devices/platform-imx-dma.c
arch/arm/plat-mxc/devices/platform-imx-dma.c
+0
-8
arch/arm/plat-mxc/devices/platform-spi_imx.c
arch/arm/plat-mxc/devices/platform-spi_imx.c
+1
-0
drivers/video/mx3fb.c
drivers/video/mx3fb.c
+4
-0
No files found.
arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
View file @
f6a1f218
...
@@ -250,9 +250,6 @@ static const struct imxuart_platform_data uart_pdata __initconst = {
...
@@ -250,9 +250,6 @@ static const struct imxuart_platform_data uart_pdata __initconst = {
.
flags
=
IMXUART_HAVE_RTSCTS
,
.
flags
=
IMXUART_HAVE_RTSCTS
,
};
};
#if defined(CONFIG_TOUCHSCREEN_ADS7846) \
|| defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
#define ADS7846_PENDOWN (GPIO_PORTD | 25)
#define ADS7846_PENDOWN (GPIO_PORTD | 25)
static
void
ads7846_dev_init
(
void
)
static
void
ads7846_dev_init
(
void
)
...
@@ -273,9 +270,7 @@ static struct ads7846_platform_data ads7846_config __initdata = {
...
@@ -273,9 +270,7 @@ static struct ads7846_platform_data ads7846_config __initdata = {
.
get_pendown_state
=
ads7846_get_pendown_state
,
.
get_pendown_state
=
ads7846_get_pendown_state
,
.
keep_vref_on
=
1
,
.
keep_vref_on
=
1
,
};
};
#endif
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
static
struct
spi_board_info
eukrea_mbimx27_spi_board_info
[]
__initdata
=
{
static
struct
spi_board_info
eukrea_mbimx27_spi_board_info
[]
__initdata
=
{
[
0
]
=
{
[
0
]
=
{
.
modalias
=
"ads7846"
,
.
modalias
=
"ads7846"
,
...
@@ -294,7 +289,6 @@ static const struct spi_imx_master eukrea_mbimx27_spi0_data __initconst = {
...
@@ -294,7 +289,6 @@ static const struct spi_imx_master eukrea_mbimx27_spi0_data __initconst = {
.
chipselect
=
eukrea_mbimx27_spi_cs
,
.
chipselect
=
eukrea_mbimx27_spi_cs
,
.
num_chipselect
=
ARRAY_SIZE
(
eukrea_mbimx27_spi_cs
),
.
num_chipselect
=
ARRAY_SIZE
(
eukrea_mbimx27_spi_cs
),
};
};
#endif
static
struct
i2c_board_info
eukrea_mbimx27_i2c_devices
[]
=
{
static
struct
i2c_board_info
eukrea_mbimx27_i2c_devices
[]
=
{
{
{
...
...
arch/arm/mach-mx25/devices-imx25.h
View file @
f6a1f218
...
@@ -42,9 +42,9 @@ extern const struct imx_mxc_nand_data imx25_mxc_nand_data __initconst;
...
@@ -42,9 +42,9 @@ extern const struct imx_mxc_nand_data imx25_mxc_nand_data __initconst;
#define imx25_add_mxc_nand(pdata) \
#define imx25_add_mxc_nand(pdata) \
imx_add_mxc_nand(&imx25_mxc_nand_data, pdata)
imx_add_mxc_nand(&imx25_mxc_nand_data, pdata)
extern
const
struct
imx_spi_imx_data
imx25_
spi_imx
_data
[]
__initconst
;
extern
const
struct
imx_spi_imx_data
imx25_
cspi
_data
[]
__initconst
;
#define imx25_add_spi_imx(id, pdata) \
#define imx25_add_spi_imx(id, pdata) \
imx_add_spi_imx(&imx25_
spi_imx
_data[id], pdata)
imx_add_spi_imx(&imx25_
cspi
_data[id], pdata)
#define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata)
#define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata)
#define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata)
#define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata)
#define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata)
#define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata)
...
...
arch/arm/mach-mx3/mach-pcm037_eet.c
View file @
f6a1f218
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
#include <mach/common.h>
#include <mach/common.h>
#include <mach/iomux-mx3.h>
#include <mach/iomux-mx3.h>
#include <mach/spi.h>
#include <asm/mach-types.h>
#include <asm/mach-types.h>
...
@@ -59,14 +60,12 @@ static struct spi_board_info pcm037_spi_dev[] = {
...
@@ -59,14 +60,12 @@ static struct spi_board_info pcm037_spi_dev[] = {
};
};
/* Platform Data for MXC CSPI */
/* Platform Data for MXC CSPI */
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
static
int
pcm037_spi1_cs
[]
=
{
MXC_SPI_CS
(
1
),
IOMUX_TO_GPIO
(
MX31_PIN_KEY_COL7
)};
static
int
pcm037_spi1_cs
[]
=
{
MXC_SPI_CS
(
1
),
IOMUX_TO_GPIO
(
MX31_PIN_KEY_COL7
)};
static
const
struct
spi_imx_master
pcm037_spi1_pdata
__initconst
=
{
static
const
struct
spi_imx_master
pcm037_spi1_pdata
__initconst
=
{
.
chipselect
=
pcm037_spi1_cs
,
.
chipselect
=
pcm037_spi1_cs
,
.
num_chipselect
=
ARRAY_SIZE
(
pcm037_spi1_cs
),
.
num_chipselect
=
ARRAY_SIZE
(
pcm037_spi1_cs
),
};
};
#endif
/* GPIO-keys input device */
/* GPIO-keys input device */
static
struct
gpio_keys_button
pcm037_gpio_keys
[]
=
{
static
struct
gpio_keys_button
pcm037_gpio_keys
[]
=
{
...
@@ -171,7 +170,7 @@ static struct platform_device pcm037_gpio_keys_device = {
...
@@ -171,7 +170,7 @@ static struct platform_device pcm037_gpio_keys_device = {
},
},
};
};
static
int
eet_init_devices
(
void
)
static
int
__init
eet_init_devices
(
void
)
{
{
if
(
!
machine_is_pcm037
()
||
pcm037_variant
()
!=
PCM037_EET
)
if
(
!
machine_is_pcm037
()
||
pcm037_variant
()
!=
PCM037_EET
)
return
0
;
return
0
;
...
...
arch/arm/plat-mxc/devices/platform-imx-dma.c
View file @
f6a1f218
...
@@ -12,15 +12,7 @@
...
@@ -12,15 +12,7 @@
#include <mach/hardware.h>
#include <mach/hardware.h>
#include <mach/devices-common.h>
#include <mach/devices-common.h>
#ifdef SDMA_IS_MERGED
#include <mach/sdma.h>
#include <mach/sdma.h>
#else
struct
sdma_platform_data
{
int
sdma_version
;
char
*
cpu_name
;
int
to_version
;
};
#endif
struct
imx_imx_sdma_data
{
struct
imx_imx_sdma_data
{
resource_size_t
iobase
;
resource_size_t
iobase
;
...
...
arch/arm/plat-mxc/devices/platform-spi_imx.c
View file @
f6a1f218
...
@@ -27,6 +27,7 @@ const struct imx_spi_imx_data imx21_cspi_data[] __initconst = {
...
@@ -27,6 +27,7 @@ const struct imx_spi_imx_data imx21_cspi_data[] __initconst = {
imx_spi_imx_data_entry(MX21, CSPI, "imx21-cspi", _id, _hwid, SZ_4K)
imx_spi_imx_data_entry(MX21, CSPI, "imx21-cspi", _id, _hwid, SZ_4K)
imx21_cspi_data_entry
(
0
,
1
),
imx21_cspi_data_entry
(
0
,
1
),
imx21_cspi_data_entry
(
1
,
2
),
imx21_cspi_data_entry
(
1
,
2
),
};
#endif
#endif
#ifdef CONFIG_ARCH_MX25
#ifdef CONFIG_ARCH_MX25
...
...
drivers/video/mx3fb.c
View file @
f6a1f218
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include <linux/clk.h>
#include <linux/clk.h>
#include <linux/mutex.h>
#include <linux/mutex.h>
#include <mach/dma.h>
#include <mach/hardware.h>
#include <mach/hardware.h>
#include <mach/ipu.h>
#include <mach/ipu.h>
#include <mach/mx3fb.h>
#include <mach/mx3fb.h>
...
@@ -1420,6 +1421,9 @@ static bool chan_filter(struct dma_chan *chan, void *arg)
...
@@ -1420,6 +1421,9 @@ static bool chan_filter(struct dma_chan *chan, void *arg)
struct
device
*
dev
;
struct
device
*
dev
;
struct
mx3fb_platform_data
*
mx3fb_pdata
;
struct
mx3fb_platform_data
*
mx3fb_pdata
;
if
(
!
imx_dma_is_ipu
(
chan
))
return
false
;
if
(
!
rq
)
if
(
!
rq
)
return
false
;
return
false
;
...
...
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