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
Kirill Smelkov
linux
Commits
05a690d2
Commit
05a690d2
authored
May 19, 2010
by
Ben Dooks
Browse files
Options
Browse Files
Download
Plain Diff
ARM: Merge for-2635/samsung-ts
Merge branch 'for-2635/samsung-ts' into for-linus/samsung2
parents
1770a898
4f7cdc38
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
5 deletions
+14
-5
arch/arm/mach-s3c64xx/Kconfig
arch/arm/mach-s3c64xx/Kconfig
+1
-0
arch/arm/mach-s3c64xx/Makefile
arch/arm/mach-s3c64xx/Makefile
+0
-1
arch/arm/mach-s3c64xx/include/mach/map.h
arch/arm/mach-s3c64xx/include/mach/map.h
+1
-0
arch/arm/mach-s3c64xx/s3c6410.c
arch/arm/mach-s3c64xx/s3c6410.c
+2
-0
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/Kconfig
+5
-0
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/Makefile
+1
-0
arch/arm/plat-samsung/dev-adc.c
arch/arm/plat-samsung/dev-adc.c
+4
-4
No files found.
arch/arm/mach-s3c64xx/Kconfig
View file @
05a690d2
...
...
@@ -85,6 +85,7 @@ config MACH_ANW6410
config MACH_SMDK6410
bool "SMDK6410"
select CPU_S3C6410
select SAMSUNG_DEV_ADC
select S3C_DEV_HSMMC
select S3C_DEV_HSMMC1
select S3C_DEV_I2C1
...
...
arch/arm/mach-s3c64xx/Makefile
View file @
05a690d2
...
...
@@ -58,5 +58,4 @@ obj-$(CONFIG_MACH_HMT) += mach-hmt.o
obj-y
+=
dev-uart.o
obj-y
+=
dev-rtc.o
obj-y
+=
dev-audio.o
obj-$(CONFIG_S3C_ADC)
+=
dev-adc.o
obj-$(CONFIG_S3C64XX_DEV_SPI)
+=
dev-spi.o
arch/arm/mach-s3c64xx/include/mach/map.h
View file @
05a690d2
...
...
@@ -103,5 +103,6 @@
#define S3C_PA_USBHOST S3C64XX_PA_USBHOST
#define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG
#define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY
#define SAMSUNG_PA_ADC S3C64XX_PA_ADC
#endif
/* __ASM_ARCH_6400_MAP_H */
arch/arm/mach-s3c64xx/s3c6410.c
View file @
05a690d2
...
...
@@ -38,6 +38,7 @@
#include <plat/clock.h>
#include <plat/sdhci.h>
#include <plat/iic-core.h>
#include <plat/adc.h>
#include <mach/s3c6400.h>
#include <mach/s3c6410.h>
...
...
@@ -52,6 +53,7 @@ void __init s3c6410_map_io(void)
s3c_i2c0_setname
(
"s3c2440-i2c"
);
s3c_i2c1_setname
(
"s3c2440-i2c"
);
s3c_device_adc
.
name
=
"s3c64xx-adc"
;
s3c_device_nand
.
name
=
"s3c6400-nand"
;
}
...
...
arch/arm/plat-samsung/Kconfig
View file @
05a690d2
...
...
@@ -190,6 +190,11 @@ config S3C_DEV_NAND
help
Compile in platform device definition for NAND controller
config SAMSUNG_DEV_ADC
bool
help
Compile in platform device definition for ADC controller
config S3C64XX_DEV_SPI
bool
help
...
...
arch/arm/plat-samsung/Makefile
View file @
05a690d2
...
...
@@ -41,6 +41,7 @@ obj-y += dev-uart.o
obj-$(CONFIG_S3C_DEV_USB_HOST)
+=
dev-usb.o
obj-$(CONFIG_S3C_DEV_USB_HSOTG)
+=
dev-usb-hsotg.o
obj-$(CONFIG_S3C_DEV_NAND)
+=
dev-nand.o
obj-$(CONFIG_SAMSUNG_DEV_ADC)
+=
dev-adc.o
# DMA support
...
...
arch/arm/
mach-s3c64xx
/dev-adc.c
→
arch/arm/
plat-samsung
/dev-adc.c
View file @
05a690d2
/* linux/arch/arm/plat-s
3c64xx
/dev-adc.c
/* linux/arch/arm/plat-s
amsung
/dev-adc.c
*
* Copyright 2010 Maurus Cuelenaere
*
...
...
@@ -22,8 +22,8 @@
static
struct
resource
s3c_adc_resource
[]
=
{
[
0
]
=
{
.
start
=
S
3C64XX
_PA_ADC
,
.
end
=
S
3C64XX
_PA_ADC
+
SZ_256
-
1
,
.
start
=
S
AMSUNG
_PA_ADC
,
.
end
=
S
AMSUNG
_PA_ADC
+
SZ_256
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -39,7 +39,7 @@ static struct resource s3c_adc_resource[] = {
};
struct
platform_device
s3c_device_adc
=
{
.
name
=
"s
3c64xx
-adc"
,
.
name
=
"s
amsung
-adc"
,
.
id
=
-
1
,
.
num_resources
=
ARRAY_SIZE
(
s3c_adc_resource
),
.
resource
=
s3c_adc_resource
,
...
...
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