mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
Merge branch 'imx/for-2.6.36' of git://git.pengutronix.de/git/ukl/linux-2.6 into HEAD
There are some more conflicts than detected by git, namely support for the newly added cpuimx machines needed to be converted to dynamic device registration. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Conflicts: arch/arm/mach-imx/Makefile arch/arm/mach-imx/devices.c arch/arm/mach-imx/devices.h arch/arm/mach-imx/eukrea_mbimx27-baseboard.c arch/arm/mach-mx2/Kconfig arch/arm/mach-mx25/Makefile arch/arm/mach-mx25/devices.c arch/arm/plat-mxc/include/mach/mx25.h arch/arm/plat-mxc/include/mach/mxc_nand.h
This commit is contained in:
commit
2dcf78c0ee
15
Documentation/ABI/testing/sysfs-firmware-sfi
Normal file
15
Documentation/ABI/testing/sysfs-firmware-sfi
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
What: /sys/firmware/sfi/tables/
|
||||||
|
Date: May 2010
|
||||||
|
Contact: Len Brown <lenb@kernel.org>
|
||||||
|
Description:
|
||||||
|
SFI defines a number of small static memory tables
|
||||||
|
so the kernel can get platform information from firmware.
|
||||||
|
|
||||||
|
The tables are defined in the latest SFI specification:
|
||||||
|
http://simplefirmware.org/documentation
|
||||||
|
|
||||||
|
While the tables are used by the kernel, user-space
|
||||||
|
can observe them this way:
|
||||||
|
|
||||||
|
# cd /sys/firmware/sfi/tables
|
||||||
|
# cat $TABLENAME > $TABLENAME.bin
|
@ -639,6 +639,36 @@ is planned to completely remove virt_to_bus() and bus_to_virt() as
|
|||||||
they are entirely deprecated. Some ports already do not provide these
|
they are entirely deprecated. Some ports already do not provide these
|
||||||
as it is impossible to correctly support them.
|
as it is impossible to correctly support them.
|
||||||
|
|
||||||
|
Handling Errors
|
||||||
|
|
||||||
|
DMA address space is limited on some architectures and an allocation
|
||||||
|
failure can be determined by:
|
||||||
|
|
||||||
|
- checking if dma_alloc_coherent returns NULL or dma_map_sg returns 0
|
||||||
|
|
||||||
|
- checking the returned dma_addr_t of dma_map_single and dma_map_page
|
||||||
|
by using dma_mapping_error():
|
||||||
|
|
||||||
|
dma_addr_t dma_handle;
|
||||||
|
|
||||||
|
dma_handle = dma_map_single(dev, addr, size, direction);
|
||||||
|
if (dma_mapping_error(dev, dma_handle)) {
|
||||||
|
/*
|
||||||
|
* reduce current DMA mapping usage,
|
||||||
|
* delay and try again later or
|
||||||
|
* reset driver.
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
Networking drivers must call dev_kfree_skb to free the socket buffer
|
||||||
|
and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook
|
||||||
|
(ndo_start_xmit). This means that the socket buffer is just dropped in
|
||||||
|
the failure case.
|
||||||
|
|
||||||
|
SCSI drivers must return SCSI_MLQUEUE_HOST_BUSY if the DMA mapping
|
||||||
|
fails in the queuecommand hook. This means that the SCSI subsystem
|
||||||
|
passes the command to the driver again later.
|
||||||
|
|
||||||
Optimizing Unmap State Space Consumption
|
Optimizing Unmap State Space Consumption
|
||||||
|
|
||||||
On many platforms, dma_unmap_{single,page}() is simply a nop.
|
On many platforms, dma_unmap_{single,page}() is simply a nop.
|
||||||
@ -703,42 +733,25 @@ to "Closing".
|
|||||||
|
|
||||||
1) Struct scatterlist requirements.
|
1) Struct scatterlist requirements.
|
||||||
|
|
||||||
Struct scatterlist must contain, at a minimum, the following
|
Don't invent the architecture specific struct scatterlist; just use
|
||||||
members:
|
<asm-generic/scatterlist.h>. You need to enable
|
||||||
|
CONFIG_NEED_SG_DMA_LENGTH if the architecture supports IOMMUs
|
||||||
|
(including software IOMMU).
|
||||||
|
|
||||||
struct page *page;
|
2) ARCH_KMALLOC_MINALIGN
|
||||||
unsigned int offset;
|
|
||||||
unsigned int length;
|
|
||||||
|
|
||||||
The base address is specified by a "page+offset" pair.
|
Architectures must ensure that kmalloc'ed buffer is
|
||||||
|
DMA-safe. Drivers and subsystems depend on it. If an architecture
|
||||||
|
isn't fully DMA-coherent (i.e. hardware doesn't ensure that data in
|
||||||
|
the CPU cache is identical to data in main memory),
|
||||||
|
ARCH_KMALLOC_MINALIGN must be set so that the memory allocator
|
||||||
|
makes sure that kmalloc'ed buffer doesn't share a cache line with
|
||||||
|
the others. See arch/arm/include/asm/cache.h as an example.
|
||||||
|
|
||||||
Previous versions of struct scatterlist contained a "void *address"
|
Note that ARCH_KMALLOC_MINALIGN is about DMA memory alignment
|
||||||
field that was sometimes used instead of page+offset. As of Linux
|
constraints. You don't need to worry about the architecture data
|
||||||
2.5., page+offset is always used, and the "address" field has been
|
alignment constraints (e.g. the alignment constraints about 64-bit
|
||||||
deleted.
|
objects).
|
||||||
|
|
||||||
2) More to come...
|
|
||||||
|
|
||||||
Handling Errors
|
|
||||||
|
|
||||||
DMA address space is limited on some architectures and an allocation
|
|
||||||
failure can be determined by:
|
|
||||||
|
|
||||||
- checking if dma_alloc_coherent returns NULL or dma_map_sg returns 0
|
|
||||||
|
|
||||||
- checking the returned dma_addr_t of dma_map_single and dma_map_page
|
|
||||||
by using dma_mapping_error():
|
|
||||||
|
|
||||||
dma_addr_t dma_handle;
|
|
||||||
|
|
||||||
dma_handle = dma_map_single(dev, addr, size, direction);
|
|
||||||
if (dma_mapping_error(dev, dma_handle)) {
|
|
||||||
/*
|
|
||||||
* reduce current DMA mapping usage,
|
|
||||||
* delay and try again later or
|
|
||||||
* reset driver.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
Closing
|
Closing
|
||||||
|
|
||||||
|
@ -130,6 +130,8 @@ Linux kernel master tree:
|
|||||||
ftp.??.kernel.org:/pub/linux/kernel/...
|
ftp.??.kernel.org:/pub/linux/kernel/...
|
||||||
?? == your country code, such as "us", "uk", "fr", etc.
|
?? == your country code, such as "us", "uk", "fr", etc.
|
||||||
|
|
||||||
|
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git
|
||||||
|
|
||||||
Linux kernel mailing list:
|
Linux kernel mailing list:
|
||||||
linux-kernel@vger.kernel.org
|
linux-kernel@vger.kernel.org
|
||||||
[mail majordomo@vger.kernel.org to subscribe]
|
[mail majordomo@vger.kernel.org to subscribe]
|
||||||
@ -160,3 +162,6 @@ How to NOT write kernel driver by Arjan van de Ven:
|
|||||||
|
|
||||||
Kernel Janitor:
|
Kernel Janitor:
|
||||||
http://janitor.kernelnewbies.org/
|
http://janitor.kernelnewbies.org/
|
||||||
|
|
||||||
|
GIT, Fast Version Control System:
|
||||||
|
http://git-scm.com/
|
||||||
|
59
Documentation/acpi/apei/einj.txt
Normal file
59
Documentation/acpi/apei/einj.txt
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
APEI Error INJection
|
||||||
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
EINJ provides a hardware error injection mechanism
|
||||||
|
It is very useful for debugging and testing of other APEI and RAS features.
|
||||||
|
|
||||||
|
To use EINJ, make sure the following are enabled in your kernel
|
||||||
|
configuration:
|
||||||
|
|
||||||
|
CONFIG_DEBUG_FS
|
||||||
|
CONFIG_ACPI_APEI
|
||||||
|
CONFIG_ACPI_APEI_EINJ
|
||||||
|
|
||||||
|
The user interface of EINJ is debug file system, under the
|
||||||
|
directory apei/einj. The following files are provided.
|
||||||
|
|
||||||
|
- available_error_type
|
||||||
|
Reading this file returns the error injection capability of the
|
||||||
|
platform, that is, which error types are supported. The error type
|
||||||
|
definition is as follow, the left field is the error type value, the
|
||||||
|
right field is error description.
|
||||||
|
|
||||||
|
0x00000001 Processor Correctable
|
||||||
|
0x00000002 Processor Uncorrectable non-fatal
|
||||||
|
0x00000004 Processor Uncorrectable fatal
|
||||||
|
0x00000008 Memory Correctable
|
||||||
|
0x00000010 Memory Uncorrectable non-fatal
|
||||||
|
0x00000020 Memory Uncorrectable fatal
|
||||||
|
0x00000040 PCI Express Correctable
|
||||||
|
0x00000080 PCI Express Uncorrectable fatal
|
||||||
|
0x00000100 PCI Express Uncorrectable non-fatal
|
||||||
|
0x00000200 Platform Correctable
|
||||||
|
0x00000400 Platform Uncorrectable non-fatal
|
||||||
|
0x00000800 Platform Uncorrectable fatal
|
||||||
|
|
||||||
|
The format of file contents are as above, except there are only the
|
||||||
|
available error type lines.
|
||||||
|
|
||||||
|
- error_type
|
||||||
|
This file is used to set the error type value. The error type value
|
||||||
|
is defined in "available_error_type" description.
|
||||||
|
|
||||||
|
- error_inject
|
||||||
|
Write any integer to this file to trigger the error
|
||||||
|
injection. Before this, please specify all necessary error
|
||||||
|
parameters.
|
||||||
|
|
||||||
|
- param1
|
||||||
|
This file is used to set the first error parameter value. Effect of
|
||||||
|
parameter depends on error_type specified. For memory error, this is
|
||||||
|
physical memory address.
|
||||||
|
|
||||||
|
- param2
|
||||||
|
This file is used to set the second error parameter value. Effect of
|
||||||
|
parameter depends on error_type specified. For memory error, this is
|
||||||
|
physical memory address mask.
|
||||||
|
|
||||||
|
For more information about EINJ, please refer to ACPI specification
|
||||||
|
version 4.0, section 17.5.
|
@ -12,6 +12,8 @@ Introduction
|
|||||||
of the s3c2410 GPIO system, please read the Samsung provided
|
of the s3c2410 GPIO system, please read the Samsung provided
|
||||||
data-sheet/users manual to find out the complete list.
|
data-sheet/users manual to find out the complete list.
|
||||||
|
|
||||||
|
See Documentation/arm/Samsung/GPIO.txt for the core implemetation.
|
||||||
|
|
||||||
|
|
||||||
GPIOLIB
|
GPIOLIB
|
||||||
-------
|
-------
|
||||||
@ -24,8 +26,60 @@ GPIOLIB
|
|||||||
listed below will be removed (they may be marked as __deprecated
|
listed below will be removed (they may be marked as __deprecated
|
||||||
in the near future).
|
in the near future).
|
||||||
|
|
||||||
- s3c2410_gpio_getpin
|
The following functions now either have a s3c_ specific variant
|
||||||
- s3c2410_gpio_setpin
|
or are merged into gpiolib. See the definitions in
|
||||||
|
arch/arm/plat-samsung/include/plat/gpio-cfg.h:
|
||||||
|
|
||||||
|
s3c2410_gpio_setpin() gpio_set_value() or gpio_direction_output()
|
||||||
|
s3c2410_gpio_getpin() gpio_get_value() or gpio_direction_input()
|
||||||
|
s3c2410_gpio_getirq() gpio_to_irq()
|
||||||
|
s3c2410_gpio_cfgpin() s3c_gpio_cfgpin()
|
||||||
|
s3c2410_gpio_getcfg() s3c_gpio_getcfg()
|
||||||
|
s3c2410_gpio_pullup() s3c_gpio_setpull()
|
||||||
|
|
||||||
|
|
||||||
|
GPIOLIB conversion
|
||||||
|
------------------
|
||||||
|
|
||||||
|
If you need to convert your board or driver to use gpiolib from the exiting
|
||||||
|
s3c2410 api, then here are some notes on the process.
|
||||||
|
|
||||||
|
1) If your board is exclusively using an GPIO, say to control peripheral
|
||||||
|
power, then it will require to claim the gpio with gpio_request() before
|
||||||
|
it can use it.
|
||||||
|
|
||||||
|
It is recommended to check the return value, with at least WARN_ON()
|
||||||
|
during initialisation.
|
||||||
|
|
||||||
|
2) The s3c2410_gpio_cfgpin() can be directly replaced with s3c_gpio_cfgpin()
|
||||||
|
as they have the same arguments, and can either take the pin specific
|
||||||
|
values, or the more generic special-function-number arguments.
|
||||||
|
|
||||||
|
3) s3c2410_gpio_pullup() changs have the problem that whilst the
|
||||||
|
s3c2410_gpio_pullup(x, 1) can be easily translated to the
|
||||||
|
s3c_gpio_setpull(x, S3C_GPIO_PULL_NONE), the s3c2410_gpio_pullup(x, 0)
|
||||||
|
are not so easy.
|
||||||
|
|
||||||
|
The s3c2410_gpio_pullup(x, 0) case enables the pull-up (or in the case
|
||||||
|
of some of the devices, a pull-down) and as such the new API distinguishes
|
||||||
|
between the UP and DOWN case. There is currently no 'just turn on' setting
|
||||||
|
which may be required if this becomes a problem.
|
||||||
|
|
||||||
|
4) s3c2410_gpio_setpin() can be replaced by gpio_set_value(), the old call
|
||||||
|
does not implicitly configure the relevant gpio to output. The gpio
|
||||||
|
direction should be changed before using gpio_set_value().
|
||||||
|
|
||||||
|
5) s3c2410_gpio_getpin() is replaceable by gpio_get_value() if the pin
|
||||||
|
has been set to input. It is currently unknown what the behaviour is
|
||||||
|
when using gpio_get_value() on an output pin (s3c2410_gpio_getpin
|
||||||
|
would return the value the pin is supposed to be outputting).
|
||||||
|
|
||||||
|
6) s3c2410_gpio_getirq() should be directly replacable with the
|
||||||
|
gpio_to_irq() call.
|
||||||
|
|
||||||
|
The s3c2410_gpio and gpio_ calls have always operated on the same gpio
|
||||||
|
numberspace, so there is no problem with converting the gpio numbering
|
||||||
|
between the calls.
|
||||||
|
|
||||||
|
|
||||||
Headers
|
Headers
|
||||||
@ -54,6 +108,11 @@ PIN Numbers
|
|||||||
eg S3C2410_GPA(0) or S3C2410_GPF(1). These defines are used to tell
|
eg S3C2410_GPA(0) or S3C2410_GPF(1). These defines are used to tell
|
||||||
the GPIO functions which pin is to be used.
|
the GPIO functions which pin is to be used.
|
||||||
|
|
||||||
|
With the conversion to gpiolib, there is no longer a direct conversion
|
||||||
|
from gpio pin number to register base address as in earlier kernels. This
|
||||||
|
is due to the number space required for newer SoCs where the later
|
||||||
|
GPIOs are not contiguous.
|
||||||
|
|
||||||
|
|
||||||
Configuring a pin
|
Configuring a pin
|
||||||
-----------------
|
-----------------
|
||||||
@ -71,6 +130,8 @@ Configuring a pin
|
|||||||
which would turn GPA(0) into the lowest Address line A0, and set
|
which would turn GPA(0) into the lowest Address line A0, and set
|
||||||
GPE(8) to be connected to the SDIO/MMC controller's SDDAT1 line.
|
GPE(8) to be connected to the SDIO/MMC controller's SDDAT1 line.
|
||||||
|
|
||||||
|
The s3c_gpio_cfgpin() call is a functional replacement for this call.
|
||||||
|
|
||||||
|
|
||||||
Reading the current configuration
|
Reading the current configuration
|
||||||
---------------------------------
|
---------------------------------
|
||||||
@ -82,6 +143,9 @@ Reading the current configuration
|
|||||||
The return value will be from the same set of values which can be
|
The return value will be from the same set of values which can be
|
||||||
passed to s3c2410_gpio_cfgpin().
|
passed to s3c2410_gpio_cfgpin().
|
||||||
|
|
||||||
|
The s3c_gpio_getcfg() call should be a functional replacement for
|
||||||
|
this call.
|
||||||
|
|
||||||
|
|
||||||
Configuring a pull-up resistor
|
Configuring a pull-up resistor
|
||||||
------------------------------
|
------------------------------
|
||||||
@ -95,6 +159,10 @@ Configuring a pull-up resistor
|
|||||||
Where the to value is zero to set the pull-up off, and 1 to enable
|
Where the to value is zero to set the pull-up off, and 1 to enable
|
||||||
the specified pull-up. Any other values are currently undefined.
|
the specified pull-up. Any other values are currently undefined.
|
||||||
|
|
||||||
|
The s3c_gpio_setpull() offers similar functionality, but with the
|
||||||
|
ability to encode whether the pull is up or down. Currently there
|
||||||
|
is no 'just on' state, so up or down must be selected.
|
||||||
|
|
||||||
|
|
||||||
Getting the state of a PIN
|
Getting the state of a PIN
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -106,6 +174,9 @@ Getting the state of a PIN
|
|||||||
This will return either zero or non-zero. Do not count on this
|
This will return either zero or non-zero. Do not count on this
|
||||||
function returning 1 if the pin is set.
|
function returning 1 if the pin is set.
|
||||||
|
|
||||||
|
This call is now implemented by the relevant gpiolib calls, convert
|
||||||
|
your board or driver to use gpiolib.
|
||||||
|
|
||||||
|
|
||||||
Setting the state of a PIN
|
Setting the state of a PIN
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -117,6 +188,9 @@ Setting the state of a PIN
|
|||||||
Which sets the given pin to the value. Use 0 to write 0, and 1 to
|
Which sets the given pin to the value. Use 0 to write 0, and 1 to
|
||||||
set the output to 1.
|
set the output to 1.
|
||||||
|
|
||||||
|
This call is now implemented by the relevant gpiolib calls, convert
|
||||||
|
your board or driver to use gpiolib.
|
||||||
|
|
||||||
|
|
||||||
Getting the IRQ number associated with a PIN
|
Getting the IRQ number associated with a PIN
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
@ -128,6 +202,9 @@ Getting the IRQ number associated with a PIN
|
|||||||
|
|
||||||
Note, not all pins have an IRQ.
|
Note, not all pins have an IRQ.
|
||||||
|
|
||||||
|
This call is now implemented by the relevant gpiolib calls, convert
|
||||||
|
your board or driver to use gpiolib.
|
||||||
|
|
||||||
|
|
||||||
Authour
|
Authour
|
||||||
-------
|
-------
|
||||||
|
@ -8,10 +8,16 @@ Introduction
|
|||||||
|
|
||||||
The Samsung S3C24XX range of ARM9 System-on-Chip CPUs are supported
|
The Samsung S3C24XX range of ARM9 System-on-Chip CPUs are supported
|
||||||
by the 's3c2410' architecture of ARM Linux. Currently the S3C2410,
|
by the 's3c2410' architecture of ARM Linux. Currently the S3C2410,
|
||||||
S3C2412, S3C2413, S3C2440, S3C2442 and S3C2443 devices are supported.
|
S3C2412, S3C2413, S3C2416 S3C2440, S3C2442, S3C2443 and S3C2450 devices
|
||||||
|
are supported.
|
||||||
|
|
||||||
Support for the S3C2400 and S3C24A0 series are in progress.
|
Support for the S3C2400 and S3C24A0 series are in progress.
|
||||||
|
|
||||||
|
The S3C2416 and S3C2450 devices are very similar and S3C2450 support is
|
||||||
|
included under the arch/arm/mach-s3c2416 directory. Note, whilst core
|
||||||
|
support for these SoCs is in, work on some of the extra peripherals
|
||||||
|
and extra interrupts is still ongoing.
|
||||||
|
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
@ -209,6 +215,13 @@ GPIO
|
|||||||
Newer kernels carry GPIOLIB, and support is being moved towards
|
Newer kernels carry GPIOLIB, and support is being moved towards
|
||||||
this with some of the older support in line to be removed.
|
this with some of the older support in line to be removed.
|
||||||
|
|
||||||
|
As of v2.6.34, the move towards using gpiolib support is almost
|
||||||
|
complete, and very little of the old calls are left.
|
||||||
|
|
||||||
|
See Documentation/arm/Samsung-S3C24XX/GPIO.txt for the S3C24XX specific
|
||||||
|
support and Documentation/arm/Samsung/GPIO.txt for the core Samsung
|
||||||
|
implementation.
|
||||||
|
|
||||||
|
|
||||||
Clock Management
|
Clock Management
|
||||||
----------------
|
----------------
|
||||||
|
42
Documentation/arm/Samsung/GPIO.txt
Normal file
42
Documentation/arm/Samsung/GPIO.txt
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
Samsung GPIO implementation
|
||||||
|
===========================
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
|
This outlines the Samsung GPIO implementation and the architecture
|
||||||
|
specfic calls provided alongisde the drivers/gpio core.
|
||||||
|
|
||||||
|
|
||||||
|
S3C24XX (Legacy)
|
||||||
|
----------------
|
||||||
|
|
||||||
|
See Documentation/arm/Samsung-S3C24XX/GPIO.txt for more information
|
||||||
|
about these devices. Their implementation is being brought into line
|
||||||
|
with the core samsung implementation described in this document.
|
||||||
|
|
||||||
|
|
||||||
|
GPIOLIB integration
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
The gpio implementation uses gpiolib as much as possible, only providing
|
||||||
|
specific calls for the items that require Samsung specific handling, such
|
||||||
|
as pin special-function or pull resistor control.
|
||||||
|
|
||||||
|
GPIO numbering is synchronised between the Samsung and gpiolib system.
|
||||||
|
|
||||||
|
|
||||||
|
PIN configuration
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Pin configuration is specific to the Samsung architecutre, with each SoC
|
||||||
|
registering the necessary information for the core gpio configuration
|
||||||
|
implementation to configure pins as necessary.
|
||||||
|
|
||||||
|
The s3c_gpio_cfgpin() and s3c_gpio_setpull() provide the means for a
|
||||||
|
driver or machine to change gpio configuration.
|
||||||
|
|
||||||
|
See arch/arm/plat-samsung/include/plat/gpio-cfg.h for more information
|
||||||
|
on these functions.
|
||||||
|
|
||||||
|
|
@ -13,9 +13,10 @@ Introduction
|
|||||||
|
|
||||||
- S3C24XX: See Documentation/arm/Samsung-S3C24XX/Overview.txt for full list
|
- S3C24XX: See Documentation/arm/Samsung-S3C24XX/Overview.txt for full list
|
||||||
- S3C64XX: S3C6400 and S3C6410
|
- S3C64XX: S3C6400 and S3C6410
|
||||||
- S5PC6440
|
- S5P6440
|
||||||
|
- S5P6442
|
||||||
S5PC100 and S5PC110 support is currently being merged
|
- S5PC100
|
||||||
|
- S5PC110 / S5PV210
|
||||||
|
|
||||||
|
|
||||||
S3C24XX Systems
|
S3C24XX Systems
|
||||||
@ -35,7 +36,10 @@ Configuration
|
|||||||
unifying all the SoCs into one kernel.
|
unifying all the SoCs into one kernel.
|
||||||
|
|
||||||
s5p6440_defconfig - S5P6440 specific default configuration
|
s5p6440_defconfig - S5P6440 specific default configuration
|
||||||
|
s5p6442_defconfig - S5P6442 specific default configuration
|
||||||
s5pc100_defconfig - S5PC100 specific default configuration
|
s5pc100_defconfig - S5PC100 specific default configuration
|
||||||
|
s5pc110_defconfig - S5PC110 specific default configuration
|
||||||
|
s5pv210_defconfig - S5PV210 specific default configuration
|
||||||
|
|
||||||
|
|
||||||
Layout
|
Layout
|
||||||
@ -50,18 +54,27 @@ Layout
|
|||||||
specific information. It contains the base clock, GPIO and device definitions
|
specific information. It contains the base clock, GPIO and device definitions
|
||||||
to get the system running.
|
to get the system running.
|
||||||
|
|
||||||
plat-s3c is the s3c24xx/s3c64xx platform directory, although it is currently
|
|
||||||
involved in other builds this will be phased out once the relevant code is
|
|
||||||
moved elsewhere.
|
|
||||||
|
|
||||||
plat-s3c24xx is for s3c24xx specific builds, see the S3C24XX docs.
|
plat-s3c24xx is for s3c24xx specific builds, see the S3C24XX docs.
|
||||||
|
|
||||||
plat-s3c64xx is for the s3c64xx specific bits, see the S3C24XX docs.
|
plat-s5p is for s5p specific builds, and contains common support for the
|
||||||
|
S5P specific systems. Not all S5Ps use all the features in this directory
|
||||||
plat-s5p is for s5p specific builds, more to be added.
|
due to differences in the hardware.
|
||||||
|
|
||||||
|
|
||||||
|
Layout changes
|
||||||
|
--------------
|
||||||
|
|
||||||
|
The old plat-s3c and plat-s5pc1xx directories have been removed, with
|
||||||
|
support moved to either plat-samsung or plat-s5p as necessary. These moves
|
||||||
|
where to simplify the include and dependency issues involved with having
|
||||||
|
so many different platform directories.
|
||||||
|
|
||||||
|
It was decided to remove plat-s5pc1xx as some of the support was already
|
||||||
|
in plat-s5p or plat-samsung, with the S5PC110 support added with S5PV210
|
||||||
|
the only user was the S5PC100. The S5PC100 specific items where moved to
|
||||||
|
arch/arm/mach-s5pc100.
|
||||||
|
|
||||||
|
|
||||||
[ to finish ]
|
|
||||||
|
|
||||||
|
|
||||||
Port Contributors
|
Port Contributors
|
||||||
|
@ -339,7 +339,7 @@ To mount a cgroup hierarchy with all available subsystems, type:
|
|||||||
The "xxx" is not interpreted by the cgroup code, but will appear in
|
The "xxx" is not interpreted by the cgroup code, but will appear in
|
||||||
/proc/mounts so may be any useful identifying string that you like.
|
/proc/mounts so may be any useful identifying string that you like.
|
||||||
|
|
||||||
To mount a cgroup hierarchy with just the cpuset and numtasks
|
To mount a cgroup hierarchy with just the cpuset and memory
|
||||||
subsystems, type:
|
subsystems, type:
|
||||||
# mount -t cgroup -o cpuset,memory hier1 /dev/cgroup
|
# mount -t cgroup -o cpuset,memory hier1 /dev/cgroup
|
||||||
|
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
Memory Resource Controller
|
Memory Resource Controller
|
||||||
|
|
||||||
NOTE: The Memory Resource Controller has been generically been referred
|
NOTE: The Memory Resource Controller has been generically been referred
|
||||||
to as the memory controller in this document. Do not confuse memory controller
|
to as the memory controller in this document. Do not confuse memory
|
||||||
used here with the memory controller that is used in hardware.
|
controller used here with the memory controller that is used in hardware.
|
||||||
|
|
||||||
Salient features
|
(For editors)
|
||||||
|
In this document:
|
||||||
a. Enable control of Anonymous, Page Cache (mapped and unmapped) and
|
When we mention a cgroup (cgroupfs's directory) with memory controller,
|
||||||
Swap Cache memory pages.
|
we call it "memory cgroup". When you see git-log and source code, you'll
|
||||||
b. The infrastructure allows easy addition of other types of memory to control
|
see patch's title and function names tend to use "memcg".
|
||||||
c. Provides *zero overhead* for non memory controller users
|
In this document, we avoid using it.
|
||||||
d. Provides a double LRU: global memory pressure causes reclaim from the
|
|
||||||
global LRU; a cgroup on hitting a limit, reclaims from the per
|
|
||||||
cgroup LRU
|
|
||||||
|
|
||||||
Benefits and Purpose of the memory controller
|
Benefits and Purpose of the memory controller
|
||||||
|
|
||||||
@ -33,6 +30,45 @@ d. A CD/DVD burner could control the amount of memory used by the
|
|||||||
e. There are several other use cases, find one or use the controller just
|
e. There are several other use cases, find one or use the controller just
|
||||||
for fun (to learn and hack on the VM subsystem).
|
for fun (to learn and hack on the VM subsystem).
|
||||||
|
|
||||||
|
Current Status: linux-2.6.34-mmotm(development version of 2010/April)
|
||||||
|
|
||||||
|
Features:
|
||||||
|
- accounting anonymous pages, file caches, swap caches usage and limiting them.
|
||||||
|
- private LRU and reclaim routine. (system's global LRU and private LRU
|
||||||
|
work independently from each other)
|
||||||
|
- optionally, memory+swap usage can be accounted and limited.
|
||||||
|
- hierarchical accounting
|
||||||
|
- soft limit
|
||||||
|
- moving(recharging) account at moving a task is selectable.
|
||||||
|
- usage threshold notifier
|
||||||
|
- oom-killer disable knob and oom-notifier
|
||||||
|
- Root cgroup has no limit controls.
|
||||||
|
|
||||||
|
Kernel memory and Hugepages are not under control yet. We just manage
|
||||||
|
pages on LRU. To add more controls, we have to take care of performance.
|
||||||
|
|
||||||
|
Brief summary of control files.
|
||||||
|
|
||||||
|
tasks # attach a task(thread) and show list of threads
|
||||||
|
cgroup.procs # show list of processes
|
||||||
|
cgroup.event_control # an interface for event_fd()
|
||||||
|
memory.usage_in_bytes # show current memory(RSS+Cache) usage.
|
||||||
|
memory.memsw.usage_in_bytes # show current memory+Swap usage
|
||||||
|
memory.limit_in_bytes # set/show limit of memory usage
|
||||||
|
memory.memsw.limit_in_bytes # set/show limit of memory+Swap usage
|
||||||
|
memory.failcnt # show the number of memory usage hits limits
|
||||||
|
memory.memsw.failcnt # show the number of memory+Swap hits limits
|
||||||
|
memory.max_usage_in_bytes # show max memory usage recorded
|
||||||
|
memory.memsw.usage_in_bytes # show max memory+Swap usage recorded
|
||||||
|
memory.soft_limit_in_bytes # set/show soft limit of memory usage
|
||||||
|
memory.stat # show various statistics
|
||||||
|
memory.use_hierarchy # set/show hierarchical account enabled
|
||||||
|
memory.force_empty # trigger forced move charge to parent
|
||||||
|
memory.swappiness # set/show swappiness parameter of vmscan
|
||||||
|
(See sysctl's vm.swappiness)
|
||||||
|
memory.move_charge_at_immigrate # set/show controls of moving charges
|
||||||
|
memory.oom_control # set/show oom controls.
|
||||||
|
|
||||||
1. History
|
1. History
|
||||||
|
|
||||||
The memory controller has a long history. A request for comments for the memory
|
The memory controller has a long history. A request for comments for the memory
|
||||||
@ -106,14 +142,14 @@ the necessary data structures and check if the cgroup that is being charged
|
|||||||
is over its limit. If it is then reclaim is invoked on the cgroup.
|
is over its limit. If it is then reclaim is invoked on the cgroup.
|
||||||
More details can be found in the reclaim section of this document.
|
More details can be found in the reclaim section of this document.
|
||||||
If everything goes well, a page meta-data-structure called page_cgroup is
|
If everything goes well, a page meta-data-structure called page_cgroup is
|
||||||
allocated and associated with the page. This routine also adds the page to
|
updated. page_cgroup has its own LRU on cgroup.
|
||||||
the per cgroup LRU.
|
(*) page_cgroup structure is allocated at boot/memory-hotplug time.
|
||||||
|
|
||||||
2.2.1 Accounting details
|
2.2.1 Accounting details
|
||||||
|
|
||||||
All mapped anon pages (RSS) and cache pages (Page Cache) are accounted.
|
All mapped anon pages (RSS) and cache pages (Page Cache) are accounted.
|
||||||
(some pages which never be reclaimable and will not be on global LRU
|
Some pages which are never reclaimable and will not be on the global LRU
|
||||||
are not accounted. we just accounts pages under usual vm management.)
|
are not accounted. We just account pages under usual VM management.
|
||||||
|
|
||||||
RSS pages are accounted at page_fault unless they've already been accounted
|
RSS pages are accounted at page_fault unless they've already been accounted
|
||||||
for earlier. A file page will be accounted for as Page Cache when it's
|
for earlier. A file page will be accounted for as Page Cache when it's
|
||||||
@ -121,12 +157,19 @@ inserted into inode (radix-tree). While it's mapped into the page tables of
|
|||||||
processes, duplicate accounting is carefully avoided.
|
processes, duplicate accounting is carefully avoided.
|
||||||
|
|
||||||
A RSS page is unaccounted when it's fully unmapped. A PageCache page is
|
A RSS page is unaccounted when it's fully unmapped. A PageCache page is
|
||||||
unaccounted when it's removed from radix-tree.
|
unaccounted when it's removed from radix-tree. Even if RSS pages are fully
|
||||||
|
unmapped (by kswapd), they may exist as SwapCache in the system until they
|
||||||
|
are really freed. Such SwapCaches also also accounted.
|
||||||
|
A swapped-in page is not accounted until it's mapped.
|
||||||
|
|
||||||
|
Note: The kernel does swapin-readahead and read multiple swaps at once.
|
||||||
|
This means swapped-in pages may contain pages for other tasks than a task
|
||||||
|
causing page fault. So, we avoid accounting at swap-in I/O.
|
||||||
|
|
||||||
At page migration, accounting information is kept.
|
At page migration, accounting information is kept.
|
||||||
|
|
||||||
Note: we just account pages-on-lru because our purpose is to control amount
|
Note: we just account pages-on-LRU because our purpose is to control amount
|
||||||
of used pages. not-on-lru pages are tend to be out-of-control from vm view.
|
of used pages; not-on-LRU pages tend to be out-of-control from VM view.
|
||||||
|
|
||||||
2.3 Shared Page Accounting
|
2.3 Shared Page Accounting
|
||||||
|
|
||||||
@ -143,6 +186,7 @@ caller of swapoff rather than the users of shmem.
|
|||||||
|
|
||||||
|
|
||||||
2.4 Swap Extension (CONFIG_CGROUP_MEM_RES_CTLR_SWAP)
|
2.4 Swap Extension (CONFIG_CGROUP_MEM_RES_CTLR_SWAP)
|
||||||
|
|
||||||
Swap Extension allows you to record charge for swap. A swapped-in page is
|
Swap Extension allows you to record charge for swap. A swapped-in page is
|
||||||
charged back to original page allocator if possible.
|
charged back to original page allocator if possible.
|
||||||
|
|
||||||
@ -150,13 +194,20 @@ When swap is accounted, following files are added.
|
|||||||
- memory.memsw.usage_in_bytes.
|
- memory.memsw.usage_in_bytes.
|
||||||
- memory.memsw.limit_in_bytes.
|
- memory.memsw.limit_in_bytes.
|
||||||
|
|
||||||
usage of mem+swap is limited by memsw.limit_in_bytes.
|
memsw means memory+swap. Usage of memory+swap is limited by
|
||||||
|
memsw.limit_in_bytes.
|
||||||
|
|
||||||
* why 'mem+swap' rather than swap.
|
Example: Assume a system with 4G of swap. A task which allocates 6G of memory
|
||||||
|
(by mistake) under 2G memory limitation will use all swap.
|
||||||
|
In this case, setting memsw.limit_in_bytes=3G will prevent bad use of swap.
|
||||||
|
By using memsw limit, you can avoid system OOM which can be caused by swap
|
||||||
|
shortage.
|
||||||
|
|
||||||
|
* why 'memory+swap' rather than swap.
|
||||||
The global LRU(kswapd) can swap out arbitrary pages. Swap-out means
|
The global LRU(kswapd) can swap out arbitrary pages. Swap-out means
|
||||||
to move account from memory to swap...there is no change in usage of
|
to move account from memory to swap...there is no change in usage of
|
||||||
mem+swap. In other words, when we want to limit the usage of swap without
|
memory+swap. In other words, when we want to limit the usage of swap without
|
||||||
affecting global LRU, mem+swap limit is better than just limiting swap from
|
affecting global LRU, memory+swap limit is better than just limiting swap from
|
||||||
OS point of view.
|
OS point of view.
|
||||||
|
|
||||||
* What happens when a cgroup hits memory.memsw.limit_in_bytes
|
* What happens when a cgroup hits memory.memsw.limit_in_bytes
|
||||||
@ -168,12 +219,12 @@ it by cgroup.
|
|||||||
|
|
||||||
2.5 Reclaim
|
2.5 Reclaim
|
||||||
|
|
||||||
Each cgroup maintains a per cgroup LRU that consists of an active
|
Each cgroup maintains a per cgroup LRU which has the same structure as
|
||||||
and inactive list. When a cgroup goes over its limit, we first try
|
global VM. When a cgroup goes over its limit, we first try
|
||||||
to reclaim memory from the cgroup so as to make space for the new
|
to reclaim memory from the cgroup so as to make space for the new
|
||||||
pages that the cgroup has touched. If the reclaim is unsuccessful,
|
pages that the cgroup has touched. If the reclaim is unsuccessful,
|
||||||
an OOM routine is invoked to select and kill the bulkiest task in the
|
an OOM routine is invoked to select and kill the bulkiest task in the
|
||||||
cgroup.
|
cgroup. (See 10. OOM Control below.)
|
||||||
|
|
||||||
The reclaim algorithm has not been modified for cgroups, except that
|
The reclaim algorithm has not been modified for cgroups, except that
|
||||||
pages that are selected for reclaiming come from the per cgroup LRU
|
pages that are selected for reclaiming come from the per cgroup LRU
|
||||||
@ -184,13 +235,22 @@ limits on the root cgroup.
|
|||||||
|
|
||||||
Note2: When panic_on_oom is set to "2", the whole system will panic.
|
Note2: When panic_on_oom is set to "2", the whole system will panic.
|
||||||
|
|
||||||
2. Locking
|
When oom event notifier is registered, event will be delivered.
|
||||||
|
(See oom_control section)
|
||||||
|
|
||||||
The memory controller uses the following hierarchy
|
2.6 Locking
|
||||||
|
|
||||||
1. zone->lru_lock is used for selecting pages to be isolated
|
lock_page_cgroup()/unlock_page_cgroup() should not be called under
|
||||||
2. mem->per_zone->lru_lock protects the per cgroup LRU (per zone)
|
mapping->tree_lock.
|
||||||
3. lock_page_cgroup() is used to protect page->page_cgroup
|
|
||||||
|
Other lock order is following:
|
||||||
|
PG_locked.
|
||||||
|
mm->page_table_lock
|
||||||
|
zone->lru_lock
|
||||||
|
lock_page_cgroup.
|
||||||
|
In many cases, just lock_page_cgroup() is called.
|
||||||
|
per-zone-per-cgroup LRU (cgroup's private LRU) is just guarded by
|
||||||
|
zone->lru_lock, it has no lock of its own.
|
||||||
|
|
||||||
3. User Interface
|
3. User Interface
|
||||||
|
|
||||||
@ -199,6 +259,7 @@ The memory controller uses the following hierarchy
|
|||||||
a. Enable CONFIG_CGROUPS
|
a. Enable CONFIG_CGROUPS
|
||||||
b. Enable CONFIG_RESOURCE_COUNTERS
|
b. Enable CONFIG_RESOURCE_COUNTERS
|
||||||
c. Enable CONFIG_CGROUP_MEM_RES_CTLR
|
c. Enable CONFIG_CGROUP_MEM_RES_CTLR
|
||||||
|
d. Enable CONFIG_CGROUP_MEM_RES_CTLR_SWAP (to use swap extension)
|
||||||
|
|
||||||
1. Prepare the cgroups
|
1. Prepare the cgroups
|
||||||
# mkdir -p /cgroups
|
# mkdir -p /cgroups
|
||||||
@ -208,21 +269,18 @@ c. Enable CONFIG_CGROUP_MEM_RES_CTLR
|
|||||||
# mkdir /cgroups/0
|
# mkdir /cgroups/0
|
||||||
# echo $$ > /cgroups/0/tasks
|
# echo $$ > /cgroups/0/tasks
|
||||||
|
|
||||||
Since now we're in the 0 cgroup,
|
Since now we're in the 0 cgroup, we can alter the memory limit:
|
||||||
We can alter the memory limit:
|
|
||||||
# echo 4M > /cgroups/0/memory.limit_in_bytes
|
# echo 4M > /cgroups/0/memory.limit_in_bytes
|
||||||
|
|
||||||
NOTE: We can use a suffix (k, K, m, M, g or G) to indicate values in kilo,
|
NOTE: We can use a suffix (k, K, m, M, g or G) to indicate values in kilo,
|
||||||
mega or gigabytes.
|
mega or gigabytes. (Here, Kilo, Mega, Giga are Kibibytes, Mebibytes, Gibibytes.)
|
||||||
|
|
||||||
NOTE: We can write "-1" to reset the *.limit_in_bytes(unlimited).
|
NOTE: We can write "-1" to reset the *.limit_in_bytes(unlimited).
|
||||||
NOTE: We cannot set limits on the root cgroup any more.
|
NOTE: We cannot set limits on the root cgroup any more.
|
||||||
|
|
||||||
# cat /cgroups/0/memory.limit_in_bytes
|
# cat /cgroups/0/memory.limit_in_bytes
|
||||||
4194304
|
4194304
|
||||||
|
|
||||||
NOTE: The interface has now changed to display the usage in bytes
|
|
||||||
instead of pages
|
|
||||||
|
|
||||||
We can check the usage:
|
We can check the usage:
|
||||||
# cat /cgroups/0/memory.usage_in_bytes
|
# cat /cgroups/0/memory.usage_in_bytes
|
||||||
1216512
|
1216512
|
||||||
@ -245,15 +303,23 @@ caches, RSS and Active pages/Inactive pages are shown.
|
|||||||
|
|
||||||
4. Testing
|
4. Testing
|
||||||
|
|
||||||
Balbir posted lmbench, AIM9, LTP and vmmstress results [10] and [11].
|
For testing features and implementation, see memcg_test.txt.
|
||||||
Apart from that v6 has been tested with several applications and regular
|
|
||||||
daily use. The controller has also been tested on the PPC64, x86_64 and
|
Performance test is also important. To see pure memory controller's overhead,
|
||||||
UML platforms.
|
testing on tmpfs will give you good numbers of small overheads.
|
||||||
|
Example: do kernel make on tmpfs.
|
||||||
|
|
||||||
|
Page-fault scalability is also important. At measuring parallel
|
||||||
|
page fault test, multi-process test may be better than multi-thread
|
||||||
|
test because it has noise of shared objects/status.
|
||||||
|
|
||||||
|
But the above two are testing extreme situations.
|
||||||
|
Trying usual test under memory controller is always helpful.
|
||||||
|
|
||||||
4.1 Troubleshooting
|
4.1 Troubleshooting
|
||||||
|
|
||||||
Sometimes a user might find that the application under a cgroup is
|
Sometimes a user might find that the application under a cgroup is
|
||||||
terminated. There are several causes for this:
|
terminated by OOM killer. There are several causes for this:
|
||||||
|
|
||||||
1. The cgroup limit is too low (just too low to do anything useful)
|
1. The cgroup limit is too low (just too low to do anything useful)
|
||||||
2. The user is using anonymous memory and swap is turned off or too low
|
2. The user is using anonymous memory and swap is turned off or too low
|
||||||
@ -261,6 +327,9 @@ terminated. There are several causes for this:
|
|||||||
A sync followed by echo 1 > /proc/sys/vm/drop_caches will help get rid of
|
A sync followed by echo 1 > /proc/sys/vm/drop_caches will help get rid of
|
||||||
some of the pages cached in the cgroup (page cache pages).
|
some of the pages cached in the cgroup (page cache pages).
|
||||||
|
|
||||||
|
To know what happens, disable OOM_Kill by 10. OOM Control(see below) and
|
||||||
|
seeing what happens will be helpful.
|
||||||
|
|
||||||
4.2 Task migration
|
4.2 Task migration
|
||||||
|
|
||||||
When a task migrates from one cgroup to another, its charge is not
|
When a task migrates from one cgroup to another, its charge is not
|
||||||
@ -268,16 +337,19 @@ carried forward by default. The pages allocated from the original cgroup still
|
|||||||
remain charged to it, the charge is dropped when the page is freed or
|
remain charged to it, the charge is dropped when the page is freed or
|
||||||
reclaimed.
|
reclaimed.
|
||||||
|
|
||||||
Note: You can move charges of a task along with task migration. See 8.
|
You can move charges of a task along with task migration.
|
||||||
|
See 8. "Move charges at task migration"
|
||||||
|
|
||||||
4.3 Removing a cgroup
|
4.3 Removing a cgroup
|
||||||
|
|
||||||
A cgroup can be removed by rmdir, but as discussed in sections 4.1 and 4.2, a
|
A cgroup can be removed by rmdir, but as discussed in sections 4.1 and 4.2, a
|
||||||
cgroup might have some charge associated with it, even though all
|
cgroup might have some charge associated with it, even though all
|
||||||
tasks have migrated away from it.
|
tasks have migrated away from it. (because we charge against pages, not
|
||||||
Such charges are freed(at default) or moved to its parent. When moved,
|
against tasks.)
|
||||||
both of RSS and CACHES are moved to parent.
|
|
||||||
If both of them are busy, rmdir() returns -EBUSY. See 5.1 Also.
|
Such charges are freed or moved to their parent. At moving, both of RSS
|
||||||
|
and CACHES are moved to parent.
|
||||||
|
rmdir() may return -EBUSY if freeing/moving fails. See 5.1 also.
|
||||||
|
|
||||||
Charges recorded in swap information is not updated at removal of cgroup.
|
Charges recorded in swap information is not updated at removal of cgroup.
|
||||||
Recorded information is discarded and a cgroup which uses swap (swapcache)
|
Recorded information is discarded and a cgroup which uses swap (swapcache)
|
||||||
@ -293,10 +365,10 @@ will be charged as a new owner of it.
|
|||||||
|
|
||||||
# echo 0 > memory.force_empty
|
# echo 0 > memory.force_empty
|
||||||
|
|
||||||
Almost all pages tracked by this memcg will be unmapped and freed. Some of
|
Almost all pages tracked by this memory cgroup will be unmapped and freed.
|
||||||
pages cannot be freed because it's locked or in-use. Such pages are moved
|
Some pages cannot be freed because they are locked or in-use. Such pages are
|
||||||
to parent and this cgroup will be empty. But this may return -EBUSY in
|
moved to parent and this cgroup will be empty. This may return -EBUSY if
|
||||||
some too busy case.
|
VM is too busy to free/move all pages immediately.
|
||||||
|
|
||||||
Typical use case of this interface is that calling this before rmdir().
|
Typical use case of this interface is that calling this before rmdir().
|
||||||
Because rmdir() moves all pages to parent, some out-of-use page caches can be
|
Because rmdir() moves all pages to parent, some out-of-use page caches can be
|
||||||
@ -306,19 +378,41 @@ will be charged as a new owner of it.
|
|||||||
|
|
||||||
memory.stat file includes following statistics
|
memory.stat file includes following statistics
|
||||||
|
|
||||||
|
# per-memory cgroup local status
|
||||||
cache - # of bytes of page cache memory.
|
cache - # of bytes of page cache memory.
|
||||||
rss - # of bytes of anonymous and swap cache memory.
|
rss - # of bytes of anonymous and swap cache memory.
|
||||||
|
mapped_file - # of bytes of mapped file (includes tmpfs/shmem)
|
||||||
pgpgin - # of pages paged in (equivalent to # of charging events).
|
pgpgin - # of pages paged in (equivalent to # of charging events).
|
||||||
pgpgout - # of pages paged out (equivalent to # of uncharging events).
|
pgpgout - # of pages paged out (equivalent to # of uncharging events).
|
||||||
active_anon - # of bytes of anonymous and swap cache memory on active
|
swap - # of bytes of swap usage
|
||||||
lru list.
|
|
||||||
inactive_anon - # of bytes of anonymous memory and swap cache memory on
|
inactive_anon - # of bytes of anonymous memory and swap cache memory on
|
||||||
inactive lru list.
|
LRU list.
|
||||||
active_file - # of bytes of file-backed memory on active lru list.
|
active_anon - # of bytes of anonymous and swap cache memory on active
|
||||||
inactive_file - # of bytes of file-backed memory on inactive lru list.
|
inactive LRU list.
|
||||||
|
inactive_file - # of bytes of file-backed memory on inactive LRU list.
|
||||||
|
active_file - # of bytes of file-backed memory on active LRU list.
|
||||||
unevictable - # of bytes of memory that cannot be reclaimed (mlocked etc).
|
unevictable - # of bytes of memory that cannot be reclaimed (mlocked etc).
|
||||||
|
|
||||||
The following additional stats are dependent on CONFIG_DEBUG_VM.
|
# status considering hierarchy (see memory.use_hierarchy settings)
|
||||||
|
|
||||||
|
hierarchical_memory_limit - # of bytes of memory limit with regard to hierarchy
|
||||||
|
under which the memory cgroup is
|
||||||
|
hierarchical_memsw_limit - # of bytes of memory+swap limit with regard to
|
||||||
|
hierarchy under which memory cgroup is.
|
||||||
|
|
||||||
|
total_cache - sum of all children's "cache"
|
||||||
|
total_rss - sum of all children's "rss"
|
||||||
|
total_mapped_file - sum of all children's "cache"
|
||||||
|
total_pgpgin - sum of all children's "pgpgin"
|
||||||
|
total_pgpgout - sum of all children's "pgpgout"
|
||||||
|
total_swap - sum of all children's "swap"
|
||||||
|
total_inactive_anon - sum of all children's "inactive_anon"
|
||||||
|
total_active_anon - sum of all children's "active_anon"
|
||||||
|
total_inactive_file - sum of all children's "inactive_file"
|
||||||
|
total_active_file - sum of all children's "active_file"
|
||||||
|
total_unevictable - sum of all children's "unevictable"
|
||||||
|
|
||||||
|
# The following additional stats are dependent on CONFIG_DEBUG_VM.
|
||||||
|
|
||||||
inactive_ratio - VM internal parameter. (see mm/page_alloc.c)
|
inactive_ratio - VM internal parameter. (see mm/page_alloc.c)
|
||||||
recent_rotated_anon - VM internal parameter. (see mm/vmscan.c)
|
recent_rotated_anon - VM internal parameter. (see mm/vmscan.c)
|
||||||
@ -327,24 +421,37 @@ recent_scanned_anon - VM internal parameter. (see mm/vmscan.c)
|
|||||||
recent_scanned_file - VM internal parameter. (see mm/vmscan.c)
|
recent_scanned_file - VM internal parameter. (see mm/vmscan.c)
|
||||||
|
|
||||||
Memo:
|
Memo:
|
||||||
recent_rotated means recent frequency of lru rotation.
|
recent_rotated means recent frequency of LRU rotation.
|
||||||
recent_scanned means recent # of scans to lru.
|
recent_scanned means recent # of scans to LRU.
|
||||||
showing for better debug please see the code for meanings.
|
showing for better debug please see the code for meanings.
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
Only anonymous and swap cache memory is listed as part of 'rss' stat.
|
Only anonymous and swap cache memory is listed as part of 'rss' stat.
|
||||||
This should not be confused with the true 'resident set size' or the
|
This should not be confused with the true 'resident set size' or the
|
||||||
amount of physical memory used by the cgroup. Per-cgroup rss
|
amount of physical memory used by the cgroup.
|
||||||
accounting is not done yet.
|
'rss + file_mapped" will give you resident set size of cgroup.
|
||||||
|
(Note: file and shmem may be shared among other cgroups. In that case,
|
||||||
|
file_mapped is accounted only when the memory cgroup is owner of page
|
||||||
|
cache.)
|
||||||
|
|
||||||
5.3 swappiness
|
5.3 swappiness
|
||||||
|
|
||||||
Similar to /proc/sys/vm/swappiness, but affecting a hierarchy of groups only.
|
Similar to /proc/sys/vm/swappiness, but affecting a hierarchy of groups only.
|
||||||
|
|
||||||
Following cgroups' swappiness can't be changed.
|
Following cgroups' swappiness can't be changed.
|
||||||
- root cgroup (uses /proc/sys/vm/swappiness).
|
- root cgroup (uses /proc/sys/vm/swappiness).
|
||||||
- a cgroup which uses hierarchy and it has child cgroup.
|
- a cgroup which uses hierarchy and it has other cgroup(s) below it.
|
||||||
- a cgroup which uses hierarchy and not the root of hierarchy.
|
- a cgroup which uses hierarchy and not the root of hierarchy.
|
||||||
|
|
||||||
|
5.4 failcnt
|
||||||
|
|
||||||
|
A memory cgroup provides memory.failcnt and memory.memsw.failcnt files.
|
||||||
|
This failcnt(== failure count) shows the number of times that a usage counter
|
||||||
|
hit its limit. When a memory cgroup hits a limit, failcnt increases and
|
||||||
|
memory under it will be reclaimed.
|
||||||
|
|
||||||
|
You can reset failcnt by writing 0 to failcnt file.
|
||||||
|
# echo 0 > .../memory.failcnt
|
||||||
|
|
||||||
6. Hierarchy support
|
6. Hierarchy support
|
||||||
|
|
||||||
@ -369,7 +476,7 @@ children of the ancestor.
|
|||||||
|
|
||||||
6.1 Enabling hierarchical accounting and reclaim
|
6.1 Enabling hierarchical accounting and reclaim
|
||||||
|
|
||||||
The memory controller by default disables the hierarchy feature. Support
|
A memory cgroup by default disables the hierarchy feature. Support
|
||||||
can be enabled by writing 1 to memory.use_hierarchy file of the root cgroup
|
can be enabled by writing 1 to memory.use_hierarchy file of the root cgroup
|
||||||
|
|
||||||
# echo 1 > memory.use_hierarchy
|
# echo 1 > memory.use_hierarchy
|
||||||
@ -382,7 +489,7 @@ NOTE1: Enabling/disabling will fail if the cgroup already has other
|
|||||||
cgroups created below it.
|
cgroups created below it.
|
||||||
|
|
||||||
NOTE2: When panic_on_oom is set to "2", the whole system will panic in
|
NOTE2: When panic_on_oom is set to "2", the whole system will panic in
|
||||||
case of an oom event in any cgroup.
|
case of an OOM event in any cgroup.
|
||||||
|
|
||||||
7. Soft limits
|
7. Soft limits
|
||||||
|
|
||||||
@ -392,7 +499,7 @@ is to allow control groups to use as much of the memory as needed, provided
|
|||||||
a. There is no memory contention
|
a. There is no memory contention
|
||||||
b. They do not exceed their hard limit
|
b. They do not exceed their hard limit
|
||||||
|
|
||||||
When the system detects memory contention or low memory control groups
|
When the system detects memory contention or low memory, control groups
|
||||||
are pushed back to their soft limits. If the soft limit of each control
|
are pushed back to their soft limits. If the soft limit of each control
|
||||||
group is very high, they are pushed back as much as possible to make
|
group is very high, they are pushed back as much as possible to make
|
||||||
sure that one control group does not starve the others of memory.
|
sure that one control group does not starve the others of memory.
|
||||||
@ -406,7 +513,7 @@ it gets invoked from balance_pgdat (kswapd).
|
|||||||
7.1 Interface
|
7.1 Interface
|
||||||
|
|
||||||
Soft limits can be setup by using the following commands (in this example we
|
Soft limits can be setup by using the following commands (in this example we
|
||||||
assume a soft limit of 256 megabytes)
|
assume a soft limit of 256 MiB)
|
||||||
|
|
||||||
# echo 256M > memory.soft_limit_in_bytes
|
# echo 256M > memory.soft_limit_in_bytes
|
||||||
|
|
||||||
@ -442,7 +549,7 @@ Note: Charges are moved only when you move mm->owner, IOW, a leader of a thread
|
|||||||
Note: If we cannot find enough space for the task in the destination cgroup, we
|
Note: If we cannot find enough space for the task in the destination cgroup, we
|
||||||
try to make space by reclaiming memory. Task migration may fail if we
|
try to make space by reclaiming memory. Task migration may fail if we
|
||||||
cannot make enough space.
|
cannot make enough space.
|
||||||
Note: It can take several seconds if you move charges in giga bytes order.
|
Note: It can take several seconds if you move charges much.
|
||||||
|
|
||||||
And if you want disable it again:
|
And if you want disable it again:
|
||||||
|
|
||||||
@ -451,21 +558,27 @@ And if you want disable it again:
|
|||||||
8.2 Type of charges which can be move
|
8.2 Type of charges which can be move
|
||||||
|
|
||||||
Each bits of move_charge_at_immigrate has its own meaning about what type of
|
Each bits of move_charge_at_immigrate has its own meaning about what type of
|
||||||
charges should be moved.
|
charges should be moved. But in any cases, it must be noted that an account of
|
||||||
|
a page or a swap can be moved only when it is charged to the task's current(old)
|
||||||
|
memory cgroup.
|
||||||
|
|
||||||
bit | what type of charges would be moved ?
|
bit | what type of charges would be moved ?
|
||||||
-----+------------------------------------------------------------------------
|
-----+------------------------------------------------------------------------
|
||||||
0 | A charge of an anonymous page(or swap of it) used by the target task.
|
0 | A charge of an anonymous page(or swap of it) used by the target task.
|
||||||
| Those pages and swaps must be used only by the target task. You must
|
| Those pages and swaps must be used only by the target task. You must
|
||||||
| enable Swap Extension(see 2.4) to enable move of swap charges.
|
| enable Swap Extension(see 2.4) to enable move of swap charges.
|
||||||
|
-----+------------------------------------------------------------------------
|
||||||
Note: Those pages and swaps must be charged to the old cgroup.
|
1 | A charge of file pages(normal file, tmpfs file(e.g. ipc shared memory)
|
||||||
Note: More type of pages(e.g. file cache, shmem,) will be supported by other
|
| and swaps of tmpfs file) mmapped by the target task. Unlike the case of
|
||||||
bits in future.
|
| anonymous pages, file pages(and swaps) in the range mmapped by the task
|
||||||
|
| will be moved even if the task hasn't done page fault, i.e. they might
|
||||||
|
| not be the task's "RSS", but other task's "RSS" that maps the same file.
|
||||||
|
| And mapcount of the page is ignored(the page can be moved even if
|
||||||
|
| page_mapcount(page) > 1). You must enable Swap Extension(see 2.4) to
|
||||||
|
| enable move of swap charges.
|
||||||
|
|
||||||
8.3 TODO
|
8.3 TODO
|
||||||
|
|
||||||
- Add support for other types of pages(e.g. file cache, shmem, etc.).
|
|
||||||
- Implement madvise(2) to let users decide the vma to be moved or not to be
|
- Implement madvise(2) to let users decide the vma to be moved or not to be
|
||||||
moved.
|
moved.
|
||||||
- All of moving charge operations are done under cgroup_mutex. It's not good
|
- All of moving charge operations are done under cgroup_mutex. It's not good
|
||||||
@ -473,14 +586,14 @@ Note: More type of pages(e.g. file cache, shmem,) will be supported by other
|
|||||||
|
|
||||||
9. Memory thresholds
|
9. Memory thresholds
|
||||||
|
|
||||||
Memory controler implements memory thresholds using cgroups notification
|
Memory cgroup implements memory thresholds using cgroups notification
|
||||||
API (see cgroups.txt). It allows to register multiple memory and memsw
|
API (see cgroups.txt). It allows to register multiple memory and memsw
|
||||||
thresholds and gets notifications when it crosses.
|
thresholds and gets notifications when it crosses.
|
||||||
|
|
||||||
To register a threshold application need:
|
To register a threshold application need:
|
||||||
- create an eventfd using eventfd(2);
|
- create an eventfd using eventfd(2);
|
||||||
- open memory.usage_in_bytes or memory.memsw.usage_in_bytes;
|
- open memory.usage_in_bytes or memory.memsw.usage_in_bytes;
|
||||||
- write string like "<event_fd> <memory.usage_in_bytes> <threshold>" to
|
- write string like "<event_fd> <fd of memory.usage_in_bytes> <threshold>" to
|
||||||
cgroup.event_control.
|
cgroup.event_control.
|
||||||
|
|
||||||
Application will be notified through eventfd when memory usage crosses
|
Application will be notified through eventfd when memory usage crosses
|
||||||
@ -488,7 +601,46 @@ threshold in any direction.
|
|||||||
|
|
||||||
It's applicable for root and non-root cgroup.
|
It's applicable for root and non-root cgroup.
|
||||||
|
|
||||||
10. TODO
|
10. OOM Control
|
||||||
|
|
||||||
|
memory.oom_control file is for OOM notification and other controls.
|
||||||
|
|
||||||
|
Memory cgroup implements OOM notifier using cgroup notification
|
||||||
|
API (See cgroups.txt). It allows to register multiple OOM notification
|
||||||
|
delivery and gets notification when OOM happens.
|
||||||
|
|
||||||
|
To register a notifier, application need:
|
||||||
|
- create an eventfd using eventfd(2)
|
||||||
|
- open memory.oom_control file
|
||||||
|
- write string like "<event_fd> <fd of memory.oom_control>" to
|
||||||
|
cgroup.event_control
|
||||||
|
|
||||||
|
Application will be notified through eventfd when OOM happens.
|
||||||
|
OOM notification doesn't work for root cgroup.
|
||||||
|
|
||||||
|
You can disable OOM-killer by writing "1" to memory.oom_control file, as:
|
||||||
|
|
||||||
|
#echo 1 > memory.oom_control
|
||||||
|
|
||||||
|
This operation is only allowed to the top cgroup of sub-hierarchy.
|
||||||
|
If OOM-killer is disabled, tasks under cgroup will hang/sleep
|
||||||
|
in memory cgroup's OOM-waitqueue when they request accountable memory.
|
||||||
|
|
||||||
|
For running them, you have to relax the memory cgroup's OOM status by
|
||||||
|
* enlarge limit or reduce usage.
|
||||||
|
To reduce usage,
|
||||||
|
* kill some tasks.
|
||||||
|
* move some tasks to other group with account migration.
|
||||||
|
* remove some files (on tmpfs?)
|
||||||
|
|
||||||
|
Then, stopped tasks will work again.
|
||||||
|
|
||||||
|
At reading, current status of OOM is shown.
|
||||||
|
oom_kill_disable 0 or 1 (if 1, oom-killer is disabled)
|
||||||
|
under_oom 0 or 1 (if 1, the memory cgroup is under OOM, tasks may
|
||||||
|
be stopped.)
|
||||||
|
|
||||||
|
11. TODO
|
||||||
|
|
||||||
1. Add support for accounting huge pages (as a separate controller)
|
1. Add support for accounting huge pages (as a separate controller)
|
||||||
2. Make per-cgroup scanner reclaim not-shared pages first
|
2. Make per-cgroup scanner reclaim not-shared pages first
|
||||||
|
@ -646,3 +646,13 @@ Who: Thomas Gleixner <tglx@linutronix.de>
|
|||||||
|
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
What: old ieee1394 subsystem (CONFIG_IEEE1394)
|
||||||
|
When: 2.6.37
|
||||||
|
Files: drivers/ieee1394/ except init_ohci1394_dma.c
|
||||||
|
Why: superseded by drivers/firewire/ (CONFIG_FIREWIRE) which offers more
|
||||||
|
features, better performance, and better security, all with smaller
|
||||||
|
and more modern code base
|
||||||
|
Who: Stefan Richter <stefanr@s5r6.in-berlin.de>
|
||||||
|
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
@ -380,7 +380,7 @@ prototypes:
|
|||||||
int (*open) (struct inode *, struct file *);
|
int (*open) (struct inode *, struct file *);
|
||||||
int (*flush) (struct file *);
|
int (*flush) (struct file *);
|
||||||
int (*release) (struct inode *, struct file *);
|
int (*release) (struct inode *, struct file *);
|
||||||
int (*fsync) (struct file *, struct dentry *, int datasync);
|
int (*fsync) (struct file *, int datasync);
|
||||||
int (*aio_fsync) (struct kiocb *, int datasync);
|
int (*aio_fsync) (struct kiocb *, int datasync);
|
||||||
int (*fasync) (int, struct file *, int);
|
int (*fasync) (int, struct file *, int);
|
||||||
int (*lock) (struct file *, int, struct file_lock *);
|
int (*lock) (struct file *, int, struct file_lock *);
|
||||||
@ -429,8 +429,9 @@ check_flags: no
|
|||||||
implementations. If your fs is not using generic_file_llseek, you
|
implementations. If your fs is not using generic_file_llseek, you
|
||||||
need to acquire and release the appropriate locks in your ->llseek().
|
need to acquire and release the appropriate locks in your ->llseek().
|
||||||
For many filesystems, it is probably safe to acquire the inode
|
For many filesystems, it is probably safe to acquire the inode
|
||||||
mutex. Note some filesystems (i.e. remote ones) provide no
|
mutex or just to use i_size_read() instead.
|
||||||
protection for i_size so you will need to use the BKL.
|
Note: this does not protect the file->f_pos against concurrent modifications
|
||||||
|
since this is something the userspace has to take care about.
|
||||||
|
|
||||||
Note: ext2_release() was *the* source of contention on fs-intensive
|
Note: ext2_release() was *the* source of contention on fs-intensive
|
||||||
loads and dropping BKL on ->release() helps to get rid of that (we still
|
loads and dropping BKL on ->release() helps to get rid of that (we still
|
||||||
|
@ -38,7 +38,8 @@ Hard link support: yes no
|
|||||||
Real inode numbers: yes no
|
Real inode numbers: yes no
|
||||||
32-bit uids/gids: yes no
|
32-bit uids/gids: yes no
|
||||||
File creation time: yes no
|
File creation time: yes no
|
||||||
Xattr and ACL support: no no
|
Xattr support: yes no
|
||||||
|
ACL support: no no
|
||||||
|
|
||||||
Squashfs compresses data, inodes and directories. In addition, inode and
|
Squashfs compresses data, inodes and directories. In addition, inode and
|
||||||
directory data are highly compacted, and packed on byte boundaries. Each
|
directory data are highly compacted, and packed on byte boundaries. Each
|
||||||
@ -58,7 +59,7 @@ obtained from this site also.
|
|||||||
3. SQUASHFS FILESYSTEM DESIGN
|
3. SQUASHFS FILESYSTEM DESIGN
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
A squashfs filesystem consists of seven parts, packed together on a byte
|
A squashfs filesystem consists of a maximum of eight parts, packed together on a byte
|
||||||
alignment:
|
alignment:
|
||||||
|
|
||||||
---------------
|
---------------
|
||||||
@ -80,6 +81,9 @@ alignment:
|
|||||||
|---------------|
|
|---------------|
|
||||||
| uid/gid |
|
| uid/gid |
|
||||||
| lookup table |
|
| lookup table |
|
||||||
|
|---------------|
|
||||||
|
| xattr |
|
||||||
|
| table |
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Compressed data blocks are written to the filesystem as files are read from
|
Compressed data blocks are written to the filesystem as files are read from
|
||||||
@ -192,6 +196,26 @@ This table is stored compressed into metadata blocks. A second index table is
|
|||||||
used to locate these. This second index table for speed of access (and because
|
used to locate these. This second index table for speed of access (and because
|
||||||
it is small) is read at mount time and cached in memory.
|
it is small) is read at mount time and cached in memory.
|
||||||
|
|
||||||
|
3.7 Xattr table
|
||||||
|
---------------
|
||||||
|
|
||||||
|
The xattr table contains extended attributes for each inode. The xattrs
|
||||||
|
for each inode are stored in a list, each list entry containing a type,
|
||||||
|
name and value field. The type field encodes the xattr prefix
|
||||||
|
("user.", "trusted." etc) and it also encodes how the name/value fields
|
||||||
|
should be interpreted. Currently the type indicates whether the value
|
||||||
|
is stored inline (in which case the value field contains the xattr value),
|
||||||
|
or if it is stored out of line (in which case the value field stores a
|
||||||
|
reference to where the actual value is stored). This allows large values
|
||||||
|
to be stored out of line improving scanning and lookup performance and it
|
||||||
|
also allows values to be de-duplicated, the value being stored once, and
|
||||||
|
all other occurences holding an out of line reference to that value.
|
||||||
|
|
||||||
|
The xattr lists are packed into compressed 8K metadata blocks.
|
||||||
|
To reduce overhead in inodes, rather than storing the on-disk
|
||||||
|
location of the xattr list inside each inode, a 32-bit xattr id
|
||||||
|
is stored. This xattr id is mapped into the location of the xattr
|
||||||
|
list using a second xattr id lookup table.
|
||||||
|
|
||||||
4. TODOS AND OUTSTANDING ISSUES
|
4. TODOS AND OUTSTANDING ISSUES
|
||||||
-------------------------------
|
-------------------------------
|
||||||
@ -199,9 +223,7 @@ it is small) is read at mount time and cached in memory.
|
|||||||
4.1 Todo list
|
4.1 Todo list
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Implement Xattr and ACL support. The Squashfs 4.0 filesystem layout has hooks
|
Implement ACL support.
|
||||||
for these but the code has not been written. Once the code has been written
|
|
||||||
the existing layout should not require modification.
|
|
||||||
|
|
||||||
4.2 Squashfs internal cache
|
4.2 Squashfs internal cache
|
||||||
---------------------------
|
---------------------------
|
||||||
|
@ -401,11 +401,16 @@ otherwise noted.
|
|||||||
started might not be in the page cache at the end of the
|
started might not be in the page cache at the end of the
|
||||||
walk).
|
walk).
|
||||||
|
|
||||||
truncate: called by the VFS to change the size of a file. The
|
truncate: Deprecated. This will not be called if ->setsize is defined.
|
||||||
|
Called by the VFS to change the size of a file. The
|
||||||
i_size field of the inode is set to the desired size by the
|
i_size field of the inode is set to the desired size by the
|
||||||
VFS before this method is called. This method is called by
|
VFS before this method is called. This method is called by
|
||||||
the truncate(2) system call and related functionality.
|
the truncate(2) system call and related functionality.
|
||||||
|
|
||||||
|
Note: ->truncate and vmtruncate are deprecated. Do not add new
|
||||||
|
instances/calls of these. Filesystems should be converted to do their
|
||||||
|
truncate sequence via ->setattr().
|
||||||
|
|
||||||
permission: called by the VFS to check for access rights on a POSIX-like
|
permission: called by the VFS to check for access rights on a POSIX-like
|
||||||
filesystem.
|
filesystem.
|
||||||
|
|
||||||
@ -729,7 +734,7 @@ struct file_operations {
|
|||||||
int (*open) (struct inode *, struct file *);
|
int (*open) (struct inode *, struct file *);
|
||||||
int (*flush) (struct file *);
|
int (*flush) (struct file *);
|
||||||
int (*release) (struct inode *, struct file *);
|
int (*release) (struct inode *, struct file *);
|
||||||
int (*fsync) (struct file *, struct dentry *, int datasync);
|
int (*fsync) (struct file *, int datasync);
|
||||||
int (*aio_fsync) (struct kiocb *, int datasync);
|
int (*aio_fsync) (struct kiocb *, int datasync);
|
||||||
int (*fasync) (int, struct file *, int);
|
int (*fasync) (int, struct file *, int);
|
||||||
int (*lock) (struct file *, int, struct file_lock *);
|
int (*lock) (struct file *, int, struct file_lock *);
|
||||||
|
@ -9,11 +9,15 @@ Supported chips:
|
|||||||
* SMSC SCH3112, SCH3114, SCH3116
|
* SMSC SCH3112, SCH3114, SCH3116
|
||||||
Prefix: 'sch311x'
|
Prefix: 'sch311x'
|
||||||
Addresses scanned: none, address read from Super-I/O config space
|
Addresses scanned: none, address read from Super-I/O config space
|
||||||
Datasheet: http://www.nuhorizons.com/FeaturedProducts/Volume1/SMSC/311x.pdf
|
Datasheet: Available on the Internet
|
||||||
* SMSC SCH5027
|
* SMSC SCH5027
|
||||||
Prefix: 'sch5027'
|
Prefix: 'sch5027'
|
||||||
Addresses scanned: I2C 0x2c, 0x2d, 0x2e
|
Addresses scanned: I2C 0x2c, 0x2d, 0x2e
|
||||||
Datasheet: Provided by SMSC upon request and under NDA
|
Datasheet: Provided by SMSC upon request and under NDA
|
||||||
|
* SMSC SCH5127
|
||||||
|
Prefix: 'sch5127'
|
||||||
|
Addresses scanned: none, address read from Super-I/O config space
|
||||||
|
Datasheet: Provided by SMSC upon request and under NDA
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
Juerg Haefliger <juergh@gmail.com>
|
Juerg Haefliger <juergh@gmail.com>
|
||||||
@ -36,8 +40,8 @@ Description
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
This driver implements support for the hardware monitoring capabilities of the
|
This driver implements support for the hardware monitoring capabilities of the
|
||||||
SMSC DME1737 and Asus A8000 (which are the same), SMSC SCH5027, and SMSC
|
SMSC DME1737 and Asus A8000 (which are the same), SMSC SCH5027, SCH311x,
|
||||||
SCH311x Super-I/O chips. These chips feature monitoring of 3 temp sensors
|
and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors
|
||||||
temp[1-3] (2 remote diodes and 1 internal), 7 voltages in[0-6] (6 external and
|
temp[1-3] (2 remote diodes and 1 internal), 7 voltages in[0-6] (6 external and
|
||||||
1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement
|
1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement
|
||||||
up to 5 PWM outputs pwm[1-3,5-6] for controlling fan speeds both manually and
|
up to 5 PWM outputs pwm[1-3,5-6] for controlling fan speeds both manually and
|
||||||
@ -48,14 +52,14 @@ Fan[3-6] and pwm[3,5-6] are optional features and their availability depends on
|
|||||||
the configuration of the chip. The driver will detect which features are
|
the configuration of the chip. The driver will detect which features are
|
||||||
present during initialization and create the sysfs attributes accordingly.
|
present during initialization and create the sysfs attributes accordingly.
|
||||||
|
|
||||||
For the SCH311x, fan[1-3] and pwm[1-3] are always present and fan[4-6] and
|
For the SCH311x and SCH5127, fan[1-3] and pwm[1-3] are always present and
|
||||||
pwm[5-6] don't exist.
|
fan[4-6] and pwm[5-6] don't exist.
|
||||||
|
|
||||||
The hardware monitoring features of the DME1737, A8000, and SCH5027 are only
|
The hardware monitoring features of the DME1737, A8000, and SCH5027 are only
|
||||||
accessible via SMBus, while the SCH311x only provides access via the ISA bus.
|
accessible via SMBus, while the SCH311x and SCH5127 only provide access via
|
||||||
The driver will therefore register itself as an I2C client driver if it detects
|
the ISA bus. The driver will therefore register itself as an I2C client driver
|
||||||
a DME1737, A8000, or SCH5027 and as a platform driver if it detects a SCH311x
|
if it detects a DME1737, A8000, or SCH5027 and as a platform driver if it
|
||||||
chip.
|
detects a SCH311x or SCH5127 chip.
|
||||||
|
|
||||||
|
|
||||||
Voltage Monitoring
|
Voltage Monitoring
|
||||||
@ -76,7 +80,7 @@ DME1737, A8000:
|
|||||||
in6: Vbat (+3.0V) 0V - 4.38V
|
in6: Vbat (+3.0V) 0V - 4.38V
|
||||||
|
|
||||||
SCH311x:
|
SCH311x:
|
||||||
in0: +2.5V 0V - 6.64V
|
in0: +2.5V 0V - 3.32V
|
||||||
in1: Vccp (processor core) 0V - 2V
|
in1: Vccp (processor core) 0V - 2V
|
||||||
in2: VCC (internal +3.3V) 0V - 4.38V
|
in2: VCC (internal +3.3V) 0V - 4.38V
|
||||||
in3: +5V 0V - 6.64V
|
in3: +5V 0V - 6.64V
|
||||||
@ -93,6 +97,15 @@ SCH5027:
|
|||||||
in5: VTR (+3.3V standby) 0V - 4.38V
|
in5: VTR (+3.3V standby) 0V - 4.38V
|
||||||
in6: Vbat (+3.0V) 0V - 4.38V
|
in6: Vbat (+3.0V) 0V - 4.38V
|
||||||
|
|
||||||
|
SCH5127:
|
||||||
|
in0: +2.5 0V - 3.32V
|
||||||
|
in1: Vccp (processor core) 0V - 3V
|
||||||
|
in2: VCC (internal +3.3V) 0V - 4.38V
|
||||||
|
in3: V2_IN 0V - 1.5V
|
||||||
|
in4: V1_IN 0V - 1.5V
|
||||||
|
in5: VTR (+3.3V standby) 0V - 4.38V
|
||||||
|
in6: Vbat (+3.0V) 0V - 4.38V
|
||||||
|
|
||||||
Each voltage input has associated min and max limits which trigger an alarm
|
Each voltage input has associated min and max limits which trigger an alarm
|
||||||
when crossed.
|
when crossed.
|
||||||
|
|
||||||
@ -293,3 +306,21 @@ pwm[1-3]_auto_point1_pwm RW Auto PWM pwm point. Auto_point1 is the
|
|||||||
pwm[1-3]_auto_point2_pwm RO Auto PWM pwm point. Auto_point2 is the
|
pwm[1-3]_auto_point2_pwm RO Auto PWM pwm point. Auto_point2 is the
|
||||||
full-speed duty-cycle which is hard-
|
full-speed duty-cycle which is hard-
|
||||||
wired to 255 (100% duty-cycle).
|
wired to 255 (100% duty-cycle).
|
||||||
|
|
||||||
|
Chip Differences
|
||||||
|
----------------
|
||||||
|
|
||||||
|
Feature dme1737 sch311x sch5027 sch5127
|
||||||
|
-------------------------------------------------------
|
||||||
|
temp[1-3]_offset yes yes
|
||||||
|
vid yes
|
||||||
|
zone3 yes yes yes
|
||||||
|
zone[1-3]_hyst yes yes
|
||||||
|
pwm min/off yes yes
|
||||||
|
fan3 opt yes opt yes
|
||||||
|
pwm3 opt yes opt yes
|
||||||
|
fan4 opt opt
|
||||||
|
fan5 opt opt
|
||||||
|
pwm5 opt opt
|
||||||
|
fan6 opt opt
|
||||||
|
pwm6 opt opt
|
||||||
|
@ -7,6 +7,11 @@ Supported chips:
|
|||||||
Addresses scanned: I2C 0x4c
|
Addresses scanned: I2C 0x4c
|
||||||
Datasheet: Publicly available at the National Semiconductor website
|
Datasheet: Publicly available at the National Semiconductor website
|
||||||
http://www.national.com/pf/LM/LM63.html
|
http://www.national.com/pf/LM/LM63.html
|
||||||
|
* National Semiconductor LM64
|
||||||
|
Prefix: 'lm64'
|
||||||
|
Addresses scanned: I2C 0x18 and 0x4e
|
||||||
|
Datasheet: Publicly available at the National Semiconductor website
|
||||||
|
http://www.national.com/pf/LM/LM64.html
|
||||||
|
|
||||||
Author: Jean Delvare <khali@linux-fr.org>
|
Author: Jean Delvare <khali@linux-fr.org>
|
||||||
|
|
||||||
@ -55,3 +60,5 @@ The lm63 driver will not update its values more frequently than every
|
|||||||
second; reading them more often will do no harm, but will return 'old'
|
second; reading them more often will do no harm, but will return 'old'
|
||||||
values.
|
values.
|
||||||
|
|
||||||
|
The LM64 is effectively an LM63 with GPIO lines. The driver does not
|
||||||
|
support these GPIO lines at present.
|
||||||
|
@ -72,9 +72,7 @@ in6_min_alarm 5v output undervoltage alarm
|
|||||||
in7_min_alarm 3v output undervoltage alarm
|
in7_min_alarm 3v output undervoltage alarm
|
||||||
in8_min_alarm Vee (-12v) output undervoltage alarm
|
in8_min_alarm Vee (-12v) output undervoltage alarm
|
||||||
|
|
||||||
in9_input GPIO #1 voltage data
|
in9_input GPIO voltage data
|
||||||
in10_input GPIO #2 voltage data
|
|
||||||
in11_input GPIO #3 voltage data
|
|
||||||
|
|
||||||
power1_input 12v power usage (mW)
|
power1_input 12v power usage (mW)
|
||||||
power2_input 5v power usage (mW)
|
power2_input 5v power usage (mW)
|
||||||
|
@ -80,9 +80,9 @@ All entries (except name) are optional, and should only be created in a
|
|||||||
given driver if the chip has the feature.
|
given driver if the chip has the feature.
|
||||||
|
|
||||||
|
|
||||||
********
|
*********************
|
||||||
* Name *
|
* Global attributes *
|
||||||
********
|
*********************
|
||||||
|
|
||||||
name The chip name.
|
name The chip name.
|
||||||
This should be a short, lowercase string, not containing
|
This should be a short, lowercase string, not containing
|
||||||
@ -91,6 +91,13 @@ name The chip name.
|
|||||||
I2C devices get this attribute created automatically.
|
I2C devices get this attribute created automatically.
|
||||||
RO
|
RO
|
||||||
|
|
||||||
|
update_rate The rate at which the chip will update readings.
|
||||||
|
Unit: millisecond
|
||||||
|
RW
|
||||||
|
Some devices have a variable update rate. This attribute
|
||||||
|
can be used to change the update rate to the desired
|
||||||
|
frequency.
|
||||||
|
|
||||||
|
|
||||||
************
|
************
|
||||||
* Voltages *
|
* Voltages *
|
||||||
|
26
Documentation/hwmon/tmp102
Normal file
26
Documentation/hwmon/tmp102
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Kernel driver tmp102
|
||||||
|
====================
|
||||||
|
|
||||||
|
Supported chips:
|
||||||
|
* Texas Instruments TMP102
|
||||||
|
Prefix: 'tmp102'
|
||||||
|
Addresses scanned: none
|
||||||
|
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp102.html
|
||||||
|
|
||||||
|
Author:
|
||||||
|
Steven King <sfking@fdwdc.com>
|
||||||
|
|
||||||
|
Description
|
||||||
|
-----------
|
||||||
|
|
||||||
|
The Texas Instruments TMP102 implements one temperature sensor. Limits can be
|
||||||
|
set through the Overtemperature Shutdown register and Hysteresis register. The
|
||||||
|
sensor is accurate to 0.5 degree over the range of -25 to +85 C, and to 1.0
|
||||||
|
degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The
|
||||||
|
operating temperature has a minimum of -55 C and a maximum of +150 C.
|
||||||
|
|
||||||
|
The TMP102 has a programmable update rate that can select between 8, 4, 1, and
|
||||||
|
0.5 Hz. (Currently the driver only supports the default of 4 Hz).
|
||||||
|
|
||||||
|
The driver provides the common sysfs-interface for temperatures (see
|
||||||
|
Documentation/hwmon/sysfs-interface under Temperatures).
|
@ -145,11 +145,10 @@ and is between 256 and 4096 characters. It is defined in the file
|
|||||||
|
|
||||||
acpi= [HW,ACPI,X86]
|
acpi= [HW,ACPI,X86]
|
||||||
Advanced Configuration and Power Interface
|
Advanced Configuration and Power Interface
|
||||||
Format: { force | off | ht | strict | noirq | rsdt }
|
Format: { force | off | strict | noirq | rsdt }
|
||||||
force -- enable ACPI if default was off
|
force -- enable ACPI if default was off
|
||||||
off -- disable ACPI if default was on
|
off -- disable ACPI if default was on
|
||||||
noirq -- do not use ACPI for IRQ routing
|
noirq -- do not use ACPI for IRQ routing
|
||||||
ht -- run only enough ACPI to enable Hyper Threading
|
|
||||||
strict -- Be less tolerant of platforms that are not
|
strict -- Be less tolerant of platforms that are not
|
||||||
strictly ACPI specification compliant.
|
strictly ACPI specification compliant.
|
||||||
rsdt -- prefer RSDT over (default) XSDT
|
rsdt -- prefer RSDT over (default) XSDT
|
||||||
@ -758,6 +757,10 @@ and is between 256 and 4096 characters. It is defined in the file
|
|||||||
Default value is 0.
|
Default value is 0.
|
||||||
Value can be changed at runtime via /selinux/enforce.
|
Value can be changed at runtime via /selinux/enforce.
|
||||||
|
|
||||||
|
erst_disable [ACPI]
|
||||||
|
Disable Error Record Serialization Table (ERST)
|
||||||
|
support.
|
||||||
|
|
||||||
ether= [HW,NET] Ethernet cards parameters
|
ether= [HW,NET] Ethernet cards parameters
|
||||||
This option is obsoleted by the "netdev=" option, which
|
This option is obsoleted by the "netdev=" option, which
|
||||||
has equivalent usage. See its documentation for details.
|
has equivalent usage. See its documentation for details.
|
||||||
@ -852,6 +855,11 @@ and is between 256 and 4096 characters. It is defined in the file
|
|||||||
hd= [EIDE] (E)IDE hard drive subsystem geometry
|
hd= [EIDE] (E)IDE hard drive subsystem geometry
|
||||||
Format: <cyl>,<head>,<sect>
|
Format: <cyl>,<head>,<sect>
|
||||||
|
|
||||||
|
hest_disable [ACPI]
|
||||||
|
Disable Hardware Error Source Table (HEST) support;
|
||||||
|
corresponding firmware-first mode error processing
|
||||||
|
logic will be disabled.
|
||||||
|
|
||||||
highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact
|
highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact
|
||||||
size of <nn>. This works even on boxes that have no
|
size of <nn>. This works even on boxes that have no
|
||||||
highmem otherwise. This also works to reduce highmem
|
highmem otherwise. This also works to reduce highmem
|
||||||
@ -1252,6 +1260,8 @@ and is between 256 and 4096 characters. It is defined in the file
|
|||||||
* nohrst, nosrst, norst: suppress hard, soft
|
* nohrst, nosrst, norst: suppress hard, soft
|
||||||
and both resets.
|
and both resets.
|
||||||
|
|
||||||
|
* dump_id: dump IDENTIFY data.
|
||||||
|
|
||||||
If there are multiple matching configurations changing
|
If there are multiple matching configurations changing
|
||||||
the same attribute, the last one is used.
|
the same attribute, the last one is used.
|
||||||
|
|
||||||
|
@ -1,41 +1,149 @@
|
|||||||
Started Nov 1999 by Kanoj Sarcar <kanoj@sgi.com>
|
Started Nov 1999 by Kanoj Sarcar <kanoj@sgi.com>
|
||||||
|
|
||||||
The intent of this file is to have an uptodate, running commentary
|
What is NUMA?
|
||||||
from different people about NUMA specific code in the Linux vm.
|
|
||||||
|
|
||||||
What is NUMA? It is an architecture where the memory access times
|
This question can be answered from a couple of perspectives: the
|
||||||
for different regions of memory from a given processor varies
|
hardware view and the Linux software view.
|
||||||
according to the "distance" of the memory region from the processor.
|
|
||||||
Each region of memory to which access times are the same from any
|
|
||||||
cpu, is called a node. On such architectures, it is beneficial if
|
|
||||||
the kernel tries to minimize inter node communications. Schemes
|
|
||||||
for this range from kernel text and read-only data replication
|
|
||||||
across nodes, and trying to house all the data structures that
|
|
||||||
key components of the kernel need on memory on that node.
|
|
||||||
|
|
||||||
Currently, all the numa support is to provide efficient handling
|
From the hardware perspective, a NUMA system is a computer platform that
|
||||||
of widely discontiguous physical memory, so architectures which
|
comprises multiple components or assemblies each of which may contain 0
|
||||||
are not NUMA but can have huge holes in the physical address space
|
or more CPUs, local memory, and/or IO buses. For brevity and to
|
||||||
can use the same code. All this code is bracketed by CONFIG_DISCONTIGMEM.
|
disambiguate the hardware view of these physical components/assemblies
|
||||||
|
from the software abstraction thereof, we'll call the components/assemblies
|
||||||
|
'cells' in this document.
|
||||||
|
|
||||||
The initial port includes NUMAizing the bootmem allocator code by
|
Each of the 'cells' may be viewed as an SMP [symmetric multi-processor] subset
|
||||||
encapsulating all the pieces of information into a bootmem_data_t
|
of the system--although some components necessary for a stand-alone SMP system
|
||||||
structure. Node specific calls have been added to the allocator.
|
may not be populated on any given cell. The cells of the NUMA system are
|
||||||
In theory, any platform which uses the bootmem allocator should
|
connected together with some sort of system interconnect--e.g., a crossbar or
|
||||||
be able to put the bootmem and mem_map data structures anywhere
|
point-to-point link are common types of NUMA system interconnects. Both of
|
||||||
it deems best.
|
these types of interconnects can be aggregated to create NUMA platforms with
|
||||||
|
cells at multiple distances from other cells.
|
||||||
|
|
||||||
Each node's page allocation data structures have also been encapsulated
|
For Linux, the NUMA platforms of interest are primarily what is known as Cache
|
||||||
into a pg_data_t. The bootmem_data_t is just one part of this. To
|
Coherent NUMA or ccNUMA systems. With ccNUMA systems, all memory is visible
|
||||||
make the code look uniform between NUMA and regular UMA platforms,
|
to and accessible from any CPU attached to any cell and cache coherency
|
||||||
UMA platforms have a statically allocated pg_data_t too (contig_page_data).
|
is handled in hardware by the processor caches and/or the system interconnect.
|
||||||
For the sake of uniformity, the function num_online_nodes() is also defined
|
|
||||||
for all platforms. As we run benchmarks, we might decide to NUMAize
|
|
||||||
more variables like low_on_memory, nr_free_pages etc into the pg_data_t.
|
|
||||||
|
|
||||||
The NUMA aware page allocation code currently tries to allocate pages
|
Memory access time and effective memory bandwidth varies depending on how far
|
||||||
from different nodes in a round robin manner. This will be changed to
|
away the cell containing the CPU or IO bus making the memory access is from the
|
||||||
do concentratic circle search, starting from current node, once the
|
cell containing the target memory. For example, access to memory by CPUs
|
||||||
NUMA port achieves more maturity. The call alloc_pages_node has been
|
attached to the same cell will experience faster access times and higher
|
||||||
added, so that drivers can make the call and not worry about whether
|
bandwidths than accesses to memory on other, remote cells. NUMA platforms
|
||||||
it is running on a NUMA or UMA platform.
|
can have cells at multiple remote distances from any given cell.
|
||||||
|
|
||||||
|
Platform vendors don't build NUMA systems just to make software developers'
|
||||||
|
lives interesting. Rather, this architecture is a means to provide scalable
|
||||||
|
memory bandwidth. However, to achieve scalable memory bandwidth, system and
|
||||||
|
application software must arrange for a large majority of the memory references
|
||||||
|
[cache misses] to be to "local" memory--memory on the same cell, if any--or
|
||||||
|
to the closest cell with memory.
|
||||||
|
|
||||||
|
This leads to the Linux software view of a NUMA system:
|
||||||
|
|
||||||
|
Linux divides the system's hardware resources into multiple software
|
||||||
|
abstractions called "nodes". Linux maps the nodes onto the physical cells
|
||||||
|
of the hardware platform, abstracting away some of the details for some
|
||||||
|
architectures. As with physical cells, software nodes may contain 0 or more
|
||||||
|
CPUs, memory and/or IO buses. And, again, memory accesses to memory on
|
||||||
|
"closer" nodes--nodes that map to closer cells--will generally experience
|
||||||
|
faster access times and higher effective bandwidth than accesses to more
|
||||||
|
remote cells.
|
||||||
|
|
||||||
|
For some architectures, such as x86, Linux will "hide" any node representing a
|
||||||
|
physical cell that has no memory attached, and reassign any CPUs attached to
|
||||||
|
that cell to a node representing a cell that does have memory. Thus, on
|
||||||
|
these architectures, one cannot assume that all CPUs that Linux associates with
|
||||||
|
a given node will see the same local memory access times and bandwidth.
|
||||||
|
|
||||||
|
In addition, for some architectures, again x86 is an example, Linux supports
|
||||||
|
the emulation of additional nodes. For NUMA emulation, linux will carve up
|
||||||
|
the existing nodes--or the system memory for non-NUMA platforms--into multiple
|
||||||
|
nodes. Each emulated node will manage a fraction of the underlying cells'
|
||||||
|
physical memory. NUMA emluation is useful for testing NUMA kernel and
|
||||||
|
application features on non-NUMA platforms, and as a sort of memory resource
|
||||||
|
management mechanism when used together with cpusets.
|
||||||
|
[see Documentation/cgroups/cpusets.txt]
|
||||||
|
|
||||||
|
For each node with memory, Linux constructs an independent memory management
|
||||||
|
subsystem, complete with its own free page lists, in-use page lists, usage
|
||||||
|
statistics and locks to mediate access. In addition, Linux constructs for
|
||||||
|
each memory zone [one or more of DMA, DMA32, NORMAL, HIGH_MEMORY, MOVABLE],
|
||||||
|
an ordered "zonelist". A zonelist specifies the zones/nodes to visit when a
|
||||||
|
selected zone/node cannot satisfy the allocation request. This situation,
|
||||||
|
when a zone has no available memory to satisfy a request, is called
|
||||||
|
"overflow" or "fallback".
|
||||||
|
|
||||||
|
Because some nodes contain multiple zones containing different types of
|
||||||
|
memory, Linux must decide whether to order the zonelists such that allocations
|
||||||
|
fall back to the same zone type on a different node, or to a different zone
|
||||||
|
type on the same node. This is an important consideration because some zones,
|
||||||
|
such as DMA or DMA32, represent relatively scarce resources. Linux chooses
|
||||||
|
a default zonelist order based on the sizes of the various zone types relative
|
||||||
|
to the total memory of the node and the total memory of the system. The
|
||||||
|
default zonelist order may be overridden using the numa_zonelist_order kernel
|
||||||
|
boot parameter or sysctl. [see Documentation/kernel-parameters.txt and
|
||||||
|
Documentation/sysctl/vm.txt]
|
||||||
|
|
||||||
|
By default, Linux will attempt to satisfy memory allocation requests from the
|
||||||
|
node to which the CPU that executes the request is assigned. Specifically,
|
||||||
|
Linux will attempt to allocate from the first node in the appropriate zonelist
|
||||||
|
for the node where the request originates. This is called "local allocation."
|
||||||
|
If the "local" node cannot satisfy the request, the kernel will examine other
|
||||||
|
nodes' zones in the selected zonelist looking for the first zone in the list
|
||||||
|
that can satisfy the request.
|
||||||
|
|
||||||
|
Local allocation will tend to keep subsequent access to the allocated memory
|
||||||
|
"local" to the underlying physical resources and off the system interconnect--
|
||||||
|
as long as the task on whose behalf the kernel allocated some memory does not
|
||||||
|
later migrate away from that memory. The Linux scheduler is aware of the
|
||||||
|
NUMA topology of the platform--embodied in the "scheduling domains" data
|
||||||
|
structures [see Documentation/scheduler/sched-domains.txt]--and the scheduler
|
||||||
|
attempts to minimize task migration to distant scheduling domains. However,
|
||||||
|
the scheduler does not take a task's NUMA footprint into account directly.
|
||||||
|
Thus, under sufficient imbalance, tasks can migrate between nodes, remote
|
||||||
|
from their initial node and kernel data structures.
|
||||||
|
|
||||||
|
System administrators and application designers can restrict a task's migration
|
||||||
|
to improve NUMA locality using various CPU affinity command line interfaces,
|
||||||
|
such as taskset(1) and numactl(1), and program interfaces such as
|
||||||
|
sched_setaffinity(2). Further, one can modify the kernel's default local
|
||||||
|
allocation behavior using Linux NUMA memory policy.
|
||||||
|
[see Documentation/vm/numa_memory_policy.]
|
||||||
|
|
||||||
|
System administrators can restrict the CPUs and nodes' memories that a non-
|
||||||
|
privileged user can specify in the scheduling or NUMA commands and functions
|
||||||
|
using control groups and CPUsets. [see Documentation/cgroups/CPUsets.txt]
|
||||||
|
|
||||||
|
On architectures that do not hide memoryless nodes, Linux will include only
|
||||||
|
zones [nodes] with memory in the zonelists. This means that for a memoryless
|
||||||
|
node the "local memory node"--the node of the first zone in CPU's node's
|
||||||
|
zonelist--will not be the node itself. Rather, it will be the node that the
|
||||||
|
kernel selected as the nearest node with memory when it built the zonelists.
|
||||||
|
So, default, local allocations will succeed with the kernel supplying the
|
||||||
|
closest available memory. This is a consequence of the same mechanism that
|
||||||
|
allows such allocations to fallback to other nearby nodes when a node that
|
||||||
|
does contain memory overflows.
|
||||||
|
|
||||||
|
Some kernel allocations do not want or cannot tolerate this allocation fallback
|
||||||
|
behavior. Rather they want to be sure they get memory from the specified node
|
||||||
|
or get notified that the node has no free memory. This is usually the case when
|
||||||
|
a subsystem allocates per CPU memory resources, for example.
|
||||||
|
|
||||||
|
A typical model for making such an allocation is to obtain the node id of the
|
||||||
|
node to which the "current CPU" is attached using one of the kernel's
|
||||||
|
numa_node_id() or CPU_to_node() functions and then request memory from only
|
||||||
|
the node id returned. When such an allocation fails, the requesting subsystem
|
||||||
|
may revert to its own fallback path. The slab kernel memory allocator is an
|
||||||
|
example of this. Or, the subsystem may choose to disable or not to enable
|
||||||
|
itself on allocation failure. The kernel profiling subsystem is an example of
|
||||||
|
this.
|
||||||
|
|
||||||
|
If the architecture supports--does not hide--memoryless nodes, then CPUs
|
||||||
|
attached to memoryless nodes would always incur the fallback path overhead
|
||||||
|
or some subsystems would fail to initialize if they attempted to allocated
|
||||||
|
memory exclusively from a node without memory. To support such
|
||||||
|
architectures transparently, kernel subsystems can use the numa_mem_id()
|
||||||
|
or cpu_to_mem() function to locate the "local memory node" for the calling or
|
||||||
|
specified CPU. Again, this is the same node from which default, local page
|
||||||
|
allocations will be attempted.
|
||||||
|
28
MAINTAINERS
28
MAINTAINERS
@ -969,6 +969,18 @@ M: Wan ZongShun <mcuos.com@gmail.com>
|
|||||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||||
W: http://www.mcuos.com
|
W: http://www.mcuos.com
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
F: arch/arm/mach-w90x900/
|
||||||
|
F: arch/arm/mach-nuc93x/
|
||||||
|
F: drivers/input/keyboard/w90p910_keypad.c
|
||||||
|
F: drivers/input/touchscreen/w90p910_ts.c
|
||||||
|
F: drivers/watchdog/nuc900_wdt.c
|
||||||
|
F: drivers/net/arm/w90p910_ether.c
|
||||||
|
F: drivers/mtd/nand/w90p910_nand.c
|
||||||
|
F: drivers/rtc/rtc-nuc900.c
|
||||||
|
F: drivers/spi/spi_nuc900.c
|
||||||
|
F: drivers/usb/host/ehci-w90x900.c
|
||||||
|
F: drivers/video/nuc900fb.c
|
||||||
|
F: drivers/sound/soc/nuc900/
|
||||||
|
|
||||||
ARM/U300 MACHINE SUPPORT
|
ARM/U300 MACHINE SUPPORT
|
||||||
M: Linus Walleij <linus.walleij@stericsson.com>
|
M: Linus Walleij <linus.walleij@stericsson.com>
|
||||||
@ -2875,6 +2887,13 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
|
|||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/input/
|
F: drivers/input/
|
||||||
|
|
||||||
|
INTEL IDLE DRIVER
|
||||||
|
M: Len Brown <lenb@kernel.org>
|
||||||
|
L: linux-pm@lists.linux-foundation.org
|
||||||
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-idle-2.6.git
|
||||||
|
S: Supported
|
||||||
|
F: drivers/idle/intel_idle.c
|
||||||
|
|
||||||
INTEL FRAMEBUFFER DRIVER (excluding 810 and 815)
|
INTEL FRAMEBUFFER DRIVER (excluding 810 and 815)
|
||||||
M: Maik Broemme <mbroemme@plusserver.de>
|
M: Maik Broemme <mbroemme@plusserver.de>
|
||||||
L: linux-fbdev@vger.kernel.org
|
L: linux-fbdev@vger.kernel.org
|
||||||
@ -4824,6 +4843,9 @@ W: http://www.ibm.com/developerworks/linux/linux390/
|
|||||||
S: Supported
|
S: Supported
|
||||||
F: arch/s390/
|
F: arch/s390/
|
||||||
F: drivers/s390/
|
F: drivers/s390/
|
||||||
|
F: fs/partitions/ibm.c
|
||||||
|
F: Documentation/s390/
|
||||||
|
F: Documentation/DocBook/s390*
|
||||||
|
|
||||||
S390 NETWORK DRIVERS
|
S390 NETWORK DRIVERS
|
||||||
M: Ursula Braun <ursula.braun@de.ibm.com>
|
M: Ursula Braun <ursula.braun@de.ibm.com>
|
||||||
@ -4992,6 +5014,12 @@ L: linux-mmc@vger.kernel.org
|
|||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/mmc/host/sdhci-s3c.c
|
F: drivers/mmc/host/sdhci-s3c.c
|
||||||
|
|
||||||
|
SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) ST SPEAR DRIVER
|
||||||
|
M: Viresh Kumar <viresh.kumar@st.com>
|
||||||
|
L: linux-mmc@vger.kernel.org
|
||||||
|
S: Maintained
|
||||||
|
F: drivers/mmc/host/sdhci-spear.c
|
||||||
|
|
||||||
SECURITY SUBSYSTEM
|
SECURITY SUBSYSTEM
|
||||||
M: James Morris <jmorris@namei.org>
|
M: James Morris <jmorris@namei.org>
|
||||||
L: linux-security-module@vger.kernel.org (suggested Cc:)
|
L: linux-security-module@vger.kernel.org (suggested Cc:)
|
||||||
|
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
|||||||
VERSION = 2
|
VERSION = 2
|
||||||
PATCHLEVEL = 6
|
PATCHLEVEL = 6
|
||||||
SUBLEVEL = 34
|
SUBLEVEL = 35
|
||||||
EXTRAVERSION =
|
EXTRAVERSION = -rc1
|
||||||
NAME = Sheep on Meth
|
NAME = Sheep on Meth
|
||||||
|
|
||||||
# *DOCUMENTATION*
|
# *DOCUMENTATION*
|
||||||
|
@ -61,6 +61,9 @@ config ZONE_DMA
|
|||||||
config NEED_DMA_MAP_STATE
|
config NEED_DMA_MAP_STATE
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
|
config NEED_SG_DMA_LENGTH
|
||||||
|
def_bool y
|
||||||
|
|
||||||
config GENERIC_ISA_DMA
|
config GENERIC_ISA_DMA
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@ -1,24 +1,7 @@
|
|||||||
#ifndef _ALPHA_SCATTERLIST_H
|
#ifndef _ALPHA_SCATTERLIST_H
|
||||||
#define _ALPHA_SCATTERLIST_H
|
#define _ALPHA_SCATTERLIST_H
|
||||||
|
|
||||||
#include <asm/page.h>
|
#include <asm-generic/scatterlist.h>
|
||||||
#include <asm/types.h>
|
|
||||||
|
|
||||||
struct scatterlist {
|
|
||||||
#ifdef CONFIG_DEBUG_SG
|
|
||||||
unsigned long sg_magic;
|
|
||||||
#endif
|
|
||||||
unsigned long page_link;
|
|
||||||
unsigned int offset;
|
|
||||||
|
|
||||||
unsigned int length;
|
|
||||||
|
|
||||||
dma_addr_t dma_address;
|
|
||||||
__u32 dma_length;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define sg_dma_address(sg) ((sg)->dma_address)
|
|
||||||
#define sg_dma_len(sg) ((sg)->dma_length)
|
|
||||||
|
|
||||||
#define ISA_DMA_THRESHOLD (~0UL)
|
#define ISA_DMA_THRESHOLD (~0UL)
|
||||||
|
|
||||||
|
@ -28,3 +28,8 @@ extern unsigned long __udiv_qrnnd (unsigned long *, unsigned long,
|
|||||||
#define UDIV_NEEDS_NORMALIZATION 1
|
#define UDIV_NEEDS_NORMALIZATION 1
|
||||||
|
|
||||||
#define abort() goto bad_insn
|
#define abort() goto bad_insn
|
||||||
|
|
||||||
|
#ifndef __LITTLE_ENDIAN
|
||||||
|
#define __LITTLE_ENDIAN -1
|
||||||
|
#endif
|
||||||
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||||
|
@ -145,8 +145,8 @@ machine-$(CONFIG_ARCH_LOKI) := loki
|
|||||||
machine-$(CONFIG_ARCH_MMP) := mmp
|
machine-$(CONFIG_ARCH_MMP) := mmp
|
||||||
machine-$(CONFIG_ARCH_MSM) := msm
|
machine-$(CONFIG_ARCH_MSM) := msm
|
||||||
machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0
|
machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0
|
||||||
machine-$(CONFIG_ARCH_MX1) := mx1
|
machine-$(CONFIG_ARCH_MX1) := imx
|
||||||
machine-$(CONFIG_ARCH_MX2) := mx2
|
machine-$(CONFIG_ARCH_MX2) := imx
|
||||||
machine-$(CONFIG_ARCH_MX25) := mx25
|
machine-$(CONFIG_ARCH_MX25) := mx25
|
||||||
machine-$(CONFIG_ARCH_MX3) := mx3
|
machine-$(CONFIG_ARCH_MX3) := mx3
|
||||||
machine-$(CONFIG_ARCH_MX5) := mx5
|
machine-$(CONFIG_ARCH_MX5) := mx5
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.34
|
# Linux kernel version: 2.6.34
|
||||||
# Sat May 22 03:17:31 2010
|
# Fri May 28 19:15:48 2010
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_HAVE_PWM=y
|
CONFIG_HAVE_PWM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
CONFIG_GENERIC_GPIO=y
|
CONFIG_GENERIC_GPIO=y
|
||||||
|
CONFIG_GENERIC_TIME=y
|
||||||
|
CONFIG_ARCH_USES_GETTIMEOFFSET=y
|
||||||
CONFIG_HAVE_PROC_CPU=y
|
CONFIG_HAVE_PROC_CPU=y
|
||||||
CONFIG_NO_IOPORT=y
|
CONFIG_NO_IOPORT=y
|
||||||
CONFIG_GENERIC_HARDIRQS=y
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
@ -35,6 +37,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
|||||||
CONFIG_LOCALVERSION=""
|
CONFIG_LOCALVERSION=""
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
CONFIG_HAVE_KERNEL_LZO=y
|
CONFIG_HAVE_KERNEL_LZO=y
|
||||||
CONFIG_KERNEL_GZIP=y
|
CONFIG_KERNEL_GZIP=y
|
||||||
# CONFIG_KERNEL_BZIP2 is not set
|
# CONFIG_KERNEL_BZIP2 is not set
|
||||||
@ -186,9 +189,11 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
# CONFIG_ARCH_AT91 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_BCMRING is not set
|
# CONFIG_ARCH_BCMRING is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
|
# CONFIG_ARCH_CNS3XXX is not set
|
||||||
# CONFIG_ARCH_GEMINI is not set
|
# CONFIG_ARCH_GEMINI is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
@ -224,7 +229,7 @@ CONFIG_ARCH_S3C2410=y
|
|||||||
# CONFIG_ARCH_S3C64XX is not set
|
# CONFIG_ARCH_S3C64XX is not set
|
||||||
# CONFIG_ARCH_S5P6440 is not set
|
# CONFIG_ARCH_S5P6440 is not set
|
||||||
# CONFIG_ARCH_S5P6442 is not set
|
# CONFIG_ARCH_S5P6442 is not set
|
||||||
# CONFIG_ARCH_S5PC1XX is not set
|
# CONFIG_ARCH_S5PC100 is not set
|
||||||
# CONFIG_ARCH_S5PV210 is not set
|
# CONFIG_ARCH_S5PV210 is not set
|
||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
@ -233,6 +238,7 @@ CONFIG_ARCH_S3C2410=y
|
|||||||
# CONFIG_ARCH_NOMADIK is not set
|
# CONFIG_ARCH_NOMADIK is not set
|
||||||
# CONFIG_ARCH_DAVINCI is not set
|
# CONFIG_ARCH_DAVINCI is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
|
# CONFIG_PLAT_SPEAR is not set
|
||||||
CONFIG_PLAT_SAMSUNG=y
|
CONFIG_PLAT_SAMSUNG=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -243,11 +249,18 @@ CONFIG_S3C_BOOT_ERROR_RESET=y
|
|||||||
CONFIG_S3C_BOOT_UART_FORCE_FIFO=y
|
CONFIG_S3C_BOOT_UART_FORCE_FIFO=y
|
||||||
CONFIG_S3C_LOWLEVEL_UART_PORT=0
|
CONFIG_S3C_LOWLEVEL_UART_PORT=0
|
||||||
CONFIG_SAMSUNG_CLKSRC=y
|
CONFIG_SAMSUNG_CLKSRC=y
|
||||||
|
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
||||||
|
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
||||||
|
CONFIG_S3C_GPIO_PULL_UP=y
|
||||||
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
||||||
CONFIG_S3C_GPIO_SPACE=0
|
CONFIG_S3C_GPIO_SPACE=0
|
||||||
CONFIG_S3C_ADC=y
|
CONFIG_S3C_ADC=y
|
||||||
CONFIG_S3C_DEV_HSMMC=y
|
CONFIG_S3C_DEV_HSMMC=y
|
||||||
|
CONFIG_S3C_DEV_HSMMC1=y
|
||||||
|
CONFIG_S3C_DEV_HWMON=y
|
||||||
|
CONFIG_S3C_DEV_FB=y
|
||||||
CONFIG_S3C_DEV_USB_HOST=y
|
CONFIG_S3C_DEV_USB_HOST=y
|
||||||
|
CONFIG_S3C_DEV_WDT=y
|
||||||
CONFIG_S3C_DEV_NAND=y
|
CONFIG_S3C_DEV_NAND=y
|
||||||
CONFIG_S3C_DMA=y
|
CONFIG_S3C_DMA=y
|
||||||
|
|
||||||
@ -260,6 +273,7 @@ CONFIG_PLAT_S3C24XX=y
|
|||||||
CONFIG_CPU_LLSERIAL_S3C2410=y
|
CONFIG_CPU_LLSERIAL_S3C2410=y
|
||||||
CONFIG_CPU_LLSERIAL_S3C2440=y
|
CONFIG_CPU_LLSERIAL_S3C2440=y
|
||||||
CONFIG_S3C2410_CLOCK=y
|
CONFIG_S3C2410_CLOCK=y
|
||||||
|
CONFIG_S3C2443_CLOCK=y
|
||||||
CONFIG_S3C24XX_DCLK=y
|
CONFIG_S3C24XX_DCLK=y
|
||||||
CONFIG_S3C24XX_PWM=y
|
CONFIG_S3C24XX_PWM=y
|
||||||
CONFIG_S3C24XX_GPIO_EXTRA=128
|
CONFIG_S3C24XX_GPIO_EXTRA=128
|
||||||
@ -270,6 +284,7 @@ CONFIG_S3C2410_DMA=y
|
|||||||
# CONFIG_S3C2410_DMA_DEBUG is not set
|
# CONFIG_S3C2410_DMA_DEBUG is not set
|
||||||
CONFIG_MACH_SMDK=y
|
CONFIG_MACH_SMDK=y
|
||||||
CONFIG_S3C24XX_SIMTEC_AUDIO=y
|
CONFIG_S3C24XX_SIMTEC_AUDIO=y
|
||||||
|
CONFIG_S3C2410_SETUP_TS=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# S3C2400 Machines
|
# S3C2400 Machines
|
||||||
@ -289,6 +304,7 @@ CONFIG_ARCH_H1940=y
|
|||||||
# CONFIG_H1940BT is not set
|
# CONFIG_H1940BT is not set
|
||||||
CONFIG_PM_H1940=y
|
CONFIG_PM_H1940=y
|
||||||
CONFIG_MACH_N30=y
|
CONFIG_MACH_N30=y
|
||||||
|
CONFIG_MACH_N35=y
|
||||||
CONFIG_ARCH_BAST=y
|
CONFIG_ARCH_BAST=y
|
||||||
CONFIG_MACH_OTOM=y
|
CONFIG_MACH_OTOM=y
|
||||||
CONFIG_MACH_AML_M5900=y
|
CONFIG_MACH_AML_M5900=y
|
||||||
@ -309,6 +325,13 @@ CONFIG_MACH_SMDK2413=y
|
|||||||
CONFIG_MACH_S3C2413=y
|
CONFIG_MACH_S3C2413=y
|
||||||
CONFIG_MACH_SMDK2412=y
|
CONFIG_MACH_SMDK2412=y
|
||||||
CONFIG_MACH_VSTMS=y
|
CONFIG_MACH_VSTMS=y
|
||||||
|
CONFIG_CPU_S3C2416=y
|
||||||
|
CONFIG_S3C2416_DMA=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# S3C2416 Machines
|
||||||
|
#
|
||||||
|
CONFIG_MACH_SMDK2416=y
|
||||||
CONFIG_CPU_S3C2440=y
|
CONFIG_CPU_S3C2440=y
|
||||||
CONFIG_CPU_S3C2442=y
|
CONFIG_CPU_S3C2442=y
|
||||||
CONFIG_CPU_S3C244X=y
|
CONFIG_CPU_S3C244X=y
|
||||||
@ -320,9 +343,9 @@ CONFIG_S3C2440_DMA=y
|
|||||||
# S3C2440 and S3C2442 Machines
|
# S3C2440 and S3C2442 Machines
|
||||||
#
|
#
|
||||||
CONFIG_MACH_ANUBIS=y
|
CONFIG_MACH_ANUBIS=y
|
||||||
# CONFIG_MACH_NEO1973_GTA02 is not set
|
CONFIG_MACH_NEO1973_GTA02=y
|
||||||
CONFIG_MACH_OSIRIS=y
|
CONFIG_MACH_OSIRIS=y
|
||||||
# CONFIG_MACH_OSIRIS_DVS is not set
|
CONFIG_MACH_OSIRIS_DVS=m
|
||||||
CONFIG_MACH_RX3715=y
|
CONFIG_MACH_RX3715=y
|
||||||
CONFIG_ARCH_S3C2440=y
|
CONFIG_ARCH_S3C2440=y
|
||||||
CONFIG_MACH_NEXCODER_2440=y
|
CONFIG_MACH_NEXCODER_2440=y
|
||||||
@ -330,6 +353,7 @@ CONFIG_SMDK2440_CPU2440=y
|
|||||||
CONFIG_SMDK2440_CPU2442=y
|
CONFIG_SMDK2440_CPU2442=y
|
||||||
CONFIG_MACH_AT2440EVB=y
|
CONFIG_MACH_AT2440EVB=y
|
||||||
CONFIG_MACH_MINI2440=y
|
CONFIG_MACH_MINI2440=y
|
||||||
|
CONFIG_MACH_RX1950=y
|
||||||
CONFIG_CPU_S3C2443=y
|
CONFIG_CPU_S3C2443=y
|
||||||
CONFIG_S3C2443_DMA=y
|
CONFIG_S3C2443_DMA=y
|
||||||
|
|
||||||
@ -410,6 +434,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||||
CONFIG_CMDLINE="root=/dev/hda1 ro init=/bin/bash console=ttySAC0"
|
CONFIG_CMDLINE="root=/dev/hda1 ro init=/bin/bash console=ttySAC0"
|
||||||
|
# CONFIG_CMDLINE_FORCE is not set
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@ -509,7 +534,9 @@ CONFIG_TCP_CONG_ILLINOIS=m
|
|||||||
# CONFIG_DEFAULT_BIC is not set
|
# CONFIG_DEFAULT_BIC is not set
|
||||||
CONFIG_DEFAULT_CUBIC=y
|
CONFIG_DEFAULT_CUBIC=y
|
||||||
# CONFIG_DEFAULT_HTCP is not set
|
# CONFIG_DEFAULT_HTCP is not set
|
||||||
|
# CONFIG_DEFAULT_HYBLA is not set
|
||||||
# CONFIG_DEFAULT_VEGAS is not set
|
# CONFIG_DEFAULT_VEGAS is not set
|
||||||
|
# CONFIG_DEFAULT_VENO is not set
|
||||||
# CONFIG_DEFAULT_WESTWOOD is not set
|
# CONFIG_DEFAULT_WESTWOOD is not set
|
||||||
# CONFIG_DEFAULT_RENO is not set
|
# CONFIG_DEFAULT_RENO is not set
|
||||||
CONFIG_DEFAULT_TCP_CONG="cubic"
|
CONFIG_DEFAULT_TCP_CONG="cubic"
|
||||||
@ -566,6 +593,16 @@ CONFIG_NF_CONNTRACK_TFTP=m
|
|||||||
CONFIG_NF_CT_NETLINK=m
|
CONFIG_NF_CT_NETLINK=m
|
||||||
# CONFIG_NETFILTER_TPROXY is not set
|
# CONFIG_NETFILTER_TPROXY is not set
|
||||||
CONFIG_NETFILTER_XTABLES=m
|
CONFIG_NETFILTER_XTABLES=m
|
||||||
|
|
||||||
|
#
|
||||||
|
# Xtables combined modules
|
||||||
|
#
|
||||||
|
CONFIG_NETFILTER_XT_MARK=m
|
||||||
|
CONFIG_NETFILTER_XT_CONNMARK=m
|
||||||
|
|
||||||
|
#
|
||||||
|
# Xtables targets
|
||||||
|
#
|
||||||
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
|
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
|
||||||
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
|
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
|
||||||
# CONFIG_NETFILTER_XT_TARGET_CT is not set
|
# CONFIG_NETFILTER_XT_TARGET_CT is not set
|
||||||
@ -577,9 +614,14 @@ CONFIG_NETFILTER_XT_TARGET_NFLOG=m
|
|||||||
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
|
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
|
||||||
# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
|
# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
|
||||||
CONFIG_NETFILTER_XT_TARGET_RATEEST=m
|
CONFIG_NETFILTER_XT_TARGET_RATEEST=m
|
||||||
|
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
|
||||||
# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
|
# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
|
||||||
CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
|
CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
|
||||||
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
|
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Xtables matches
|
||||||
|
#
|
||||||
CONFIG_NETFILTER_XT_MATCH_CLUSTER=m
|
CONFIG_NETFILTER_XT_MATCH_CLUSTER=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
|
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
|
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
|
||||||
@ -598,6 +640,7 @@ CONFIG_NETFILTER_XT_MATCH_LIMIT=m
|
|||||||
CONFIG_NETFILTER_XT_MATCH_MAC=m
|
CONFIG_NETFILTER_XT_MATCH_MAC=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_MARK=m
|
CONFIG_NETFILTER_XT_MATCH_MARK=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
|
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
|
||||||
|
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
|
||||||
CONFIG_NETFILTER_XT_MATCH_OWNER=m
|
CONFIG_NETFILTER_XT_MATCH_OWNER=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_POLICY=m
|
CONFIG_NETFILTER_XT_MATCH_POLICY=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
|
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
|
||||||
@ -605,7 +648,6 @@ CONFIG_NETFILTER_XT_MATCH_QUOTA=m
|
|||||||
CONFIG_NETFILTER_XT_MATCH_RATEEST=m
|
CONFIG_NETFILTER_XT_MATCH_RATEEST=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_REALM=m
|
CONFIG_NETFILTER_XT_MATCH_REALM=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_RECENT=m
|
CONFIG_NETFILTER_XT_MATCH_RECENT=m
|
||||||
# CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT is not set
|
|
||||||
CONFIG_NETFILTER_XT_MATCH_SCTP=m
|
CONFIG_NETFILTER_XT_MATCH_SCTP=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_STATE=m
|
CONFIG_NETFILTER_XT_MATCH_STATE=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
|
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
|
||||||
@ -613,7 +655,6 @@ CONFIG_NETFILTER_XT_MATCH_STRING=m
|
|||||||
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
|
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_TIME=m
|
CONFIG_NETFILTER_XT_MATCH_TIME=m
|
||||||
CONFIG_NETFILTER_XT_MATCH_U32=m
|
CONFIG_NETFILTER_XT_MATCH_U32=m
|
||||||
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
|
|
||||||
CONFIG_IP_VS=m
|
CONFIG_IP_VS=m
|
||||||
# CONFIG_IP_VS_IPV6 is not set
|
# CONFIG_IP_VS_IPV6 is not set
|
||||||
# CONFIG_IP_VS_DEBUG is not set
|
# CONFIG_IP_VS_DEBUG is not set
|
||||||
@ -713,6 +754,7 @@ CONFIG_IP6_NF_RAW=m
|
|||||||
# CONFIG_RDS is not set
|
# CONFIG_RDS is not set
|
||||||
# CONFIG_TIPC is not set
|
# CONFIG_TIPC is not set
|
||||||
# CONFIG_ATM is not set
|
# CONFIG_ATM is not set
|
||||||
|
# CONFIG_L2TP is not set
|
||||||
# CONFIG_BRIDGE is not set
|
# CONFIG_BRIDGE is not set
|
||||||
# CONFIG_NET_DSA is not set
|
# CONFIG_NET_DSA is not set
|
||||||
# CONFIG_VLAN_8021Q is not set
|
# CONFIG_VLAN_8021Q is not set
|
||||||
@ -739,6 +781,7 @@ CONFIG_NET_CLS_ROUTE=y
|
|||||||
# CONFIG_IRDA is not set
|
# CONFIG_IRDA is not set
|
||||||
CONFIG_BT=m
|
CONFIG_BT=m
|
||||||
CONFIG_BT_L2CAP=m
|
CONFIG_BT_L2CAP=m
|
||||||
|
# CONFIG_BT_L2CAP_EXT_FEATURES is not set
|
||||||
CONFIG_BT_SCO=m
|
CONFIG_BT_SCO=m
|
||||||
CONFIG_BT_RFCOMM=m
|
CONFIG_BT_RFCOMM=m
|
||||||
CONFIG_BT_RFCOMM_TTY=y
|
CONFIG_BT_RFCOMM_TTY=y
|
||||||
@ -775,6 +818,7 @@ CONFIG_CFG80211_WEXT=y
|
|||||||
CONFIG_WIRELESS_EXT_SYSFS=y
|
CONFIG_WIRELESS_EXT_SYSFS=y
|
||||||
# CONFIG_LIB80211 is not set
|
# CONFIG_LIB80211 is not set
|
||||||
CONFIG_MAC80211=m
|
CONFIG_MAC80211=m
|
||||||
|
CONFIG_MAC80211_HAS_RC=y
|
||||||
CONFIG_MAC80211_RC_MINSTREL=y
|
CONFIG_MAC80211_RC_MINSTREL=y
|
||||||
# CONFIG_MAC80211_RC_DEFAULT_PID is not set
|
# CONFIG_MAC80211_RC_DEFAULT_PID is not set
|
||||||
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
|
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
|
||||||
@ -785,6 +829,7 @@ CONFIG_MAC80211_LEDS=y
|
|||||||
# CONFIG_WIMAX is not set
|
# CONFIG_WIMAX is not set
|
||||||
# CONFIG_RFKILL is not set
|
# CONFIG_RFKILL is not set
|
||||||
# CONFIG_NET_9P is not set
|
# CONFIG_NET_9P is not set
|
||||||
|
# CONFIG_CAIF is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Device Drivers
|
# Device Drivers
|
||||||
@ -828,6 +873,7 @@ CONFIG_MTD_BLOCK=y
|
|||||||
# CONFIG_INFTL is not set
|
# CONFIG_INFTL is not set
|
||||||
# CONFIG_RFD_FTL is not set
|
# CONFIG_RFD_FTL is not set
|
||||||
# CONFIG_SSFDC is not set
|
# CONFIG_SSFDC is not set
|
||||||
|
# CONFIG_SM_FTL is not set
|
||||||
# CONFIG_MTD_OOPS is not set
|
# CONFIG_MTD_OOPS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -882,9 +928,12 @@ CONFIG_MTD_ROM=y
|
|||||||
# CONFIG_MTD_DOC2001 is not set
|
# CONFIG_MTD_DOC2001 is not set
|
||||||
# CONFIG_MTD_DOC2001PLUS is not set
|
# CONFIG_MTD_DOC2001PLUS is not set
|
||||||
CONFIG_MTD_NAND=y
|
CONFIG_MTD_NAND=y
|
||||||
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
|
CONFIG_MTD_NAND_ECC=y
|
||||||
# CONFIG_MTD_NAND_ECC_SMC is not set
|
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||||
|
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
|
||||||
|
# CONFIG_MTD_SM_COMMON is not set
|
||||||
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
|
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
|
||||||
|
CONFIG_MTD_NAND_DENALI_SCRATCH_REG_ADDR=0xFF108018
|
||||||
# CONFIG_MTD_NAND_GPIO is not set
|
# CONFIG_MTD_NAND_GPIO is not set
|
||||||
CONFIG_MTD_NAND_IDS=y
|
CONFIG_MTD_NAND_IDS=y
|
||||||
CONFIG_MTD_NAND_S3C2410=y
|
CONFIG_MTD_NAND_S3C2410=y
|
||||||
@ -1149,6 +1198,7 @@ CONFIG_KEYBOARD_ATKBD=y
|
|||||||
# CONFIG_QT2160 is not set
|
# CONFIG_QT2160 is not set
|
||||||
# CONFIG_KEYBOARD_LKKBD is not set
|
# CONFIG_KEYBOARD_LKKBD is not set
|
||||||
# CONFIG_KEYBOARD_GPIO is not set
|
# CONFIG_KEYBOARD_GPIO is not set
|
||||||
|
# CONFIG_KEYBOARD_TCA6416 is not set
|
||||||
# CONFIG_KEYBOARD_MATRIX is not set
|
# CONFIG_KEYBOARD_MATRIX is not set
|
||||||
# CONFIG_KEYBOARD_LM8323 is not set
|
# CONFIG_KEYBOARD_LM8323 is not set
|
||||||
# CONFIG_KEYBOARD_MAX7359 is not set
|
# CONFIG_KEYBOARD_MAX7359 is not set
|
||||||
@ -1212,6 +1262,7 @@ CONFIG_INPUT_TOUCHSCREEN=y
|
|||||||
# CONFIG_TOUCHSCREEN_AD7879_SPI is not set
|
# CONFIG_TOUCHSCREEN_AD7879_SPI is not set
|
||||||
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
||||||
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
||||||
|
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
|
||||||
# CONFIG_TOUCHSCREEN_EETI is not set
|
# CONFIG_TOUCHSCREEN_EETI is not set
|
||||||
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
||||||
# CONFIG_TOUCHSCREEN_S3C2410 is not set
|
# CONFIG_TOUCHSCREEN_S3C2410 is not set
|
||||||
@ -1248,6 +1299,7 @@ CONFIG_TOUCHSCREEN_USB_NEXIO=y
|
|||||||
# CONFIG_TOUCHSCREEN_TSC2007 is not set
|
# CONFIG_TOUCHSCREEN_TSC2007 is not set
|
||||||
# CONFIG_TOUCHSCREEN_W90X900 is not set
|
# CONFIG_TOUCHSCREEN_W90X900 is not set
|
||||||
CONFIG_INPUT_MISC=y
|
CONFIG_INPUT_MISC=y
|
||||||
|
# CONFIG_INPUT_AD714X is not set
|
||||||
CONFIG_INPUT_ATI_REMOTE=m
|
CONFIG_INPUT_ATI_REMOTE=m
|
||||||
CONFIG_INPUT_ATI_REMOTE2=m
|
CONFIG_INPUT_ATI_REMOTE2=m
|
||||||
CONFIG_INPUT_KEYSPAN_REMOTE=m
|
CONFIG_INPUT_KEYSPAN_REMOTE=m
|
||||||
@ -1255,6 +1307,8 @@ CONFIG_INPUT_POWERMATE=m
|
|||||||
CONFIG_INPUT_YEALINK=m
|
CONFIG_INPUT_YEALINK=m
|
||||||
CONFIG_INPUT_CM109=m
|
CONFIG_INPUT_CM109=m
|
||||||
CONFIG_INPUT_UINPUT=m
|
CONFIG_INPUT_UINPUT=m
|
||||||
|
# CONFIG_INPUT_PCF50633_PMU is not set
|
||||||
|
# CONFIG_INPUT_PCF8574 is not set
|
||||||
CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
|
CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1287,6 +1341,7 @@ CONFIG_SERIAL_NONSTANDARD=y
|
|||||||
# CONFIG_MOXA_INTELLIO is not set
|
# CONFIG_MOXA_INTELLIO is not set
|
||||||
# CONFIG_MOXA_SMARTIO is not set
|
# CONFIG_MOXA_SMARTIO is not set
|
||||||
# CONFIG_N_HDLC is not set
|
# CONFIG_N_HDLC is not set
|
||||||
|
# CONFIG_N_GSM is not set
|
||||||
# CONFIG_RISCOM8 is not set
|
# CONFIG_RISCOM8 is not set
|
||||||
# CONFIG_SPECIALIX is not set
|
# CONFIG_SPECIALIX is not set
|
||||||
# CONFIG_STALDRV is not set
|
# CONFIG_STALDRV is not set
|
||||||
@ -1324,6 +1379,8 @@ CONFIG_SERIAL_S3C2440=y
|
|||||||
CONFIG_SERIAL_CORE=y
|
CONFIG_SERIAL_CORE=y
|
||||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||||
# CONFIG_SERIAL_TIMBERDALE is not set
|
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_UART is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||||
CONFIG_LEGACY_PTYS=y
|
CONFIG_LEGACY_PTYS=y
|
||||||
@ -1439,7 +1496,16 @@ CONFIG_GPIOLIB=y
|
|||||||
# AC97 GPIO expanders:
|
# AC97 GPIO expanders:
|
||||||
#
|
#
|
||||||
# CONFIG_W1 is not set
|
# CONFIG_W1 is not set
|
||||||
# CONFIG_POWER_SUPPLY is not set
|
CONFIG_POWER_SUPPLY=y
|
||||||
|
# CONFIG_POWER_SUPPLY_DEBUG is not set
|
||||||
|
# CONFIG_PDA_POWER is not set
|
||||||
|
# CONFIG_APM_POWER is not set
|
||||||
|
# CONFIG_TEST_POWER is not set
|
||||||
|
# CONFIG_BATTERY_DS2760 is not set
|
||||||
|
# CONFIG_BATTERY_DS2782 is not set
|
||||||
|
# CONFIG_BATTERY_BQ27x00 is not set
|
||||||
|
# CONFIG_BATTERY_MAX17040 is not set
|
||||||
|
# CONFIG_CHARGER_PCF50633 is not set
|
||||||
CONFIG_HWMON=y
|
CONFIG_HWMON=y
|
||||||
CONFIG_HWMON_VID=m
|
CONFIG_HWMON_VID=m
|
||||||
# CONFIG_HWMON_DEBUG_CHIP is not set
|
# CONFIG_HWMON_DEBUG_CHIP is not set
|
||||||
@ -1499,6 +1565,7 @@ CONFIG_SENSORS_LM85=m
|
|||||||
# CONFIG_SENSORS_SMSC47M192 is not set
|
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||||
# CONFIG_SENSORS_ADS7828 is not set
|
# CONFIG_SENSORS_ADS7828 is not set
|
||||||
|
# CONFIG_SENSORS_ADS7871 is not set
|
||||||
# CONFIG_SENSORS_AMC6821 is not set
|
# CONFIG_SENSORS_AMC6821 is not set
|
||||||
# CONFIG_SENSORS_THMC50 is not set
|
# CONFIG_SENSORS_THMC50 is not set
|
||||||
# CONFIG_SENSORS_TMP401 is not set
|
# CONFIG_SENSORS_TMP401 is not set
|
||||||
@ -1555,7 +1622,7 @@ CONFIG_MFD_SM501=y
|
|||||||
# CONFIG_HTC_PASIC3 is not set
|
# CONFIG_HTC_PASIC3 is not set
|
||||||
# CONFIG_HTC_I2CPLD is not set
|
# CONFIG_HTC_I2CPLD is not set
|
||||||
# CONFIG_UCB1400_CORE is not set
|
# CONFIG_UCB1400_CORE is not set
|
||||||
# CONFIG_TPS65010 is not set
|
CONFIG_TPS65010=m
|
||||||
# CONFIG_TWL4030_CORE is not set
|
# CONFIG_TWL4030_CORE is not set
|
||||||
# CONFIG_MFD_TMIO is not set
|
# CONFIG_MFD_TMIO is not set
|
||||||
# CONFIG_MFD_T7L66XB is not set
|
# CONFIG_MFD_T7L66XB is not set
|
||||||
@ -1568,8 +1635,10 @@ CONFIG_MFD_SM501=y
|
|||||||
# CONFIG_MFD_WM831X is not set
|
# CONFIG_MFD_WM831X is not set
|
||||||
# CONFIG_MFD_WM8350_I2C is not set
|
# CONFIG_MFD_WM8350_I2C is not set
|
||||||
# CONFIG_MFD_WM8994 is not set
|
# CONFIG_MFD_WM8994 is not set
|
||||||
# CONFIG_MFD_PCF50633 is not set
|
CONFIG_MFD_PCF50633=y
|
||||||
# CONFIG_MFD_MC13783 is not set
|
# CONFIG_MFD_MC13783 is not set
|
||||||
|
# CONFIG_PCF50633_ADC is not set
|
||||||
|
CONFIG_PCF50633_GPIO=y
|
||||||
# CONFIG_AB3100_CORE is not set
|
# CONFIG_AB3100_CORE is not set
|
||||||
# CONFIG_EZX_PCAP is not set
|
# CONFIG_EZX_PCAP is not set
|
||||||
# CONFIG_AB4500_CORE is not set
|
# CONFIG_AB4500_CORE is not set
|
||||||
@ -1685,6 +1754,7 @@ CONFIG_SND_S3C24XX_SOC_I2S=y
|
|||||||
CONFIG_SND_S3C_I2SV2_SOC=m
|
CONFIG_SND_S3C_I2SV2_SOC=m
|
||||||
CONFIG_SND_S3C2412_SOC_I2S=m
|
CONFIG_SND_S3C2412_SOC_I2S=m
|
||||||
CONFIG_SND_S3C_SOC_AC97=m
|
CONFIG_SND_S3C_SOC_AC97=m
|
||||||
|
# CONFIG_SND_S3C24XX_SOC_NEO1973_GTA02_WM8753 is not set
|
||||||
CONFIG_SND_S3C24XX_SOC_JIVE_WM8750=m
|
CONFIG_SND_S3C24XX_SOC_JIVE_WM8750=m
|
||||||
CONFIG_SND_S3C24XX_SOC_SMDK2443_WM9710=m
|
CONFIG_SND_S3C24XX_SOC_SMDK2443_WM9710=m
|
||||||
CONFIG_SND_S3C24XX_SOC_LN2440SBC_ALC650=m
|
CONFIG_SND_S3C24XX_SOC_LN2440SBC_ALC650=m
|
||||||
@ -1836,10 +1906,12 @@ CONFIG_USB_SERIAL_PL2303=y
|
|||||||
# CONFIG_USB_SERIAL_TI is not set
|
# CONFIG_USB_SERIAL_TI is not set
|
||||||
# CONFIG_USB_SERIAL_CYBERJACK is not set
|
# CONFIG_USB_SERIAL_CYBERJACK is not set
|
||||||
# CONFIG_USB_SERIAL_XIRCOM is not set
|
# CONFIG_USB_SERIAL_XIRCOM is not set
|
||||||
|
CONFIG_USB_SERIAL_WWAN=m
|
||||||
CONFIG_USB_SERIAL_OPTION=m
|
CONFIG_USB_SERIAL_OPTION=m
|
||||||
# CONFIG_USB_SERIAL_OMNINET is not set
|
# CONFIG_USB_SERIAL_OMNINET is not set
|
||||||
# CONFIG_USB_SERIAL_OPTICON is not set
|
# CONFIG_USB_SERIAL_OPTICON is not set
|
||||||
# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set
|
# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set
|
||||||
|
# CONFIG_USB_SERIAL_ZIO is not set
|
||||||
# CONFIG_USB_SERIAL_DEBUG is not set
|
# CONFIG_USB_SERIAL_DEBUG is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1991,6 +2063,7 @@ CONFIG_RTC_INTF_DEV=y
|
|||||||
# CONFIG_RTC_DRV_BQ4802 is not set
|
# CONFIG_RTC_DRV_BQ4802 is not set
|
||||||
# CONFIG_RTC_DRV_RP5C01 is not set
|
# CONFIG_RTC_DRV_RP5C01 is not set
|
||||||
# CONFIG_RTC_DRV_V3020 is not set
|
# CONFIG_RTC_DRV_V3020 is not set
|
||||||
|
# CONFIG_RTC_DRV_PCF50633 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# on-CPU RTC drivers
|
# on-CPU RTC drivers
|
||||||
@ -1999,10 +2072,6 @@ CONFIG_RTC_DRV_S3C=y
|
|||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_AUXDISPLAY is not set
|
# CONFIG_AUXDISPLAY is not set
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
|
|
||||||
#
|
|
||||||
# TI VLYNQ
|
|
||||||
#
|
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -2274,6 +2343,7 @@ CONFIG_HAVE_FUNCTION_TRACER=y
|
|||||||
CONFIG_TRACING_SUPPORT=y
|
CONFIG_TRACING_SUPPORT=y
|
||||||
CONFIG_FTRACE=y
|
CONFIG_FTRACE=y
|
||||||
# CONFIG_FUNCTION_TRACER is not set
|
# CONFIG_FUNCTION_TRACER is not set
|
||||||
|
# CONFIG_IRQSOFF_TRACER is not set
|
||||||
# CONFIG_SCHED_TRACER is not set
|
# CONFIG_SCHED_TRACER is not set
|
||||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||||
# CONFIG_BOOT_TRACER is not set
|
# CONFIG_BOOT_TRACER is not set
|
||||||
@ -2284,6 +2354,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
|||||||
# CONFIG_KMEMTRACE is not set
|
# CONFIG_KMEMTRACE is not set
|
||||||
# CONFIG_WORKQUEUE_TRACER is not set
|
# CONFIG_WORKQUEUE_TRACER is not set
|
||||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||||
|
# CONFIG_ATOMIC64_SELFTEST is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.34
|
# Linux kernel version: 2.6.34
|
||||||
# Sat May 22 03:17:32 2010
|
# Fri May 28 19:05:39 2010
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
|
CONFIG_HAVE_PWM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
CONFIG_GENERIC_GPIO=y
|
CONFIG_GENERIC_GPIO=y
|
||||||
|
CONFIG_GENERIC_TIME=y
|
||||||
|
CONFIG_ARCH_USES_GETTIMEOFFSET=y
|
||||||
CONFIG_HAVE_PROC_CPU=y
|
CONFIG_HAVE_PROC_CPU=y
|
||||||
CONFIG_NO_IOPORT=y
|
CONFIG_NO_IOPORT=y
|
||||||
CONFIG_GENERIC_HARDIRQS=y
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
@ -34,6 +37,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
|||||||
CONFIG_LOCALVERSION=""
|
CONFIG_LOCALVERSION=""
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
CONFIG_HAVE_KERNEL_LZO=y
|
CONFIG_HAVE_KERNEL_LZO=y
|
||||||
CONFIG_KERNEL_GZIP=y
|
CONFIG_KERNEL_GZIP=y
|
||||||
# CONFIG_KERNEL_BZIP2 is not set
|
# CONFIG_KERNEL_BZIP2 is not set
|
||||||
@ -179,9 +183,11 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
# CONFIG_ARCH_AT91 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_BCMRING is not set
|
# CONFIG_ARCH_BCMRING is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
|
# CONFIG_ARCH_CNS3XXX is not set
|
||||||
# CONFIG_ARCH_GEMINI is not set
|
# CONFIG_ARCH_GEMINI is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
@ -217,7 +223,7 @@ CONFIG_MMU=y
|
|||||||
CONFIG_ARCH_S3C64XX=y
|
CONFIG_ARCH_S3C64XX=y
|
||||||
# CONFIG_ARCH_S5P6440 is not set
|
# CONFIG_ARCH_S5P6440 is not set
|
||||||
# CONFIG_ARCH_S5P6442 is not set
|
# CONFIG_ARCH_S5P6442 is not set
|
||||||
# CONFIG_ARCH_S5PC1XX is not set
|
# CONFIG_ARCH_S5PC100 is not set
|
||||||
# CONFIG_ARCH_S5PV210 is not set
|
# CONFIG_ARCH_S5PV210 is not set
|
||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
@ -226,6 +232,7 @@ CONFIG_ARCH_S3C64XX=y
|
|||||||
# CONFIG_ARCH_NOMADIK is not set
|
# CONFIG_ARCH_NOMADIK is not set
|
||||||
# CONFIG_ARCH_DAVINCI is not set
|
# CONFIG_ARCH_DAVINCI is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
|
# CONFIG_PLAT_SPEAR is not set
|
||||||
CONFIG_PLAT_SAMSUNG=y
|
CONFIG_PLAT_SAMSUNG=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -247,11 +254,17 @@ CONFIG_S3C_GPIO_TRACK=y
|
|||||||
# CONFIG_S3C_ADC is not set
|
# CONFIG_S3C_ADC is not set
|
||||||
CONFIG_S3C_DEV_HSMMC=y
|
CONFIG_S3C_DEV_HSMMC=y
|
||||||
CONFIG_S3C_DEV_HSMMC1=y
|
CONFIG_S3C_DEV_HSMMC1=y
|
||||||
|
CONFIG_S3C_DEV_HSMMC2=y
|
||||||
|
CONFIG_S3C_DEV_HWMON=y
|
||||||
CONFIG_S3C_DEV_I2C1=y
|
CONFIG_S3C_DEV_I2C1=y
|
||||||
CONFIG_S3C_DEV_FB=y
|
CONFIG_S3C_DEV_FB=y
|
||||||
CONFIG_S3C_DEV_USB_HOST=y
|
CONFIG_S3C_DEV_USB_HOST=y
|
||||||
CONFIG_S3C_DEV_USB_HSOTG=y
|
CONFIG_S3C_DEV_USB_HSOTG=y
|
||||||
|
CONFIG_S3C_DEV_WDT=y
|
||||||
CONFIG_S3C_DEV_NAND=y
|
CONFIG_S3C_DEV_NAND=y
|
||||||
|
CONFIG_S3C_DEV_RTC=y
|
||||||
|
CONFIG_SAMSUNG_DEV_ADC=y
|
||||||
|
CONFIG_SAMSUNG_DEV_TS=y
|
||||||
CONFIG_S3C_DMA=y
|
CONFIG_S3C_DMA=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -260,7 +273,9 @@ CONFIG_S3C_DMA=y
|
|||||||
# CONFIG_SAMSUNG_PM_DEBUG is not set
|
# CONFIG_SAMSUNG_PM_DEBUG is not set
|
||||||
# CONFIG_S3C_PM_DEBUG_LED_SMDK is not set
|
# CONFIG_S3C_PM_DEBUG_LED_SMDK is not set
|
||||||
# CONFIG_SAMSUNG_PM_CHECK is not set
|
# CONFIG_SAMSUNG_PM_CHECK is not set
|
||||||
|
CONFIG_SAMSUNG_WAKEMASK=y
|
||||||
CONFIG_PLAT_S3C64XX=y
|
CONFIG_PLAT_S3C64XX=y
|
||||||
|
CONFIG_CPU_S3C6400=y
|
||||||
CONFIG_CPU_S3C6410=y
|
CONFIG_CPU_S3C6410=y
|
||||||
CONFIG_S3C64XX_DMA=y
|
CONFIG_S3C64XX_DMA=y
|
||||||
CONFIG_S3C64XX_SETUP_SDHCI=y
|
CONFIG_S3C64XX_SETUP_SDHCI=y
|
||||||
@ -268,15 +283,18 @@ CONFIG_S3C64XX_SETUP_I2C0=y
|
|||||||
CONFIG_S3C64XX_SETUP_I2C1=y
|
CONFIG_S3C64XX_SETUP_I2C1=y
|
||||||
CONFIG_S3C64XX_SETUP_FB_24BPP=y
|
CONFIG_S3C64XX_SETUP_FB_24BPP=y
|
||||||
CONFIG_S3C64XX_SETUP_SDHCI_GPIO=y
|
CONFIG_S3C64XX_SETUP_SDHCI_GPIO=y
|
||||||
# CONFIG_MACH_SMDK6400 is not set
|
CONFIG_MACH_SMDK6400=y
|
||||||
# CONFIG_MACH_ANW6410 is not set
|
CONFIG_MACH_ANW6410=y
|
||||||
CONFIG_MACH_SMDK6410=y
|
CONFIG_MACH_SMDK6410=y
|
||||||
CONFIG_SMDK6410_SD_CH0=y
|
CONFIG_SMDK6410_SD_CH0=y
|
||||||
# CONFIG_SMDK6410_SD_CH1 is not set
|
# CONFIG_SMDK6410_SD_CH1 is not set
|
||||||
# CONFIG_SMDK6410_WM1190_EV1 is not set
|
# CONFIG_SMDK6410_WM1190_EV1 is not set
|
||||||
# CONFIG_SMDK6410_WM1192_EV1 is not set
|
# CONFIG_SMDK6410_WM1192_EV1 is not set
|
||||||
# CONFIG_MACH_NCP is not set
|
CONFIG_MACH_NCP=y
|
||||||
# CONFIG_MACH_HMT is not set
|
CONFIG_MACH_HMT=y
|
||||||
|
CONFIG_MACH_SMARTQ=y
|
||||||
|
CONFIG_MACH_SMARTQ5=y
|
||||||
|
CONFIG_MACH_SMARTQ7=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Type
|
# Processor Type
|
||||||
@ -302,6 +320,7 @@ CONFIG_ARM_THUMB=y
|
|||||||
# CONFIG_CPU_DCACHE_DISABLE is not set
|
# CONFIG_CPU_DCACHE_DISABLE is not set
|
||||||
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
||||||
CONFIG_ARM_L1_CACHE_SHIFT=5
|
CONFIG_ARM_L1_CACHE_SHIFT=5
|
||||||
|
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
|
||||||
CONFIG_CPU_HAS_PMU=y
|
CONFIG_CPU_HAS_PMU=y
|
||||||
# CONFIG_ARM_ERRATA_411920 is not set
|
# CONFIG_ARM_ERRATA_411920 is not set
|
||||||
CONFIG_ARM_VIC=y
|
CONFIG_ARM_VIC=y
|
||||||
@ -352,6 +371,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
CONFIG_ZBOOT_ROM_TEXT=0
|
CONFIG_ZBOOT_ROM_TEXT=0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0
|
CONFIG_ZBOOT_ROM_BSS=0
|
||||||
CONFIG_CMDLINE="console=ttySAC0,115200 root=/dev/ram init=/linuxrc initrd=0x51000000,6M ramdisk_size=6144"
|
CONFIG_CMDLINE="console=ttySAC0,115200 root=/dev/ram init=/linuxrc initrd=0x51000000,6M ramdisk_size=6144"
|
||||||
|
# CONFIG_CMDLINE_FORCE is not set
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@ -430,6 +450,7 @@ CONFIG_MTD=y
|
|||||||
# CONFIG_INFTL is not set
|
# CONFIG_INFTL is not set
|
||||||
# CONFIG_RFD_FTL is not set
|
# CONFIG_RFD_FTL is not set
|
||||||
# CONFIG_SSFDC is not set
|
# CONFIG_SSFDC is not set
|
||||||
|
# CONFIG_SM_FTL is not set
|
||||||
# CONFIG_MTD_OOPS is not set
|
# CONFIG_MTD_OOPS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -460,6 +481,9 @@ CONFIG_MTD_CFI_I2=y
|
|||||||
#
|
#
|
||||||
# Self-contained MTD device drivers
|
# Self-contained MTD device drivers
|
||||||
#
|
#
|
||||||
|
# CONFIG_MTD_DATAFLASH is not set
|
||||||
|
# CONFIG_MTD_M25P80 is not set
|
||||||
|
# CONFIG_MTD_SST25L is not set
|
||||||
# CONFIG_MTD_SLRAM is not set
|
# CONFIG_MTD_SLRAM is not set
|
||||||
# CONFIG_MTD_PHRAM is not set
|
# CONFIG_MTD_PHRAM is not set
|
||||||
# CONFIG_MTD_MTDRAM is not set
|
# CONFIG_MTD_MTDRAM is not set
|
||||||
@ -472,9 +496,12 @@ CONFIG_MTD_CFI_I2=y
|
|||||||
# CONFIG_MTD_DOC2001 is not set
|
# CONFIG_MTD_DOC2001 is not set
|
||||||
# CONFIG_MTD_DOC2001PLUS is not set
|
# CONFIG_MTD_DOC2001PLUS is not set
|
||||||
CONFIG_MTD_NAND=y
|
CONFIG_MTD_NAND=y
|
||||||
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
|
CONFIG_MTD_NAND_ECC=y
|
||||||
# CONFIG_MTD_NAND_ECC_SMC is not set
|
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||||
|
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
|
||||||
|
# CONFIG_MTD_SM_COMMON is not set
|
||||||
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
|
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
|
||||||
|
CONFIG_MTD_NAND_DENALI_SCRATCH_REG_ADDR=0xFF108018
|
||||||
# CONFIG_MTD_NAND_GPIO is not set
|
# CONFIG_MTD_NAND_GPIO is not set
|
||||||
CONFIG_MTD_NAND_IDS=y
|
CONFIG_MTD_NAND_IDS=y
|
||||||
CONFIG_MTD_NAND_S3C2410=y
|
CONFIG_MTD_NAND_S3C2410=y
|
||||||
@ -483,6 +510,7 @@ CONFIG_MTD_NAND_S3C2410=y
|
|||||||
# CONFIG_MTD_NAND_S3C2410_CLKSTOP is not set
|
# CONFIG_MTD_NAND_S3C2410_CLKSTOP is not set
|
||||||
# CONFIG_MTD_NAND_DISKONCHIP is not set
|
# CONFIG_MTD_NAND_DISKONCHIP is not set
|
||||||
# CONFIG_MTD_NAND_PLATFORM is not set
|
# CONFIG_MTD_NAND_PLATFORM is not set
|
||||||
|
# CONFIG_MTD_ALAUDA is not set
|
||||||
# CONFIG_MTD_ONENAND is not set
|
# CONFIG_MTD_ONENAND is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -503,6 +531,7 @@ CONFIG_BLK_DEV_LOOP=y
|
|||||||
#
|
#
|
||||||
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
|
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
|
||||||
#
|
#
|
||||||
|
# CONFIG_BLK_DEV_UB is not set
|
||||||
CONFIG_BLK_DEV_RAM=y
|
CONFIG_BLK_DEV_RAM=y
|
||||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=4096
|
CONFIG_BLK_DEV_RAM_SIZE=4096
|
||||||
@ -516,12 +545,14 @@ CONFIG_MISC_DEVICES=y
|
|||||||
# CONFIG_ISL29003 is not set
|
# CONFIG_ISL29003 is not set
|
||||||
# CONFIG_SENSORS_TSL2550 is not set
|
# CONFIG_SENSORS_TSL2550 is not set
|
||||||
# CONFIG_DS1682 is not set
|
# CONFIG_DS1682 is not set
|
||||||
|
# CONFIG_TI_DAC7512 is not set
|
||||||
# CONFIG_C2PORT is not set
|
# CONFIG_C2PORT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# EEPROM support
|
# EEPROM support
|
||||||
#
|
#
|
||||||
CONFIG_EEPROM_AT24=y
|
CONFIG_EEPROM_AT24=y
|
||||||
|
# CONFIG_EEPROM_AT25 is not set
|
||||||
# CONFIG_EEPROM_LEGACY is not set
|
# CONFIG_EEPROM_LEGACY is not set
|
||||||
# CONFIG_EEPROM_MAX6875 is not set
|
# CONFIG_EEPROM_MAX6875 is not set
|
||||||
# CONFIG_EEPROM_93CX6 is not set
|
# CONFIG_EEPROM_93CX6 is not set
|
||||||
@ -569,6 +600,7 @@ CONFIG_KEYBOARD_ATKBD=y
|
|||||||
# CONFIG_QT2160 is not set
|
# CONFIG_QT2160 is not set
|
||||||
# CONFIG_KEYBOARD_LKKBD is not set
|
# CONFIG_KEYBOARD_LKKBD is not set
|
||||||
# CONFIG_KEYBOARD_GPIO is not set
|
# CONFIG_KEYBOARD_GPIO is not set
|
||||||
|
# CONFIG_KEYBOARD_TCA6416 is not set
|
||||||
# CONFIG_KEYBOARD_MATRIX is not set
|
# CONFIG_KEYBOARD_MATRIX is not set
|
||||||
# CONFIG_KEYBOARD_MAX7359 is not set
|
# CONFIG_KEYBOARD_MAX7359 is not set
|
||||||
# CONFIG_KEYBOARD_NEWTON is not set
|
# CONFIG_KEYBOARD_NEWTON is not set
|
||||||
@ -635,9 +667,12 @@ CONFIG_SERIAL_SAMSUNG_UARTS=4
|
|||||||
# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
|
# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
|
||||||
CONFIG_SERIAL_SAMSUNG_CONSOLE=y
|
CONFIG_SERIAL_SAMSUNG_CONSOLE=y
|
||||||
CONFIG_SERIAL_S3C6400=y
|
CONFIG_SERIAL_S3C6400=y
|
||||||
|
# CONFIG_SERIAL_MAX3100 is not set
|
||||||
CONFIG_SERIAL_CORE=y
|
CONFIG_SERIAL_CORE=y
|
||||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||||
# CONFIG_SERIAL_TIMBERDALE is not set
|
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_UART is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||||
CONFIG_LEGACY_PTYS=y
|
CONFIG_LEGACY_PTYS=y
|
||||||
@ -673,6 +708,7 @@ CONFIG_I2C_S3C2410=y
|
|||||||
#
|
#
|
||||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||||
# CONFIG_I2C_TAOS_EVM is not set
|
# CONFIG_I2C_TAOS_EVM is not set
|
||||||
|
# CONFIG_I2C_TINY_USB is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Other I2C/SMBus bus drivers
|
# Other I2C/SMBus bus drivers
|
||||||
@ -682,7 +718,24 @@ CONFIG_I2C_S3C2410=y
|
|||||||
# CONFIG_I2C_DEBUG_CORE is not set
|
# CONFIG_I2C_DEBUG_CORE is not set
|
||||||
# CONFIG_I2C_DEBUG_ALGO is not set
|
# CONFIG_I2C_DEBUG_ALGO is not set
|
||||||
# CONFIG_I2C_DEBUG_BUS is not set
|
# CONFIG_I2C_DEBUG_BUS is not set
|
||||||
# CONFIG_SPI is not set
|
CONFIG_SPI=y
|
||||||
|
# CONFIG_SPI_DEBUG is not set
|
||||||
|
CONFIG_SPI_MASTER=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# SPI Master Controller Drivers
|
||||||
|
#
|
||||||
|
CONFIG_SPI_BITBANG=m
|
||||||
|
CONFIG_SPI_GPIO=m
|
||||||
|
CONFIG_SPI_S3C64XX=m
|
||||||
|
# CONFIG_SPI_XILINX is not set
|
||||||
|
# CONFIG_SPI_DESIGNWARE is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# SPI Protocol Masters
|
||||||
|
#
|
||||||
|
# CONFIG_SPI_SPIDEV is not set
|
||||||
|
# CONFIG_SPI_TLE62X0 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# PPS support
|
# PPS support
|
||||||
@ -714,6 +767,9 @@ CONFIG_GPIOLIB=y
|
|||||||
#
|
#
|
||||||
# SPI GPIO expanders:
|
# SPI GPIO expanders:
|
||||||
#
|
#
|
||||||
|
# CONFIG_GPIO_MAX7301 is not set
|
||||||
|
# CONFIG_GPIO_MCP23S08 is not set
|
||||||
|
# CONFIG_GPIO_MC33880 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# AC97 GPIO expanders:
|
# AC97 GPIO expanders:
|
||||||
@ -729,6 +785,7 @@ CONFIG_HWMON=y
|
|||||||
#
|
#
|
||||||
# CONFIG_SENSORS_AD7414 is not set
|
# CONFIG_SENSORS_AD7414 is not set
|
||||||
# CONFIG_SENSORS_AD7418 is not set
|
# CONFIG_SENSORS_AD7418 is not set
|
||||||
|
# CONFIG_SENSORS_ADCXX is not set
|
||||||
# CONFIG_SENSORS_ADM1021 is not set
|
# CONFIG_SENSORS_ADM1021 is not set
|
||||||
# CONFIG_SENSORS_ADM1025 is not set
|
# CONFIG_SENSORS_ADM1025 is not set
|
||||||
# CONFIG_SENSORS_ADM1026 is not set
|
# CONFIG_SENSORS_ADM1026 is not set
|
||||||
@ -750,6 +807,7 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_GL520SM is not set
|
# CONFIG_SENSORS_GL520SM is not set
|
||||||
# CONFIG_SENSORS_IT87 is not set
|
# CONFIG_SENSORS_IT87 is not set
|
||||||
# CONFIG_SENSORS_LM63 is not set
|
# CONFIG_SENSORS_LM63 is not set
|
||||||
|
# CONFIG_SENSORS_LM70 is not set
|
||||||
# CONFIG_SENSORS_LM73 is not set
|
# CONFIG_SENSORS_LM73 is not set
|
||||||
# CONFIG_SENSORS_LM75 is not set
|
# CONFIG_SENSORS_LM75 is not set
|
||||||
# CONFIG_SENSORS_LM77 is not set
|
# CONFIG_SENSORS_LM77 is not set
|
||||||
@ -764,6 +822,7 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_LTC4215 is not set
|
# CONFIG_SENSORS_LTC4215 is not set
|
||||||
# CONFIG_SENSORS_LTC4245 is not set
|
# CONFIG_SENSORS_LTC4245 is not set
|
||||||
# CONFIG_SENSORS_LM95241 is not set
|
# CONFIG_SENSORS_LM95241 is not set
|
||||||
|
# CONFIG_SENSORS_MAX1111 is not set
|
||||||
# CONFIG_SENSORS_MAX1619 is not set
|
# CONFIG_SENSORS_MAX1619 is not set
|
||||||
# CONFIG_SENSORS_MAX6650 is not set
|
# CONFIG_SENSORS_MAX6650 is not set
|
||||||
# CONFIG_SENSORS_PC87360 is not set
|
# CONFIG_SENSORS_PC87360 is not set
|
||||||
@ -775,6 +834,7 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_SMSC47M192 is not set
|
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||||
# CONFIG_SENSORS_ADS7828 is not set
|
# CONFIG_SENSORS_ADS7828 is not set
|
||||||
|
# CONFIG_SENSORS_ADS7871 is not set
|
||||||
# CONFIG_SENSORS_AMC6821 is not set
|
# CONFIG_SENSORS_AMC6821 is not set
|
||||||
# CONFIG_SENSORS_THMC50 is not set
|
# CONFIG_SENSORS_THMC50 is not set
|
||||||
# CONFIG_SENSORS_TMP401 is not set
|
# CONFIG_SENSORS_TMP401 is not set
|
||||||
@ -788,9 +848,11 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_W83L786NG is not set
|
# CONFIG_SENSORS_W83L786NG is not set
|
||||||
# CONFIG_SENSORS_W83627HF is not set
|
# CONFIG_SENSORS_W83627HF is not set
|
||||||
# CONFIG_SENSORS_W83627EHF is not set
|
# CONFIG_SENSORS_W83627EHF is not set
|
||||||
|
# CONFIG_SENSORS_LIS3_SPI is not set
|
||||||
# CONFIG_SENSORS_LIS3_I2C is not set
|
# CONFIG_SENSORS_LIS3_I2C is not set
|
||||||
# CONFIG_THERMAL is not set
|
# CONFIG_THERMAL is not set
|
||||||
# CONFIG_WATCHDOG is not set
|
# CONFIG_WATCHDOG is not set
|
||||||
|
CONFIG_HAVE_S3C2410_WATCHDOG=y
|
||||||
CONFIG_SSB_POSSIBLE=y
|
CONFIG_SSB_POSSIBLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -823,7 +885,10 @@ CONFIG_SSB_POSSIBLE=y
|
|||||||
# CONFIG_MFD_WM8350_I2C is not set
|
# CONFIG_MFD_WM8350_I2C is not set
|
||||||
# CONFIG_MFD_WM8994 is not set
|
# CONFIG_MFD_WM8994 is not set
|
||||||
# CONFIG_MFD_PCF50633 is not set
|
# CONFIG_MFD_PCF50633 is not set
|
||||||
|
# CONFIG_MFD_MC13783 is not set
|
||||||
# CONFIG_AB3100_CORE is not set
|
# CONFIG_AB3100_CORE is not set
|
||||||
|
# CONFIG_EZX_PCAP is not set
|
||||||
|
# CONFIG_AB4500_CORE is not set
|
||||||
# CONFIG_REGULATOR is not set
|
# CONFIG_REGULATOR is not set
|
||||||
# CONFIG_MEDIA_SUPPORT is not set
|
# CONFIG_MEDIA_SUPPORT is not set
|
||||||
|
|
||||||
@ -832,8 +897,47 @@ CONFIG_SSB_POSSIBLE=y
|
|||||||
#
|
#
|
||||||
# CONFIG_VGASTATE is not set
|
# CONFIG_VGASTATE is not set
|
||||||
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
||||||
# CONFIG_FB is not set
|
CONFIG_FB=y
|
||||||
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
|
# CONFIG_FIRMWARE_EDID is not set
|
||||||
|
# CONFIG_FB_DDC is not set
|
||||||
|
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
|
||||||
|
CONFIG_FB_CFB_FILLRECT=y
|
||||||
|
CONFIG_FB_CFB_COPYAREA=y
|
||||||
|
CONFIG_FB_CFB_IMAGEBLIT=y
|
||||||
|
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
|
||||||
|
# CONFIG_FB_SYS_FILLRECT is not set
|
||||||
|
# CONFIG_FB_SYS_COPYAREA is not set
|
||||||
|
# CONFIG_FB_SYS_IMAGEBLIT is not set
|
||||||
|
# CONFIG_FB_FOREIGN_ENDIAN is not set
|
||||||
|
# CONFIG_FB_SYS_FOPS is not set
|
||||||
|
# CONFIG_FB_SVGALIB is not set
|
||||||
|
# CONFIG_FB_MACMODES is not set
|
||||||
|
# CONFIG_FB_BACKLIGHT is not set
|
||||||
|
# CONFIG_FB_MODE_HELPERS is not set
|
||||||
|
# CONFIG_FB_TILEBLITTING is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Frame buffer hardware drivers
|
||||||
|
#
|
||||||
|
# CONFIG_FB_S1D13XXX is not set
|
||||||
|
CONFIG_FB_S3C=y
|
||||||
|
# CONFIG_FB_S3C_DEBUG_REGWRITE is not set
|
||||||
|
# CONFIG_FB_VIRTUAL is not set
|
||||||
|
# CONFIG_FB_METRONOME is not set
|
||||||
|
# CONFIG_FB_MB862XX is not set
|
||||||
|
# CONFIG_FB_BROADSHEET is not set
|
||||||
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||||
|
CONFIG_LCD_CLASS_DEVICE=y
|
||||||
|
# CONFIG_LCD_L4F00242T03 is not set
|
||||||
|
# CONFIG_LCD_LMS283GF05 is not set
|
||||||
|
CONFIG_LCD_LTV350QV=y
|
||||||
|
# CONFIG_LCD_ILI9320 is not set
|
||||||
|
# CONFIG_LCD_TDO24M is not set
|
||||||
|
# CONFIG_LCD_VGG2432A4 is not set
|
||||||
|
# CONFIG_LCD_PLATFORM is not set
|
||||||
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||||
|
CONFIG_BACKLIGHT_GENERIC=y
|
||||||
|
CONFIG_BACKLIGHT_PWM=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Display device support
|
# Display device support
|
||||||
@ -845,6 +949,8 @@ CONFIG_SSB_POSSIBLE=y
|
|||||||
#
|
#
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
# CONFIG_VGA_CONSOLE is not set
|
||||||
CONFIG_DUMMY_CONSOLE=y
|
CONFIG_DUMMY_CONSOLE=y
|
||||||
|
# CONFIG_FRAMEBUFFER_CONSOLE is not set
|
||||||
|
# CONFIG_LOGO is not set
|
||||||
CONFIG_SOUND=y
|
CONFIG_SOUND=y
|
||||||
CONFIG_SOUND_OSS_CORE=y
|
CONFIG_SOUND_OSS_CORE=y
|
||||||
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
|
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
|
||||||
@ -873,10 +979,16 @@ CONFIG_SND_DRIVERS=y
|
|||||||
# CONFIG_SND_SERIAL_U16550 is not set
|
# CONFIG_SND_SERIAL_U16550 is not set
|
||||||
# CONFIG_SND_MPU401 is not set
|
# CONFIG_SND_MPU401 is not set
|
||||||
CONFIG_SND_ARM=y
|
CONFIG_SND_ARM=y
|
||||||
|
CONFIG_SND_SPI=y
|
||||||
|
CONFIG_SND_USB=y
|
||||||
|
# CONFIG_SND_USB_AUDIO is not set
|
||||||
|
# CONFIG_SND_USB_UA101 is not set
|
||||||
|
# CONFIG_SND_USB_CAIAQ is not set
|
||||||
CONFIG_SND_SOC=m
|
CONFIG_SND_SOC=m
|
||||||
CONFIG_SND_SOC_AC97_BUS=y
|
CONFIG_SND_SOC_AC97_BUS=y
|
||||||
CONFIG_SND_S3C24XX_SOC=m
|
CONFIG_SND_S3C24XX_SOC=m
|
||||||
CONFIG_SND_S3C_SOC_AC97=m
|
CONFIG_SND_S3C_SOC_AC97=m
|
||||||
|
# CONFIG_SND_S3C64XX_SOC_WM8580 is not set
|
||||||
CONFIG_SND_SOC_SMDK_WM9713=m
|
CONFIG_SND_SOC_SMDK_WM9713=m
|
||||||
CONFIG_SND_SOC_I2C_AND_SPI=m
|
CONFIG_SND_SOC_I2C_AND_SPI=m
|
||||||
# CONFIG_SND_SOC_ALL_CODECS is not set
|
# CONFIG_SND_SOC_ALL_CODECS is not set
|
||||||
@ -886,29 +998,197 @@ CONFIG_AC97_BUS=m
|
|||||||
CONFIG_HID_SUPPORT=y
|
CONFIG_HID_SUPPORT=y
|
||||||
CONFIG_HID=y
|
CONFIG_HID=y
|
||||||
# CONFIG_HIDRAW is not set
|
# CONFIG_HIDRAW is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# USB Input Devices
|
||||||
|
#
|
||||||
|
CONFIG_USB_HID=y
|
||||||
# CONFIG_HID_PID is not set
|
# CONFIG_HID_PID is not set
|
||||||
|
# CONFIG_USB_HIDDEV is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Special HID drivers
|
# Special HID drivers
|
||||||
#
|
#
|
||||||
|
# CONFIG_HID_3M_PCT is not set
|
||||||
|
CONFIG_HID_A4TECH=y
|
||||||
|
CONFIG_HID_APPLE=y
|
||||||
|
CONFIG_HID_BELKIN=y
|
||||||
|
# CONFIG_HID_CANDO is not set
|
||||||
|
CONFIG_HID_CHERRY=y
|
||||||
|
CONFIG_HID_CHICONY=y
|
||||||
|
# CONFIG_HID_PRODIKEYS is not set
|
||||||
|
CONFIG_HID_CYPRESS=y
|
||||||
|
# CONFIG_HID_DRAGONRISE is not set
|
||||||
|
# CONFIG_HID_EGALAX is not set
|
||||||
|
CONFIG_HID_EZKEY=y
|
||||||
|
CONFIG_HID_KYE=y
|
||||||
|
# CONFIG_HID_GYRATION is not set
|
||||||
|
# CONFIG_HID_TWINHAN is not set
|
||||||
|
CONFIG_HID_KENSINGTON=y
|
||||||
|
CONFIG_HID_LOGITECH=y
|
||||||
|
# CONFIG_LOGITECH_FF is not set
|
||||||
|
# CONFIG_LOGIRUMBLEPAD2_FF is not set
|
||||||
|
# CONFIG_LOGIG940_FF is not set
|
||||||
|
CONFIG_HID_MICROSOFT=y
|
||||||
|
# CONFIG_HID_MOSART is not set
|
||||||
|
CONFIG_HID_MONTEREY=y
|
||||||
|
# CONFIG_HID_NTRIG is not set
|
||||||
|
# CONFIG_HID_ORTEK is not set
|
||||||
|
# CONFIG_HID_PANTHERLORD is not set
|
||||||
|
# CONFIG_HID_PETALYNX is not set
|
||||||
|
# CONFIG_HID_PICOLCD is not set
|
||||||
|
# CONFIG_HID_QUANTA is not set
|
||||||
|
# CONFIG_HID_ROCCAT_KONE is not set
|
||||||
|
# CONFIG_HID_SAMSUNG is not set
|
||||||
|
# CONFIG_HID_SONY is not set
|
||||||
|
# CONFIG_HID_STANTUM is not set
|
||||||
|
# CONFIG_HID_SUNPLUS is not set
|
||||||
|
# CONFIG_HID_GREENASIA is not set
|
||||||
|
# CONFIG_HID_SMARTJOYPLUS is not set
|
||||||
|
# CONFIG_HID_TOPSEED is not set
|
||||||
|
# CONFIG_HID_THRUSTMASTER is not set
|
||||||
|
# CONFIG_HID_ZEROPLUS is not set
|
||||||
|
# CONFIG_HID_ZYDACRON is not set
|
||||||
CONFIG_USB_SUPPORT=y
|
CONFIG_USB_SUPPORT=y
|
||||||
CONFIG_USB_ARCH_HAS_HCD=y
|
CONFIG_USB_ARCH_HAS_HCD=y
|
||||||
CONFIG_USB_ARCH_HAS_OHCI=y
|
CONFIG_USB_ARCH_HAS_OHCI=y
|
||||||
# CONFIG_USB_ARCH_HAS_EHCI is not set
|
# CONFIG_USB_ARCH_HAS_EHCI is not set
|
||||||
# CONFIG_USB is not set
|
CONFIG_USB=y
|
||||||
|
# CONFIG_USB_DEBUG is not set
|
||||||
|
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Enable Host or Gadget support to see Inventra options
|
# Miscellaneous USB options
|
||||||
#
|
#
|
||||||
|
CONFIG_USB_DEVICEFS=y
|
||||||
|
CONFIG_USB_DEVICE_CLASS=y
|
||||||
|
# CONFIG_USB_DYNAMIC_MINORS is not set
|
||||||
|
# CONFIG_USB_MON is not set
|
||||||
|
# CONFIG_USB_WUSB is not set
|
||||||
|
# CONFIG_USB_WUSB_CBAF is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# USB Host Controller Drivers
|
||||||
|
#
|
||||||
|
# CONFIG_USB_C67X00_HCD is not set
|
||||||
|
# CONFIG_USB_OXU210HP_HCD is not set
|
||||||
|
# CONFIG_USB_ISP116X_HCD is not set
|
||||||
|
# CONFIG_USB_ISP1760_HCD is not set
|
||||||
|
# CONFIG_USB_ISP1362_HCD is not set
|
||||||
|
CONFIG_USB_OHCI_HCD=y
|
||||||
|
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
|
||||||
|
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
|
||||||
|
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
|
||||||
|
# CONFIG_USB_SL811_HCD is not set
|
||||||
|
# CONFIG_USB_R8A66597_HCD is not set
|
||||||
|
# CONFIG_USB_HWA_HCD is not set
|
||||||
|
# CONFIG_USB_MUSB_HDRC is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# USB Device Class drivers
|
||||||
|
#
|
||||||
|
CONFIG_USB_ACM=m
|
||||||
|
CONFIG_USB_PRINTER=m
|
||||||
|
# CONFIG_USB_WDM is not set
|
||||||
|
# CONFIG_USB_TMC is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
|
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# also be needed; see USB_STORAGE Help for more info
|
||||||
|
#
|
||||||
|
# CONFIG_USB_LIBUSUAL is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# USB Imaging devices
|
||||||
|
#
|
||||||
|
# CONFIG_USB_MDC800 is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# USB port drivers
|
||||||
|
#
|
||||||
|
CONFIG_USB_SERIAL=m
|
||||||
|
# CONFIG_USB_EZUSB is not set
|
||||||
|
CONFIG_USB_SERIAL_GENERIC=y
|
||||||
|
# CONFIG_USB_SERIAL_AIRCABLE is not set
|
||||||
|
# CONFIG_USB_SERIAL_ARK3116 is not set
|
||||||
|
# CONFIG_USB_SERIAL_BELKIN is not set
|
||||||
|
# CONFIG_USB_SERIAL_CH341 is not set
|
||||||
|
# CONFIG_USB_SERIAL_WHITEHEAT is not set
|
||||||
|
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
|
||||||
|
# CONFIG_USB_SERIAL_CP210X is not set
|
||||||
|
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
|
||||||
|
CONFIG_USB_SERIAL_EMPEG=m
|
||||||
|
CONFIG_USB_SERIAL_FTDI_SIO=m
|
||||||
|
# CONFIG_USB_SERIAL_FUNSOFT is not set
|
||||||
|
# CONFIG_USB_SERIAL_VISOR is not set
|
||||||
|
# CONFIG_USB_SERIAL_IPAQ is not set
|
||||||
|
# CONFIG_USB_SERIAL_IR is not set
|
||||||
|
# CONFIG_USB_SERIAL_EDGEPORT is not set
|
||||||
|
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
|
||||||
|
# CONFIG_USB_SERIAL_GARMIN is not set
|
||||||
|
# CONFIG_USB_SERIAL_IPW is not set
|
||||||
|
# CONFIG_USB_SERIAL_IUU is not set
|
||||||
|
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
|
||||||
|
# CONFIG_USB_SERIAL_KEYSPAN is not set
|
||||||
|
# CONFIG_USB_SERIAL_KLSI is not set
|
||||||
|
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
|
||||||
|
# CONFIG_USB_SERIAL_MCT_U232 is not set
|
||||||
|
# CONFIG_USB_SERIAL_MOS7720 is not set
|
||||||
|
# CONFIG_USB_SERIAL_MOS7840 is not set
|
||||||
|
# CONFIG_USB_SERIAL_MOTOROLA is not set
|
||||||
|
# CONFIG_USB_SERIAL_NAVMAN is not set
|
||||||
|
CONFIG_USB_SERIAL_PL2303=m
|
||||||
|
# CONFIG_USB_SERIAL_OTI6858 is not set
|
||||||
|
# CONFIG_USB_SERIAL_QCAUX is not set
|
||||||
|
# CONFIG_USB_SERIAL_QUALCOMM is not set
|
||||||
|
# CONFIG_USB_SERIAL_SPCP8X5 is not set
|
||||||
|
# CONFIG_USB_SERIAL_HP4X is not set
|
||||||
|
# CONFIG_USB_SERIAL_SAFE is not set
|
||||||
|
# CONFIG_USB_SERIAL_SIEMENS_MPI is not set
|
||||||
|
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
|
||||||
|
# CONFIG_USB_SERIAL_SYMBOL is not set
|
||||||
|
# CONFIG_USB_SERIAL_TI is not set
|
||||||
|
# CONFIG_USB_SERIAL_CYBERJACK is not set
|
||||||
|
# CONFIG_USB_SERIAL_XIRCOM is not set
|
||||||
|
# CONFIG_USB_SERIAL_OPTION is not set
|
||||||
|
# CONFIG_USB_SERIAL_OMNINET is not set
|
||||||
|
# CONFIG_USB_SERIAL_OPTICON is not set
|
||||||
|
# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set
|
||||||
|
# CONFIG_USB_SERIAL_ZIO is not set
|
||||||
|
# CONFIG_USB_SERIAL_DEBUG is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# USB Miscellaneous drivers
|
||||||
|
#
|
||||||
|
# CONFIG_USB_EMI62 is not set
|
||||||
|
# CONFIG_USB_EMI26 is not set
|
||||||
|
# CONFIG_USB_ADUTUX is not set
|
||||||
|
# CONFIG_USB_SEVSEG is not set
|
||||||
|
# CONFIG_USB_RIO500 is not set
|
||||||
|
# CONFIG_USB_LEGOTOWER is not set
|
||||||
|
# CONFIG_USB_LCD is not set
|
||||||
|
# CONFIG_USB_LED is not set
|
||||||
|
# CONFIG_USB_CYPRESS_CY7C63 is not set
|
||||||
|
# CONFIG_USB_CYTHERM is not set
|
||||||
|
# CONFIG_USB_IDMOUSE is not set
|
||||||
|
# CONFIG_USB_FTDI_ELAN is not set
|
||||||
|
# CONFIG_USB_APPLEDISPLAY is not set
|
||||||
|
# CONFIG_USB_LD is not set
|
||||||
|
# CONFIG_USB_TRANCEVIBRATOR is not set
|
||||||
|
# CONFIG_USB_IOWARRIOR is not set
|
||||||
|
# CONFIG_USB_TEST is not set
|
||||||
|
# CONFIG_USB_ISIGHTFW is not set
|
||||||
# CONFIG_USB_GADGET is not set
|
# CONFIG_USB_GADGET is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# OTG and related infrastructure
|
# OTG and related infrastructure
|
||||||
#
|
#
|
||||||
|
# CONFIG_USB_GPIO_VBUS is not set
|
||||||
|
# CONFIG_USB_ULPI is not set
|
||||||
|
# CONFIG_NOP_USB_XCEIV is not set
|
||||||
CONFIG_MMC=y
|
CONFIG_MMC=y
|
||||||
CONFIG_MMC_DEBUG=y
|
CONFIG_MMC_DEBUG=y
|
||||||
CONFIG_MMC_UNSAFE_RESUME=y
|
CONFIG_MMC_UNSAFE_RESUME=y
|
||||||
@ -928,18 +1208,80 @@ CONFIG_MMC_SDHCI=y
|
|||||||
# CONFIG_MMC_SDHCI_PLTFM is not set
|
# CONFIG_MMC_SDHCI_PLTFM is not set
|
||||||
CONFIG_MMC_SDHCI_S3C=y
|
CONFIG_MMC_SDHCI_S3C=y
|
||||||
# CONFIG_MMC_SDHCI_S3C_DMA is not set
|
# CONFIG_MMC_SDHCI_S3C_DMA is not set
|
||||||
|
# CONFIG_MMC_SPI is not set
|
||||||
# CONFIG_MEMSTICK is not set
|
# CONFIG_MEMSTICK is not set
|
||||||
# CONFIG_NEW_LEDS is not set
|
# CONFIG_NEW_LEDS is not set
|
||||||
# CONFIG_ACCESSIBILITY is not set
|
# CONFIG_ACCESSIBILITY is not set
|
||||||
CONFIG_RTC_LIB=y
|
CONFIG_RTC_LIB=y
|
||||||
# CONFIG_RTC_CLASS is not set
|
CONFIG_RTC_CLASS=y
|
||||||
|
CONFIG_RTC_HCTOSYS=y
|
||||||
|
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
|
||||||
|
# CONFIG_RTC_DEBUG is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# RTC interfaces
|
||||||
|
#
|
||||||
|
CONFIG_RTC_INTF_SYSFS=y
|
||||||
|
CONFIG_RTC_INTF_PROC=y
|
||||||
|
CONFIG_RTC_INTF_DEV=y
|
||||||
|
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
|
||||||
|
# CONFIG_RTC_DRV_TEST is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# I2C RTC drivers
|
||||||
|
#
|
||||||
|
# CONFIG_RTC_DRV_DS1307 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1374 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1672 is not set
|
||||||
|
# CONFIG_RTC_DRV_MAX6900 is not set
|
||||||
|
# CONFIG_RTC_DRV_RS5C372 is not set
|
||||||
|
# CONFIG_RTC_DRV_ISL1208 is not set
|
||||||
|
# CONFIG_RTC_DRV_X1205 is not set
|
||||||
|
# CONFIG_RTC_DRV_PCF8563 is not set
|
||||||
|
# CONFIG_RTC_DRV_PCF8583 is not set
|
||||||
|
# CONFIG_RTC_DRV_M41T80 is not set
|
||||||
|
# CONFIG_RTC_DRV_BQ32K is not set
|
||||||
|
# CONFIG_RTC_DRV_S35390A is not set
|
||||||
|
# CONFIG_RTC_DRV_FM3130 is not set
|
||||||
|
# CONFIG_RTC_DRV_RX8581 is not set
|
||||||
|
# CONFIG_RTC_DRV_RX8025 is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# SPI RTC drivers
|
||||||
|
#
|
||||||
|
# CONFIG_RTC_DRV_M41T94 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1305 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1390 is not set
|
||||||
|
# CONFIG_RTC_DRV_MAX6902 is not set
|
||||||
|
# CONFIG_RTC_DRV_R9701 is not set
|
||||||
|
# CONFIG_RTC_DRV_RS5C348 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS3234 is not set
|
||||||
|
# CONFIG_RTC_DRV_PCF2123 is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Platform RTC drivers
|
||||||
|
#
|
||||||
|
# CONFIG_RTC_DRV_CMOS is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1286 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1511 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1553 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1742 is not set
|
||||||
|
# CONFIG_RTC_DRV_STK17TA8 is not set
|
||||||
|
# CONFIG_RTC_DRV_M48T86 is not set
|
||||||
|
# CONFIG_RTC_DRV_M48T35 is not set
|
||||||
|
# CONFIG_RTC_DRV_M48T59 is not set
|
||||||
|
# CONFIG_RTC_DRV_MSM6242 is not set
|
||||||
|
# CONFIG_RTC_DRV_BQ4802 is not set
|
||||||
|
# CONFIG_RTC_DRV_RP5C01 is not set
|
||||||
|
# CONFIG_RTC_DRV_V3020 is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# on-CPU RTC drivers
|
||||||
|
#
|
||||||
|
CONFIG_RTC_DRV_S3C=y
|
||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_AUXDISPLAY is not set
|
# CONFIG_AUXDISPLAY is not set
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
|
|
||||||
#
|
|
||||||
# TI VLYNQ
|
|
||||||
#
|
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1033,7 +1375,46 @@ CONFIG_ROMFS_ON_BLOCK=y
|
|||||||
#
|
#
|
||||||
# CONFIG_PARTITION_ADVANCED is not set
|
# CONFIG_PARTITION_ADVANCED is not set
|
||||||
CONFIG_MSDOS_PARTITION=y
|
CONFIG_MSDOS_PARTITION=y
|
||||||
# CONFIG_NLS is not set
|
CONFIG_NLS=y
|
||||||
|
CONFIG_NLS_DEFAULT="iso8859-1"
|
||||||
|
# CONFIG_NLS_CODEPAGE_437 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_737 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_775 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_850 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_852 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_855 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_857 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_860 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_861 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_862 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_863 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_864 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_865 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_866 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_869 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_936 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_950 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_932 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_949 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_874 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_8 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_1250 is not set
|
||||||
|
# CONFIG_NLS_CODEPAGE_1251 is not set
|
||||||
|
# CONFIG_NLS_ASCII is not set
|
||||||
|
# CONFIG_NLS_ISO8859_1 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_2 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_3 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_4 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_5 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_6 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_7 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_9 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_13 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_14 is not set
|
||||||
|
# CONFIG_NLS_ISO8859_15 is not set
|
||||||
|
# CONFIG_NLS_KOI8_R is not set
|
||||||
|
# CONFIG_NLS_KOI8_U is not set
|
||||||
|
# CONFIG_NLS_UTF8 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Kernel hacking
|
# Kernel hacking
|
||||||
@ -1096,6 +1477,7 @@ CONFIG_HAVE_FUNCTION_TRACER=y
|
|||||||
CONFIG_TRACING_SUPPORT=y
|
CONFIG_TRACING_SUPPORT=y
|
||||||
CONFIG_FTRACE=y
|
CONFIG_FTRACE=y
|
||||||
# CONFIG_FUNCTION_TRACER is not set
|
# CONFIG_FUNCTION_TRACER is not set
|
||||||
|
# CONFIG_IRQSOFF_TRACER is not set
|
||||||
# CONFIG_SCHED_TRACER is not set
|
# CONFIG_SCHED_TRACER is not set
|
||||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||||
# CONFIG_BOOT_TRACER is not set
|
# CONFIG_BOOT_TRACER is not set
|
||||||
@ -1106,6 +1488,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
|||||||
# CONFIG_KMEMTRACE is not set
|
# CONFIG_KMEMTRACE is not set
|
||||||
# CONFIG_WORKQUEUE_TRACER is not set
|
# CONFIG_WORKQUEUE_TRACER is not set
|
||||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||||
|
# CONFIG_ATOMIC64_SELFTEST is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.34
|
# Linux kernel version: 2.6.34
|
||||||
# Sat May 22 03:18:18 2010
|
# Wed May 26 19:04:32 2010
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
CONFIG_GENERIC_GPIO=y
|
CONFIG_GENERIC_GPIO=y
|
||||||
|
CONFIG_GENERIC_TIME=y
|
||||||
|
CONFIG_ARCH_USES_GETTIMEOFFSET=y
|
||||||
CONFIG_HAVE_PROC_CPU=y
|
CONFIG_HAVE_PROC_CPU=y
|
||||||
CONFIG_NO_IOPORT=y
|
CONFIG_NO_IOPORT=y
|
||||||
CONFIG_GENERIC_HARDIRQS=y
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
@ -33,6 +35,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
|||||||
CONFIG_LOCALVERSION=""
|
CONFIG_LOCALVERSION=""
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
CONFIG_HAVE_KERNEL_LZO=y
|
CONFIG_HAVE_KERNEL_LZO=y
|
||||||
CONFIG_KERNEL_GZIP=y
|
CONFIG_KERNEL_GZIP=y
|
||||||
# CONFIG_KERNEL_BZIP2 is not set
|
# CONFIG_KERNEL_BZIP2 is not set
|
||||||
@ -178,9 +181,11 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
# CONFIG_ARCH_AT91 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_BCMRING is not set
|
# CONFIG_ARCH_BCMRING is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
|
# CONFIG_ARCH_CNS3XXX is not set
|
||||||
# CONFIG_ARCH_GEMINI is not set
|
# CONFIG_ARCH_GEMINI is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
@ -216,7 +221,7 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_S3C64XX is not set
|
# CONFIG_ARCH_S3C64XX is not set
|
||||||
CONFIG_ARCH_S5P6440=y
|
CONFIG_ARCH_S5P6440=y
|
||||||
# CONFIG_ARCH_S5P6442 is not set
|
# CONFIG_ARCH_S5P6442 is not set
|
||||||
# CONFIG_ARCH_S5PC1XX is not set
|
# CONFIG_ARCH_S5PC100 is not set
|
||||||
# CONFIG_ARCH_S5PV210 is not set
|
# CONFIG_ARCH_S5PV210 is not set
|
||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
@ -225,6 +230,7 @@ CONFIG_ARCH_S5P6440=y
|
|||||||
# CONFIG_ARCH_NOMADIK is not set
|
# CONFIG_ARCH_NOMADIK is not set
|
||||||
# CONFIG_ARCH_DAVINCI is not set
|
# CONFIG_ARCH_DAVINCI is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
|
# CONFIG_PLAT_SPEAR is not set
|
||||||
CONFIG_PLAT_SAMSUNG=y
|
CONFIG_PLAT_SAMSUNG=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -240,10 +246,15 @@ CONFIG_SAMSUNG_GPIOLIB_4BIT=y
|
|||||||
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
||||||
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
||||||
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
||||||
|
CONFIG_S5P_GPIO_DRVSTR=y
|
||||||
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
||||||
CONFIG_S3C_GPIO_SPACE=0
|
CONFIG_S3C_GPIO_SPACE=0
|
||||||
CONFIG_S3C_GPIO_TRACK=y
|
CONFIG_S3C_GPIO_TRACK=y
|
||||||
# CONFIG_S3C_ADC is not set
|
# CONFIG_S3C_ADC is not set
|
||||||
|
CONFIG_S3C_DEV_WDT=y
|
||||||
|
CONFIG_SAMSUNG_DEV_ADC=y
|
||||||
|
CONFIG_SAMSUNG_DEV_TS=y
|
||||||
|
CONFIG_S3C_PL330_DMA=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Power management
|
# Power management
|
||||||
@ -276,10 +287,12 @@ CONFIG_ARM_THUMB=y
|
|||||||
# CONFIG_CPU_DCACHE_DISABLE is not set
|
# CONFIG_CPU_DCACHE_DISABLE is not set
|
||||||
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
||||||
CONFIG_ARM_L1_CACHE_SHIFT=5
|
CONFIG_ARM_L1_CACHE_SHIFT=5
|
||||||
|
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
|
||||||
CONFIG_CPU_HAS_PMU=y
|
CONFIG_CPU_HAS_PMU=y
|
||||||
# CONFIG_ARM_ERRATA_411920 is not set
|
# CONFIG_ARM_ERRATA_411920 is not set
|
||||||
CONFIG_ARM_VIC=y
|
CONFIG_ARM_VIC=y
|
||||||
CONFIG_ARM_VIC_NR=2
|
CONFIG_ARM_VIC_NR=2
|
||||||
|
CONFIG_PL330=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bus support
|
# Bus support
|
||||||
@ -326,6 +339,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
CONFIG_ZBOOT_ROM_TEXT=0
|
CONFIG_ZBOOT_ROM_TEXT=0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0
|
CONFIG_ZBOOT_ROM_BSS=0
|
||||||
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
||||||
|
# CONFIG_CMDLINE_FORCE is not set
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@ -490,7 +504,9 @@ CONFIG_MOUSE_PS2_TRACKPOINT=y
|
|||||||
CONFIG_INPUT_TOUCHSCREEN=y
|
CONFIG_INPUT_TOUCHSCREEN=y
|
||||||
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
||||||
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
||||||
|
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
|
||||||
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
||||||
|
# CONFIG_TOUCHSCREEN_S3C2410 is not set
|
||||||
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
||||||
# CONFIG_TOUCHSCREEN_ELO is not set
|
# CONFIG_TOUCHSCREEN_ELO is not set
|
||||||
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
|
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
|
||||||
@ -546,6 +562,8 @@ CONFIG_SERIAL_S3C6400=y
|
|||||||
CONFIG_SERIAL_CORE=y
|
CONFIG_SERIAL_CORE=y
|
||||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||||
# CONFIG_SERIAL_TIMBERDALE is not set
|
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_UART is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||||
CONFIG_LEGACY_PTYS=y
|
CONFIG_LEGACY_PTYS=y
|
||||||
@ -593,6 +611,7 @@ CONFIG_GPIOLIB=y
|
|||||||
# CONFIG_HWMON is not set
|
# CONFIG_HWMON is not set
|
||||||
# CONFIG_THERMAL is not set
|
# CONFIG_THERMAL is not set
|
||||||
# CONFIG_WATCHDOG is not set
|
# CONFIG_WATCHDOG is not set
|
||||||
|
CONFIG_HAVE_S3C2410_WATCHDOG=y
|
||||||
CONFIG_SSB_POSSIBLE=y
|
CONFIG_SSB_POSSIBLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -649,10 +668,6 @@ CONFIG_RTC_LIB=y
|
|||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_AUXDISPLAY is not set
|
# CONFIG_AUXDISPLAY is not set
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
|
|
||||||
#
|
|
||||||
# TI VLYNQ
|
|
||||||
#
|
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -850,6 +865,7 @@ CONFIG_HAVE_FUNCTION_TRACER=y
|
|||||||
CONFIG_TRACING_SUPPORT=y
|
CONFIG_TRACING_SUPPORT=y
|
||||||
CONFIG_FTRACE=y
|
CONFIG_FTRACE=y
|
||||||
# CONFIG_FUNCTION_TRACER is not set
|
# CONFIG_FUNCTION_TRACER is not set
|
||||||
|
# CONFIG_IRQSOFF_TRACER is not set
|
||||||
# CONFIG_SCHED_TRACER is not set
|
# CONFIG_SCHED_TRACER is not set
|
||||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||||
# CONFIG_BOOT_TRACER is not set
|
# CONFIG_BOOT_TRACER is not set
|
||||||
@ -860,6 +876,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
|||||||
# CONFIG_KMEMTRACE is not set
|
# CONFIG_KMEMTRACE is not set
|
||||||
# CONFIG_WORKQUEUE_TRACER is not set
|
# CONFIG_WORKQUEUE_TRACER is not set
|
||||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||||
|
# CONFIG_ATOMIC64_SELFTEST is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.34
|
# Linux kernel version: 2.6.34
|
||||||
# Sat May 22 03:18:19 2010
|
# Wed May 26 19:04:34 2010
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
CONFIG_GENERIC_GPIO=y
|
CONFIG_GENERIC_GPIO=y
|
||||||
|
CONFIG_GENERIC_TIME=y
|
||||||
|
CONFIG_ARCH_USES_GETTIMEOFFSET=y
|
||||||
CONFIG_HAVE_PROC_CPU=y
|
CONFIG_HAVE_PROC_CPU=y
|
||||||
CONFIG_NO_IOPORT=y
|
CONFIG_NO_IOPORT=y
|
||||||
CONFIG_GENERIC_HARDIRQS=y
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
@ -33,6 +35,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
|||||||
CONFIG_LOCALVERSION=""
|
CONFIG_LOCALVERSION=""
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
CONFIG_HAVE_KERNEL_LZO=y
|
CONFIG_HAVE_KERNEL_LZO=y
|
||||||
CONFIG_KERNEL_GZIP=y
|
CONFIG_KERNEL_GZIP=y
|
||||||
# CONFIG_KERNEL_BZIP2 is not set
|
# CONFIG_KERNEL_BZIP2 is not set
|
||||||
@ -178,9 +181,11 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
# CONFIG_ARCH_AT91 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_BCMRING is not set
|
# CONFIG_ARCH_BCMRING is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
|
# CONFIG_ARCH_CNS3XXX is not set
|
||||||
# CONFIG_ARCH_GEMINI is not set
|
# CONFIG_ARCH_GEMINI is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
@ -216,7 +221,7 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_S3C64XX is not set
|
# CONFIG_ARCH_S3C64XX is not set
|
||||||
# CONFIG_ARCH_S5P6440 is not set
|
# CONFIG_ARCH_S5P6440 is not set
|
||||||
CONFIG_ARCH_S5P6442=y
|
CONFIG_ARCH_S5P6442=y
|
||||||
# CONFIG_ARCH_S5PC1XX is not set
|
# CONFIG_ARCH_S5PC100 is not set
|
||||||
# CONFIG_ARCH_S5PV210 is not set
|
# CONFIG_ARCH_S5PV210 is not set
|
||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
@ -225,6 +230,7 @@ CONFIG_ARCH_S5P6442=y
|
|||||||
# CONFIG_ARCH_NOMADIK is not set
|
# CONFIG_ARCH_NOMADIK is not set
|
||||||
# CONFIG_ARCH_DAVINCI is not set
|
# CONFIG_ARCH_DAVINCI is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
|
# CONFIG_PLAT_SPEAR is not set
|
||||||
CONFIG_PLAT_SAMSUNG=y
|
CONFIG_PLAT_SAMSUNG=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -240,10 +246,12 @@ CONFIG_SAMSUNG_GPIOLIB_4BIT=y
|
|||||||
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
||||||
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
||||||
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
||||||
|
CONFIG_S5P_GPIO_DRVSTR=y
|
||||||
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
||||||
CONFIG_S3C_GPIO_SPACE=0
|
CONFIG_S3C_GPIO_SPACE=0
|
||||||
CONFIG_S3C_GPIO_TRACK=y
|
CONFIG_S3C_GPIO_TRACK=y
|
||||||
# CONFIG_S3C_ADC is not set
|
# CONFIG_S3C_ADC is not set
|
||||||
|
CONFIG_S3C_PL330_DMA=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Power management
|
# Power management
|
||||||
@ -276,10 +284,12 @@ CONFIG_ARM_THUMB=y
|
|||||||
# CONFIG_CPU_DCACHE_DISABLE is not set
|
# CONFIG_CPU_DCACHE_DISABLE is not set
|
||||||
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
||||||
CONFIG_ARM_L1_CACHE_SHIFT=5
|
CONFIG_ARM_L1_CACHE_SHIFT=5
|
||||||
|
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
|
||||||
CONFIG_CPU_HAS_PMU=y
|
CONFIG_CPU_HAS_PMU=y
|
||||||
# CONFIG_ARM_ERRATA_411920 is not set
|
# CONFIG_ARM_ERRATA_411920 is not set
|
||||||
CONFIG_ARM_VIC=y
|
CONFIG_ARM_VIC=y
|
||||||
CONFIG_ARM_VIC_NR=2
|
CONFIG_ARM_VIC_NR=2
|
||||||
|
CONFIG_PL330=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bus support
|
# Bus support
|
||||||
@ -326,6 +336,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
CONFIG_ZBOOT_ROM_TEXT=0
|
CONFIG_ZBOOT_ROM_TEXT=0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0
|
CONFIG_ZBOOT_ROM_BSS=0
|
||||||
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
||||||
|
# CONFIG_CMDLINE_FORCE is not set
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@ -471,6 +482,7 @@ CONFIG_INPUT_EVDEV=y
|
|||||||
CONFIG_INPUT_TOUCHSCREEN=y
|
CONFIG_INPUT_TOUCHSCREEN=y
|
||||||
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
||||||
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
||||||
|
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
|
||||||
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
||||||
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
||||||
# CONFIG_TOUCHSCREEN_ELO is not set
|
# CONFIG_TOUCHSCREEN_ELO is not set
|
||||||
@ -525,6 +537,8 @@ CONFIG_SERIAL_S5PV210=y
|
|||||||
CONFIG_SERIAL_CORE=y
|
CONFIG_SERIAL_CORE=y
|
||||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||||
# CONFIG_SERIAL_TIMBERDALE is not set
|
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_UART is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||||
CONFIG_LEGACY_PTYS=y
|
CONFIG_LEGACY_PTYS=y
|
||||||
@ -624,10 +638,6 @@ CONFIG_RTC_LIB=y
|
|||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_AUXDISPLAY is not set
|
# CONFIG_AUXDISPLAY is not set
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
|
|
||||||
#
|
|
||||||
# TI VLYNQ
|
|
||||||
#
|
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -836,6 +846,7 @@ CONFIG_HAVE_FUNCTION_TRACER=y
|
|||||||
CONFIG_TRACING_SUPPORT=y
|
CONFIG_TRACING_SUPPORT=y
|
||||||
CONFIG_FTRACE=y
|
CONFIG_FTRACE=y
|
||||||
# CONFIG_FUNCTION_TRACER is not set
|
# CONFIG_FUNCTION_TRACER is not set
|
||||||
|
# CONFIG_IRQSOFF_TRACER is not set
|
||||||
# CONFIG_SCHED_TRACER is not set
|
# CONFIG_SCHED_TRACER is not set
|
||||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||||
# CONFIG_BOOT_TRACER is not set
|
# CONFIG_BOOT_TRACER is not set
|
||||||
@ -846,6 +857,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
|||||||
# CONFIG_KMEMTRACE is not set
|
# CONFIG_KMEMTRACE is not set
|
||||||
# CONFIG_WORKQUEUE_TRACER is not set
|
# CONFIG_WORKQUEUE_TRACER is not set
|
||||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||||
|
# CONFIG_ATOMIC64_SELFTEST is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.30
|
# Linux kernel version: 2.6.34
|
||||||
# Wed Jul 1 15:53:07 2009
|
# Wed May 26 19:04:35 2010
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
CONFIG_GENERIC_GPIO=y
|
CONFIG_GENERIC_GPIO=y
|
||||||
CONFIG_MMU=y
|
CONFIG_GENERIC_TIME=y
|
||||||
|
CONFIG_ARCH_USES_GETTIMEOFFSET=y
|
||||||
|
CONFIG_HAVE_PROC_CPU=y
|
||||||
CONFIG_NO_IOPORT=y
|
CONFIG_NO_IOPORT=y
|
||||||
CONFIG_GENERIC_HARDIRQS=y
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
CONFIG_STACKTRACE_SUPPORT=y
|
CONFIG_STACKTRACE_SUPPORT=y
|
||||||
@ -18,7 +20,9 @@ CONFIG_GENERIC_IRQ_PROBE=y
|
|||||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||||
CONFIG_GENERIC_HWEIGHT=y
|
CONFIG_GENERIC_HWEIGHT=y
|
||||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||||
|
CONFIG_NEED_DMA_MAP_STATE=y
|
||||||
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
|
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
|
||||||
|
CONFIG_ARM_L1_CACHE_SHIFT_6=y
|
||||||
CONFIG_VECTORS_BASE=0xffff0000
|
CONFIG_VECTORS_BASE=0xffff0000
|
||||||
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||||
CONFIG_CONSTRUCTORS=y
|
CONFIG_CONSTRUCTORS=y
|
||||||
@ -31,6 +35,13 @@ CONFIG_BROKEN_ON_SMP=y
|
|||||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||||
CONFIG_LOCALVERSION=""
|
CONFIG_LOCALVERSION=""
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZO=y
|
||||||
|
CONFIG_KERNEL_GZIP=y
|
||||||
|
# CONFIG_KERNEL_BZIP2 is not set
|
||||||
|
# CONFIG_KERNEL_LZMA is not set
|
||||||
|
# CONFIG_KERNEL_LZO is not set
|
||||||
CONFIG_SWAP=y
|
CONFIG_SWAP=y
|
||||||
# CONFIG_SYSVIPC is not set
|
# CONFIG_SYSVIPC is not set
|
||||||
# CONFIG_BSD_PROCESS_ACCT is not set
|
# CONFIG_BSD_PROCESS_ACCT is not set
|
||||||
@ -38,14 +49,15 @@ CONFIG_SWAP=y
|
|||||||
#
|
#
|
||||||
# RCU Subsystem
|
# RCU Subsystem
|
||||||
#
|
#
|
||||||
CONFIG_CLASSIC_RCU=y
|
CONFIG_TREE_RCU=y
|
||||||
# CONFIG_TREE_RCU is not set
|
# CONFIG_TREE_PREEMPT_RCU is not set
|
||||||
# CONFIG_PREEMPT_RCU is not set
|
# CONFIG_TINY_RCU is not set
|
||||||
|
# CONFIG_RCU_TRACE is not set
|
||||||
|
CONFIG_RCU_FANOUT=32
|
||||||
|
# CONFIG_RCU_FANOUT_EXACT is not set
|
||||||
# CONFIG_TREE_RCU_TRACE is not set
|
# CONFIG_TREE_RCU_TRACE is not set
|
||||||
# CONFIG_PREEMPT_RCU_TRACE is not set
|
|
||||||
# CONFIG_IKCONFIG is not set
|
# CONFIG_IKCONFIG is not set
|
||||||
CONFIG_LOG_BUF_SHIFT=17
|
CONFIG_LOG_BUF_SHIFT=17
|
||||||
# CONFIG_GROUP_SCHED is not set
|
|
||||||
# CONFIG_CGROUPS is not set
|
# CONFIG_CGROUPS is not set
|
||||||
CONFIG_SYSFS_DEPRECATED=y
|
CONFIG_SYSFS_DEPRECATED=y
|
||||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||||
@ -59,6 +71,7 @@ CONFIG_INITRAMFS_SOURCE=""
|
|||||||
CONFIG_RD_GZIP=y
|
CONFIG_RD_GZIP=y
|
||||||
CONFIG_RD_BZIP2=y
|
CONFIG_RD_BZIP2=y
|
||||||
CONFIG_RD_LZMA=y
|
CONFIG_RD_LZMA=y
|
||||||
|
CONFIG_RD_LZO=y
|
||||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||||
CONFIG_SYSCTL=y
|
CONFIG_SYSCTL=y
|
||||||
CONFIG_ANON_INODES=y
|
CONFIG_ANON_INODES=y
|
||||||
@ -80,19 +93,21 @@ CONFIG_TIMERFD=y
|
|||||||
CONFIG_EVENTFD=y
|
CONFIG_EVENTFD=y
|
||||||
CONFIG_SHMEM=y
|
CONFIG_SHMEM=y
|
||||||
CONFIG_AIO=y
|
CONFIG_AIO=y
|
||||||
|
CONFIG_HAVE_PERF_EVENTS=y
|
||||||
|
CONFIG_PERF_USE_VMALLOC=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Performance Counters
|
# Kernel Performance Events And Counters
|
||||||
#
|
#
|
||||||
|
# CONFIG_PERF_EVENTS is not set
|
||||||
|
# CONFIG_PERF_COUNTERS is not set
|
||||||
CONFIG_VM_EVENT_COUNTERS=y
|
CONFIG_VM_EVENT_COUNTERS=y
|
||||||
CONFIG_SLUB_DEBUG=y
|
CONFIG_SLUB_DEBUG=y
|
||||||
# CONFIG_STRIP_ASM_SYMS is not set
|
|
||||||
CONFIG_COMPAT_BRK=y
|
CONFIG_COMPAT_BRK=y
|
||||||
# CONFIG_SLAB is not set
|
# CONFIG_SLAB is not set
|
||||||
CONFIG_SLUB=y
|
CONFIG_SLUB=y
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
# CONFIG_PROFILING is not set
|
# CONFIG_PROFILING is not set
|
||||||
# CONFIG_MARKERS is not set
|
|
||||||
CONFIG_HAVE_OPROFILE=y
|
CONFIG_HAVE_OPROFILE=y
|
||||||
# CONFIG_KPROBES is not set
|
# CONFIG_KPROBES is not set
|
||||||
CONFIG_HAVE_KPROBES=y
|
CONFIG_HAVE_KPROBES=y
|
||||||
@ -122,25 +137,56 @@ CONFIG_LBDAF=y
|
|||||||
# IO Schedulers
|
# IO Schedulers
|
||||||
#
|
#
|
||||||
CONFIG_IOSCHED_NOOP=y
|
CONFIG_IOSCHED_NOOP=y
|
||||||
CONFIG_IOSCHED_AS=y
|
|
||||||
CONFIG_IOSCHED_DEADLINE=y
|
CONFIG_IOSCHED_DEADLINE=y
|
||||||
CONFIG_IOSCHED_CFQ=y
|
CONFIG_IOSCHED_CFQ=y
|
||||||
# CONFIG_DEFAULT_AS is not set
|
|
||||||
# CONFIG_DEFAULT_DEADLINE is not set
|
# CONFIG_DEFAULT_DEADLINE is not set
|
||||||
CONFIG_DEFAULT_CFQ=y
|
CONFIG_DEFAULT_CFQ=y
|
||||||
# CONFIG_DEFAULT_NOOP is not set
|
# CONFIG_DEFAULT_NOOP is not set
|
||||||
CONFIG_DEFAULT_IOSCHED="cfq"
|
CONFIG_DEFAULT_IOSCHED="cfq"
|
||||||
|
# CONFIG_INLINE_SPIN_TRYLOCK is not set
|
||||||
|
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
|
||||||
|
# CONFIG_INLINE_SPIN_LOCK is not set
|
||||||
|
# CONFIG_INLINE_SPIN_LOCK_BH is not set
|
||||||
|
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
|
||||||
|
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
|
||||||
|
# CONFIG_INLINE_SPIN_UNLOCK is not set
|
||||||
|
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
|
||||||
|
# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
|
||||||
|
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
|
||||||
|
# CONFIG_INLINE_READ_TRYLOCK is not set
|
||||||
|
# CONFIG_INLINE_READ_LOCK is not set
|
||||||
|
# CONFIG_INLINE_READ_LOCK_BH is not set
|
||||||
|
# CONFIG_INLINE_READ_LOCK_IRQ is not set
|
||||||
|
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
|
||||||
|
# CONFIG_INLINE_READ_UNLOCK is not set
|
||||||
|
# CONFIG_INLINE_READ_UNLOCK_BH is not set
|
||||||
|
# CONFIG_INLINE_READ_UNLOCK_IRQ is not set
|
||||||
|
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
|
||||||
|
# CONFIG_INLINE_WRITE_TRYLOCK is not set
|
||||||
|
# CONFIG_INLINE_WRITE_LOCK is not set
|
||||||
|
# CONFIG_INLINE_WRITE_LOCK_BH is not set
|
||||||
|
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
|
||||||
|
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
|
||||||
|
# CONFIG_INLINE_WRITE_UNLOCK is not set
|
||||||
|
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
|
||||||
|
# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
|
||||||
|
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
|
||||||
|
# CONFIG_MUTEX_SPIN_ON_OWNER is not set
|
||||||
# CONFIG_FREEZER is not set
|
# CONFIG_FREEZER is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# System Type
|
# System Type
|
||||||
#
|
#
|
||||||
|
CONFIG_MMU=y
|
||||||
# CONFIG_ARCH_AAEC2000 is not set
|
# CONFIG_ARCH_AAEC2000 is not set
|
||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
# CONFIG_ARCH_AT91 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
|
# CONFIG_ARCH_BCMRING is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
|
# CONFIG_ARCH_CNS3XXX is not set
|
||||||
# CONFIG_ARCH_GEMINI is not set
|
# CONFIG_ARCH_GEMINI is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
@ -156,6 +202,7 @@ CONFIG_DEFAULT_IOSCHED="cfq"
|
|||||||
# CONFIG_ARCH_IXP2000 is not set
|
# CONFIG_ARCH_IXP2000 is not set
|
||||||
# CONFIG_ARCH_IXP4XX is not set
|
# CONFIG_ARCH_IXP4XX is not set
|
||||||
# CONFIG_ARCH_L7200 is not set
|
# CONFIG_ARCH_L7200 is not set
|
||||||
|
# CONFIG_ARCH_DOVE is not set
|
||||||
# CONFIG_ARCH_KIRKWOOD is not set
|
# CONFIG_ARCH_KIRKWOOD is not set
|
||||||
# CONFIG_ARCH_LOKI is not set
|
# CONFIG_ARCH_LOKI is not set
|
||||||
# CONFIG_ARCH_MV78XX0 is not set
|
# CONFIG_ARCH_MV78XX0 is not set
|
||||||
@ -164,39 +211,64 @@ CONFIG_DEFAULT_IOSCHED="cfq"
|
|||||||
# CONFIG_ARCH_KS8695 is not set
|
# CONFIG_ARCH_KS8695 is not set
|
||||||
# CONFIG_ARCH_NS9XXX is not set
|
# CONFIG_ARCH_NS9XXX is not set
|
||||||
# CONFIG_ARCH_W90X900 is not set
|
# CONFIG_ARCH_W90X900 is not set
|
||||||
|
# CONFIG_ARCH_NUC93X is not set
|
||||||
# CONFIG_ARCH_PNX4008 is not set
|
# CONFIG_ARCH_PNX4008 is not set
|
||||||
# CONFIG_ARCH_PXA is not set
|
# CONFIG_ARCH_PXA is not set
|
||||||
# CONFIG_ARCH_MSM is not set
|
# CONFIG_ARCH_MSM is not set
|
||||||
|
# CONFIG_ARCH_SHMOBILE is not set
|
||||||
# CONFIG_ARCH_RPC is not set
|
# CONFIG_ARCH_RPC is not set
|
||||||
# CONFIG_ARCH_SA1100 is not set
|
# CONFIG_ARCH_SA1100 is not set
|
||||||
# CONFIG_ARCH_S3C2410 is not set
|
# CONFIG_ARCH_S3C2410 is not set
|
||||||
# CONFIG_ARCH_S3C64XX is not set
|
# CONFIG_ARCH_S3C64XX is not set
|
||||||
|
# CONFIG_ARCH_S5P6440 is not set
|
||||||
|
# CONFIG_ARCH_S5P6442 is not set
|
||||||
CONFIG_ARCH_S5PC100=y
|
CONFIG_ARCH_S5PC100=y
|
||||||
|
# CONFIG_ARCH_S5PV210 is not set
|
||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
# CONFIG_ARCH_U300 is not set
|
# CONFIG_ARCH_U300 is not set
|
||||||
|
# CONFIG_ARCH_U8500 is not set
|
||||||
|
# CONFIG_ARCH_NOMADIK is not set
|
||||||
# CONFIG_ARCH_DAVINCI is not set
|
# CONFIG_ARCH_DAVINCI is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
CONFIG_PLAT_S3C=y
|
# CONFIG_PLAT_SPEAR is not set
|
||||||
|
CONFIG_PLAT_SAMSUNG=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Boot options
|
# Boot options
|
||||||
#
|
#
|
||||||
# CONFIG_S3C_BOOT_ERROR_RESET is not set
|
# CONFIG_S3C_BOOT_ERROR_RESET is not set
|
||||||
CONFIG_S3C_BOOT_UART_FORCE_FIFO=y
|
CONFIG_S3C_BOOT_UART_FORCE_FIFO=y
|
||||||
|
CONFIG_S3C_LOWLEVEL_UART_PORT=0
|
||||||
|
CONFIG_SAMSUNG_CLKSRC=y
|
||||||
|
CONFIG_SAMSUNG_IRQ_VIC_TIMER=y
|
||||||
|
CONFIG_SAMSUNG_IRQ_UART=y
|
||||||
|
CONFIG_SAMSUNG_GPIOLIB_4BIT=y
|
||||||
|
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
||||||
|
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
||||||
|
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
||||||
|
CONFIG_S5P_GPIO_DRVSTR=y
|
||||||
|
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
||||||
|
CONFIG_S3C_GPIO_SPACE=0
|
||||||
|
CONFIG_S3C_GPIO_TRACK=y
|
||||||
|
# CONFIG_S3C_ADC is not set
|
||||||
|
CONFIG_S3C_DEV_HSMMC=y
|
||||||
|
CONFIG_S3C_DEV_HSMMC1=y
|
||||||
|
CONFIG_S3C_DEV_HSMMC2=y
|
||||||
|
CONFIG_S3C_DEV_I2C1=y
|
||||||
|
CONFIG_S3C_DEV_FB=y
|
||||||
|
CONFIG_S3C_PL330_DMA=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Power management
|
# Power management
|
||||||
#
|
#
|
||||||
CONFIG_S3C_LOWLEVEL_UART_PORT=0
|
CONFIG_PLAT_S5P=y
|
||||||
CONFIG_S3C_GPIO_SPACE=0
|
CONFIG_S5P_EXT_INT=y
|
||||||
CONFIG_S3C_GPIO_TRACK=y
|
|
||||||
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
|
||||||
CONFIG_PLAT_S5PC1XX=y
|
|
||||||
CONFIG_CPU_S5PC100_INIT=y
|
|
||||||
CONFIG_CPU_S5PC100_CLOCK=y
|
|
||||||
CONFIG_S5PC100_SETUP_I2C0=y
|
|
||||||
CONFIG_CPU_S5PC100=y
|
CONFIG_CPU_S5PC100=y
|
||||||
|
CONFIG_S5PC100_SETUP_FB_24BPP=y
|
||||||
|
CONFIG_S5PC100_SETUP_I2C1=y
|
||||||
|
CONFIG_S5PC100_SETUP_SDHCI=y
|
||||||
|
CONFIG_S5PC100_SETUP_SDHCI_GPIO=y
|
||||||
CONFIG_MACH_SMDKC100=y
|
CONFIG_MACH_SMDKC100=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -206,7 +278,7 @@ CONFIG_CPU_32v6K=y
|
|||||||
CONFIG_CPU_V7=y
|
CONFIG_CPU_V7=y
|
||||||
CONFIG_CPU_32v7=y
|
CONFIG_CPU_32v7=y
|
||||||
CONFIG_CPU_ABRT_EV7=y
|
CONFIG_CPU_ABRT_EV7=y
|
||||||
CONFIG_CPU_PABRT_IFAR=y
|
CONFIG_CPU_PABRT_V7=y
|
||||||
CONFIG_CPU_CACHE_V7=y
|
CONFIG_CPU_CACHE_V7=y
|
||||||
CONFIG_CPU_CACHE_VIPT=y
|
CONFIG_CPU_CACHE_VIPT=y
|
||||||
CONFIG_CPU_COPY_V6=y
|
CONFIG_CPU_COPY_V6=y
|
||||||
@ -224,11 +296,15 @@ CONFIG_ARM_THUMB=y
|
|||||||
# CONFIG_CPU_DCACHE_DISABLE is not set
|
# CONFIG_CPU_DCACHE_DISABLE is not set
|
||||||
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
||||||
CONFIG_HAS_TLS_REG=y
|
CONFIG_HAS_TLS_REG=y
|
||||||
|
CONFIG_ARM_L1_CACHE_SHIFT=6
|
||||||
|
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
|
||||||
|
CONFIG_CPU_HAS_PMU=y
|
||||||
# CONFIG_ARM_ERRATA_430973 is not set
|
# CONFIG_ARM_ERRATA_430973 is not set
|
||||||
# CONFIG_ARM_ERRATA_458693 is not set
|
# CONFIG_ARM_ERRATA_458693 is not set
|
||||||
# CONFIG_ARM_ERRATA_460075 is not set
|
# CONFIG_ARM_ERRATA_460075 is not set
|
||||||
CONFIG_ARM_VIC=y
|
CONFIG_ARM_VIC=y
|
||||||
CONFIG_ARM_VIC_NR=2
|
CONFIG_ARM_VIC_NR=2
|
||||||
|
CONFIG_PL330=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bus support
|
# Bus support
|
||||||
@ -244,8 +320,11 @@ CONFIG_VMSPLIT_3G=y
|
|||||||
# CONFIG_VMSPLIT_2G is not set
|
# CONFIG_VMSPLIT_2G is not set
|
||||||
# CONFIG_VMSPLIT_1G is not set
|
# CONFIG_VMSPLIT_1G is not set
|
||||||
CONFIG_PAGE_OFFSET=0xC0000000
|
CONFIG_PAGE_OFFSET=0xC0000000
|
||||||
|
CONFIG_PREEMPT_NONE=y
|
||||||
|
# CONFIG_PREEMPT_VOLUNTARY is not set
|
||||||
# CONFIG_PREEMPT is not set
|
# CONFIG_PREEMPT is not set
|
||||||
CONFIG_HZ=100
|
CONFIG_HZ=100
|
||||||
|
# CONFIG_THUMB2_KERNEL is not set
|
||||||
CONFIG_AEABI=y
|
CONFIG_AEABI=y
|
||||||
CONFIG_OABI_COMPAT=y
|
CONFIG_OABI_COMPAT=y
|
||||||
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
|
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
|
||||||
@ -258,12 +337,11 @@ CONFIG_FLATMEM_MANUAL=y
|
|||||||
CONFIG_FLATMEM=y
|
CONFIG_FLATMEM=y
|
||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
CONFIG_PAGEFLAGS_EXTENDED=y
|
CONFIG_PAGEFLAGS_EXTENDED=y
|
||||||
CONFIG_SPLIT_PTLOCK_CPUS=4
|
CONFIG_SPLIT_PTLOCK_CPUS=999999
|
||||||
# CONFIG_PHYS_ADDR_T_64BIT is not set
|
# CONFIG_PHYS_ADDR_T_64BIT is not set
|
||||||
CONFIG_ZONE_DMA_FLAG=0
|
CONFIG_ZONE_DMA_FLAG=0
|
||||||
CONFIG_VIRT_TO_BUS=y
|
CONFIG_VIRT_TO_BUS=y
|
||||||
CONFIG_HAVE_MLOCK=y
|
# CONFIG_KSM is not set
|
||||||
CONFIG_HAVE_MLOCKED_PAGE_BIT=y
|
|
||||||
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
|
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
|
||||||
CONFIG_ALIGNMENT_TRAP=y
|
CONFIG_ALIGNMENT_TRAP=y
|
||||||
# CONFIG_UACCESS_WITH_MEMCPY is not set
|
# CONFIG_UACCESS_WITH_MEMCPY is not set
|
||||||
@ -274,6 +352,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
CONFIG_ZBOOT_ROM_TEXT=0
|
CONFIG_ZBOOT_ROM_TEXT=0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0
|
CONFIG_ZBOOT_ROM_BSS=0
|
||||||
CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC2,115200 mem=128M"
|
CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC2,115200 mem=128M"
|
||||||
|
# CONFIG_CMDLINE_FORCE is not set
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@ -317,6 +396,7 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
|||||||
# Generic Driver Options
|
# Generic Driver Options
|
||||||
#
|
#
|
||||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||||
|
# CONFIG_DEVTMPFS is not set
|
||||||
CONFIG_STANDALONE=y
|
CONFIG_STANDALONE=y
|
||||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||||
CONFIG_FW_LOADER=y
|
CONFIG_FW_LOADER=y
|
||||||
@ -331,6 +411,10 @@ CONFIG_BLK_DEV=y
|
|||||||
# CONFIG_BLK_DEV_COW_COMMON is not set
|
# CONFIG_BLK_DEV_COW_COMMON is not set
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
CONFIG_BLK_DEV_LOOP=y
|
||||||
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
|
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
|
||||||
|
#
|
||||||
CONFIG_BLK_DEV_RAM=y
|
CONFIG_BLK_DEV_RAM=y
|
||||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||||
@ -338,9 +422,12 @@ CONFIG_BLK_DEV_RAM_SIZE=8192
|
|||||||
# CONFIG_CDROM_PKTCDVD is not set
|
# CONFIG_CDROM_PKTCDVD is not set
|
||||||
# CONFIG_MG_DISK is not set
|
# CONFIG_MG_DISK is not set
|
||||||
CONFIG_MISC_DEVICES=y
|
CONFIG_MISC_DEVICES=y
|
||||||
|
# CONFIG_AD525X_DPOT is not set
|
||||||
# CONFIG_ICS932S401 is not set
|
# CONFIG_ICS932S401 is not set
|
||||||
# CONFIG_ENCLOSURE_SERVICES is not set
|
# CONFIG_ENCLOSURE_SERVICES is not set
|
||||||
# CONFIG_ISL29003 is not set
|
# CONFIG_ISL29003 is not set
|
||||||
|
# CONFIG_SENSORS_TSL2550 is not set
|
||||||
|
# CONFIG_DS1682 is not set
|
||||||
# CONFIG_C2PORT is not set
|
# CONFIG_C2PORT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -350,18 +437,21 @@ CONFIG_EEPROM_AT24=y
|
|||||||
# CONFIG_EEPROM_LEGACY is not set
|
# CONFIG_EEPROM_LEGACY is not set
|
||||||
# CONFIG_EEPROM_MAX6875 is not set
|
# CONFIG_EEPROM_MAX6875 is not set
|
||||||
# CONFIG_EEPROM_93CX6 is not set
|
# CONFIG_EEPROM_93CX6 is not set
|
||||||
|
# CONFIG_IWMC3200TOP is not set
|
||||||
CONFIG_HAVE_IDE=y
|
CONFIG_HAVE_IDE=y
|
||||||
# CONFIG_IDE is not set
|
# CONFIG_IDE is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# SCSI device support
|
# SCSI device support
|
||||||
#
|
#
|
||||||
|
CONFIG_SCSI_MOD=y
|
||||||
# CONFIG_RAID_ATTRS is not set
|
# CONFIG_RAID_ATTRS is not set
|
||||||
# CONFIG_SCSI is not set
|
# CONFIG_SCSI is not set
|
||||||
# CONFIG_SCSI_DMA is not set
|
# CONFIG_SCSI_DMA is not set
|
||||||
# CONFIG_SCSI_NETLINK is not set
|
# CONFIG_SCSI_NETLINK is not set
|
||||||
# CONFIG_ATA is not set
|
# CONFIG_ATA is not set
|
||||||
# CONFIG_MD is not set
|
# CONFIG_MD is not set
|
||||||
|
# CONFIG_PHONE is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Input device support
|
# Input device support
|
||||||
@ -369,6 +459,7 @@ CONFIG_HAVE_IDE=y
|
|||||||
CONFIG_INPUT=y
|
CONFIG_INPUT=y
|
||||||
# CONFIG_INPUT_FF_MEMLESS is not set
|
# CONFIG_INPUT_FF_MEMLESS is not set
|
||||||
# CONFIG_INPUT_POLLDEV is not set
|
# CONFIG_INPUT_POLLDEV is not set
|
||||||
|
# CONFIG_INPUT_SPARSEKMAP is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Userland interfaces
|
# Userland interfaces
|
||||||
@ -385,13 +476,19 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
|
|||||||
# Input Device Drivers
|
# Input Device Drivers
|
||||||
#
|
#
|
||||||
CONFIG_INPUT_KEYBOARD=y
|
CONFIG_INPUT_KEYBOARD=y
|
||||||
|
# CONFIG_KEYBOARD_ADP5588 is not set
|
||||||
CONFIG_KEYBOARD_ATKBD=y
|
CONFIG_KEYBOARD_ATKBD=y
|
||||||
# CONFIG_KEYBOARD_SUNKBD is not set
|
# CONFIG_QT2160 is not set
|
||||||
# CONFIG_KEYBOARD_LKKBD is not set
|
# CONFIG_KEYBOARD_LKKBD is not set
|
||||||
# CONFIG_KEYBOARD_XTKBD is not set
|
|
||||||
# CONFIG_KEYBOARD_NEWTON is not set
|
|
||||||
# CONFIG_KEYBOARD_STOWAWAY is not set
|
|
||||||
# CONFIG_KEYBOARD_GPIO is not set
|
# CONFIG_KEYBOARD_GPIO is not set
|
||||||
|
# CONFIG_KEYBOARD_TCA6416 is not set
|
||||||
|
# CONFIG_KEYBOARD_MATRIX is not set
|
||||||
|
# CONFIG_KEYBOARD_MAX7359 is not set
|
||||||
|
# CONFIG_KEYBOARD_NEWTON is not set
|
||||||
|
# CONFIG_KEYBOARD_OPENCORES is not set
|
||||||
|
# CONFIG_KEYBOARD_STOWAWAY is not set
|
||||||
|
# CONFIG_KEYBOARD_SUNKBD is not set
|
||||||
|
# CONFIG_KEYBOARD_XTKBD is not set
|
||||||
CONFIG_INPUT_MOUSE=y
|
CONFIG_INPUT_MOUSE=y
|
||||||
CONFIG_MOUSE_PS2=y
|
CONFIG_MOUSE_PS2=y
|
||||||
CONFIG_MOUSE_PS2_ALPS=y
|
CONFIG_MOUSE_PS2_ALPS=y
|
||||||
@ -399,6 +496,7 @@ CONFIG_MOUSE_PS2_LOGIPS2PP=y
|
|||||||
CONFIG_MOUSE_PS2_SYNAPTICS=y
|
CONFIG_MOUSE_PS2_SYNAPTICS=y
|
||||||
CONFIG_MOUSE_PS2_TRACKPOINT=y
|
CONFIG_MOUSE_PS2_TRACKPOINT=y
|
||||||
# CONFIG_MOUSE_PS2_ELANTECH is not set
|
# CONFIG_MOUSE_PS2_ELANTECH is not set
|
||||||
|
# CONFIG_MOUSE_PS2_SENTELIC is not set
|
||||||
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
|
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
|
||||||
# CONFIG_MOUSE_SERIAL is not set
|
# CONFIG_MOUSE_SERIAL is not set
|
||||||
# CONFIG_MOUSE_APPLETOUCH is not set
|
# CONFIG_MOUSE_APPLETOUCH is not set
|
||||||
@ -418,6 +516,7 @@ CONFIG_SERIO=y
|
|||||||
CONFIG_SERIO_SERPORT=y
|
CONFIG_SERIO_SERPORT=y
|
||||||
CONFIG_SERIO_LIBPS2=y
|
CONFIG_SERIO_LIBPS2=y
|
||||||
# CONFIG_SERIO_RAW is not set
|
# CONFIG_SERIO_RAW is not set
|
||||||
|
# CONFIG_SERIO_ALTERA_PS2 is not set
|
||||||
# CONFIG_GAMEPORT is not set
|
# CONFIG_GAMEPORT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -444,11 +543,16 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=4
|
|||||||
# Non-8250 serial port support
|
# Non-8250 serial port support
|
||||||
#
|
#
|
||||||
CONFIG_SERIAL_SAMSUNG=y
|
CONFIG_SERIAL_SAMSUNG=y
|
||||||
CONFIG_SERIAL_SAMSUNG_UARTS=3
|
CONFIG_SERIAL_SAMSUNG_UARTS_4=y
|
||||||
|
CONFIG_SERIAL_SAMSUNG_UARTS=4
|
||||||
# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
|
# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
|
||||||
CONFIG_SERIAL_SAMSUNG_CONSOLE=y
|
CONFIG_SERIAL_SAMSUNG_CONSOLE=y
|
||||||
|
CONFIG_SERIAL_S3C6400=y
|
||||||
CONFIG_SERIAL_CORE=y
|
CONFIG_SERIAL_CORE=y
|
||||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||||
|
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_UART is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||||
CONFIG_LEGACY_PTYS=y
|
CONFIG_LEGACY_PTYS=y
|
||||||
@ -461,6 +565,7 @@ CONFIG_HW_RANDOM=y
|
|||||||
# CONFIG_TCG_TPM is not set
|
# CONFIG_TCG_TPM is not set
|
||||||
CONFIG_I2C=y
|
CONFIG_I2C=y
|
||||||
CONFIG_I2C_BOARDINFO=y
|
CONFIG_I2C_BOARDINFO=y
|
||||||
|
CONFIG_I2C_COMPAT=y
|
||||||
CONFIG_I2C_CHARDEV=y
|
CONFIG_I2C_CHARDEV=y
|
||||||
CONFIG_I2C_HELPER_AUTO=y
|
CONFIG_I2C_HELPER_AUTO=y
|
||||||
|
|
||||||
@ -471,9 +576,11 @@ CONFIG_I2C_HELPER_AUTO=y
|
|||||||
#
|
#
|
||||||
# I2C system bus drivers (mostly embedded / system-on-chip)
|
# I2C system bus drivers (mostly embedded / system-on-chip)
|
||||||
#
|
#
|
||||||
|
# CONFIG_I2C_DESIGNWARE is not set
|
||||||
# CONFIG_I2C_GPIO is not set
|
# CONFIG_I2C_GPIO is not set
|
||||||
# CONFIG_I2C_OCORES is not set
|
# CONFIG_I2C_OCORES is not set
|
||||||
# CONFIG_I2C_SIMTEC is not set
|
# CONFIG_I2C_SIMTEC is not set
|
||||||
|
# CONFIG_I2C_XILINX is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# External I2C/SMBus adapter drivers
|
# External I2C/SMBus adapter drivers
|
||||||
@ -486,20 +593,15 @@ CONFIG_I2C_HELPER_AUTO=y
|
|||||||
#
|
#
|
||||||
# CONFIG_I2C_PCA_PLATFORM is not set
|
# CONFIG_I2C_PCA_PLATFORM is not set
|
||||||
# CONFIG_I2C_STUB is not set
|
# CONFIG_I2C_STUB is not set
|
||||||
|
|
||||||
#
|
|
||||||
# Miscellaneous I2C Chip support
|
|
||||||
#
|
|
||||||
# CONFIG_DS1682 is not set
|
|
||||||
# CONFIG_SENSORS_PCF8574 is not set
|
|
||||||
# CONFIG_PCF8575 is not set
|
|
||||||
# CONFIG_SENSORS_PCA9539 is not set
|
|
||||||
# CONFIG_SENSORS_TSL2550 is not set
|
|
||||||
# CONFIG_I2C_DEBUG_CORE is not set
|
# CONFIG_I2C_DEBUG_CORE is not set
|
||||||
# CONFIG_I2C_DEBUG_ALGO is not set
|
# CONFIG_I2C_DEBUG_ALGO is not set
|
||||||
# CONFIG_I2C_DEBUG_BUS is not set
|
# CONFIG_I2C_DEBUG_BUS is not set
|
||||||
# CONFIG_I2C_DEBUG_CHIP is not set
|
|
||||||
# CONFIG_SPI is not set
|
# CONFIG_SPI is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# PPS support
|
||||||
|
#
|
||||||
|
# CONFIG_PPS is not set
|
||||||
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
||||||
CONFIG_GPIOLIB=y
|
CONFIG_GPIOLIB=y
|
||||||
# CONFIG_DEBUG_GPIO is not set
|
# CONFIG_DEBUG_GPIO is not set
|
||||||
@ -508,13 +610,16 @@ CONFIG_GPIOLIB=y
|
|||||||
#
|
#
|
||||||
# Memory mapped GPIO expanders:
|
# Memory mapped GPIO expanders:
|
||||||
#
|
#
|
||||||
|
# CONFIG_GPIO_IT8761E is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# I2C GPIO expanders:
|
# I2C GPIO expanders:
|
||||||
#
|
#
|
||||||
|
# CONFIG_GPIO_MAX7300 is not set
|
||||||
# CONFIG_GPIO_MAX732X is not set
|
# CONFIG_GPIO_MAX732X is not set
|
||||||
# CONFIG_GPIO_PCA953X is not set
|
# CONFIG_GPIO_PCA953X is not set
|
||||||
# CONFIG_GPIO_PCF857X is not set
|
# CONFIG_GPIO_PCF857X is not set
|
||||||
|
# CONFIG_GPIO_ADP5588 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# PCI GPIO expanders:
|
# PCI GPIO expanders:
|
||||||
@ -523,10 +628,19 @@ CONFIG_GPIOLIB=y
|
|||||||
#
|
#
|
||||||
# SPI GPIO expanders:
|
# SPI GPIO expanders:
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# AC97 GPIO expanders:
|
||||||
|
#
|
||||||
# CONFIG_W1 is not set
|
# CONFIG_W1 is not set
|
||||||
# CONFIG_POWER_SUPPLY is not set
|
# CONFIG_POWER_SUPPLY is not set
|
||||||
CONFIG_HWMON=y
|
CONFIG_HWMON=y
|
||||||
# CONFIG_HWMON_VID is not set
|
# CONFIG_HWMON_VID is not set
|
||||||
|
# CONFIG_HWMON_DEBUG_CHIP is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Native drivers
|
||||||
|
#
|
||||||
# CONFIG_SENSORS_AD7414 is not set
|
# CONFIG_SENSORS_AD7414 is not set
|
||||||
# CONFIG_SENSORS_AD7418 is not set
|
# CONFIG_SENSORS_AD7418 is not set
|
||||||
# CONFIG_SENSORS_ADM1021 is not set
|
# CONFIG_SENSORS_ADM1021 is not set
|
||||||
@ -535,10 +649,11 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_ADM1029 is not set
|
# CONFIG_SENSORS_ADM1029 is not set
|
||||||
# CONFIG_SENSORS_ADM1031 is not set
|
# CONFIG_SENSORS_ADM1031 is not set
|
||||||
# CONFIG_SENSORS_ADM9240 is not set
|
# CONFIG_SENSORS_ADM9240 is not set
|
||||||
|
# CONFIG_SENSORS_ADT7411 is not set
|
||||||
# CONFIG_SENSORS_ADT7462 is not set
|
# CONFIG_SENSORS_ADT7462 is not set
|
||||||
# CONFIG_SENSORS_ADT7470 is not set
|
# CONFIG_SENSORS_ADT7470 is not set
|
||||||
# CONFIG_SENSORS_ADT7473 is not set
|
|
||||||
# CONFIG_SENSORS_ADT7475 is not set
|
# CONFIG_SENSORS_ADT7475 is not set
|
||||||
|
# CONFIG_SENSORS_ASC7621 is not set
|
||||||
# CONFIG_SENSORS_ATXP1 is not set
|
# CONFIG_SENSORS_ATXP1 is not set
|
||||||
# CONFIG_SENSORS_DS1621 is not set
|
# CONFIG_SENSORS_DS1621 is not set
|
||||||
# CONFIG_SENSORS_F71805F is not set
|
# CONFIG_SENSORS_F71805F is not set
|
||||||
@ -549,6 +664,7 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_GL520SM is not set
|
# CONFIG_SENSORS_GL520SM is not set
|
||||||
# CONFIG_SENSORS_IT87 is not set
|
# CONFIG_SENSORS_IT87 is not set
|
||||||
# CONFIG_SENSORS_LM63 is not set
|
# CONFIG_SENSORS_LM63 is not set
|
||||||
|
# CONFIG_SENSORS_LM73 is not set
|
||||||
# CONFIG_SENSORS_LM75 is not set
|
# CONFIG_SENSORS_LM75 is not set
|
||||||
# CONFIG_SENSORS_LM77 is not set
|
# CONFIG_SENSORS_LM77 is not set
|
||||||
# CONFIG_SENSORS_LM78 is not set
|
# CONFIG_SENSORS_LM78 is not set
|
||||||
@ -573,8 +689,10 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_SMSC47M192 is not set
|
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||||
# CONFIG_SENSORS_ADS7828 is not set
|
# CONFIG_SENSORS_ADS7828 is not set
|
||||||
|
# CONFIG_SENSORS_AMC6821 is not set
|
||||||
# CONFIG_SENSORS_THMC50 is not set
|
# CONFIG_SENSORS_THMC50 is not set
|
||||||
# CONFIG_SENSORS_TMP401 is not set
|
# CONFIG_SENSORS_TMP401 is not set
|
||||||
|
# CONFIG_SENSORS_TMP421 is not set
|
||||||
# CONFIG_SENSORS_VT1211 is not set
|
# CONFIG_SENSORS_VT1211 is not set
|
||||||
# CONFIG_SENSORS_W83781D is not set
|
# CONFIG_SENSORS_W83781D is not set
|
||||||
# CONFIG_SENSORS_W83791D is not set
|
# CONFIG_SENSORS_W83791D is not set
|
||||||
@ -584,9 +702,8 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_W83L786NG is not set
|
# CONFIG_SENSORS_W83L786NG is not set
|
||||||
# CONFIG_SENSORS_W83627HF is not set
|
# CONFIG_SENSORS_W83627HF is not set
|
||||||
# CONFIG_SENSORS_W83627EHF is not set
|
# CONFIG_SENSORS_W83627EHF is not set
|
||||||
# CONFIG_HWMON_DEBUG_CHIP is not set
|
# CONFIG_SENSORS_LIS3_I2C is not set
|
||||||
# CONFIG_THERMAL is not set
|
# CONFIG_THERMAL is not set
|
||||||
# CONFIG_THERMAL_HWMON is not set
|
|
||||||
# CONFIG_WATCHDOG is not set
|
# CONFIG_WATCHDOG is not set
|
||||||
CONFIG_SSB_POSSIBLE=y
|
CONFIG_SSB_POSSIBLE=y
|
||||||
|
|
||||||
@ -599,10 +716,12 @@ CONFIG_SSB_POSSIBLE=y
|
|||||||
# Multifunction device drivers
|
# Multifunction device drivers
|
||||||
#
|
#
|
||||||
# CONFIG_MFD_CORE is not set
|
# CONFIG_MFD_CORE is not set
|
||||||
|
# CONFIG_MFD_88PM860X is not set
|
||||||
# CONFIG_MFD_SM501 is not set
|
# CONFIG_MFD_SM501 is not set
|
||||||
# CONFIG_MFD_ASIC3 is not set
|
# CONFIG_MFD_ASIC3 is not set
|
||||||
# CONFIG_HTC_EGPIO is not set
|
# CONFIG_HTC_EGPIO is not set
|
||||||
# CONFIG_HTC_PASIC3 is not set
|
# CONFIG_HTC_PASIC3 is not set
|
||||||
|
# CONFIG_HTC_I2CPLD is not set
|
||||||
# CONFIG_TPS65010 is not set
|
# CONFIG_TPS65010 is not set
|
||||||
# CONFIG_TWL4030_CORE is not set
|
# CONFIG_TWL4030_CORE is not set
|
||||||
# CONFIG_MFD_TMIO is not set
|
# CONFIG_MFD_TMIO is not set
|
||||||
@ -610,10 +729,15 @@ CONFIG_SSB_POSSIBLE=y
|
|||||||
# CONFIG_MFD_TC6387XB is not set
|
# CONFIG_MFD_TC6387XB is not set
|
||||||
# CONFIG_MFD_TC6393XB is not set
|
# CONFIG_MFD_TC6393XB is not set
|
||||||
# CONFIG_PMIC_DA903X is not set
|
# CONFIG_PMIC_DA903X is not set
|
||||||
|
# CONFIG_PMIC_ADP5520 is not set
|
||||||
|
# CONFIG_MFD_MAX8925 is not set
|
||||||
# CONFIG_MFD_WM8400 is not set
|
# CONFIG_MFD_WM8400 is not set
|
||||||
|
# CONFIG_MFD_WM831X is not set
|
||||||
# CONFIG_MFD_WM8350_I2C is not set
|
# CONFIG_MFD_WM8350_I2C is not set
|
||||||
|
# CONFIG_MFD_WM8994 is not set
|
||||||
# CONFIG_MFD_PCF50633 is not set
|
# CONFIG_MFD_PCF50633 is not set
|
||||||
# CONFIG_AB3100_CORE is not set
|
# CONFIG_AB3100_CORE is not set
|
||||||
|
# CONFIG_REGULATOR is not set
|
||||||
# CONFIG_MEDIA_SUPPORT is not set
|
# CONFIG_MEDIA_SUPPORT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -637,7 +761,6 @@ CONFIG_DUMMY_CONSOLE=y
|
|||||||
# CONFIG_SOUND is not set
|
# CONFIG_SOUND is not set
|
||||||
CONFIG_HID_SUPPORT=y
|
CONFIG_HID_SUPPORT=y
|
||||||
CONFIG_HID=y
|
CONFIG_HID=y
|
||||||
CONFIG_HID_DEBUG=y
|
|
||||||
# CONFIG_HIDRAW is not set
|
# CONFIG_HIDRAW is not set
|
||||||
# CONFIG_HID_PID is not set
|
# CONFIG_HID_PID is not set
|
||||||
|
|
||||||
@ -680,13 +803,12 @@ CONFIG_SDIO_UART=y
|
|||||||
CONFIG_MMC_SDHCI=y
|
CONFIG_MMC_SDHCI=y
|
||||||
# CONFIG_MMC_SDHCI_PLTFM is not set
|
# CONFIG_MMC_SDHCI_PLTFM is not set
|
||||||
# CONFIG_MEMSTICK is not set
|
# CONFIG_MEMSTICK is not set
|
||||||
# CONFIG_ACCESSIBILITY is not set
|
|
||||||
# CONFIG_NEW_LEDS is not set
|
# CONFIG_NEW_LEDS is not set
|
||||||
|
# CONFIG_ACCESSIBILITY is not set
|
||||||
CONFIG_RTC_LIB=y
|
CONFIG_RTC_LIB=y
|
||||||
# CONFIG_RTC_CLASS is not set
|
# CONFIG_RTC_CLASS is not set
|
||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_AUXDISPLAY is not set
|
# CONFIG_AUXDISPLAY is not set
|
||||||
# CONFIG_REGULATOR is not set
|
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
@ -710,6 +832,7 @@ CONFIG_FS_POSIX_ACL=y
|
|||||||
# CONFIG_XFS_FS is not set
|
# CONFIG_XFS_FS is not set
|
||||||
# CONFIG_GFS2_FS is not set
|
# CONFIG_GFS2_FS is not set
|
||||||
# CONFIG_BTRFS_FS is not set
|
# CONFIG_BTRFS_FS is not set
|
||||||
|
# CONFIG_NILFS2_FS is not set
|
||||||
CONFIG_FILE_LOCKING=y
|
CONFIG_FILE_LOCKING=y
|
||||||
CONFIG_FSNOTIFY=y
|
CONFIG_FSNOTIFY=y
|
||||||
CONFIG_DNOTIFY=y
|
CONFIG_DNOTIFY=y
|
||||||
@ -758,6 +881,7 @@ CONFIG_MISC_FILESYSTEMS=y
|
|||||||
# CONFIG_BEFS_FS is not set
|
# CONFIG_BEFS_FS is not set
|
||||||
# CONFIG_BFS_FS is not set
|
# CONFIG_BFS_FS is not set
|
||||||
# CONFIG_EFS_FS is not set
|
# CONFIG_EFS_FS is not set
|
||||||
|
# CONFIG_LOGFS is not set
|
||||||
CONFIG_CRAMFS=y
|
CONFIG_CRAMFS=y
|
||||||
# CONFIG_SQUASHFS is not set
|
# CONFIG_SQUASHFS is not set
|
||||||
# CONFIG_VXFS_FS is not set
|
# CONFIG_VXFS_FS is not set
|
||||||
@ -772,7 +896,6 @@ CONFIG_ROMFS_BACKED_BY_BLOCK=y
|
|||||||
CONFIG_ROMFS_ON_BLOCK=y
|
CONFIG_ROMFS_ON_BLOCK=y
|
||||||
# CONFIG_SYSV_FS is not set
|
# CONFIG_SYSV_FS is not set
|
||||||
# CONFIG_UFS_FS is not set
|
# CONFIG_UFS_FS is not set
|
||||||
# CONFIG_NILFS2_FS is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Partition Types
|
# Partition Types
|
||||||
@ -789,6 +912,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y
|
|||||||
CONFIG_ENABLE_MUST_CHECK=y
|
CONFIG_ENABLE_MUST_CHECK=y
|
||||||
CONFIG_FRAME_WARN=1024
|
CONFIG_FRAME_WARN=1024
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
|
# CONFIG_STRIP_ASM_SYMS is not set
|
||||||
# CONFIG_UNUSED_SYMBOLS is not set
|
# CONFIG_UNUSED_SYMBOLS is not set
|
||||||
# CONFIG_DEBUG_FS is not set
|
# CONFIG_DEBUG_FS is not set
|
||||||
# CONFIG_HEADERS_CHECK is not set
|
# CONFIG_HEADERS_CHECK is not set
|
||||||
@ -826,11 +950,13 @@ CONFIG_DEBUG_MEMORY_INIT=y
|
|||||||
# CONFIG_DEBUG_LIST is not set
|
# CONFIG_DEBUG_LIST is not set
|
||||||
# CONFIG_DEBUG_SG is not set
|
# CONFIG_DEBUG_SG is not set
|
||||||
# CONFIG_DEBUG_NOTIFIERS is not set
|
# CONFIG_DEBUG_NOTIFIERS is not set
|
||||||
|
# CONFIG_DEBUG_CREDENTIALS is not set
|
||||||
# CONFIG_BOOT_PRINTK_DELAY is not set
|
# CONFIG_BOOT_PRINTK_DELAY is not set
|
||||||
# CONFIG_RCU_TORTURE_TEST is not set
|
# CONFIG_RCU_TORTURE_TEST is not set
|
||||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||||
# CONFIG_BACKTRACE_SELF_TEST is not set
|
# CONFIG_BACKTRACE_SELF_TEST is not set
|
||||||
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
|
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
|
||||||
|
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
|
||||||
# CONFIG_FAULT_INJECTION is not set
|
# CONFIG_FAULT_INJECTION is not set
|
||||||
# CONFIG_LATENCYTOP is not set
|
# CONFIG_LATENCYTOP is not set
|
||||||
CONFIG_SYSCTL_SYSCALL_CHECK=y
|
CONFIG_SYSCTL_SYSCALL_CHECK=y
|
||||||
@ -839,6 +965,7 @@ CONFIG_HAVE_FUNCTION_TRACER=y
|
|||||||
CONFIG_TRACING_SUPPORT=y
|
CONFIG_TRACING_SUPPORT=y
|
||||||
CONFIG_FTRACE=y
|
CONFIG_FTRACE=y
|
||||||
# CONFIG_FUNCTION_TRACER is not set
|
# CONFIG_FUNCTION_TRACER is not set
|
||||||
|
# CONFIG_IRQSOFF_TRACER is not set
|
||||||
# CONFIG_SCHED_TRACER is not set
|
# CONFIG_SCHED_TRACER is not set
|
||||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||||
# CONFIG_BOOT_TRACER is not set
|
# CONFIG_BOOT_TRACER is not set
|
||||||
@ -849,6 +976,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
|||||||
# CONFIG_KMEMTRACE is not set
|
# CONFIG_KMEMTRACE is not set
|
||||||
# CONFIG_WORKQUEUE_TRACER is not set
|
# CONFIG_WORKQUEUE_TRACER is not set
|
||||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||||
|
# CONFIG_ATOMIC64_SELFTEST is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
@ -857,8 +985,9 @@ CONFIG_DEBUG_USER=y
|
|||||||
CONFIG_DEBUG_ERRORS=y
|
CONFIG_DEBUG_ERRORS=y
|
||||||
# CONFIG_DEBUG_STACK_USAGE is not set
|
# CONFIG_DEBUG_STACK_USAGE is not set
|
||||||
CONFIG_DEBUG_LL=y
|
CONFIG_DEBUG_LL=y
|
||||||
|
# CONFIG_EARLY_PRINTK is not set
|
||||||
# CONFIG_DEBUG_ICEDCC is not set
|
# CONFIG_DEBUG_ICEDCC is not set
|
||||||
CONFIG_DEBUG_S3C_PORT=y
|
# CONFIG_OC_ETM is not set
|
||||||
CONFIG_DEBUG_S3C_UART=0
|
CONFIG_DEBUG_S3C_UART=0
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -867,7 +996,11 @@ CONFIG_DEBUG_S3C_UART=0
|
|||||||
# CONFIG_KEYS is not set
|
# CONFIG_KEYS is not set
|
||||||
# CONFIG_SECURITY is not set
|
# CONFIG_SECURITY is not set
|
||||||
# CONFIG_SECURITYFS is not set
|
# CONFIG_SECURITYFS is not set
|
||||||
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
|
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
|
||||||
|
# CONFIG_DEFAULT_SECURITY_SMACK is not set
|
||||||
|
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
|
||||||
|
CONFIG_DEFAULT_SECURITY_DAC=y
|
||||||
|
CONFIG_DEFAULT_SECURITY=""
|
||||||
# CONFIG_CRYPTO is not set
|
# CONFIG_CRYPTO is not set
|
||||||
# CONFIG_BINARY_PRINTF is not set
|
# CONFIG_BINARY_PRINTF is not set
|
||||||
|
|
||||||
@ -884,8 +1017,10 @@ CONFIG_CRC32=y
|
|||||||
# CONFIG_CRC7 is not set
|
# CONFIG_CRC7 is not set
|
||||||
# CONFIG_LIBCRC32C is not set
|
# CONFIG_LIBCRC32C is not set
|
||||||
CONFIG_ZLIB_INFLATE=y
|
CONFIG_ZLIB_INFLATE=y
|
||||||
|
CONFIG_LZO_DECOMPRESS=y
|
||||||
CONFIG_DECOMPRESS_GZIP=y
|
CONFIG_DECOMPRESS_GZIP=y
|
||||||
CONFIG_DECOMPRESS_BZIP2=y
|
CONFIG_DECOMPRESS_BZIP2=y
|
||||||
CONFIG_DECOMPRESS_LZMA=y
|
CONFIG_DECOMPRESS_LZMA=y
|
||||||
|
CONFIG_DECOMPRESS_LZO=y
|
||||||
CONFIG_HAS_IOMEM=y
|
CONFIG_HAS_IOMEM=y
|
||||||
CONFIG_HAS_DMA=y
|
CONFIG_HAS_DMA=y
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.34
|
# Linux kernel version: 2.6.34
|
||||||
# Sat May 22 03:18:21 2010
|
# Wed May 26 19:04:37 2010
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
CONFIG_GENERIC_GPIO=y
|
CONFIG_GENERIC_GPIO=y
|
||||||
|
CONFIG_GENERIC_TIME=y
|
||||||
|
CONFIG_ARCH_USES_GETTIMEOFFSET=y
|
||||||
CONFIG_HAVE_PROC_CPU=y
|
CONFIG_HAVE_PROC_CPU=y
|
||||||
CONFIG_NO_IOPORT=y
|
CONFIG_NO_IOPORT=y
|
||||||
CONFIG_GENERIC_HARDIRQS=y
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
@ -35,6 +37,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
|||||||
CONFIG_LOCALVERSION=""
|
CONFIG_LOCALVERSION=""
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
CONFIG_HAVE_KERNEL_LZO=y
|
CONFIG_HAVE_KERNEL_LZO=y
|
||||||
CONFIG_KERNEL_GZIP=y
|
CONFIG_KERNEL_GZIP=y
|
||||||
# CONFIG_KERNEL_BZIP2 is not set
|
# CONFIG_KERNEL_BZIP2 is not set
|
||||||
@ -180,9 +183,11 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
# CONFIG_ARCH_AT91 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_BCMRING is not set
|
# CONFIG_ARCH_BCMRING is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
|
# CONFIG_ARCH_CNS3XXX is not set
|
||||||
# CONFIG_ARCH_GEMINI is not set
|
# CONFIG_ARCH_GEMINI is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
@ -218,7 +223,7 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_S3C64XX is not set
|
# CONFIG_ARCH_S3C64XX is not set
|
||||||
# CONFIG_ARCH_S5P6440 is not set
|
# CONFIG_ARCH_S5P6440 is not set
|
||||||
# CONFIG_ARCH_S5P6442 is not set
|
# CONFIG_ARCH_S5P6442 is not set
|
||||||
# CONFIG_ARCH_S5PC1XX is not set
|
# CONFIG_ARCH_S5PC100 is not set
|
||||||
CONFIG_ARCH_S5PV210=y
|
CONFIG_ARCH_S5PV210=y
|
||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
@ -227,6 +232,7 @@ CONFIG_ARCH_S5PV210=y
|
|||||||
# CONFIG_ARCH_NOMADIK is not set
|
# CONFIG_ARCH_NOMADIK is not set
|
||||||
# CONFIG_ARCH_DAVINCI is not set
|
# CONFIG_ARCH_DAVINCI is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
|
# CONFIG_PLAT_SPEAR is not set
|
||||||
CONFIG_PLAT_SAMSUNG=y
|
CONFIG_PLAT_SAMSUNG=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -242,16 +248,22 @@ CONFIG_SAMSUNG_GPIOLIB_4BIT=y
|
|||||||
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
||||||
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
||||||
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
||||||
|
CONFIG_S5P_GPIO_DRVSTR=y
|
||||||
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
||||||
CONFIG_S3C_GPIO_SPACE=0
|
CONFIG_S3C_GPIO_SPACE=0
|
||||||
CONFIG_S3C_GPIO_TRACK=y
|
CONFIG_S3C_GPIO_TRACK=y
|
||||||
# CONFIG_S3C_ADC is not set
|
# CONFIG_S3C_ADC is not set
|
||||||
|
CONFIG_S3C_DEV_WDT=y
|
||||||
|
CONFIG_S3C_PL330_DMA=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Power management
|
# Power management
|
||||||
#
|
#
|
||||||
CONFIG_PLAT_S5P=y
|
CONFIG_PLAT_S5P=y
|
||||||
|
CONFIG_S5P_EXT_INT=y
|
||||||
CONFIG_CPU_S5PV210=y
|
CONFIG_CPU_S5PV210=y
|
||||||
|
# CONFIG_MACH_AQUILA is not set
|
||||||
|
# CONFIG_MACH_GONI is not set
|
||||||
# CONFIG_MACH_SMDKV210 is not set
|
# CONFIG_MACH_SMDKV210 is not set
|
||||||
CONFIG_MACH_SMDKC110=y
|
CONFIG_MACH_SMDKC110=y
|
||||||
|
|
||||||
@ -281,12 +293,14 @@ CONFIG_ARM_THUMB=y
|
|||||||
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
||||||
CONFIG_HAS_TLS_REG=y
|
CONFIG_HAS_TLS_REG=y
|
||||||
CONFIG_ARM_L1_CACHE_SHIFT=6
|
CONFIG_ARM_L1_CACHE_SHIFT=6
|
||||||
|
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
|
||||||
CONFIG_CPU_HAS_PMU=y
|
CONFIG_CPU_HAS_PMU=y
|
||||||
# CONFIG_ARM_ERRATA_430973 is not set
|
# CONFIG_ARM_ERRATA_430973 is not set
|
||||||
# CONFIG_ARM_ERRATA_458693 is not set
|
# CONFIG_ARM_ERRATA_458693 is not set
|
||||||
# CONFIG_ARM_ERRATA_460075 is not set
|
# CONFIG_ARM_ERRATA_460075 is not set
|
||||||
CONFIG_ARM_VIC=y
|
CONFIG_ARM_VIC=y
|
||||||
CONFIG_ARM_VIC_NR=2
|
CONFIG_ARM_VIC_NR=2
|
||||||
|
CONFIG_PL330=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bus support
|
# Bus support
|
||||||
@ -335,6 +349,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
CONFIG_ZBOOT_ROM_TEXT=0
|
CONFIG_ZBOOT_ROM_TEXT=0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0
|
CONFIG_ZBOOT_ROM_BSS=0
|
||||||
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
||||||
|
# CONFIG_CMDLINE_FORCE is not set
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@ -481,6 +496,7 @@ CONFIG_INPUT_EVDEV=y
|
|||||||
CONFIG_INPUT_TOUCHSCREEN=y
|
CONFIG_INPUT_TOUCHSCREEN=y
|
||||||
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
||||||
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
||||||
|
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
|
||||||
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
||||||
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
||||||
# CONFIG_TOUCHSCREEN_ELO is not set
|
# CONFIG_TOUCHSCREEN_ELO is not set
|
||||||
@ -536,6 +552,8 @@ CONFIG_SERIAL_S5PV210=y
|
|||||||
CONFIG_SERIAL_CORE=y
|
CONFIG_SERIAL_CORE=y
|
||||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||||
# CONFIG_SERIAL_TIMBERDALE is not set
|
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_UART is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||||
CONFIG_LEGACY_PTYS=y
|
CONFIG_LEGACY_PTYS=y
|
||||||
@ -583,6 +601,7 @@ CONFIG_GPIOLIB=y
|
|||||||
# CONFIG_HWMON is not set
|
# CONFIG_HWMON is not set
|
||||||
# CONFIG_THERMAL is not set
|
# CONFIG_THERMAL is not set
|
||||||
# CONFIG_WATCHDOG is not set
|
# CONFIG_WATCHDOG is not set
|
||||||
|
CONFIG_HAVE_S3C2410_WATCHDOG=y
|
||||||
CONFIG_SSB_POSSIBLE=y
|
CONFIG_SSB_POSSIBLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -635,10 +654,6 @@ CONFIG_RTC_LIB=y
|
|||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_AUXDISPLAY is not set
|
# CONFIG_AUXDISPLAY is not set
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
|
|
||||||
#
|
|
||||||
# TI VLYNQ
|
|
||||||
#
|
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -847,6 +862,8 @@ CONFIG_HAVE_FUNCTION_TRACER=y
|
|||||||
CONFIG_TRACING_SUPPORT=y
|
CONFIG_TRACING_SUPPORT=y
|
||||||
CONFIG_FTRACE=y
|
CONFIG_FTRACE=y
|
||||||
# CONFIG_FUNCTION_TRACER is not set
|
# CONFIG_FUNCTION_TRACER is not set
|
||||||
|
# CONFIG_IRQSOFF_TRACER is not set
|
||||||
|
# CONFIG_PREEMPT_TRACER is not set
|
||||||
# CONFIG_SCHED_TRACER is not set
|
# CONFIG_SCHED_TRACER is not set
|
||||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||||
# CONFIG_BOOT_TRACER is not set
|
# CONFIG_BOOT_TRACER is not set
|
||||||
@ -857,6 +874,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
|||||||
# CONFIG_KMEMTRACE is not set
|
# CONFIG_KMEMTRACE is not set
|
||||||
# CONFIG_WORKQUEUE_TRACER is not set
|
# CONFIG_WORKQUEUE_TRACER is not set
|
||||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||||
|
# CONFIG_ATOMIC64_SELFTEST is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.34
|
# Linux kernel version: 2.6.34
|
||||||
# Sat May 22 03:18:22 2010
|
# Wed May 26 19:04:39 2010
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
CONFIG_GENERIC_GPIO=y
|
CONFIG_GENERIC_GPIO=y
|
||||||
|
CONFIG_GENERIC_TIME=y
|
||||||
|
CONFIG_ARCH_USES_GETTIMEOFFSET=y
|
||||||
CONFIG_HAVE_PROC_CPU=y
|
CONFIG_HAVE_PROC_CPU=y
|
||||||
CONFIG_NO_IOPORT=y
|
CONFIG_NO_IOPORT=y
|
||||||
CONFIG_GENERIC_HARDIRQS=y
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
@ -35,6 +37,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
|||||||
CONFIG_LOCALVERSION=""
|
CONFIG_LOCALVERSION=""
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
CONFIG_HAVE_KERNEL_LZO=y
|
CONFIG_HAVE_KERNEL_LZO=y
|
||||||
CONFIG_KERNEL_GZIP=y
|
CONFIG_KERNEL_GZIP=y
|
||||||
# CONFIG_KERNEL_BZIP2 is not set
|
# CONFIG_KERNEL_BZIP2 is not set
|
||||||
@ -180,9 +183,11 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
# CONFIG_ARCH_AT91 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_BCMRING is not set
|
# CONFIG_ARCH_BCMRING is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
|
# CONFIG_ARCH_CNS3XXX is not set
|
||||||
# CONFIG_ARCH_GEMINI is not set
|
# CONFIG_ARCH_GEMINI is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
@ -218,7 +223,7 @@ CONFIG_MMU=y
|
|||||||
# CONFIG_ARCH_S3C64XX is not set
|
# CONFIG_ARCH_S3C64XX is not set
|
||||||
# CONFIG_ARCH_S5P6440 is not set
|
# CONFIG_ARCH_S5P6440 is not set
|
||||||
# CONFIG_ARCH_S5P6442 is not set
|
# CONFIG_ARCH_S5P6442 is not set
|
||||||
# CONFIG_ARCH_S5PC1XX is not set
|
# CONFIG_ARCH_S5PC100 is not set
|
||||||
CONFIG_ARCH_S5PV210=y
|
CONFIG_ARCH_S5PV210=y
|
||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
@ -227,6 +232,7 @@ CONFIG_ARCH_S5PV210=y
|
|||||||
# CONFIG_ARCH_NOMADIK is not set
|
# CONFIG_ARCH_NOMADIK is not set
|
||||||
# CONFIG_ARCH_DAVINCI is not set
|
# CONFIG_ARCH_DAVINCI is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
|
# CONFIG_PLAT_SPEAR is not set
|
||||||
CONFIG_PLAT_SAMSUNG=y
|
CONFIG_PLAT_SAMSUNG=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -242,16 +248,24 @@ CONFIG_SAMSUNG_GPIOLIB_4BIT=y
|
|||||||
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
CONFIG_S3C_GPIO_CFG_S3C24XX=y
|
||||||
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
CONFIG_S3C_GPIO_CFG_S3C64XX=y
|
||||||
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
CONFIG_S3C_GPIO_PULL_UPDOWN=y
|
||||||
|
CONFIG_S5P_GPIO_DRVSTR=y
|
||||||
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
CONFIG_SAMSUNG_GPIO_EXTRA=0
|
||||||
CONFIG_S3C_GPIO_SPACE=0
|
CONFIG_S3C_GPIO_SPACE=0
|
||||||
CONFIG_S3C_GPIO_TRACK=y
|
CONFIG_S3C_GPIO_TRACK=y
|
||||||
# CONFIG_S3C_ADC is not set
|
# CONFIG_S3C_ADC is not set
|
||||||
|
CONFIG_S3C_DEV_WDT=y
|
||||||
|
CONFIG_SAMSUNG_DEV_ADC=y
|
||||||
|
CONFIG_SAMSUNG_DEV_TS=y
|
||||||
|
CONFIG_S3C_PL330_DMA=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Power management
|
# Power management
|
||||||
#
|
#
|
||||||
CONFIG_PLAT_S5P=y
|
CONFIG_PLAT_S5P=y
|
||||||
|
CONFIG_S5P_EXT_INT=y
|
||||||
CONFIG_CPU_S5PV210=y
|
CONFIG_CPU_S5PV210=y
|
||||||
|
# CONFIG_MACH_AQUILA is not set
|
||||||
|
# CONFIG_MACH_GONI is not set
|
||||||
CONFIG_MACH_SMDKV210=y
|
CONFIG_MACH_SMDKV210=y
|
||||||
# CONFIG_MACH_SMDKC110 is not set
|
# CONFIG_MACH_SMDKC110 is not set
|
||||||
|
|
||||||
@ -281,12 +295,14 @@ CONFIG_ARM_THUMB=y
|
|||||||
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
# CONFIG_CPU_BPREDICT_DISABLE is not set
|
||||||
CONFIG_HAS_TLS_REG=y
|
CONFIG_HAS_TLS_REG=y
|
||||||
CONFIG_ARM_L1_CACHE_SHIFT=6
|
CONFIG_ARM_L1_CACHE_SHIFT=6
|
||||||
|
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
|
||||||
CONFIG_CPU_HAS_PMU=y
|
CONFIG_CPU_HAS_PMU=y
|
||||||
# CONFIG_ARM_ERRATA_430973 is not set
|
# CONFIG_ARM_ERRATA_430973 is not set
|
||||||
# CONFIG_ARM_ERRATA_458693 is not set
|
# CONFIG_ARM_ERRATA_458693 is not set
|
||||||
# CONFIG_ARM_ERRATA_460075 is not set
|
# CONFIG_ARM_ERRATA_460075 is not set
|
||||||
CONFIG_ARM_VIC=y
|
CONFIG_ARM_VIC=y
|
||||||
CONFIG_ARM_VIC_NR=2
|
CONFIG_ARM_VIC_NR=2
|
||||||
|
CONFIG_PL330=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bus support
|
# Bus support
|
||||||
@ -335,6 +351,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
CONFIG_ZBOOT_ROM_TEXT=0
|
CONFIG_ZBOOT_ROM_TEXT=0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0
|
CONFIG_ZBOOT_ROM_BSS=0
|
||||||
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
|
||||||
|
# CONFIG_CMDLINE_FORCE is not set
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@ -481,7 +498,9 @@ CONFIG_INPUT_EVDEV=y
|
|||||||
CONFIG_INPUT_TOUCHSCREEN=y
|
CONFIG_INPUT_TOUCHSCREEN=y
|
||||||
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
# CONFIG_TOUCHSCREEN_AD7879 is not set
|
||||||
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
|
||||||
|
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
|
||||||
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
# CONFIG_TOUCHSCREEN_FUJITSU is not set
|
||||||
|
# CONFIG_TOUCHSCREEN_S3C2410 is not set
|
||||||
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
# CONFIG_TOUCHSCREEN_GUNZE is not set
|
||||||
# CONFIG_TOUCHSCREEN_ELO is not set
|
# CONFIG_TOUCHSCREEN_ELO is not set
|
||||||
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
|
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
|
||||||
@ -536,6 +555,8 @@ CONFIG_SERIAL_S5PV210=y
|
|||||||
CONFIG_SERIAL_CORE=y
|
CONFIG_SERIAL_CORE=y
|
||||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||||
# CONFIG_SERIAL_TIMBERDALE is not set
|
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||||
|
# CONFIG_SERIAL_ALTERA_UART is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||||
CONFIG_LEGACY_PTYS=y
|
CONFIG_LEGACY_PTYS=y
|
||||||
@ -583,6 +604,7 @@ CONFIG_GPIOLIB=y
|
|||||||
# CONFIG_HWMON is not set
|
# CONFIG_HWMON is not set
|
||||||
# CONFIG_THERMAL is not set
|
# CONFIG_THERMAL is not set
|
||||||
# CONFIG_WATCHDOG is not set
|
# CONFIG_WATCHDOG is not set
|
||||||
|
CONFIG_HAVE_S3C2410_WATCHDOG=y
|
||||||
CONFIG_SSB_POSSIBLE=y
|
CONFIG_SSB_POSSIBLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -635,10 +657,6 @@ CONFIG_RTC_LIB=y
|
|||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_AUXDISPLAY is not set
|
# CONFIG_AUXDISPLAY is not set
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
|
|
||||||
#
|
|
||||||
# TI VLYNQ
|
|
||||||
#
|
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -847,6 +865,8 @@ CONFIG_HAVE_FUNCTION_TRACER=y
|
|||||||
CONFIG_TRACING_SUPPORT=y
|
CONFIG_TRACING_SUPPORT=y
|
||||||
CONFIG_FTRACE=y
|
CONFIG_FTRACE=y
|
||||||
# CONFIG_FUNCTION_TRACER is not set
|
# CONFIG_FUNCTION_TRACER is not set
|
||||||
|
# CONFIG_IRQSOFF_TRACER is not set
|
||||||
|
# CONFIG_PREEMPT_TRACER is not set
|
||||||
# CONFIG_SCHED_TRACER is not set
|
# CONFIG_SCHED_TRACER is not set
|
||||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||||
# CONFIG_BOOT_TRACER is not set
|
# CONFIG_BOOT_TRACER is not set
|
||||||
@ -857,6 +877,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
|||||||
# CONFIG_KMEMTRACE is not set
|
# CONFIG_KMEMTRACE is not set
|
||||||
# CONFIG_WORKQUEUE_TRACER is not set
|
# CONFIG_WORKQUEUE_TRACER is not set
|
||||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||||
|
# CONFIG_ATOMIC64_SELFTEST is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
|
|
||||||
#include <asm/memory.h>
|
#include <asm/memory.h>
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
#include <asm-generic/scatterlist.h>
|
#include <asm-generic/scatterlist.h>
|
||||||
|
|
||||||
#undef ARCH_HAS_SG_CHAIN
|
|
||||||
|
|
||||||
#endif /* _ASMARM_SCATTERLIST_H */
|
#endif /* _ASMARM_SCATTERLIST_H */
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include <linux/i2c.h>
|
#include <linux/i2c.h>
|
||||||
#include <linux/i2c/at24.h>
|
#include <linux/i2c/at24.h>
|
||||||
#include <linux/i2c/pca953x.h>
|
#include <linux/i2c/pca953x.h>
|
||||||
|
#include <linux/mfd/tps6507x.h>
|
||||||
#include <linux/gpio.h>
|
#include <linux/gpio.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/mtd/mtd.h>
|
#include <linux/mtd/mtd.h>
|
||||||
@ -24,6 +25,8 @@
|
|||||||
#include <linux/mtd/partitions.h>
|
#include <linux/mtd/partitions.h>
|
||||||
#include <linux/mtd/physmap.h>
|
#include <linux/mtd/physmap.h>
|
||||||
#include <linux/regulator/machine.h>
|
#include <linux/regulator/machine.h>
|
||||||
|
#include <linux/mfd/tps6507x.h>
|
||||||
|
#include <linux/input/tps6507x-ts.h>
|
||||||
|
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
@ -533,10 +536,24 @@ struct regulator_init_data tps65070_regulator_data[] = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct touchscreen_init_data tps6507x_touchscreen_data = {
|
||||||
|
.poll_period = 30, /* ms between touch samples */
|
||||||
|
.min_pressure = 0x30, /* minimum pressure to trigger touch */
|
||||||
|
.vref = 0, /* turn off vref when not using A/D */
|
||||||
|
.vendor = 0, /* /sys/class/input/input?/id/vendor */
|
||||||
|
.product = 65070, /* /sys/class/input/input?/id/product */
|
||||||
|
.version = 0x100, /* /sys/class/input/input?/id/version */
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct tps6507x_board tps_board = {
|
||||||
|
.tps6507x_pmic_init_data = &tps65070_regulator_data[0],
|
||||||
|
.tps6507x_ts_init_data = &tps6507x_touchscreen_data,
|
||||||
|
};
|
||||||
|
|
||||||
static struct i2c_board_info __initdata da850evm_tps65070_info[] = {
|
static struct i2c_board_info __initdata da850evm_tps65070_info[] = {
|
||||||
{
|
{
|
||||||
I2C_BOARD_INFO("tps6507x", 0x48),
|
I2C_BOARD_INFO("tps6507x", 0x48),
|
||||||
.platform_data = &tps65070_regulator_data[0],
|
.platform_data = &tps_board,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,6 +22,9 @@ struct davinci_mmc_config {
|
|||||||
|
|
||||||
/* Version of the MMC/SD controller */
|
/* Version of the MMC/SD controller */
|
||||||
u8 version;
|
u8 version;
|
||||||
|
|
||||||
|
/* Number of sg segments */
|
||||||
|
u8 nr_sg;
|
||||||
};
|
};
|
||||||
void davinci_setup_mmc(int module, struct davinci_mmc_config *config);
|
void davinci_setup_mmc(int module, struct davinci_mmc_config *config);
|
||||||
|
|
||||||
|
@ -1,42 +1,103 @@
|
|||||||
|
config IMX_HAVE_DMA_V1
|
||||||
|
bool
|
||||||
|
|
||||||
|
if ARCH_MX1
|
||||||
|
|
||||||
|
config SOC_IMX1
|
||||||
|
select CPU_ARM920T
|
||||||
|
select IMX_HAVE_DMA_V1
|
||||||
|
select IMX_HAVE_IOMUX_V1
|
||||||
|
bool
|
||||||
|
|
||||||
|
comment "MX1 platforms:"
|
||||||
|
config MACH_MXLADS
|
||||||
|
bool
|
||||||
|
|
||||||
|
config ARCH_MX1ADS
|
||||||
|
bool "MX1ADS platform"
|
||||||
|
select MACH_MXLADS
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
help
|
||||||
|
Say Y here if you are using Motorola MX1ADS/MXLADS boards
|
||||||
|
|
||||||
|
config MACH_SCB9328
|
||||||
|
bool "Synertronixx scb9328"
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
help
|
||||||
|
Say Y here if you are using a Synertronixx scb9328 board
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
if ARCH_MX2
|
if ARCH_MX2
|
||||||
|
|
||||||
|
config SOC_IMX21
|
||||||
|
select CPU_ARM926T
|
||||||
|
select ARCH_MXC_AUDMUX_V1
|
||||||
|
select IMX_HAVE_DMA_V1
|
||||||
|
select IMX_HAVE_IOMUX_V1
|
||||||
|
bool
|
||||||
|
|
||||||
|
config SOC_IMX27
|
||||||
|
select CPU_ARM926T
|
||||||
|
select ARCH_MXC_AUDMUX_V1
|
||||||
|
select IMX_HAVE_DMA_V1
|
||||||
|
select IMX_HAVE_IOMUX_V1
|
||||||
|
bool
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "CPUs:"
|
prompt "CPUs:"
|
||||||
default MACH_MX21
|
default MACH_MX21
|
||||||
|
|
||||||
config MACH_MX21
|
config MACH_MX21
|
||||||
bool "i.MX21 support"
|
bool "i.MX21 support"
|
||||||
select ARCH_MXC_AUDMUX_V1
|
select SOC_IMX21
|
||||||
help
|
help
|
||||||
This enables support for Freescale's MX2 based i.MX21 processor.
|
This enables support for Freescale's MX2 based i.MX21 processor.
|
||||||
|
|
||||||
config MACH_MX27
|
config MACH_MX27
|
||||||
bool "i.MX27 support"
|
bool "i.MX27 support"
|
||||||
select ARCH_MXC_AUDMUX_V1
|
select SOC_IMX27
|
||||||
help
|
help
|
||||||
This enables support for Freescale's MX2 based i.MX27 processor.
|
This enables support for Freescale's MX2 based i.MX27 processor.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
comment "MX2 platforms:"
|
endif
|
||||||
|
|
||||||
|
if MACH_MX21
|
||||||
|
|
||||||
|
comment "MX21 platforms:"
|
||||||
|
|
||||||
config MACH_MX21ADS
|
config MACH_MX21ADS
|
||||||
bool "MX21ADS platform"
|
bool "MX21ADS platform"
|
||||||
depends on MACH_MX21
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
help
|
help
|
||||||
Include support for MX21ADS platform. This includes specific
|
Include support for MX21ADS platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
if MACH_MX27
|
||||||
|
|
||||||
|
comment "MX27 platforms:"
|
||||||
|
|
||||||
config MACH_MX27ADS
|
config MACH_MX27ADS
|
||||||
bool "MX27ADS platform"
|
bool "MX27ADS platform"
|
||||||
depends on MACH_MX27
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
help
|
help
|
||||||
Include support for MX27ADS platform. This includes specific
|
Include support for MX27ADS platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
config MACH_PCM038
|
config MACH_PCM038
|
||||||
bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
|
bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
|
||||||
depends on MACH_MX27
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for phyCORE-i.MX27 (aka pcm038) platform. This
|
Include support for phyCORE-i.MX27 (aka pcm038) platform. This
|
||||||
@ -58,8 +119,9 @@ endchoice
|
|||||||
|
|
||||||
config MACH_CPUIMX27
|
config MACH_CPUIMX27
|
||||||
bool "Eukrea CPUIMX27 module"
|
bool "Eukrea CPUIMX27 module"
|
||||||
depends on MACH_MX27
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
select MXC_ULPI if USB_ULPI
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
help
|
help
|
||||||
Include support for Eukrea CPUIMX27 platform. This includes
|
Include support for Eukrea CPUIMX27 platform. This includes
|
||||||
specific configurations for the module and its peripherals.
|
specific configurations for the module and its peripherals.
|
||||||
@ -86,6 +148,8 @@ choice
|
|||||||
config MACH_EUKREA_MBIMX27_BASEBOARD
|
config MACH_EUKREA_MBIMX27_BASEBOARD
|
||||||
prompt "Eukrea MBIMX27 development board"
|
prompt "Eukrea MBIMX27 development board"
|
||||||
bool
|
bool
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
help
|
help
|
||||||
This adds board specific devices that can be found on Eukrea's
|
This adds board specific devices that can be found on Eukrea's
|
||||||
MBIMX27 evaluation board.
|
MBIMX27 evaluation board.
|
||||||
@ -94,21 +158,24 @@ endchoice
|
|||||||
|
|
||||||
config MACH_MX27_3DS
|
config MACH_MX27_3DS
|
||||||
bool "MX27PDK platform"
|
bool "MX27PDK platform"
|
||||||
depends on MACH_MX27
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
help
|
help
|
||||||
Include support for MX27PDK platform. This includes specific
|
Include support for MX27PDK platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
config MACH_IMX27LITE
|
config MACH_IMX27LITE
|
||||||
bool "LogicPD MX27 LITEKIT platform"
|
bool "LogicPD MX27 LITEKIT platform"
|
||||||
depends on MACH_MX27
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
help
|
help
|
||||||
Include support for MX27 LITEKIT platform. This includes specific
|
Include support for MX27 LITEKIT platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
config MACH_PCA100
|
config MACH_PCA100
|
||||||
bool "Phytec phyCARD-s (pca100)"
|
bool "Phytec phyCARD-s (pca100)"
|
||||||
depends on MACH_MX27
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for phyCARD-s (aka pca100) platform. This
|
Include support for phyCARD-s (aka pca100) platform. This
|
||||||
@ -116,7 +183,9 @@ config MACH_PCA100
|
|||||||
|
|
||||||
config MACH_MXT_TD60
|
config MACH_MXT_TD60
|
||||||
bool "Maxtrack i-MXT TD60"
|
bool "Maxtrack i-MXT TD60"
|
||||||
depends on MACH_MX27
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
help
|
help
|
||||||
Include support for i-MXT (aka td60) platform. This
|
Include support for i-MXT (aka td60) platform. This
|
||||||
includes specific configurations for the module and its peripherals.
|
includes specific configurations for the module and its peripherals.
|
@ -4,14 +4,24 @@
|
|||||||
|
|
||||||
# Object file lists.
|
# Object file lists.
|
||||||
|
|
||||||
obj-y := devices.o serial.o
|
obj-y := devices.o
|
||||||
|
|
||||||
obj-$(CONFIG_MACH_MX21) += clock_imx21.o mm-imx21.o
|
obj-$(CONFIG_IMX_HAVE_DMA_V1) += dma-v1.o
|
||||||
|
|
||||||
obj-$(CONFIG_MACH_MX27) += cpu_imx27.o pm-imx27.o
|
obj-$(CONFIG_ARCH_MX1) += clock-imx1.o mm-imx1.o
|
||||||
obj-$(CONFIG_MACH_MX27) += clock_imx27.o mm-imx27.o
|
obj-$(CONFIG_MACH_MX21) += clock-imx21.o mm-imx21.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_MACH_MX27) += cpu-imx27.o pm-imx27.o
|
||||||
|
obj-$(CONFIG_MACH_MX27) += clock-imx27.o mm-imx27.o
|
||||||
|
|
||||||
|
# Support for CMOS sensor interface
|
||||||
|
obj-$(CONFIG_MX1_VIDEO) += mx1-camera-fiq.o mx1-camera-fiq-ksym.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_ARCH_MX1ADS) += mach-mx1ads.o
|
||||||
|
obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
|
||||||
|
|
||||||
obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
|
obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
|
||||||
|
|
||||||
obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
|
obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
|
||||||
obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
|
obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
|
||||||
obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o
|
obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o
|
@ -1,3 +1,7 @@
|
|||||||
|
zreladdr-$(CONFIG_ARCH_MX1) := 0x08008000
|
||||||
|
params_phys-$(CONFIG_ARCH_MX1) := 0x08000100
|
||||||
|
initrd_phys-$(CONFIG_ARCH_MX1) := 0x08800000
|
||||||
|
|
||||||
zreladdr-$(CONFIG_MACH_MX21) := 0xC0008000
|
zreladdr-$(CONFIG_MACH_MX21) := 0xC0008000
|
||||||
params_phys-$(CONFIG_MACH_MX21) := 0xC0000100
|
params_phys-$(CONFIG_MACH_MX21) := 0xC0000100
|
||||||
initrd_phys-$(CONFIG_MACH_MX21) := 0xC0800000
|
initrd_phys-$(CONFIG_MACH_MX21) := 0xC0800000
|
@ -2,18 +2,17 @@
|
|||||||
* Copyright (C) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
|
* Copyright (C) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* published by the Free Software Foundation.
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License along
|
||||||
* along with this program; if not, write to the Free Software
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
@ -29,7 +28,41 @@
|
|||||||
#include <mach/clock.h>
|
#include <mach/clock.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include "crm_regs.h"
|
|
||||||
|
#define IO_ADDR_CCM(off) (MX1_IO_ADDRESS(MX1_CCM_BASE_ADDR + (off)))
|
||||||
|
|
||||||
|
/* CCM register addresses */
|
||||||
|
#define CCM_CSCR IO_ADDR_CCM(0x0)
|
||||||
|
#define CCM_MPCTL0 IO_ADDR_CCM(0x4)
|
||||||
|
#define CCM_SPCTL0 IO_ADDR_CCM(0xc)
|
||||||
|
#define CCM_PCDR IO_ADDR_CCM(0x20)
|
||||||
|
|
||||||
|
#define CCM_CSCR_CLKO_OFFSET 29
|
||||||
|
#define CCM_CSCR_CLKO_MASK (0x7 << 29)
|
||||||
|
#define CCM_CSCR_USB_OFFSET 26
|
||||||
|
#define CCM_CSCR_USB_MASK (0x7 << 26)
|
||||||
|
#define CCM_CSCR_OSC_EN_SHIFT 17
|
||||||
|
#define CCM_CSCR_SYSTEM_SEL (1 << 16)
|
||||||
|
#define CCM_CSCR_BCLK_OFFSET 10
|
||||||
|
#define CCM_CSCR_BCLK_MASK (0xf << 10)
|
||||||
|
#define CCM_CSCR_PRESC (1 << 15)
|
||||||
|
|
||||||
|
#define CCM_PCDR_PCLK3_OFFSET 16
|
||||||
|
#define CCM_PCDR_PCLK3_MASK (0x7f << 16)
|
||||||
|
#define CCM_PCDR_PCLK2_OFFSET 4
|
||||||
|
#define CCM_PCDR_PCLK2_MASK (0xf << 4)
|
||||||
|
#define CCM_PCDR_PCLK1_OFFSET 0
|
||||||
|
#define CCM_PCDR_PCLK1_MASK 0xf
|
||||||
|
|
||||||
|
#define IO_ADDR_SCM(off) (MX1_IO_ADDRESS(MX1_SCM_BASE_ADDR + (off)))
|
||||||
|
|
||||||
|
/* SCM register addresses */
|
||||||
|
#define SCM_GCCR IO_ADDR_SCM(0xc)
|
||||||
|
|
||||||
|
#define SCM_GCCR_DMA_CLK_EN_OFFSET 3
|
||||||
|
#define SCM_GCCR_CSI_CLK_EN_OFFSET 2
|
||||||
|
#define SCM_GCCR_MMA_CLK_EN_OFFSET 1
|
||||||
|
#define SCM_GCCR_USBD_CLK_EN_OFFSET 0
|
||||||
|
|
||||||
static int _clk_enable(struct clk *clk)
|
static int _clk_enable(struct clk *clk)
|
||||||
{
|
{
|
||||||
@ -596,7 +629,8 @@ int __init mx1_clocks_init(unsigned long fref)
|
|||||||
clk_enable(&hclk);
|
clk_enable(&hclk);
|
||||||
clk_enable(&fclk);
|
clk_enable(&fclk);
|
||||||
|
|
||||||
mxc_timer_init(&gpt_clk, IO_ADDRESS(TIM1_BASE_ADDR), TIM1_INT);
|
mxc_timer_init(&gpt_clk, MX1_IO_ADDRESS(MX1_TIM1_BASE_ADDR),
|
||||||
|
MX1_TIM1_INT);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
18
arch/arm/mach-imx/devices-imx1.h
Normal file
18
arch/arm/mach-imx/devices-imx1.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2010 Pengutronix
|
||||||
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it under
|
||||||
|
* the terms of the GNU General Public License version 2 as published by the
|
||||||
|
* Free Software Foundation.
|
||||||
|
*/
|
||||||
|
#include <mach/mx1.h>
|
||||||
|
#include <mach/devices-common.h>
|
||||||
|
|
||||||
|
#define imx1_add_i2c_imx(pdata) \
|
||||||
|
imx_add_imx_i2c(0, MX1_I2C_BASE_ADDR, SZ_4K, MX1_INT_I2C, pdata)
|
||||||
|
|
||||||
|
#define imx1_add_imx_uart0(pdata) \
|
||||||
|
imx_add_imx_uart_3irq(0, MX1_UART1_BASE_ADDR, 0xd0, MX1_INT_UART1RX, MX1_INT_UART1TX, MX1_INT_UART1RTS, pdata)
|
||||||
|
#define imx1_add_imx_uart1(pdata) \
|
||||||
|
imx_add_imx_uart_3irq(0, MX1_UART2_BASE_ADDR, 0xd0, MX1_INT_UART2RX, MX1_INT_UART2TX, MX1_INT_UART2RTS, pdata)
|
30
arch/arm/mach-imx/devices-imx21.h
Normal file
30
arch/arm/mach-imx/devices-imx21.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2010 Pengutronix
|
||||||
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it under
|
||||||
|
* the terms of the GNU General Public License version 2 as published by the
|
||||||
|
* Free Software Foundation.
|
||||||
|
*/
|
||||||
|
#include <mach/mx21.h>
|
||||||
|
#include <mach/devices-common.h>
|
||||||
|
|
||||||
|
#define imx21_add_i2c_imx(pdata) \
|
||||||
|
imx_add_imx_i2c(0, MX2x_I2C_BASE_ADDR, SZ_4K, MX2x_INT_I2C, pdata)
|
||||||
|
|
||||||
|
#define imx21_add_imx_uart0(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(0, MX21_UART1_BASE_ADDR, SZ_4K, MX21_INT_UART1, pdata)
|
||||||
|
#define imx21_add_imx_uart1(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(1, MX21_UART2_BASE_ADDR, SZ_4K, MX21_INT_UART2, pdata)
|
||||||
|
#define imx21_add_imx_uart2(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(2, MX21_UART3_BASE_ADDR, SZ_4K, MX21_INT_UART3, pdata)
|
||||||
|
#define imx21_add_imx_uart3(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(3, MX21_UART4_BASE_ADDR, SZ_4K, MX21_INT_UART4, pdata)
|
||||||
|
|
||||||
|
#define imx21_add_mxc_nand(pdata) \
|
||||||
|
imx_add_mxc_nand_v1(MX21_NFC_BASE_ADDR, MX21_INT_NANDFC, pdata)
|
||||||
|
|
||||||
|
#define imx21_add_spi_imx0(pdata) \
|
||||||
|
imx_add_spi_imx(0, MX21_CSPI1_BASE_ADDR, SZ_4K, MX21_INT_CSPI1, pdata)
|
||||||
|
#define imx21_add_spi_imx1(pdata) \
|
||||||
|
imx_add_spi_imx(1, MX21_CSPI2_BASE_ADDR, SZ_4K, MX21_INT_CSPI2, pdata)
|
38
arch/arm/mach-imx/devices-imx27.h
Normal file
38
arch/arm/mach-imx/devices-imx27.h
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2010 Pengutronix
|
||||||
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it under
|
||||||
|
* the terms of the GNU General Public License version 2 as published by the
|
||||||
|
* Free Software Foundation.
|
||||||
|
*/
|
||||||
|
#include <mach/mx27.h>
|
||||||
|
#include <mach/devices-common.h>
|
||||||
|
|
||||||
|
#define imx27_add_i2c_imx0(pdata) \
|
||||||
|
imx_add_imx_i2c(0, MX27_I2C1_BASE_ADDR, SZ_4K, MX27_INT_I2C1, pdata)
|
||||||
|
#define imx27_add_i2c_imx1(pdata) \
|
||||||
|
imx_add_imx_i2c(1, MX27_I2C2_BASE_ADDR, SZ_4K, MX27_INT_I2C2, pdata)
|
||||||
|
|
||||||
|
#define imx27_add_imx_uart0(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(0, MX27_UART1_BASE_ADDR, SZ_4K, MX27_INT_UART1, pdata)
|
||||||
|
#define imx27_add_imx_uart1(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(1, MX27_UART2_BASE_ADDR, SZ_4K, MX27_INT_UART2, pdata)
|
||||||
|
#define imx27_add_imx_uart2(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(2, MX27_UART3_BASE_ADDR, SZ_4K, MX27_INT_UART3, pdata)
|
||||||
|
#define imx27_add_imx_uart3(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(3, MX27_UART4_BASE_ADDR, SZ_4K, MX27_INT_UART4, pdata)
|
||||||
|
#define imx27_add_imx_uart4(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(4, MX27_UART5_BASE_ADDR, SZ_4K, MX27_INT_UART5, pdata)
|
||||||
|
#define imx27_add_imx_uart5(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(5, MX27_UART6_BASE_ADDR, SZ_4K, MX27_INT_UART6, pdata)
|
||||||
|
|
||||||
|
#define imx27_add_mxc_nand(pdata) \
|
||||||
|
imx_add_mxc_nand_v1(MX27_NFC_BASE_ADDR, MX27_INT_NANDFC, pdata)
|
||||||
|
|
||||||
|
#define imx27_add_spi_imx0(pdata) \
|
||||||
|
imx_add_spi_imx(0, MX27_CSPI1_BASE_ADDR, SZ_4K, MX27_INT_CSPI1, pdata)
|
||||||
|
#define imx27_add_spi_imx1(pdata) \
|
||||||
|
imx_add_spi_imx(1, MX27_CSPI2_BASE_ADDR, SZ_4K, MX27_INT_CSPI2, pdata)
|
||||||
|
#define imx27_add_spi_imx2(pdata) \
|
||||||
|
imx_add_spi_imx(2, MX27_CSPI3_BASE_ADDR, SZ_4K, MX27_INT_CSPI3, pdata)
|
@ -11,6 +11,9 @@
|
|||||||
*
|
*
|
||||||
* Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
* Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
||||||
* Copyright 2008 Juergen Beisert, kernel@pengutronix.de
|
* Copyright 2008 Juergen Beisert, kernel@pengutronix.de
|
||||||
|
* Copyright 2008 Sascha Hauer, kernel@pengutronix.de
|
||||||
|
* Copyright (c) 2008 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
|
||||||
|
* Copyright (c) 2008 Darius Augulis <darius.augulis@teltonika.lt>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
@ -32,6 +35,7 @@
|
|||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/gpio.h>
|
#include <linux/gpio.h>
|
||||||
#include <linux/dma-mapping.h>
|
#include <linux/dma-mapping.h>
|
||||||
|
#include <linux/serial.h>
|
||||||
|
|
||||||
#include <mach/irqs.h>
|
#include <mach/irqs.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
@ -40,6 +44,150 @@
|
|||||||
|
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
|
#if defined(CONFIG_ARCH_MX1)
|
||||||
|
static struct resource imx1_camera_resources[] = {
|
||||||
|
{
|
||||||
|
.start = 0x00224000,
|
||||||
|
.end = 0x00224010,
|
||||||
|
.flags = IORESOURCE_MEM,
|
||||||
|
}, {
|
||||||
|
.start = MX1_CSI_INT,
|
||||||
|
.end = MX1_CSI_INT,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
static u64 imx1_camera_dmamask = DMA_BIT_MASK(32);
|
||||||
|
|
||||||
|
struct platform_device imx1_camera_device = {
|
||||||
|
.name = "mx1-camera",
|
||||||
|
.id = 0, /* This is used to put cameras on this interface */
|
||||||
|
.dev = {
|
||||||
|
.dma_mask = &imx1_camera_dmamask,
|
||||||
|
.coherent_dma_mask = DMA_BIT_MASK(32),
|
||||||
|
},
|
||||||
|
.resource = imx1_camera_resources,
|
||||||
|
.num_resources = ARRAY_SIZE(imx1_camera_resources),
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct resource imx_rtc_resources[] = {
|
||||||
|
{
|
||||||
|
.start = 0x00204000,
|
||||||
|
.end = 0x00204024,
|
||||||
|
.flags = IORESOURCE_MEM,
|
||||||
|
}, {
|
||||||
|
.start = MX1_RTC_INT,
|
||||||
|
.end = MX1_RTC_INT,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}, {
|
||||||
|
.start = MX1_RTC_SAMINT,
|
||||||
|
.end = MX1_RTC_SAMINT,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
struct platform_device imx_rtc_device = {
|
||||||
|
.name = "rtc-imx",
|
||||||
|
.id = 0,
|
||||||
|
.resource = imx_rtc_resources,
|
||||||
|
.num_resources = ARRAY_SIZE(imx_rtc_resources),
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct resource imx_wdt_resources[] = {
|
||||||
|
{
|
||||||
|
.start = 0x00201000,
|
||||||
|
.end = 0x00201008,
|
||||||
|
.flags = IORESOURCE_MEM,
|
||||||
|
}, {
|
||||||
|
.start = MX1_WDT_INT,
|
||||||
|
.end = MX1_WDT_INT,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
struct platform_device imx_wdt_device = {
|
||||||
|
.name = "imx-wdt",
|
||||||
|
.id = 0,
|
||||||
|
.resource = imx_wdt_resources,
|
||||||
|
.num_resources = ARRAY_SIZE(imx_wdt_resources),
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct resource imx_usb_resources[] = {
|
||||||
|
{
|
||||||
|
.start = 0x00212000,
|
||||||
|
.end = 0x00212148,
|
||||||
|
.flags = IORESOURCE_MEM,
|
||||||
|
}, {
|
||||||
|
.start = MX1_USBD_INT0,
|
||||||
|
.end = MX1_USBD_INT0,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}, {
|
||||||
|
.start = MX1_USBD_INT1,
|
||||||
|
.end = MX1_USBD_INT1,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}, {
|
||||||
|
.start = MX1_USBD_INT2,
|
||||||
|
.end = MX1_USBD_INT2,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}, {
|
||||||
|
.start = MX1_USBD_INT3,
|
||||||
|
.end = MX1_USBD_INT3,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}, {
|
||||||
|
.start = MX1_USBD_INT4,
|
||||||
|
.end = MX1_USBD_INT4,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}, {
|
||||||
|
.start = MX1_USBD_INT5,
|
||||||
|
.end = MX1_USBD_INT5,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}, {
|
||||||
|
.start = MX1_USBD_INT6,
|
||||||
|
.end = MX1_USBD_INT6,
|
||||||
|
.flags = IORESOURCE_IRQ,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
struct platform_device imx_usb_device = {
|
||||||
|
.name = "imx_udc",
|
||||||
|
.id = 0,
|
||||||
|
.num_resources = ARRAY_SIZE(imx_usb_resources),
|
||||||
|
.resource = imx_usb_resources,
|
||||||
|
};
|
||||||
|
|
||||||
|
/* GPIO port description */
|
||||||
|
static struct mxc_gpio_port imx_gpio_ports[] = {
|
||||||
|
{
|
||||||
|
.chip.label = "gpio-0",
|
||||||
|
.base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR),
|
||||||
|
.irq = MX1_GPIO_INT_PORTA,
|
||||||
|
.virtual_irq_start = MXC_GPIO_IRQ_START,
|
||||||
|
}, {
|
||||||
|
.chip.label = "gpio-1",
|
||||||
|
.base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x100),
|
||||||
|
.irq = MX1_GPIO_INT_PORTB,
|
||||||
|
.virtual_irq_start = MXC_GPIO_IRQ_START + 32,
|
||||||
|
}, {
|
||||||
|
.chip.label = "gpio-2",
|
||||||
|
.base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x200),
|
||||||
|
.irq = MX1_GPIO_INT_PORTC,
|
||||||
|
.virtual_irq_start = MXC_GPIO_IRQ_START + 64,
|
||||||
|
}, {
|
||||||
|
.chip.label = "gpio-3",
|
||||||
|
.base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x300),
|
||||||
|
.irq = MX1_GPIO_INT_PORTD,
|
||||||
|
.virtual_irq_start = MXC_GPIO_IRQ_START + 96,
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
int __init imx1_register_gpios(void)
|
||||||
|
{
|
||||||
|
return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27)
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
#ifdef CONFIG_MACH_MX27
|
||||||
static struct resource mx27_camera_resources[] = {
|
static struct resource mx27_camera_resources[] = {
|
||||||
{
|
{
|
||||||
@ -71,40 +219,6 @@ struct platform_device mx27_camera_device = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* SPI master controller
|
|
||||||
*
|
|
||||||
* - i.MX1: 2 channel (slighly different register setting)
|
|
||||||
* - i.MX21: 2 channel
|
|
||||||
* - i.MX27: 3 channel
|
|
||||||
*/
|
|
||||||
#define DEFINE_IMX_SPI_DEVICE(n, baseaddr, irq) \
|
|
||||||
static struct resource mxc_spi_resources ## n[] = { \
|
|
||||||
{ \
|
|
||||||
.start = baseaddr, \
|
|
||||||
.end = baseaddr + SZ_4K - 1, \
|
|
||||||
.flags = IORESOURCE_MEM, \
|
|
||||||
}, { \
|
|
||||||
.start = irq, \
|
|
||||||
.end = irq, \
|
|
||||||
.flags = IORESOURCE_IRQ, \
|
|
||||||
}, \
|
|
||||||
}; \
|
|
||||||
\
|
|
||||||
struct platform_device mxc_spi_device ## n = { \
|
|
||||||
.name = "spi_imx", \
|
|
||||||
.id = n, \
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_spi_resources ## n), \
|
|
||||||
.resource = mxc_spi_resources ## n, \
|
|
||||||
}
|
|
||||||
|
|
||||||
DEFINE_IMX_SPI_DEVICE(0, MX2x_CSPI1_BASE_ADDR, MX2x_INT_CSPI1);
|
|
||||||
DEFINE_IMX_SPI_DEVICE(1, MX2x_CSPI2_BASE_ADDR, MX2x_INT_CSPI2);
|
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
DEFINE_IMX_SPI_DEVICE(2, MX27_CSPI3_BASE_ADDR, MX27_INT_CSPI3);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* General Purpose Timer
|
* General Purpose Timer
|
||||||
* - i.MX21: 3 timers
|
* - i.MX21: 3 timers
|
||||||
@ -171,34 +285,6 @@ struct platform_device mxc_w1_master_device = {
|
|||||||
.resource = mxc_w1_master_resources,
|
.resource = mxc_w1_master_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define DEFINE_MXC_NAND_DEVICE(pfx, baseaddr, irq) \
|
|
||||||
static struct resource pfx ## _nand_resources[] = { \
|
|
||||||
{ \
|
|
||||||
.start = baseaddr, \
|
|
||||||
.end = baseaddr + SZ_4K - 1, \
|
|
||||||
.flags = IORESOURCE_MEM, \
|
|
||||||
}, { \
|
|
||||||
.start = irq, \
|
|
||||||
.end = irq, \
|
|
||||||
.flags = IORESOURCE_IRQ, \
|
|
||||||
}, \
|
|
||||||
}; \
|
|
||||||
\
|
|
||||||
struct platform_device pfx ## _nand_device = { \
|
|
||||||
.name = "mxc_nand", \
|
|
||||||
.id = 0, \
|
|
||||||
.num_resources = ARRAY_SIZE(pfx ## _nand_resources), \
|
|
||||||
.resource = pfx ## _nand_resources, \
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX21
|
|
||||||
DEFINE_MXC_NAND_DEVICE(imx21, MX21_NFC_BASE_ADDR, MX21_INT_NANDFC);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
DEFINE_MXC_NAND_DEVICE(imx27, MX27_NFC_BASE_ADDR, MX27_INT_NANDFC);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* lcdc:
|
* lcdc:
|
||||||
* - i.MX1: the basic controller
|
* - i.MX1: the basic controller
|
||||||
@ -249,32 +335,6 @@ struct platform_device mxc_fec_device = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEFINE_IMX_I2C_DEVICE(n, baseaddr, irq) \
|
|
||||||
static struct resource mxc_i2c_resources ## n[] = { \
|
|
||||||
{ \
|
|
||||||
.start = baseaddr, \
|
|
||||||
.end = baseaddr + SZ_4K - 1, \
|
|
||||||
.flags = IORESOURCE_MEM, \
|
|
||||||
}, { \
|
|
||||||
.start = irq, \
|
|
||||||
.end = irq, \
|
|
||||||
.flags = IORESOURCE_IRQ, \
|
|
||||||
} \
|
|
||||||
}; \
|
|
||||||
\
|
|
||||||
struct platform_device mxc_i2c_device ## n = { \
|
|
||||||
.name = "imx-i2c", \
|
|
||||||
.id = n, \
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_i2c_resources ## n), \
|
|
||||||
.resource = mxc_i2c_resources ## n, \
|
|
||||||
}
|
|
||||||
|
|
||||||
DEFINE_IMX_I2C_DEVICE(0, MX2x_I2C_BASE_ADDR, MX2x_INT_I2C);
|
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
DEFINE_IMX_I2C_DEVICE(1, MX27_I2C2_BASE_ADDR, MX27_INT_I2C2);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static struct resource mxc_pwm_resources[] = {
|
static struct resource mxc_pwm_resources[] = {
|
||||||
{
|
{
|
||||||
.start = MX2x_PWM_BASE_ADDR,
|
.start = MX2x_PWM_BASE_ADDR,
|
||||||
@ -485,26 +545,21 @@ DEFINE_IMX_SSI_DEVICE(1, 2, MX2x_SSI1_BASE_ADDR, MX2x_INT_SSI1);
|
|||||||
|
|
||||||
#ifdef CONFIG_MACH_MX21
|
#ifdef CONFIG_MACH_MX21
|
||||||
DEFINE_MXC_GPIO_PORTS(MX21, imx21);
|
DEFINE_MXC_GPIO_PORTS(MX21, imx21);
|
||||||
|
|
||||||
|
int __init imx21_register_gpios(void)
|
||||||
|
{
|
||||||
|
return mxc_gpio_init(imx21_gpio_ports, ARRAY_SIZE(imx21_gpio_ports));
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
#ifdef CONFIG_MACH_MX27
|
||||||
DEFINE_MXC_GPIO_PORTS(MX27, imx27);
|
DEFINE_MXC_GPIO_PORTS(MX27, imx27);
|
||||||
#endif
|
|
||||||
|
|
||||||
int __init mxc_register_gpios(void)
|
int __init imx27_register_gpios(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_MACH_MX21
|
|
||||||
if (cpu_is_mx21())
|
|
||||||
return mxc_gpio_init(imx21_gpio_ports, ARRAY_SIZE(imx21_gpio_ports));
|
|
||||||
else
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
if (cpu_is_mx27())
|
|
||||||
return mxc_gpio_init(imx27_gpio_ports, ARRAY_SIZE(imx27_gpio_ports));
|
return mxc_gpio_init(imx27_gpio_ports, ARRAY_SIZE(imx27_gpio_ports));
|
||||||
else
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX21
|
#ifdef CONFIG_MACH_MX21
|
||||||
static struct resource mx21_usbhc_resources[] = {
|
static struct resource mx21_usbhc_resources[] = {
|
||||||
@ -550,3 +605,5 @@ struct platform_device imx_kpp_device = {
|
|||||||
.num_resources = ARRAY_SIZE(imx_kpp_resources),
|
.num_resources = ARRAY_SIZE(imx_kpp_resources),
|
||||||
.resource = imx_kpp_resources,
|
.resource = imx_kpp_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -1,3 +1,11 @@
|
|||||||
|
#ifdef CONFIG_ARCH_MX1
|
||||||
|
extern struct platform_device imx1_camera_device;
|
||||||
|
extern struct platform_device imx_rtc_device;
|
||||||
|
extern struct platform_device imx_wdt_device;
|
||||||
|
extern struct platform_device imx_usb_device;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27)
|
||||||
extern struct platform_device mxc_gpt1;
|
extern struct platform_device mxc_gpt1;
|
||||||
extern struct platform_device mxc_gpt2;
|
extern struct platform_device mxc_gpt2;
|
||||||
#ifdef CONFIG_MACH_MX27
|
#ifdef CONFIG_MACH_MX27
|
||||||
@ -6,26 +14,10 @@ extern struct platform_device mxc_gpt4;
|
|||||||
extern struct platform_device mxc_gpt5;
|
extern struct platform_device mxc_gpt5;
|
||||||
#endif
|
#endif
|
||||||
extern struct platform_device mxc_wdt;
|
extern struct platform_device mxc_wdt;
|
||||||
extern struct platform_device mxc_uart_device0;
|
|
||||||
extern struct platform_device mxc_uart_device1;
|
|
||||||
extern struct platform_device mxc_uart_device2;
|
|
||||||
extern struct platform_device mxc_uart_device3;
|
|
||||||
extern struct platform_device mxc_uart_device4;
|
|
||||||
extern struct platform_device mxc_uart_device5;
|
|
||||||
extern struct platform_device mxc_w1_master_device;
|
extern struct platform_device mxc_w1_master_device;
|
||||||
#ifdef CONFIG_MACH_MX21
|
|
||||||
extern struct platform_device imx21_nand_device;
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
extern struct platform_device imx27_nand_device;
|
|
||||||
#endif
|
|
||||||
extern struct platform_device mxc_fb_device;
|
extern struct platform_device mxc_fb_device;
|
||||||
extern struct platform_device mxc_fec_device;
|
extern struct platform_device mxc_fec_device;
|
||||||
extern struct platform_device mxc_pwm_device;
|
extern struct platform_device mxc_pwm_device;
|
||||||
extern struct platform_device mxc_i2c_device0;
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
extern struct platform_device mxc_i2c_device1;
|
|
||||||
#endif
|
|
||||||
extern struct platform_device mxc_sdhc_device0;
|
extern struct platform_device mxc_sdhc_device0;
|
||||||
extern struct platform_device mxc_sdhc_device1;
|
extern struct platform_device mxc_sdhc_device1;
|
||||||
extern struct platform_device mxc_otg_udc_device;
|
extern struct platform_device mxc_otg_udc_device;
|
||||||
@ -33,12 +25,8 @@ extern struct platform_device mx27_camera_device;
|
|||||||
extern struct platform_device mxc_otg_host;
|
extern struct platform_device mxc_otg_host;
|
||||||
extern struct platform_device mxc_usbh1;
|
extern struct platform_device mxc_usbh1;
|
||||||
extern struct platform_device mxc_usbh2;
|
extern struct platform_device mxc_usbh2;
|
||||||
extern struct platform_device mxc_spi_device0;
|
|
||||||
extern struct platform_device mxc_spi_device1;
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
extern struct platform_device mxc_spi_device2;
|
|
||||||
#endif
|
|
||||||
extern struct platform_device mx21_usbhc_device;
|
extern struct platform_device mx21_usbhc_device;
|
||||||
extern struct platform_device imx_ssi_device0;
|
extern struct platform_device imx_ssi_device0;
|
||||||
extern struct platform_device imx_ssi_device1;
|
extern struct platform_device imx_ssi_device1;
|
||||||
extern struct platform_device imx_kpp_device;
|
extern struct platform_device imx_kpp_device;
|
||||||
|
#endif
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* linux/arch/arm/plat-mxc/dma-mx1-mx2.c
|
* linux/arch/arm/plat-mxc/dma-v1.c
|
||||||
*
|
*
|
||||||
* i.MX DMA registration and IRQ dispatching
|
* i.MX DMA registration and IRQ dispatching
|
||||||
*
|
*
|
||||||
@ -34,7 +34,7 @@
|
|||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
#include <asm/irq.h>
|
#include <asm/irq.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/dma-mx1-mx2.h>
|
#include <mach/dma-v1.h>
|
||||||
|
|
||||||
#define DMA_DCR 0x00 /* Control Register */
|
#define DMA_DCR 0x00 /* Control Register */
|
||||||
#define DMA_DISR 0x04 /* Interrupt status Register */
|
#define DMA_DISR 0x04 /* Interrupt status Register */
|
@ -35,11 +35,11 @@
|
|||||||
#include <mach/imxfb.h>
|
#include <mach/imxfb.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/mmc.h>
|
#include <mach/mmc.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/spi.h>
|
#include <mach/spi.h>
|
||||||
#include <mach/ssi.h>
|
#include <mach/ssi.h>
|
||||||
#include <mach/audmux.h>
|
#include <mach/audmux.h>
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static int eukrea_mbimx27_pins[] = {
|
static int eukrea_mbimx27_pins[] = {
|
||||||
@ -247,16 +247,8 @@ static struct platform_device eukrea_mbimx27_lcd_powerdev = {
|
|||||||
.dev.platform_data = &eukrea_mbimx27_lcd_power_data,
|
.dev.platform_data = &eukrea_mbimx27_lcd_power_data,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata[] = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
},
|
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_ADS7846) \
|
#if defined(CONFIG_TOUCHSCREEN_ADS7846) \
|
||||||
@ -305,7 +297,7 @@ static struct i2c_board_info eukrea_mbimx27_i2c_devices[] = {
|
|||||||
|
|
||||||
static int eukrea_mbimx27_spi_cs[] = {GPIO_PORTD | 28};
|
static int eukrea_mbimx27_spi_cs[] = {GPIO_PORTD | 28};
|
||||||
|
|
||||||
static struct spi_imx_master eukrea_mbimx27_spi_0_data = {
|
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),
|
||||||
};
|
};
|
||||||
@ -353,10 +345,10 @@ void __init eukrea_mbimx27_baseboard_init(void)
|
|||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata[0]);
|
imx27_add_imx_uart1(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device2, &uart_pdata[1]);
|
imx27_add_imx_uart2(&uart_pdata);
|
||||||
#if !defined(MACH_EUKREA_CPUIMX27_USEUART4)
|
#if !defined(MACH_EUKREA_CPUIMX27_USEUART4)
|
||||||
mxc_register_device(&mxc_uart_device3, &uart_pdata[2]);
|
imx27_add_imx_uart3(&uart_pdata);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mxc_register_device(&mxc_fb_device, &eukrea_mbimx27_fb_data);
|
mxc_register_device(&mxc_fb_device, &eukrea_mbimx27_fb_data);
|
||||||
@ -377,7 +369,7 @@ void __init eukrea_mbimx27_baseboard_init(void)
|
|||||||
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
|
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
|
||||||
/* SPI_CS0 init */
|
/* SPI_CS0 init */
|
||||||
mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT);
|
mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT);
|
||||||
mxc_register_device(&mxc_spi_device0, &eukrea_mbimx27_spi_0_data);
|
imx27_add_spi_imx0(&eukrea_mbimx27_spi0_data);
|
||||||
spi_register_board_info(eukrea_mbimx27_spi_board_info,
|
spi_register_board_info(eukrea_mbimx27_spi_board_info,
|
||||||
ARRAY_SIZE(eukrea_mbimx27_spi_board_info));
|
ARRAY_SIZE(eukrea_mbimx27_spi_board_info));
|
||||||
#endif
|
#endif
|
10
arch/arm/mach-imx/include/mach/dma-mx1-mx2.h
Normal file
10
arch/arm/mach-imx/include/mach/dma-mx1-mx2.h
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#ifndef __MACH_DMA_MX1_MX2_H__
|
||||||
|
#define __MACH_DMA_MX1_MX2_H__
|
||||||
|
/*
|
||||||
|
* Don't use this header in new code, it will go away when all users are
|
||||||
|
* converted to mach/dma-v1.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <mach/dma-v1.h>
|
||||||
|
|
||||||
|
#endif /* ifndef __MACH_DMA_MX1_MX2_H__ */
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* linux/arch/arm/plat-mxc/include/mach/dma-mx1-mx2.h
|
* linux/arch/arm/mach-imx/include/mach/dma-v1.h
|
||||||
*
|
*
|
||||||
* i.MX DMA registration and IRQ dispatching
|
* i.MX DMA registration and IRQ dispatching
|
||||||
*
|
*
|
||||||
@ -22,8 +22,10 @@
|
|||||||
* MA 02110-1301, USA.
|
* MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ASM_ARCH_MXC_DMA_H
|
#ifndef __MACH_DMA_V1_H__
|
||||||
#define __ASM_ARCH_MXC_DMA_H
|
#define __MACH_DMA_V1_H__
|
||||||
|
|
||||||
|
#define imx_has_dma_v1() (cpu_is_mx1() || cpu_is_mx21() || cpu_is_mx27())
|
||||||
|
|
||||||
#define IMX_DMA_CHANNELS 16
|
#define IMX_DMA_CHANNELS 16
|
||||||
|
|
||||||
@ -102,4 +104,4 @@ enum imx_dma_prio {
|
|||||||
|
|
||||||
int imx_dma_request_by_prio(const char *name, enum imx_dma_prio prio);
|
int imx_dma_request_by_prio(const char *name, enum imx_dma_prio prio);
|
||||||
|
|
||||||
#endif /* _ASM_ARCH_MXC_DMA_H */
|
#endif /* __MACH_DMA_V1_H__ */
|
@ -38,13 +38,12 @@
|
|||||||
#include <mach/board-eukrea_cpuimx27.h>
|
#include <mach/board-eukrea_cpuimx27.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/i2c.h>
|
|
||||||
#include <mach/iomux-mx27.h>
|
#include <mach/iomux-mx27.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
#include <mach/mxc_ehci.h>
|
#include <mach/mxc_ehci.h>
|
||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static int eukrea_cpuimx27_pins[] = {
|
static int eukrea_cpuimx27_pins[] = {
|
||||||
@ -146,15 +145,12 @@ static struct platform_device eukrea_cpuimx27_nor_mtd_device = {
|
|||||||
.resource = &eukrea_cpuimx27_flash_resource,
|
.resource = &eukrea_cpuimx27_flash_resource,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata[] = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data eukrea_cpuimx27_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
cpuimx27_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
@ -166,7 +162,7 @@ static struct platform_device *platform_devices[] __initdata = {
|
|||||||
&mxc_w1_master_device,
|
&mxc_w1_master_device,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data eukrea_cpuimx27_i2c_1_data = {
|
static const struct imxi2c_platform_data cpuimx27_i2c1_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -256,15 +252,14 @@ static void __init eukrea_cpuimx27_init(void)
|
|||||||
mxc_gpio_setup_multiple_pins(eukrea_cpuimx27_pins,
|
mxc_gpio_setup_multiple_pins(eukrea_cpuimx27_pins,
|
||||||
ARRAY_SIZE(eukrea_cpuimx27_pins), "CPUIMX27");
|
ARRAY_SIZE(eukrea_cpuimx27_pins), "CPUIMX27");
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata[0]);
|
imx27_add_imx_uart0(&uart_pdata);
|
||||||
|
|
||||||
mxc_register_device(&imx27_nand_device,
|
imx27_add_mxc_nand(&cpuimx27_nand_board_info);
|
||||||
&eukrea_cpuimx27_nand_board_info);
|
|
||||||
|
|
||||||
i2c_register_board_info(0, eukrea_cpuimx27_i2c_devices,
|
i2c_register_board_info(0, eukrea_cpuimx27_i2c_devices,
|
||||||
ARRAY_SIZE(eukrea_cpuimx27_i2c_devices));
|
ARRAY_SIZE(eukrea_cpuimx27_i2c_devices));
|
||||||
|
|
||||||
mxc_register_device(&mxc_i2c_device0, &eukrea_cpuimx27_i2c_1_data);
|
imx27_add_i2c_imx1(&cpuimx27_i2c1_data);
|
||||||
|
|
||||||
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
||||||
|
|
||||||
@ -274,7 +269,7 @@ static void __init eukrea_cpuimx27_init(void)
|
|||||||
#endif
|
#endif
|
||||||
#if defined(MACH_EUKREA_CPUIMX27_USEUART4)
|
#if defined(MACH_EUKREA_CPUIMX27_USEUART4)
|
||||||
/* in which case UART4 is also used for Bluetooth */
|
/* in which case UART4 is also used for Bluetooth */
|
||||||
mxc_register_device(&mxc_uart_device3, &uart_pdata[1]);
|
imx27_add_imx_uart3(&uart_pdata);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
|
#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
|
@ -12,10 +12,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
@ -26,10 +22,9 @@
|
|||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx27.h>
|
#include <mach/iomux-mx27.h>
|
||||||
#include <mach/board-mx27lite.h>
|
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static unsigned int mx27lite_pins[] = {
|
static unsigned int mx27lite_pins[] = {
|
||||||
@ -59,7 +54,7 @@ static unsigned int mx27lite_pins[] = {
|
|||||||
PF23_AIN_FEC_TX_EN,
|
PF23_AIN_FEC_TX_EN,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -71,7 +66,7 @@ static void __init mx27lite_init(void)
|
|||||||
{
|
{
|
||||||
mxc_gpio_setup_multiple_pins(mx27lite_pins, ARRAY_SIZE(mx27lite_pins),
|
mxc_gpio_setup_multiple_pins(mx27lite_pins, ARRAY_SIZE(mx27lite_pins),
|
||||||
"imx27lite");
|
"imx27lite");
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx27_add_imx_uart0(&uart_pdata);
|
||||||
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
||||||
}
|
}
|
||||||
|
|
@ -26,10 +26,10 @@
|
|||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/i2c.h>
|
#include <mach/i2c.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx1.h>
|
#include <mach/iomux-mx1.h>
|
||||||
#include <mach/irqs.h>
|
#include <mach/irqs.h>
|
||||||
|
|
||||||
|
#include "devices-imx1.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static int mx1ads_pins[] = {
|
static int mx1ads_pins[] = {
|
||||||
@ -58,12 +58,12 @@ static int mx1ads_pins[] = {
|
|||||||
* UARTs platform data
|
* UARTs platform data
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata[] = {
|
static const struct imxuart_platform_data uart0_pdata __initconst = {
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
}, {
|
};
|
||||||
|
|
||||||
|
static const struct imxuart_platform_data uart1_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -75,8 +75,8 @@ static struct physmap_flash_data mx1ads_flash_data = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static struct resource flash_resource = {
|
static struct resource flash_resource = {
|
||||||
.start = IMX_CS0_PHYS,
|
.start = MX1_CS0_PHYS,
|
||||||
.end = IMX_CS0_PHYS + SZ_32M - 1,
|
.end = MX1_CS0_PHYS + SZ_32M - 1,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ static struct pcf857x_platform_data pcf857x_data[] = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data mx1ads_i2c_data = {
|
static const struct imxi2c_platform_data mx1ads_i2c_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -121,8 +121,8 @@ static void __init mx1ads_init(void)
|
|||||||
ARRAY_SIZE(mx1ads_pins), "mx1ads");
|
ARRAY_SIZE(mx1ads_pins), "mx1ads");
|
||||||
|
|
||||||
/* UART */
|
/* UART */
|
||||||
mxc_register_device(&imx_uart1_device, &uart_pdata[0]);
|
imx1_add_imx_uart0(&uart0_pdata);
|
||||||
mxc_register_device(&imx_uart2_device, &uart_pdata[1]);
|
imx1_add_imx_uart1(&uart1_pdata);
|
||||||
|
|
||||||
/* Physmap flash */
|
/* Physmap flash */
|
||||||
mxc_register_device(&flash_device, &mx1ads_flash_data);
|
mxc_register_device(&flash_device, &mx1ads_flash_data);
|
||||||
@ -131,7 +131,7 @@ static void __init mx1ads_init(void)
|
|||||||
i2c_register_board_info(0, mx1ads_i2c_devices,
|
i2c_register_board_info(0, mx1ads_i2c_devices,
|
||||||
ARRAY_SIZE(mx1ads_i2c_devices));
|
ARRAY_SIZE(mx1ads_i2c_devices));
|
||||||
|
|
||||||
mxc_register_device(&imx_i2c_device, &mx1ads_i2c_data);
|
imx1_add_i2c_imx(&mx1ads_i2c_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init mx1ads_timer_init(void)
|
static void __init mx1ads_timer_init(void)
|
||||||
@ -145,8 +145,8 @@ struct sys_timer mx1ads_timer = {
|
|||||||
|
|
||||||
MACHINE_START(MX1ADS, "Freescale MX1ADS")
|
MACHINE_START(MX1ADS, "Freescale MX1ADS")
|
||||||
/* Maintainer: Sascha Hauer, Pengutronix */
|
/* Maintainer: Sascha Hauer, Pengutronix */
|
||||||
.phys_io = IMX_IO_PHYS,
|
.phys_io = MX1_IO_BASE_ADDR,
|
||||||
.io_pg_offst = (IMX_IO_BASE >> 18) & 0xfffc,
|
.io_pg_offst = (MX1_IO_BASE_ADDR_VIRT >> 18) & 0xfffc,
|
||||||
.boot_params = MX1_PHYS_OFFSET + 0x100,
|
.boot_params = MX1_PHYS_OFFSET + 0x100,
|
||||||
.map_io = mx1_map_io,
|
.map_io = mx1_map_io,
|
||||||
.init_irq = mx1_init_irq,
|
.init_irq = mx1_init_irq,
|
||||||
@ -155,8 +155,8 @@ MACHINE_START(MX1ADS, "Freescale MX1ADS")
|
|||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|
||||||
MACHINE_START(MXLADS, "Freescale MXLADS")
|
MACHINE_START(MXLADS, "Freescale MXLADS")
|
||||||
.phys_io = IMX_IO_PHYS,
|
.phys_io = MX1_IO_BASE_ADDR,
|
||||||
.io_pg_offst = (IMX_IO_BASE >> 18) & 0xfffc,
|
.io_pg_offst = (MX1_IO_BASE_ADDR_VIRT >> 18) & 0xfffc,
|
||||||
.boot_params = MX1_PHYS_OFFSET + 0x100,
|
.boot_params = MX1_PHYS_OFFSET + 0x100,
|
||||||
.map_io = mx1_map_io,
|
.map_io = mx1_map_io,
|
||||||
.init_irq = mx1_init_irq,
|
.init_irq = mx1_init_irq,
|
@ -12,10 +12,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
@ -28,15 +24,49 @@
|
|||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/imxfb.h>
|
#include <mach/imxfb.h>
|
||||||
#include <mach/iomux-mx21.h>
|
#include <mach/iomux-mx21.h>
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
#include <mach/mmc.h>
|
#include <mach/mmc.h>
|
||||||
#include <mach/board-mx21ads.h>
|
|
||||||
|
|
||||||
|
#include "devices-imx21.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Memory-mapped I/O on MX21ADS base board
|
||||||
|
*/
|
||||||
|
#define MX21ADS_MMIO_BASE_ADDR 0xf5000000
|
||||||
|
#define MX21ADS_MMIO_SIZE SZ_16M
|
||||||
|
|
||||||
|
#define MX21ADS_REG_ADDR(offset) (void __force __iomem *) \
|
||||||
|
(MX21ADS_MMIO_BASE_ADDR + (offset))
|
||||||
|
|
||||||
|
#define MX21ADS_CS8900A_IRQ IRQ_GPIOE(11)
|
||||||
|
#define MX21ADS_CS8900A_IOBASE_REG MX21ADS_REG_ADDR(0x000000)
|
||||||
|
#define MX21ADS_ST16C255_IOBASE_REG MX21ADS_REG_ADDR(0x200000)
|
||||||
|
#define MX21ADS_VERSION_REG MX21ADS_REG_ADDR(0x400000)
|
||||||
|
#define MX21ADS_IO_REG MX21ADS_REG_ADDR(0x800000)
|
||||||
|
|
||||||
|
/* MX21ADS_IO_REG bit definitions */
|
||||||
|
#define MX21ADS_IO_SD_WP 0x0001 /* read */
|
||||||
|
#define MX21ADS_IO_TP6 0x0001 /* write */
|
||||||
|
#define MX21ADS_IO_SW_SEL 0x0002 /* read */
|
||||||
|
#define MX21ADS_IO_TP7 0x0002 /* write */
|
||||||
|
#define MX21ADS_IO_RESET_E_UART 0x0004
|
||||||
|
#define MX21ADS_IO_RESET_BASE 0x0008
|
||||||
|
#define MX21ADS_IO_CSI_CTL2 0x0010
|
||||||
|
#define MX21ADS_IO_CSI_CTL1 0x0020
|
||||||
|
#define MX21ADS_IO_CSI_CTL0 0x0040
|
||||||
|
#define MX21ADS_IO_UART1_EN 0x0080
|
||||||
|
#define MX21ADS_IO_UART4_EN 0x0100
|
||||||
|
#define MX21ADS_IO_LCDON 0x0200
|
||||||
|
#define MX21ADS_IO_IRDA_EN 0x0400
|
||||||
|
#define MX21ADS_IO_IRDA_FIR_SEL 0x0800
|
||||||
|
#define MX21ADS_IO_IRDA_MD0_B 0x1000
|
||||||
|
#define MX21ADS_IO_IRDA_MD1 0x2000
|
||||||
|
#define MX21ADS_IO_LED4_ON 0x4000
|
||||||
|
#define MX21ADS_IO_LED3_ON 0x8000
|
||||||
|
|
||||||
static unsigned int mx21ads_pins[] = {
|
static unsigned int mx21ads_pins[] = {
|
||||||
|
|
||||||
/* CS8900A */
|
/* CS8900A */
|
||||||
@ -133,14 +163,13 @@ static struct platform_device mx21ads_nor_mtd_device = {
|
|||||||
.resource = &mx21ads_flash_resource,
|
.resource = &mx21ads_flash_resource,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata_rts __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_norts_pdata = {
|
static const struct imxuart_platform_data uart_pdata_norts __initconst = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static int mx21ads_fb_init(struct platform_device *pdev)
|
static int mx21ads_fb_init(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
u16 tmp;
|
u16 tmp;
|
||||||
@ -227,7 +256,8 @@ static struct imxmmc_platform_data mx21ads_sdhc_pdata = {
|
|||||||
.exit = mx21ads_sdhc_exit,
|
.exit = mx21ads_sdhc_exit,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data mx21ads_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
mx21ads_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
@ -263,12 +293,12 @@ static void __init mx21ads_board_init(void)
|
|||||||
mxc_gpio_setup_multiple_pins(mx21ads_pins, ARRAY_SIZE(mx21ads_pins),
|
mxc_gpio_setup_multiple_pins(mx21ads_pins, ARRAY_SIZE(mx21ads_pins),
|
||||||
"mx21ads");
|
"mx21ads");
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx21_add_imx_uart0(&uart_pdata_rts);
|
||||||
mxc_register_device(&mxc_uart_device2, &uart_norts_pdata);
|
imx21_add_imx_uart2(&uart_pdata_norts);
|
||||||
mxc_register_device(&mxc_uart_device3, &uart_pdata);
|
imx21_add_imx_uart3(&uart_pdata_rts);
|
||||||
mxc_register_device(&mxc_fb_device, &mx21ads_fb_data);
|
mxc_register_device(&mxc_fb_device, &mx21ads_fb_data);
|
||||||
mxc_register_device(&mxc_sdhc_device0, &mx21ads_sdhc_pdata);
|
mxc_register_device(&mxc_sdhc_device0, &mx21ads_sdhc_pdata);
|
||||||
mxc_register_device(&imx21_nand_device, &mx21ads_nand_board_info);
|
imx21_add_mxc_nand(&mx21ads_nand_board_info);
|
||||||
|
|
||||||
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
||||||
}
|
}
|
@ -12,10 +12,12 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*/
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
/*
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* This machine is known as:
|
||||||
|
* - i.MX27 3-Stack Development System
|
||||||
|
* - i.MX27 Platform Development Kit (i.MX27 PDK)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
@ -25,10 +27,9 @@
|
|||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx27.h>
|
#include <mach/iomux-mx27.h>
|
||||||
#include <mach/board-mx27pdk.h>
|
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static unsigned int mx27pdk_pins[] = {
|
static unsigned int mx27pdk_pins[] = {
|
||||||
@ -58,7 +59,7 @@ static unsigned int mx27pdk_pins[] = {
|
|||||||
PF23_AIN_FEC_TX_EN,
|
PF23_AIN_FEC_TX_EN,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -70,7 +71,7 @@ static void __init mx27pdk_init(void)
|
|||||||
{
|
{
|
||||||
mxc_gpio_setup_multiple_pins(mx27pdk_pins, ARRAY_SIZE(mx27pdk_pins),
|
mxc_gpio_setup_multiple_pins(mx27pdk_pins, ARRAY_SIZE(mx27pdk_pins),
|
||||||
"mx27pdk");
|
"mx27pdk");
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx27_add_imx_uart0(&uart_pdata);
|
||||||
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
|
||||||
}
|
}
|
||||||
|
|
@ -12,10 +12,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
@ -32,16 +28,44 @@
|
|||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <mach/gpio.h>
|
#include <mach/gpio.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx27.h>
|
#include <mach/iomux-mx27.h>
|
||||||
#include <mach/board-mx27ads.h>
|
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
#include <mach/i2c.h>
|
|
||||||
#include <mach/imxfb.h>
|
#include <mach/imxfb.h>
|
||||||
#include <mach/mmc.h>
|
#include <mach/mmc.h>
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Base address of PBC controller, CS4
|
||||||
|
*/
|
||||||
|
#define PBC_BASE_ADDRESS 0xf4300000
|
||||||
|
#define PBC_REG_ADDR(offset) (void __force __iomem *) \
|
||||||
|
(PBC_BASE_ADDRESS + (offset))
|
||||||
|
|
||||||
|
/* When the PBC address connection is fixed in h/w, defined as 1 */
|
||||||
|
#define PBC_ADDR_SH 0
|
||||||
|
|
||||||
|
/* Offsets for the PBC Controller register */
|
||||||
|
/*
|
||||||
|
* PBC Board version register offset
|
||||||
|
*/
|
||||||
|
#define PBC_VERSION_REG PBC_REG_ADDR(0x00000 >> PBC_ADDR_SH)
|
||||||
|
/*
|
||||||
|
* PBC Board control register 1 set address.
|
||||||
|
*/
|
||||||
|
#define PBC_BCTRL1_SET_REG PBC_REG_ADDR(0x00008 >> PBC_ADDR_SH)
|
||||||
|
/*
|
||||||
|
* PBC Board control register 1 clear address.
|
||||||
|
*/
|
||||||
|
#define PBC_BCTRL1_CLEAR_REG PBC_REG_ADDR(0x0000C >> PBC_ADDR_SH)
|
||||||
|
|
||||||
|
/* PBC Board Control Register 1 bit definitions */
|
||||||
|
#define PBC_BCTRL1_LCDON 0x0800 /* Enable the LCD */
|
||||||
|
|
||||||
|
/* to determine the correct external crystal reference */
|
||||||
|
#define CKIH_27MHZ_BIT_SET (1 << 3)
|
||||||
|
|
||||||
static unsigned int mx27ads_pins[] = {
|
static unsigned int mx27ads_pins[] = {
|
||||||
/* UART0 */
|
/* UART0 */
|
||||||
PE12_PF_UART1_TXD,
|
PE12_PF_UART1_TXD,
|
||||||
@ -141,7 +165,8 @@ static unsigned int mx27ads_pins[] = {
|
|||||||
PB9_PF_SD2_CLK,
|
PB9_PF_SD2_CLK,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data mx27ads_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
mx27ads_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
@ -168,7 +193,7 @@ static struct platform_device mx27ads_nor_mtd_device = {
|
|||||||
.resource = &mx27ads_flash_resource,
|
.resource = &mx27ads_flash_resource,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data mx27ads_i2c_data = {
|
static const struct imxi2c_platform_data mx27ads_i2c1_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -263,20 +288,8 @@ static struct platform_device *platform_devices[] __initdata = {
|
|||||||
&mxc_w1_master_device,
|
&mxc_w1_master_device,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata[] = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init mx27ads_board_init(void)
|
static void __init mx27ads_board_init(void)
|
||||||
@ -284,18 +297,18 @@ static void __init mx27ads_board_init(void)
|
|||||||
mxc_gpio_setup_multiple_pins(mx27ads_pins, ARRAY_SIZE(mx27ads_pins),
|
mxc_gpio_setup_multiple_pins(mx27ads_pins, ARRAY_SIZE(mx27ads_pins),
|
||||||
"mx27ads");
|
"mx27ads");
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata[0]);
|
imx27_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata[1]);
|
imx27_add_imx_uart1(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device2, &uart_pdata[2]);
|
imx27_add_imx_uart2(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device3, &uart_pdata[3]);
|
imx27_add_imx_uart3(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device4, &uart_pdata[4]);
|
imx27_add_imx_uart4(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device5, &uart_pdata[5]);
|
imx27_add_imx_uart5(&uart_pdata);
|
||||||
mxc_register_device(&imx27_nand_device, &mx27ads_nand_board_info);
|
imx27_add_mxc_nand(&mx27ads_nand_board_info);
|
||||||
|
|
||||||
/* only the i2c master 1 is used on this CPU card */
|
/* only the i2c master 1 is used on this CPU card */
|
||||||
i2c_register_board_info(1, mx27ads_i2c_devices,
|
i2c_register_board_info(1, mx27ads_i2c_devices,
|
||||||
ARRAY_SIZE(mx27ads_i2c_devices));
|
ARRAY_SIZE(mx27ads_i2c_devices));
|
||||||
mxc_register_device(&mxc_i2c_device1, &mx27ads_i2c_data);
|
imx27_add_i2c_imx1(&mx27ads_i2c1_data);
|
||||||
mxc_register_device(&mxc_fb_device, &mx27ads_fb_data);
|
mxc_register_device(&mxc_fb_device, &mx27ads_fb_data);
|
||||||
mxc_register_device(&mxc_sdhc_device0, &sdhc1_pdata);
|
mxc_register_device(&mxc_sdhc_device0, &sdhc1_pdata);
|
||||||
mxc_register_device(&mxc_sdhc_device1, &sdhc2_pdata);
|
mxc_register_device(&mxc_sdhc_device1, &sdhc2_pdata);
|
||||||
@ -342,4 +355,3 @@ MACHINE_START(MX27ADS, "Freescale i.MX27ADS")
|
|||||||
.init_machine = mx27ads_board_init,
|
.init_machine = mx27ads_board_init,
|
||||||
.timer = &mx27ads_timer,
|
.timer = &mx27ads_timer,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|
@ -12,10 +12,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
@ -32,14 +28,13 @@
|
|||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <linux/gpio.h>
|
#include <linux/gpio.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx27.h>
|
#include <mach/iomux-mx27.h>
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
#include <mach/i2c.h>
|
|
||||||
#include <linux/i2c/pca953x.h>
|
#include <linux/i2c/pca953x.h>
|
||||||
#include <mach/imxfb.h>
|
#include <mach/imxfb.h>
|
||||||
#include <mach/mmc.h>
|
#include <mach/mmc.h>
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static unsigned int mxt_td60_pins[] __initdata = {
|
static unsigned int mxt_td60_pins[] __initdata = {
|
||||||
@ -128,12 +123,13 @@ static unsigned int mxt_td60_pins[] __initdata = {
|
|||||||
PB9_PF_SD2_CLK,
|
PB9_PF_SD2_CLK,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data mxt_td60_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
mxt_td60_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data mxt_td60_i2c_data = {
|
static const struct imxi2c_platform_data mxt_td60_i2c0_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -173,7 +169,7 @@ static struct i2c_board_info mxt_td60_i2c_devices[] = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data mxt_td60_i2c2_data = {
|
static const struct imxi2c_platform_data mxt_td60_i2c1_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -239,14 +235,8 @@ static struct platform_device *platform_devices[] __initdata = {
|
|||||||
&mxc_fec_device,
|
&mxc_fec_device,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata[] = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init mxt_td60_board_init(void)
|
static void __init mxt_td60_board_init(void)
|
||||||
@ -254,10 +244,10 @@ static void __init mxt_td60_board_init(void)
|
|||||||
mxc_gpio_setup_multiple_pins(mxt_td60_pins, ARRAY_SIZE(mxt_td60_pins),
|
mxc_gpio_setup_multiple_pins(mxt_td60_pins, ARRAY_SIZE(mxt_td60_pins),
|
||||||
"MXT_TD60");
|
"MXT_TD60");
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata[0]);
|
imx27_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata[1]);
|
imx27_add_imx_uart1(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device2, &uart_pdata[2]);
|
imx27_add_imx_uart2(&uart_pdata);
|
||||||
mxc_register_device(&imx27_nand_device, &mxt_td60_nand_board_info);
|
imx27_add_mxc_nand(&mxt_td60_nand_board_info);
|
||||||
|
|
||||||
i2c_register_board_info(0, mxt_td60_i2c_devices,
|
i2c_register_board_info(0, mxt_td60_i2c_devices,
|
||||||
ARRAY_SIZE(mxt_td60_i2c_devices));
|
ARRAY_SIZE(mxt_td60_i2c_devices));
|
||||||
@ -265,8 +255,8 @@ static void __init mxt_td60_board_init(void)
|
|||||||
i2c_register_board_info(1, mxt_td60_i2c2_devices,
|
i2c_register_board_info(1, mxt_td60_i2c2_devices,
|
||||||
ARRAY_SIZE(mxt_td60_i2c2_devices));
|
ARRAY_SIZE(mxt_td60_i2c2_devices));
|
||||||
|
|
||||||
mxc_register_device(&mxc_i2c_device0, &mxt_td60_i2c_data);
|
imx27_add_i2c_imx0(&mxt_td60_i2c0_data);
|
||||||
mxc_register_device(&mxc_i2c_device1, &mxt_td60_i2c2_data);
|
imx27_add_i2c_imx1(&mxt_td60_i2c1_data);
|
||||||
mxc_register_device(&mxc_fb_device, &mxt_td60_fb_data);
|
mxc_register_device(&mxc_fb_device, &mxt_td60_fb_data);
|
||||||
mxc_register_device(&mxc_sdhc_device0, &sdhc1_pdata);
|
mxc_register_device(&mxc_sdhc_device0, &sdhc1_pdata);
|
||||||
|
|
@ -36,12 +36,7 @@
|
|||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/iomux-mx27.h>
|
#include <mach/iomux-mx27.h>
|
||||||
#include <mach/i2c.h>
|
|
||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
|
|
||||||
#include <mach/spi.h>
|
|
||||||
#endif
|
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/audmux.h>
|
#include <mach/audmux.h>
|
||||||
#include <mach/ssi.h>
|
#include <mach/ssi.h>
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
@ -51,6 +46,7 @@
|
|||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
#include <mach/imxfb.h>
|
#include <mach/imxfb.h>
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
#define OTG_PHY_CS_GPIO (GPIO_PORTB + 23)
|
#define OTG_PHY_CS_GPIO (GPIO_PORTB + 23)
|
||||||
@ -166,11 +162,12 @@ static int pca100_pins[] = {
|
|||||||
GPIO_PORTE | 5 | GPIO_GPIO | GPIO_IN, /* GPIO2_IRQ */
|
GPIO_PORTE | 5 | GPIO_GPIO | GPIO_IN, /* GPIO2_IRQ */
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data pca100_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
pca100_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
@ -181,7 +178,7 @@ static struct platform_device *platform_devices[] __initdata = {
|
|||||||
&mxc_wdt,
|
&mxc_wdt,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data pca100_i2c_1_data = {
|
static const struct imxi2c_platform_data pca100_i2c1_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -224,7 +221,7 @@ static struct spi_board_info pca100_spi_board_info[] __initdata = {
|
|||||||
|
|
||||||
static int pca100_spi_cs[] = {SPI1_SS0, SPI1_SS1};
|
static int pca100_spi_cs[] = {SPI1_SS0, SPI1_SS1};
|
||||||
|
|
||||||
static struct spi_imx_master pca100_spi_0_data = {
|
static const struct spi_imx_master pca100_spi0_data __initconst = {
|
||||||
.chipselect = pca100_spi_cs,
|
.chipselect = pca100_spi_cs,
|
||||||
.num_chipselect = ARRAY_SIZE(pca100_spi_cs),
|
.num_chipselect = ARRAY_SIZE(pca100_spi_cs),
|
||||||
};
|
};
|
||||||
@ -394,24 +391,24 @@ static void __init pca100_init(void)
|
|||||||
|
|
||||||
mxc_register_device(&imx_ssi_device0, &pca100_ssi_pdata);
|
mxc_register_device(&imx_ssi_device0, &pca100_ssi_pdata);
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx27_add_imx_uart0(&uart_pdata);
|
||||||
|
|
||||||
mxc_register_device(&mxc_sdhc_device1, &sdhc_pdata);
|
mxc_register_device(&mxc_sdhc_device1, &sdhc_pdata);
|
||||||
|
|
||||||
mxc_register_device(&imx27_nand_device, &pca100_nand_board_info);
|
imx27_add_mxc_nand(&pca100_nand_board_info);
|
||||||
|
|
||||||
/* only the i2c master 1 is used on this CPU card */
|
/* only the i2c master 1 is used on this CPU card */
|
||||||
i2c_register_board_info(1, pca100_i2c_devices,
|
i2c_register_board_info(1, pca100_i2c_devices,
|
||||||
ARRAY_SIZE(pca100_i2c_devices));
|
ARRAY_SIZE(pca100_i2c_devices));
|
||||||
|
|
||||||
mxc_register_device(&mxc_i2c_device1, &pca100_i2c_1_data);
|
imx27_add_i2c_imx1(&pca100_i2c1_data);
|
||||||
|
|
||||||
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
|
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
|
||||||
mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_IN);
|
mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_IN);
|
||||||
mxc_gpio_mode(GPIO_PORTD | 27 | GPIO_GPIO | GPIO_IN);
|
mxc_gpio_mode(GPIO_PORTD | 27 | GPIO_GPIO | GPIO_IN);
|
||||||
spi_register_board_info(pca100_spi_board_info,
|
spi_register_board_info(pca100_spi_board_info,
|
||||||
ARRAY_SIZE(pca100_spi_board_info));
|
ARRAY_SIZE(pca100_spi_board_info));
|
||||||
mxc_register_device(&mxc_spi_device0, &pca100_spi_0_data);
|
imx27_add_spi_imx0(&pca100_spi_0_data);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gpio_request(OTG_PHY_CS_GPIO, "usb-otg-cs");
|
gpio_request(OTG_PHY_CS_GPIO, "usb-otg-cs");
|
@ -35,14 +35,12 @@
|
|||||||
#include <mach/board-pcm038.h>
|
#include <mach/board-pcm038.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/i2c.h>
|
|
||||||
#include <mach/iomux-mx27.h>
|
#include <mach/iomux-mx27.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
#include <mach/spi.h>
|
|
||||||
#include <mach/mxc_ehci.h>
|
#include <mach/mxc_ehci.h>
|
||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
|
|
||||||
|
#include "devices-imx27.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static int pcm038_pins[] = {
|
static int pcm038_pins[] = {
|
||||||
@ -162,17 +160,12 @@ static struct platform_device pcm038_nor_mtd_device = {
|
|||||||
.resource = &pcm038_flash_resource,
|
.resource = &pcm038_flash_resource,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata[] = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
{
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
}, {
|
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data pcm038_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
pcm038_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
@ -192,7 +185,7 @@ static void __init pcm038_init_sram(void)
|
|||||||
mx27_setup_weimcs(1, 0x0000d843, 0x22252521, 0x22220a00);
|
mx27_setup_weimcs(1, 0x0000d843, 0x22252521, 0x22220a00);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct imxi2c_platform_data pcm038_i2c_1_data = {
|
static const struct imxi2c_platform_data pcm038_i2c1_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -215,7 +208,7 @@ static struct i2c_board_info pcm038_i2c_devices[] = {
|
|||||||
|
|
||||||
static int pcm038_spi_cs[] = {GPIO_PORTD + 28};
|
static int pcm038_spi_cs[] = {GPIO_PORTD + 28};
|
||||||
|
|
||||||
static struct spi_imx_master pcm038_spi_0_data = {
|
static const struct spi_imx_master pcm038_spi0_data __initconst = {
|
||||||
.chipselect = pcm038_spi_cs,
|
.chipselect = pcm038_spi_cs,
|
||||||
.num_chipselect = ARRAY_SIZE(pcm038_spi_cs),
|
.num_chipselect = ARRAY_SIZE(pcm038_spi_cs),
|
||||||
};
|
};
|
||||||
@ -305,18 +298,18 @@ static void __init pcm038_init(void)
|
|||||||
|
|
||||||
pcm038_init_sram();
|
pcm038_init_sram();
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata[0]);
|
imx27_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata[1]);
|
imx27_add_imx_uart1(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device2, &uart_pdata[2]);
|
imx27_add_imx_uart2(&uart_pdata);
|
||||||
|
|
||||||
mxc_gpio_mode(PE16_AF_OWIRE);
|
mxc_gpio_mode(PE16_AF_OWIRE);
|
||||||
mxc_register_device(&imx27_nand_device, &pcm038_nand_board_info);
|
imx27_add_mxc_nand(&pcm038_nand_board_info);
|
||||||
|
|
||||||
/* only the i2c master 1 is used on this CPU card */
|
/* only the i2c master 1 is used on this CPU card */
|
||||||
i2c_register_board_info(1, pcm038_i2c_devices,
|
i2c_register_board_info(1, pcm038_i2c_devices,
|
||||||
ARRAY_SIZE(pcm038_i2c_devices));
|
ARRAY_SIZE(pcm038_i2c_devices));
|
||||||
|
|
||||||
mxc_register_device(&mxc_i2c_device1, &pcm038_i2c_1_data);
|
imx27_add_i2c_imx1(&pcm038_i2c1_data);
|
||||||
|
|
||||||
/* PE18 for user-LED D40 */
|
/* PE18 for user-LED D40 */
|
||||||
mxc_gpio_mode(GPIO_PORTE | 18 | GPIO_GPIO | GPIO_OUT);
|
mxc_gpio_mode(GPIO_PORTE | 18 | GPIO_GPIO | GPIO_OUT);
|
||||||
@ -326,7 +319,7 @@ static void __init pcm038_init(void)
|
|||||||
/* MC13783 IRQ */
|
/* MC13783 IRQ */
|
||||||
mxc_gpio_mode(GPIO_PORTB | 23 | GPIO_GPIO | GPIO_IN);
|
mxc_gpio_mode(GPIO_PORTB | 23 | GPIO_GPIO | GPIO_IN);
|
||||||
|
|
||||||
mxc_register_device(&mxc_spi_device0, &pcm038_spi_0_data);
|
imx27_add_spi_imx0(&pcm038_spi0_data);
|
||||||
spi_register_board_info(pcm038_spi_board_info,
|
spi_register_board_info(pcm038_spi_board_info,
|
||||||
ARRAY_SIZE(pcm038_spi_board_info));
|
ARRAY_SIZE(pcm038_spi_board_info));
|
||||||
|
|
@ -22,17 +22,17 @@
|
|||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/irqs.h>
|
#include <mach/irqs.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx1.h>
|
#include <mach/iomux-mx1.h>
|
||||||
|
|
||||||
|
#include "devices-imx1.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This scb9328 has a 32MiB flash
|
* This scb9328 has a 32MiB flash
|
||||||
*/
|
*/
|
||||||
static struct resource flash_resource = {
|
static struct resource flash_resource = {
|
||||||
.start = IMX_CS0_PHYS,
|
.start = MX1_CS0_PHYS,
|
||||||
.end = IMX_CS0_PHYS + (32 * 1024 * 1024) - 1,
|
.end = MX1_CS0_PHYS + (32 * 1024 * 1024) - 1,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -70,13 +70,13 @@ static struct dm9000_plat_data dm9000_platdata = {
|
|||||||
static struct resource dm9000x_resources[] = {
|
static struct resource dm9000x_resources[] = {
|
||||||
{
|
{
|
||||||
.name = "address area",
|
.name = "address area",
|
||||||
.start = IMX_CS5_PHYS,
|
.start = MX1_CS5_PHYS,
|
||||||
.end = IMX_CS5_PHYS + 1,
|
.end = MX1_CS5_PHYS + 1,
|
||||||
.flags = IORESOURCE_MEM, /* address access */
|
.flags = IORESOURCE_MEM, /* address access */
|
||||||
}, {
|
}, {
|
||||||
.name = "data area",
|
.name = "data area",
|
||||||
.start = IMX_CS5_PHYS + 4,
|
.start = MX1_CS5_PHYS + 4,
|
||||||
.end = IMX_CS5_PHYS + 5,
|
.end = MX1_CS5_PHYS + 5,
|
||||||
.flags = IORESOURCE_MEM, /* data access */
|
.flags = IORESOURCE_MEM, /* data access */
|
||||||
}, {
|
}, {
|
||||||
.start = IRQ_GPIOC(3),
|
.start = IRQ_GPIOC(3),
|
||||||
@ -108,14 +108,13 @@ static int uart1_mxc_init(struct platform_device *pdev)
|
|||||||
ARRAY_SIZE(mxc_uart1_pins), "UART1");
|
ARRAY_SIZE(mxc_uart1_pins), "UART1");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int uart1_mxc_exit(struct platform_device *pdev)
|
static void uart1_mxc_exit(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
mxc_gpio_release_multiple_pins(mxc_uart1_pins,
|
mxc_gpio_release_multiple_pins(mxc_uart1_pins,
|
||||||
ARRAY_SIZE(mxc_uart1_pins));
|
ARRAY_SIZE(mxc_uart1_pins));
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.init = uart1_mxc_init,
|
.init = uart1_mxc_init,
|
||||||
.exit = uart1_mxc_exit,
|
.exit = uart1_mxc_exit,
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
@ -131,7 +130,7 @@ static struct platform_device *devices[] __initdata = {
|
|||||||
*/
|
*/
|
||||||
static void __init scb9328_init(void)
|
static void __init scb9328_init(void)
|
||||||
{
|
{
|
||||||
mxc_register_device(&imx_uart1_device, &uart_pdata);
|
imx1_add_imx_uart0(&uart_pdata);
|
||||||
|
|
||||||
printk(KERN_INFO"Scb9328: Adding devices\n");
|
printk(KERN_INFO"Scb9328: Adding devices\n");
|
||||||
platform_add_devices(devices, ARRAY_SIZE(devices));
|
platform_add_devices(devices, ARRAY_SIZE(devices));
|
@ -3,7 +3,7 @@
|
|||||||
* Created: april 20th, 2004
|
* Created: april 20th, 2004
|
||||||
* Copyright: Synertronixx GmbH
|
* Copyright: Synertronixx GmbH
|
||||||
*
|
*
|
||||||
* Common code for i.MX machines
|
* Common code for i.MX1 machines
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -14,11 +14,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
@ -31,9 +26,9 @@
|
|||||||
|
|
||||||
static struct map_desc imx_io_desc[] __initdata = {
|
static struct map_desc imx_io_desc[] __initdata = {
|
||||||
{
|
{
|
||||||
.virtual = IMX_IO_BASE,
|
.virtual = MX1_IO_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(IMX_IO_PHYS),
|
.pfn = __phys_to_pfn(MX1_IO_BASE_ADDR),
|
||||||
.length = IMX_IO_SIZE,
|
.length = MX1_IO_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -41,13 +36,15 @@ static struct map_desc imx_io_desc[] __initdata = {
|
|||||||
void __init mx1_map_io(void)
|
void __init mx1_map_io(void)
|
||||||
{
|
{
|
||||||
mxc_set_cpu_type(MXC_CPU_MX1);
|
mxc_set_cpu_type(MXC_CPU_MX1);
|
||||||
mxc_arch_reset_init(IO_ADDRESS(WDT_BASE_ADDR));
|
mxc_arch_reset_init(MX1_IO_ADDRESS(MX1_WDT_BASE_ADDR));
|
||||||
|
|
||||||
iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc));
|
iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int imx1_register_gpios(void);
|
||||||
|
|
||||||
void __init mx1_init_irq(void)
|
void __init mx1_init_irq(void)
|
||||||
{
|
{
|
||||||
mxc_init_irq(IO_ADDRESS(AVIC_BASE_ADDR));
|
imx1_register_gpios();
|
||||||
|
mxc_init_irq(MX1_IO_ADDRESS(MX1_AVIC_BASE_ADDR));
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* arch/arm/mach-mx2/mm-imx21.c
|
* arch/arm/mach-imx/mm-imx21.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de)
|
* Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de)
|
||||||
*
|
*
|
||||||
@ -77,7 +77,10 @@ void __init mx21_map_io(void)
|
|||||||
iotable_init(imx21_io_desc, ARRAY_SIZE(imx21_io_desc));
|
iotable_init(imx21_io_desc, ARRAY_SIZE(imx21_io_desc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int imx21_register_gpios(void);
|
||||||
|
|
||||||
void __init mx21_init_irq(void)
|
void __init mx21_init_irq(void)
|
||||||
{
|
{
|
||||||
|
imx21_register_gpios();
|
||||||
mxc_init_irq(MX21_IO_ADDRESS(MX21_AVIC_BASE_ADDR));
|
mxc_init_irq(MX21_IO_ADDRESS(MX21_AVIC_BASE_ADDR));
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* arch/arm/mach-mx2/mm-imx27.c
|
* arch/arm/mach-imx/mm-imx27.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de)
|
* Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de)
|
||||||
*
|
*
|
||||||
@ -77,7 +77,10 @@ void __init mx27_map_io(void)
|
|||||||
iotable_init(imx27_io_desc, ARRAY_SIZE(imx27_io_desc));
|
iotable_init(imx27_io_desc, ARRAY_SIZE(imx27_io_desc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int imx27_register_gpios(void);
|
||||||
|
|
||||||
void __init mx27_init_irq(void)
|
void __init mx27_init_irq(void)
|
||||||
{
|
{
|
||||||
|
imx27_register_gpios();
|
||||||
mxc_init_irq(MX27_IO_ADDRESS(MX27_AVIC_BASE_ADDR));
|
mxc_init_irq(MX27_IO_ADDRESS(MX27_AVIC_BASE_ADDR));
|
||||||
}
|
}
|
@ -1,19 +0,0 @@
|
|||||||
if ARCH_MX1
|
|
||||||
|
|
||||||
comment "MX1 platforms:"
|
|
||||||
|
|
||||||
config MACH_MXLADS
|
|
||||||
bool
|
|
||||||
|
|
||||||
config ARCH_MX1ADS
|
|
||||||
bool "MX1ADS platform"
|
|
||||||
select MACH_MXLADS
|
|
||||||
help
|
|
||||||
Say Y here if you are using Motorola MX1ADS/MXLADS boards
|
|
||||||
|
|
||||||
config MACH_SCB9328
|
|
||||||
bool "Synertronixx scb9328"
|
|
||||||
help
|
|
||||||
Say Y here if you are using a Synertronixx scb9328 board
|
|
||||||
|
|
||||||
endif
|
|
@ -1,15 +0,0 @@
|
|||||||
#
|
|
||||||
# Makefile for the linux kernel.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Object file lists.
|
|
||||||
|
|
||||||
EXTRA_CFLAGS += -DIMX_NEEDS_DEPRECATED_SYMBOLS
|
|
||||||
obj-y += generic.o clock.o devices.o
|
|
||||||
|
|
||||||
# Support for CMOS sensor interface
|
|
||||||
obj-$(CONFIG_MX1_VIDEO) += ksym_mx1.o mx1_camera_fiq.o
|
|
||||||
|
|
||||||
# Specific board support
|
|
||||||
obj-$(CONFIG_ARCH_MX1ADS) += mach-mx1ads.o
|
|
||||||
obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
|
|
@ -1,4 +0,0 @@
|
|||||||
zreladdr-y := 0x08008000
|
|
||||||
params_phys-y := 0x08000100
|
|
||||||
initrd_phys-y := 0x08800000
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
||||||
* Copyright (c) 2008 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
|
|
||||||
*
|
|
||||||
* This file may be distributed under the terms of the GNU General
|
|
||||||
* Public License, version 2.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_MACH_MX1_CRM_REGS_H__
|
|
||||||
#define __ARCH_ARM_MACH_MX1_CRM_REGS_H__
|
|
||||||
|
|
||||||
#define CCM_BASE IO_ADDRESS(CCM_BASE_ADDR)
|
|
||||||
#define SCM_BASE IO_ADDRESS(SCM_BASE_ADDR)
|
|
||||||
|
|
||||||
/* CCM register addresses */
|
|
||||||
#define CCM_CSCR (CCM_BASE + 0x0)
|
|
||||||
#define CCM_MPCTL0 (CCM_BASE + 0x4)
|
|
||||||
#define CCM_MPCTL1 (CCM_BASE + 0x8)
|
|
||||||
#define CCM_SPCTL0 (CCM_BASE + 0xC)
|
|
||||||
#define CCM_SPCTL1 (CCM_BASE + 0x10)
|
|
||||||
#define CCM_PCDR (CCM_BASE + 0x20)
|
|
||||||
|
|
||||||
#define CCM_CSCR_CLKO_OFFSET 29
|
|
||||||
#define CCM_CSCR_CLKO_MASK (0x7 << 29)
|
|
||||||
#define CCM_CSCR_USB_OFFSET 26
|
|
||||||
#define CCM_CSCR_USB_MASK (0x7 << 26)
|
|
||||||
#define CCM_CSCR_SPLL_RESTART (1 << 22)
|
|
||||||
#define CCM_CSCR_MPLL_RESTART (1 << 21)
|
|
||||||
#define CCM_CSCR_OSC_EN_SHIFT 17
|
|
||||||
#define CCM_CSCR_SYSTEM_SEL (1 << 16)
|
|
||||||
#define CCM_CSCR_BCLK_OFFSET 10
|
|
||||||
#define CCM_CSCR_BCLK_MASK (0xF << 10)
|
|
||||||
#define CCM_CSCR_PRESC (1 << 15)
|
|
||||||
#define CCM_CSCR_SPEN (1 << 1)
|
|
||||||
#define CCM_CSCR_MPEN (1 << 0)
|
|
||||||
|
|
||||||
#define CCM_PCDR_PCLK3_OFFSET 16
|
|
||||||
#define CCM_PCDR_PCLK3_MASK (0x7F << 16)
|
|
||||||
#define CCM_PCDR_PCLK2_OFFSET 4
|
|
||||||
#define CCM_PCDR_PCLK2_MASK (0xF << 4)
|
|
||||||
#define CCM_PCDR_PCLK1_OFFSET 0
|
|
||||||
#define CCM_PCDR_PCLK1_MASK 0xF
|
|
||||||
|
|
||||||
/* SCM register addresses */
|
|
||||||
#define SCM_SIDR (SCM_BASE + 0x0)
|
|
||||||
#define SCM_FMCR (SCM_BASE + 0x4)
|
|
||||||
#define SCM_GPCR (SCM_BASE + 0x8)
|
|
||||||
#define SCM_GCCR (SCM_BASE + 0xC)
|
|
||||||
|
|
||||||
#define SCM_GCCR_DMA_CLK_EN_OFFSET 3
|
|
||||||
#define SCM_GCCR_CSI_CLK_EN_OFFSET 2
|
|
||||||
#define SCM_GCCR_MMA_CLK_EN_OFFSET 1
|
|
||||||
#define SCM_GCCR_USBD_CLK_EN_OFFSET 0
|
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_MACH_MX2_CRM_REGS_H__ */
|
|
@ -1,242 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
||||||
* Copyright 2008 Sascha Hauer, kernel@pengutronix.de
|
|
||||||
* Copyright (c) 2008 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
|
|
||||||
* Copyright (c) 2008 Darius Augulis <darius.augulis@teltonika.lt>
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
|
||||||
#include <linux/init.h>
|
|
||||||
#include <linux/platform_device.h>
|
|
||||||
#include <linux/gpio.h>
|
|
||||||
#include <mach/irqs.h>
|
|
||||||
#include <mach/hardware.h>
|
|
||||||
|
|
||||||
#include "devices.h"
|
|
||||||
|
|
||||||
static struct resource imx_csi_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x00224000,
|
|
||||||
.end = 0x00224010,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = CSI_INT,
|
|
||||||
.end = CSI_INT,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
static u64 imx_csi_dmamask = 0xffffffffUL;
|
|
||||||
|
|
||||||
struct platform_device imx_csi_device = {
|
|
||||||
.name = "mx1-camera",
|
|
||||||
.id = 0, /* This is used to put cameras on this interface */
|
|
||||||
.dev = {
|
|
||||||
.dma_mask = &imx_csi_dmamask,
|
|
||||||
.coherent_dma_mask = 0xffffffff,
|
|
||||||
},
|
|
||||||
.resource = imx_csi_resources,
|
|
||||||
.num_resources = ARRAY_SIZE(imx_csi_resources),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource imx_i2c_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x00217000,
|
|
||||||
.end = 0x00217010,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = I2C_INT,
|
|
||||||
.end = I2C_INT,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device imx_i2c_device = {
|
|
||||||
.name = "imx-i2c",
|
|
||||||
.id = 0,
|
|
||||||
.resource = imx_i2c_resources,
|
|
||||||
.num_resources = ARRAY_SIZE(imx_i2c_resources),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource imx_uart1_resources[] = {
|
|
||||||
{
|
|
||||||
.start = UART1_BASE_ADDR,
|
|
||||||
.end = UART1_BASE_ADDR + 0xD0,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = UART1_MINT_RX,
|
|
||||||
.end = UART1_MINT_RX,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = UART1_MINT_TX,
|
|
||||||
.end = UART1_MINT_TX,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = UART1_MINT_RTS,
|
|
||||||
.end = UART1_MINT_RTS,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device imx_uart1_device = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(imx_uart1_resources),
|
|
||||||
.resource = imx_uart1_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource imx_uart2_resources[] = {
|
|
||||||
{
|
|
||||||
.start = UART2_BASE_ADDR,
|
|
||||||
.end = UART2_BASE_ADDR + 0xD0,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = UART2_MINT_RX,
|
|
||||||
.end = UART2_MINT_RX,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = UART2_MINT_TX,
|
|
||||||
.end = UART2_MINT_TX,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = UART2_MINT_RTS,
|
|
||||||
.end = UART2_MINT_RTS,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device imx_uart2_device = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 1,
|
|
||||||
.num_resources = ARRAY_SIZE(imx_uart2_resources),
|
|
||||||
.resource = imx_uart2_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource imx_rtc_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x00204000,
|
|
||||||
.end = 0x00204024,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = RTC_INT,
|
|
||||||
.end = RTC_INT,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = RTC_SAMINT,
|
|
||||||
.end = RTC_SAMINT,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device imx_rtc_device = {
|
|
||||||
.name = "rtc-imx",
|
|
||||||
.id = 0,
|
|
||||||
.resource = imx_rtc_resources,
|
|
||||||
.num_resources = ARRAY_SIZE(imx_rtc_resources),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource imx_wdt_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x00201000,
|
|
||||||
.end = 0x00201008,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = WDT_INT,
|
|
||||||
.end = WDT_INT,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device imx_wdt_device = {
|
|
||||||
.name = "imx-wdt",
|
|
||||||
.id = 0,
|
|
||||||
.resource = imx_wdt_resources,
|
|
||||||
.num_resources = ARRAY_SIZE(imx_wdt_resources),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource imx_usb_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x00212000,
|
|
||||||
.end = 0x00212148,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = USBD_INT0,
|
|
||||||
.end = USBD_INT0,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = USBD_INT1,
|
|
||||||
.end = USBD_INT1,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = USBD_INT2,
|
|
||||||
.end = USBD_INT2,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = USBD_INT3,
|
|
||||||
.end = USBD_INT3,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = USBD_INT4,
|
|
||||||
.end = USBD_INT4,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = USBD_INT5,
|
|
||||||
.end = USBD_INT5,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}, {
|
|
||||||
.start = USBD_INT6,
|
|
||||||
.end = USBD_INT6,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device imx_usb_device = {
|
|
||||||
.name = "imx_udc",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(imx_usb_resources),
|
|
||||||
.resource = imx_usb_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* GPIO port description */
|
|
||||||
static struct mxc_gpio_port imx_gpio_ports[] = {
|
|
||||||
{
|
|
||||||
.chip.label = "gpio-0",
|
|
||||||
.base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR),
|
|
||||||
.irq = GPIO_INT_PORTA,
|
|
||||||
.virtual_irq_start = MXC_GPIO_IRQ_START,
|
|
||||||
}, {
|
|
||||||
.chip.label = "gpio-1",
|
|
||||||
.base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x100),
|
|
||||||
.irq = GPIO_INT_PORTB,
|
|
||||||
.virtual_irq_start = MXC_GPIO_IRQ_START + 32,
|
|
||||||
}, {
|
|
||||||
.chip.label = "gpio-2",
|
|
||||||
.base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x200),
|
|
||||||
.irq = GPIO_INT_PORTC,
|
|
||||||
.virtual_irq_start = MXC_GPIO_IRQ_START + 64,
|
|
||||||
}, {
|
|
||||||
.chip.label = "gpio-3",
|
|
||||||
.base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x300),
|
|
||||||
.irq = GPIO_INT_PORTD,
|
|
||||||
.virtual_irq_start = MXC_GPIO_IRQ_START + 96,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
int __init mxc_register_gpios(void)
|
|
||||||
{
|
|
||||||
return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports));
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
extern struct platform_device imx_csi_device;
|
|
||||||
extern struct platform_device imx_i2c_device;
|
|
||||||
extern struct platform_device imx_uart1_device;
|
|
||||||
extern struct platform_device imx_uart2_device;
|
|
||||||
extern struct platform_device imx_rtc_device;
|
|
||||||
extern struct platform_device imx_wdt_device;
|
|
||||||
extern struct platform_device imx_usb_device;
|
|
@ -1,141 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
||||||
* Copyright 2008 Juergen Beisert, kernel@pengutronix.de
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
||||||
* MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <linux/module.h>
|
|
||||||
#include <linux/platform_device.h>
|
|
||||||
#include <linux/serial.h>
|
|
||||||
#include <mach/hardware.h>
|
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include "devices.h"
|
|
||||||
|
|
||||||
static struct resource uart0[] = {
|
|
||||||
{
|
|
||||||
.start = MX2x_UART1_BASE_ADDR,
|
|
||||||
.end = MX2x_UART1_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MX2x_INT_UART1,
|
|
||||||
.end = MX2x_INT_UART1,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device0 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 0,
|
|
||||||
.resource = uart0,
|
|
||||||
.num_resources = ARRAY_SIZE(uart0),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart1[] = {
|
|
||||||
{
|
|
||||||
.start = MX2x_UART2_BASE_ADDR,
|
|
||||||
.end = MX2x_UART2_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MX2x_INT_UART2,
|
|
||||||
.end = MX2x_INT_UART2,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device1 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 1,
|
|
||||||
.resource = uart1,
|
|
||||||
.num_resources = ARRAY_SIZE(uart1),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart2[] = {
|
|
||||||
{
|
|
||||||
.start = MX2x_UART3_BASE_ADDR,
|
|
||||||
.end = MX2x_UART3_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MX2x_INT_UART3,
|
|
||||||
.end = MX2x_INT_UART3,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device2 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 2,
|
|
||||||
.resource = uart2,
|
|
||||||
.num_resources = ARRAY_SIZE(uart2),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart3[] = {
|
|
||||||
{
|
|
||||||
.start = MX2x_UART4_BASE_ADDR,
|
|
||||||
.end = MX2x_UART4_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MX2x_INT_UART4,
|
|
||||||
.end = MX2x_INT_UART4,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device3 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 3,
|
|
||||||
.resource = uart3,
|
|
||||||
.num_resources = ARRAY_SIZE(uart3),
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX27
|
|
||||||
static struct resource uart4[] = {
|
|
||||||
{
|
|
||||||
.start = MX27_UART5_BASE_ADDR,
|
|
||||||
.end = MX27_UART5_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MX27_INT_UART5,
|
|
||||||
.end = MX27_INT_UART5,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device4 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 4,
|
|
||||||
.resource = uart4,
|
|
||||||
.num_resources = ARRAY_SIZE(uart4),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart5[] = {
|
|
||||||
{
|
|
||||||
.start = MX27_UART6_BASE_ADDR,
|
|
||||||
.end = MX27_UART6_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MX27_INT_UART6,
|
|
||||||
.end = MX27_INT_UART6,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device5 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 5,
|
|
||||||
.resource = uart5,
|
|
||||||
.num_resources = ARRAY_SIZE(uart5),
|
|
||||||
};
|
|
||||||
#endif
|
|
@ -4,9 +4,14 @@ comment "MX25 platforms:"
|
|||||||
|
|
||||||
config MACH_MX25_3DS
|
config MACH_MX25_3DS
|
||||||
bool "Support MX25PDK (3DS) Platform"
|
bool "Support MX25PDK (3DS) Platform"
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
|
|
||||||
config MACH_EUKREA_CPUIMX25
|
config MACH_EUKREA_CPUIMX25
|
||||||
bool "Support Eukrea CPUIMX25 Platform"
|
bool "Support Eukrea CPUIMX25 Platform"
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
|
|
||||||
choice
|
choice
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
obj-y := mm.o devices.o
|
obj-y := mm.o devices.o
|
||||||
obj-$(CONFIG_ARCH_MX25) += clock.o
|
obj-$(CONFIG_ARCH_MX25) += clock.o
|
||||||
obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25pdk.o
|
obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o
|
||||||
obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += mach-cpuimx25.o
|
obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += mach-cpuimx25.o
|
||||||
obj-$(CONFIG_MACH_EUKREA_MBIMXSD_BASEBOARD) += eukrea_mbimxsd-baseboard.o
|
obj-$(CONFIG_MACH_EUKREA_MBIMXSD_BASEBOARD) += eukrea_mbimxsd-baseboard.o
|
||||||
|
38
arch/arm/mach-mx25/devices-imx25.h
Normal file
38
arch/arm/mach-mx25/devices-imx25.h
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2010 Pengutronix
|
||||||
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it under
|
||||||
|
* the terms of the GNU General Public License version 2 as published by the
|
||||||
|
* Free Software Foundation.
|
||||||
|
*/
|
||||||
|
#include <mach/mx25.h>
|
||||||
|
#include <mach/devices-common.h>
|
||||||
|
|
||||||
|
#define imx25_add_imx_i2c0(pdata) \
|
||||||
|
imx_add_imx_i2c(0, MX25_I2C1_BASE_ADDR, SZ_16K, MX25_INT_I2C1, pdata)
|
||||||
|
#define imx25_add_imx_i2c1(pdata) \
|
||||||
|
imx_add_imx_i2c(1, MX25_I2C2_BASE_ADDR, SZ_16K, MX25_INT_I2C2, pdata)
|
||||||
|
#define imx25_add_imx_i2c2(pdata) \
|
||||||
|
imx_add_imx_i2c(2, MX25_I2C3_BASE_ADDR, SZ_16K, MX25_INT_I2C3, pdata)
|
||||||
|
|
||||||
|
#define imx25_add_imx_uart0(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(0, MX25_UART1_BASE_ADDR, SZ_16K, MX25_INT_UART1, pdata)
|
||||||
|
#define imx25_add_imx_uart1(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(1, MX25_UART2_BASE_ADDR, SZ_16K, MX25_INT_UART2, pdata)
|
||||||
|
#define imx25_add_imx_uart2(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(2, MX25_UART3_BASE_ADDR, SZ_16K, MX25_INT_UART3, pdata)
|
||||||
|
#define imx25_add_imx_uart3(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(3, MX25_UART4_BASE_ADDR, SZ_16K, MX25_INT_UART4, pdata)
|
||||||
|
#define imx25_add_imx_uart4(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(4, MX25_UART5_BASE_ADDR, SZ_16K, MX25_INT_UART5, pdata)
|
||||||
|
|
||||||
|
#define imx25_add_mxc_nand(pdata) \
|
||||||
|
imx_add_mxc_nand_v21(MX25_NFC_BASE_ADDR, MX25_INT_NANDFC, pdata)
|
||||||
|
|
||||||
|
#define imx25_add_spi_imx0(pdata) \
|
||||||
|
imx_add_spi_imx(0, MX25_CSPI1_BASE_ADDR, SZ_16K, MX25_INT_CSPI1, pdata)
|
||||||
|
#define imx25_add_spi_imx1(pdata) \
|
||||||
|
imx_add_spi_imx(1, MX25_CSPI2_BASE_ADDR, SZ_16K, MX25_INT_CSPI2, pdata)
|
||||||
|
#define imx25_add_spi_imx2(pdata) \
|
||||||
|
imx_add_spi_imx(2, MX25_CSPI3_BASE_ADDR, SZ_16K, MX25_INT_CSPI3, pdata)
|
@ -22,101 +22,6 @@
|
|||||||
#include <mach/mx25.h>
|
#include <mach/mx25.h>
|
||||||
#include <mach/irqs.h>
|
#include <mach/irqs.h>
|
||||||
|
|
||||||
static struct resource uart0[] = {
|
|
||||||
{
|
|
||||||
.start = 0x43f90000,
|
|
||||||
.end = 0x43f93fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 45,
|
|
||||||
.end = 45,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device0 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 0,
|
|
||||||
.resource = uart0,
|
|
||||||
.num_resources = ARRAY_SIZE(uart0),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart1[] = {
|
|
||||||
{
|
|
||||||
.start = 0x43f94000,
|
|
||||||
.end = 0x43f97fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 32,
|
|
||||||
.end = 32,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device1 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 1,
|
|
||||||
.resource = uart1,
|
|
||||||
.num_resources = ARRAY_SIZE(uart1),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart2[] = {
|
|
||||||
{
|
|
||||||
.start = 0x5000c000,
|
|
||||||
.end = 0x5000ffff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 18,
|
|
||||||
.end = 18,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device2 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 2,
|
|
||||||
.resource = uart2,
|
|
||||||
.num_resources = ARRAY_SIZE(uart2),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart3[] = {
|
|
||||||
{
|
|
||||||
.start = 0x50008000,
|
|
||||||
.end = 0x5000bfff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 5,
|
|
||||||
.end = 5,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device3 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 3,
|
|
||||||
.resource = uart3,
|
|
||||||
.num_resources = ARRAY_SIZE(uart3),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart4[] = {
|
|
||||||
{
|
|
||||||
.start = 0x5002c000,
|
|
||||||
.end = 0x5002ffff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 40,
|
|
||||||
.end = 40,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device4 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 4,
|
|
||||||
.resource = uart4,
|
|
||||||
.num_resources = ARRAY_SIZE(uart4),
|
|
||||||
};
|
|
||||||
|
|
||||||
static u64 otg_dmamask = DMA_BIT_MASK(32);
|
static u64 otg_dmamask = DMA_BIT_MASK(32);
|
||||||
|
|
||||||
static struct resource mxc_otg_resources[] = {
|
static struct resource mxc_otg_resources[] = {
|
||||||
@ -179,63 +84,6 @@ struct platform_device mxc_usbh2 = {
|
|||||||
.num_resources = ARRAY_SIZE(mxc_usbh2_resources),
|
.num_resources = ARRAY_SIZE(mxc_usbh2_resources),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource mxc_spi_resources0[] = {
|
|
||||||
{
|
|
||||||
.start = 0x43fa4000,
|
|
||||||
.end = 0x43fa7fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 14,
|
|
||||||
.end = 14,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_spi_device0 = {
|
|
||||||
.name = "spi_imx",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_spi_resources0),
|
|
||||||
.resource = mxc_spi_resources0,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_spi_resources1[] = {
|
|
||||||
{
|
|
||||||
.start = 0x50010000,
|
|
||||||
.end = 0x50013fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 13,
|
|
||||||
.end = 13,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_spi_device1 = {
|
|
||||||
.name = "spi_imx",
|
|
||||||
.id = 1,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_spi_resources1),
|
|
||||||
.resource = mxc_spi_resources1,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_spi_resources2[] = {
|
|
||||||
{
|
|
||||||
.start = 0x50004000,
|
|
||||||
.end = 0x50007fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 0,
|
|
||||||
.end = 0,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_spi_device2 = {
|
|
||||||
.name = "spi_imx",
|
|
||||||
.id = 2,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_spi_resources2),
|
|
||||||
.resource = mxc_spi_resources2,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_pwm_resources0[] = {
|
static struct resource mxc_pwm_resources0[] = {
|
||||||
{
|
{
|
||||||
.start = 0x53fe0000,
|
.start = 0x53fe0000,
|
||||||
@ -331,63 +179,6 @@ struct platform_device mxc_pwm_device3 = {
|
|||||||
.resource = mxc_pwm_resources3,
|
.resource = mxc_pwm_resources3,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource mxc_i2c_1_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x43f80000,
|
|
||||||
.end = 0x43f83fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 3,
|
|
||||||
.end = 3,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_i2c_device0 = {
|
|
||||||
.name = "imx-i2c",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_i2c_1_resources),
|
|
||||||
.resource = mxc_i2c_1_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_i2c_2_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x43f98000,
|
|
||||||
.end = 0x43f9bfff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 4,
|
|
||||||
.end = 4,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_i2c_device1 = {
|
|
||||||
.name = "imx-i2c",
|
|
||||||
.id = 1,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_i2c_2_resources),
|
|
||||||
.resource = mxc_i2c_2_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_i2c_3_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0x43f84000,
|
|
||||||
.end = 0x43f87fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = 10,
|
|
||||||
.end = 10,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_i2c_device2 = {
|
|
||||||
.name = "imx-i2c",
|
|
||||||
.id = 2,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_i2c_3_resources),
|
|
||||||
.resource = mxc_i2c_3_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct mxc_gpio_port imx_gpio_ports[] = {
|
static struct mxc_gpio_port imx_gpio_ports[] = {
|
||||||
{
|
{
|
||||||
.chip.label = "gpio-0",
|
.chip.label = "gpio-0",
|
||||||
@ -412,7 +203,7 @@ static struct mxc_gpio_port imx_gpio_ports[] = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int __init mxc_register_gpios(void)
|
int __init imx25_register_gpios(void)
|
||||||
{
|
{
|
||||||
return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports));
|
return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports));
|
||||||
}
|
}
|
||||||
@ -437,26 +228,6 @@ struct platform_device mx25_fec_device = {
|
|||||||
.resource = mx25_fec_resources,
|
.resource = mx25_fec_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource mxc_nand_resources[] = {
|
|
||||||
{
|
|
||||||
.start = MX25_NFC_BASE_ADDR,
|
|
||||||
.end = MX25_NFC_BASE_ADDR + 0x1fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
.start = MX25_INT_NANDFC,
|
|
||||||
.end = MX25_INT_NANDFC,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_nand_device = {
|
|
||||||
.name = "mxc_nand",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_nand_resources),
|
|
||||||
.resource = mxc_nand_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mx25_rtc_resources[] = {
|
static struct resource mx25_rtc_resources[] = {
|
||||||
{
|
{
|
||||||
.start = MX25_DRYICE_BASE_ADDR,
|
.start = MX25_DRYICE_BASE_ADDR,
|
||||||
|
@ -1,24 +1,12 @@
|
|||||||
extern struct platform_device mxc_uart_device0;
|
|
||||||
extern struct platform_device mxc_uart_device1;
|
|
||||||
extern struct platform_device mxc_uart_device2;
|
|
||||||
extern struct platform_device mxc_uart_device3;
|
|
||||||
extern struct platform_device mxc_uart_device4;
|
|
||||||
extern struct platform_device mxc_otg;
|
extern struct platform_device mxc_otg;
|
||||||
extern struct platform_device otg_udc_device;
|
extern struct platform_device otg_udc_device;
|
||||||
extern struct platform_device mxc_usbh2;
|
extern struct platform_device mxc_usbh2;
|
||||||
extern struct platform_device mxc_spi_device0;
|
|
||||||
extern struct platform_device mxc_spi_device1;
|
|
||||||
extern struct platform_device mxc_spi_device2;
|
|
||||||
extern struct platform_device mxc_pwm_device0;
|
extern struct platform_device mxc_pwm_device0;
|
||||||
extern struct platform_device mxc_pwm_device1;
|
extern struct platform_device mxc_pwm_device1;
|
||||||
extern struct platform_device mxc_pwm_device2;
|
extern struct platform_device mxc_pwm_device2;
|
||||||
extern struct platform_device mxc_pwm_device3;
|
extern struct platform_device mxc_pwm_device3;
|
||||||
extern struct platform_device mxc_keypad_device;
|
extern struct platform_device mxc_keypad_device;
|
||||||
extern struct platform_device mxc_i2c_device0;
|
|
||||||
extern struct platform_device mxc_i2c_device1;
|
|
||||||
extern struct platform_device mxc_i2c_device2;
|
|
||||||
extern struct platform_device mx25_fec_device;
|
extern struct platform_device mx25_fec_device;
|
||||||
extern struct platform_device mxc_nand_device;
|
|
||||||
extern struct platform_device mx25_rtc_device;
|
extern struct platform_device mx25_rtc_device;
|
||||||
extern struct platform_device mx25_fb_device;
|
extern struct platform_device mx25_fb_device;
|
||||||
extern struct platform_device mxc_wdt;
|
extern struct platform_device mxc_wdt;
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include <mach/ssi.h>
|
#include <mach/ssi.h>
|
||||||
#include <mach/audmux.h>
|
#include <mach/audmux.h>
|
||||||
|
|
||||||
|
#include "devices-imx25.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static struct pad_desc eukrea_mbimxsd_pads[] = {
|
static struct pad_desc eukrea_mbimxsd_pads[] = {
|
||||||
@ -195,7 +196,7 @@ static struct platform_device *platform_devices[] __initdata = {
|
|||||||
&eukrea_mbimxsd_lcd_powerdev,
|
&eukrea_mbimxsd_lcd_powerdev,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -237,7 +238,7 @@ void __init eukrea_mbimxsd_baseboard_init(void)
|
|||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata);
|
imx25_add_imx_uart1(&uart_pdata);
|
||||||
mxc_register_device(&mx25_fb_device, &eukrea_mximxsd_fb_pdata);
|
mxc_register_device(&mx25_fb_device, &eukrea_mximxsd_fb_pdata);
|
||||||
mxc_register_device(&imx_ssi_device0, &eukrea_mbimxsd_ssi_pdata);
|
mxc_register_device(&imx_ssi_device0, &eukrea_mbimxsd_ssi_pdata);
|
||||||
|
|
||||||
|
@ -37,18 +37,17 @@
|
|||||||
#include <asm/memory.h>
|
#include <asm/memory.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/i2c.h>
|
|
||||||
#include <mach/mx25.h>
|
#include <mach/mx25.h>
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
#include <mach/imxfb.h>
|
#include <mach/imxfb.h>
|
||||||
#include <mach/mxc_ehci.h>
|
#include <mach/mxc_ehci.h>
|
||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
|
|
||||||
#include "devices.h"
|
|
||||||
#include <mach/iomux-mx25.h>
|
#include <mach/iomux-mx25.h>
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
#include "devices-imx25.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -72,13 +71,15 @@ static struct fec_platform_data mx25_fec_pdata = {
|
|||||||
.phy = PHY_INTERFACE_MODE_RMII,
|
.phy = PHY_INTERFACE_MODE_RMII,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data eukrea_cpuimx25_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
eukrea_cpuimx25_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
.flash_bbt = 1,
|
.flash_bbt = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data eukrea_cpuimx25_i2c_1_data = {
|
static const struct imxi2c_platform_data
|
||||||
|
eukrea_cpuimx25_i2c0_data __initconst = {
|
||||||
.bitrate = 100000,
|
.bitrate = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -125,14 +126,14 @@ static void __init eukrea_cpuimx25_init(void)
|
|||||||
ARRAY_SIZE(eukrea_cpuimx25_pads)))
|
ARRAY_SIZE(eukrea_cpuimx25_pads)))
|
||||||
printk(KERN_ERR "error setting cpuimx25 pads !\n");
|
printk(KERN_ERR "error setting cpuimx25 pads !\n");
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx25_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_nand_device, &eukrea_cpuimx25_nand_board_info);
|
imx25_add_mxc_nand(&eukrea_cpuimx25_nand_board_info);
|
||||||
mxc_register_device(&mx25_rtc_device, NULL);
|
mxc_register_device(&mx25_rtc_device, NULL);
|
||||||
mxc_register_device(&mx25_fec_device, &mx25_fec_pdata);
|
mxc_register_device(&mx25_fec_device, &mx25_fec_pdata);
|
||||||
|
|
||||||
i2c_register_board_info(0, eukrea_cpuimx25_i2c_devices,
|
i2c_register_board_info(0, eukrea_cpuimx25_i2c_devices,
|
||||||
ARRAY_SIZE(eukrea_cpuimx25_i2c_devices));
|
ARRAY_SIZE(eukrea_cpuimx25_i2c_devices));
|
||||||
mxc_register_device(&mxc_i2c_device0, &eukrea_cpuimx25_i2c_1_data);
|
imx25_add_imx_i2c0(&eukrea_cpuimx25_i2c0_data);
|
||||||
|
|
||||||
#if defined(CONFIG_USB_ULPI)
|
#if defined(CONFIG_USB_ULPI)
|
||||||
if (otg_mode_host) {
|
if (otg_mode_host) {
|
||||||
|
@ -16,6 +16,12 @@
|
|||||||
* Boston, MA 02110-1301, USA.
|
* Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This machine is known as:
|
||||||
|
* - i.MX25 3-Stack Development System
|
||||||
|
* - i.MX25 Platform Development Kit (i.MX25 PDK)
|
||||||
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
@ -33,14 +39,14 @@
|
|||||||
#include <asm/memory.h>
|
#include <asm/memory.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/mx25.h>
|
#include <mach/mx25.h>
|
||||||
#include <mach/mxc_nand.h>
|
|
||||||
#include <mach/imxfb.h>
|
#include <mach/imxfb.h>
|
||||||
#include "devices.h"
|
|
||||||
#include <mach/iomux-mx25.h>
|
#include <mach/iomux-mx25.h>
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
#include "devices-imx25.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -114,7 +120,8 @@ static void __init mx25pdk_fec_reset(void)
|
|||||||
gpio_set_value(FEC_RESET_B_GPIO, 1);
|
gpio_set_value(FEC_RESET_B_GPIO, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct mxc_nand_platform_data mx25pdk_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
mx25pdk_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
.flash_bbt = 1,
|
.flash_bbt = 1,
|
||||||
@ -177,9 +184,9 @@ static void __init mx25pdk_init(void)
|
|||||||
mxc_iomux_v3_setup_multiple_pads(mx25pdk_pads,
|
mxc_iomux_v3_setup_multiple_pads(mx25pdk_pads,
|
||||||
ARRAY_SIZE(mx25pdk_pads));
|
ARRAY_SIZE(mx25pdk_pads));
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx25_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_usbh2, NULL);
|
mxc_register_device(&mxc_usbh2, NULL);
|
||||||
mxc_register_device(&mxc_nand_device, &mx25pdk_nand_board_info);
|
imx25_add_mxc_nand(&mx25pdk_nand_board_info);
|
||||||
mxc_register_device(&mx25_rtc_device, NULL);
|
mxc_register_device(&mx25_rtc_device, NULL);
|
||||||
mxc_register_device(&mx25_fb_device, &mx25pdk_fb_pdata);
|
mxc_register_device(&mx25_fb_device, &mx25pdk_fb_pdata);
|
||||||
mxc_register_device(&mxc_wdt, NULL);
|
mxc_register_device(&mxc_wdt, NULL);
|
@ -14,10 +14,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
@ -69,8 +65,11 @@ void __init mx25_map_io(void)
|
|||||||
iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
|
iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int imx25_register_gpios(void);
|
||||||
|
|
||||||
void __init mx25_init_irq(void)
|
void __init mx25_init_irq(void)
|
||||||
{
|
{
|
||||||
|
imx25_register_gpios();
|
||||||
mxc_init_irq((void __iomem *)MX25_AVIC_BASE_ADDR_VIRT);
|
mxc_init_irq((void __iomem *)MX25_AVIC_BASE_ADDR_VIRT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,6 +15,8 @@ comment "MX3 platforms:"
|
|||||||
config MACH_MX31ADS
|
config MACH_MX31ADS
|
||||||
bool "Support MX31ADS platforms"
|
bool "Support MX31ADS platforms"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Include support for MX31ADS platform. This includes specific
|
Include support for MX31ADS platform. This includes specific
|
||||||
@ -34,6 +36,9 @@ config MACH_MX31ADS_WM1133_EV1
|
|||||||
config MACH_PCM037
|
config MACH_PCM037
|
||||||
bool "Support Phytec pcm037 (i.MX31) platforms"
|
bool "Support Phytec pcm037 (i.MX31) platforms"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for Phytec pcm037 platform. This includes
|
Include support for Phytec pcm037 platform. This includes
|
||||||
@ -42,6 +47,7 @@ config MACH_PCM037
|
|||||||
config MACH_PCM037_EET
|
config MACH_PCM037_EET
|
||||||
bool "Support pcm037 EET board extensions"
|
bool "Support pcm037 EET board extensions"
|
||||||
depends on MACH_PCM037
|
depends on MACH_PCM037
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
help
|
help
|
||||||
Add support for PCM037 EET baseboard extensions. If you are using the
|
Add support for PCM037 EET baseboard extensions. If you are using the
|
||||||
OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
|
OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
|
||||||
@ -51,6 +57,9 @@ config MACH_MX31LITE
|
|||||||
bool "Support MX31 LITEKIT (LogicPD)"
|
bool "Support MX31 LITEKIT (LogicPD)"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
help
|
help
|
||||||
Include support for MX31 LITEKIT platform. This includes specific
|
Include support for MX31 LITEKIT platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
@ -58,6 +67,9 @@ config MACH_MX31LITE
|
|||||||
config MACH_MX31_3DS
|
config MACH_MX31_3DS
|
||||||
bool "Support MX31PDK (3DS)"
|
bool "Support MX31PDK (3DS)"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
help
|
help
|
||||||
Include support for MX31PDK (3DS) platform. This includes specific
|
Include support for MX31PDK (3DS) platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
@ -74,6 +86,9 @@ config MACH_MX31_3DS_MXC_NAND_USE_BBT
|
|||||||
config MACH_MX31MOBOARD
|
config MACH_MX31MOBOARD
|
||||||
bool "Support mx31moboard platforms (EPFL Mobots group)"
|
bool "Support mx31moboard platforms (EPFL Mobots group)"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for mx31moboard platform. This includes specific
|
Include support for mx31moboard platform. This includes specific
|
||||||
@ -82,6 +97,8 @@ config MACH_MX31MOBOARD
|
|||||||
config MACH_MX31LILLY
|
config MACH_MX31LILLY
|
||||||
bool "Support MX31 LILLY-1131 platforms (INCO startec)"
|
bool "Support MX31 LILLY-1131 platforms (INCO startec)"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for mx31 based LILLY1131 modules. This includes
|
Include support for mx31 based LILLY1131 modules. This includes
|
||||||
@ -90,6 +107,7 @@ config MACH_MX31LILLY
|
|||||||
config MACH_QONG
|
config MACH_QONG
|
||||||
bool "Support Dave/DENX QongEVB-LITE platform"
|
bool "Support Dave/DENX QongEVB-LITE platform"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
help
|
help
|
||||||
Include support for Dave/DENX QongEVB-LITE platform. This includes
|
Include support for Dave/DENX QongEVB-LITE platform. This includes
|
||||||
specific configurations for the board and its peripherals.
|
specific configurations for the board and its peripherals.
|
||||||
@ -97,6 +115,9 @@ config MACH_QONG
|
|||||||
config MACH_PCM043
|
config MACH_PCM043
|
||||||
bool "Support Phytec pcm043 (i.MX35) platforms"
|
bool "Support Phytec pcm043 (i.MX35) platforms"
|
||||||
select ARCH_MX35
|
select ARCH_MX35
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for Phytec pcm043 platform. This includes
|
Include support for Phytec pcm043 platform. This includes
|
||||||
@ -105,6 +126,9 @@ config MACH_PCM043
|
|||||||
config MACH_ARMADILLO5X0
|
config MACH_ARMADILLO5X0
|
||||||
bool "Support Atmark Armadillo-500 Development Base Board"
|
bool "Support Atmark Armadillo-500 Development Base Board"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for Atmark Armadillo-500 platform. This includes
|
Include support for Atmark Armadillo-500 platform. This includes
|
||||||
@ -113,6 +137,7 @@ config MACH_ARMADILLO5X0
|
|||||||
config MACH_MX35_3DS
|
config MACH_MX35_3DS
|
||||||
bool "Support MX35PDK platform"
|
bool "Support MX35PDK platform"
|
||||||
select ARCH_MX35
|
select ARCH_MX35
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Include support for MX35PDK platform. This includes specific
|
Include support for MX35PDK platform. This includes specific
|
||||||
@ -121,6 +146,7 @@ config MACH_MX35_3DS
|
|||||||
config MACH_KZM_ARM11_01
|
config MACH_KZM_ARM11_01
|
||||||
bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
|
bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
|
||||||
select ARCH_MX31
|
select ARCH_MX31
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
help
|
help
|
||||||
Include support for KZM-ARM11-01. This includes specific
|
Include support for KZM-ARM11-01. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
@ -128,6 +154,9 @@ config MACH_KZM_ARM11_01
|
|||||||
config MACH_EUKREA_CPUIMX35
|
config MACH_EUKREA_CPUIMX35
|
||||||
bool "Support Eukrea CPUIMX35 Platform"
|
bool "Support Eukrea CPUIMX35 Platform"
|
||||||
select ARCH_MX35
|
select ARCH_MX35
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_UART
|
||||||
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
||||||
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for Eukrea CPUIMX35 platform. This includes
|
Include support for Eukrea CPUIMX35 platform. This includes
|
||||||
|
@ -22,7 +22,7 @@ obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \
|
|||||||
obj-$(CONFIG_MACH_QONG) += mach-qong.o
|
obj-$(CONFIG_MACH_QONG) += mach-qong.o
|
||||||
obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
|
obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
|
||||||
obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
|
obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
|
||||||
obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35pdk.o
|
obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
|
||||||
obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
|
obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
|
||||||
obj-$(CONFIG_MACH_EUKREA_CPUIMX35) += mach-cpuimx35.o
|
obj-$(CONFIG_MACH_EUKREA_CPUIMX35) += mach-cpuimx35.o
|
||||||
obj-$(CONFIG_MACH_EUKREA_MBIMXSD_BASEBOARD) += eukrea_mbimxsd-baseboard.o
|
obj-$(CONFIG_MACH_EUKREA_MBIMXSD_BASEBOARD) += eukrea_mbimxsd-baseboard.o
|
||||||
|
38
arch/arm/mach-mx3/devices-imx31.h
Normal file
38
arch/arm/mach-mx3/devices-imx31.h
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2010 Pengutronix
|
||||||
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it under
|
||||||
|
* the terms of the GNU General Public License version 2 as published by the
|
||||||
|
* Free Software Foundation.
|
||||||
|
*/
|
||||||
|
#include <mach/mx31.h>
|
||||||
|
#include <mach/devices-common.h>
|
||||||
|
|
||||||
|
#define imx31_add_imx_i2c0(pdata) \
|
||||||
|
imx_add_imx_i2c(0, MX31_I2C1_BASE_ADDR, SZ_4K, MX31_INT_I2C1, pdata)
|
||||||
|
#define imx31_add_imx_i2c1(pdata) \
|
||||||
|
imx_add_imx_i2c(1, MX31_I2C2_BASE_ADDR, SZ_4K, MX31_INT_I2C2, pdata)
|
||||||
|
#define imx31_add_imx_i2c2(pdata) \
|
||||||
|
imx_add_imx_i2c(2, MX31_I2C3_BASE_ADDR, SZ_4K, MX31_INT_I2C3, pdata)
|
||||||
|
|
||||||
|
#define imx31_add_imx_uart0(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(0, MX31_UART1_BASE_ADDR, SZ_16K, MX31_INT_UART1, pdata)
|
||||||
|
#define imx31_add_imx_uart1(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(1, MX31_UART2_BASE_ADDR, SZ_16K, MX31_INT_UART2, pdata)
|
||||||
|
#define imx31_add_imx_uart2(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(2, MX31_UART3_BASE_ADDR, SZ_16K, MX31_INT_UART3, pdata)
|
||||||
|
#define imx31_add_imx_uart3(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(3, MX31_UART4_BASE_ADDR, SZ_16K, MX31_INT_UART4, pdata)
|
||||||
|
#define imx31_add_imx_uart4(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(4, MX31_UART5_BASE_ADDR, SZ_16K, MX31_INT_UART5, pdata)
|
||||||
|
|
||||||
|
#define imx31_add_mxc_nand(pdata) \
|
||||||
|
imx_add_mxc_nand_v1(MX31_NFC_BASE_ADDR, MX31_INT_NANDFC, pdata)
|
||||||
|
|
||||||
|
#define imx31_add_spi_imx0(pdata) \
|
||||||
|
imx_add_spi_imx(0, MX31_CSPI1_BASE_ADDR, SZ_4K, MX31_INT_CSPI1, pdata)
|
||||||
|
#define imx31_add_spi_imx1(pdata) \
|
||||||
|
imx_add_spi_imx(1, MX31_CSPI2_BASE_ADDR, SZ_4K, MX31_INT_CSPI2, pdata)
|
||||||
|
#define imx31_add_spi_imx2(pdata) \
|
||||||
|
imx_add_spi_imx(2, MX31_CSPI3_BASE_ADDR, SZ_4K, MX31_INT_CSPI3, pdata)
|
32
arch/arm/mach-mx3/devices-imx35.h
Normal file
32
arch/arm/mach-mx3/devices-imx35.h
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2010 Pengutronix
|
||||||
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it under
|
||||||
|
* the terms of the GNU General Public License version 2 as published by the
|
||||||
|
* Free Software Foundation.
|
||||||
|
*/
|
||||||
|
#include <mach/mx35.h>
|
||||||
|
#include <mach/devices-common.h>
|
||||||
|
|
||||||
|
#define imx35_add_imx_i2c0(pdata) \
|
||||||
|
imx_add_imx_i2c(0, MX35_I2C1_BASE_ADDR, SZ_4K, MX35_INT_I2C1, pdata)
|
||||||
|
#define imx35_add_imx_i2c1(pdata) \
|
||||||
|
imx_add_imx_i2c(1, MX35_I2C2_BASE_ADDR, SZ_4K, MX35_INT_I2C2, pdata)
|
||||||
|
#define imx35_add_imx_i2c2(pdata) \
|
||||||
|
imx_add_imx_i2c(2, MX35_I2C3_BASE_ADDR, SZ_4K, MX35_INT_I2C3, pdata)
|
||||||
|
|
||||||
|
#define imx35_add_imx_uart0(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(0, MX35_UART1_BASE_ADDR, SZ_16K, MX35_INT_UART1, pdata)
|
||||||
|
#define imx35_add_imx_uart1(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(1, MX35_UART2_BASE_ADDR, SZ_16K, MX35_INT_UART2, pdata)
|
||||||
|
#define imx35_add_imx_uart2(pdata) \
|
||||||
|
imx_add_imx_uart_1irq(2, MX35_UART3_BASE_ADDR, SZ_16K, MX35_INT_UART3, pdata)
|
||||||
|
|
||||||
|
#define imx35_add_mxc_nand(pdata) \
|
||||||
|
imx_add_mxc_nand_v21(MX35_NFC_BASE_ADDR, MX35_INT_NANDFC, pdata)
|
||||||
|
|
||||||
|
#define imx35_add_spi_imx0(pdata) \
|
||||||
|
imx_add_spi_imx(0, MX35_CSPI1_BASE_ADDR, SZ_4K, MX35_INT_CSPI1, pdata)
|
||||||
|
#define imx35_add_spi_imx1(pdata) \
|
||||||
|
imx_add_spi_imx(1, MX35_CSPI2_BASE_ADDR, SZ_4K, MX35_INT_CSPI2, pdata)
|
@ -25,108 +25,10 @@
|
|||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/irqs.h>
|
#include <mach/irqs.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/mx3_camera.h>
|
#include <mach/mx3_camera.h>
|
||||||
|
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static struct resource uart0[] = {
|
|
||||||
{
|
|
||||||
.start = UART1_BASE_ADDR,
|
|
||||||
.end = UART1_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_UART1,
|
|
||||||
.end = MXC_INT_UART1,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device0 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 0,
|
|
||||||
.resource = uart0,
|
|
||||||
.num_resources = ARRAY_SIZE(uart0),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart1[] = {
|
|
||||||
{
|
|
||||||
.start = UART2_BASE_ADDR,
|
|
||||||
.end = UART2_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_UART2,
|
|
||||||
.end = MXC_INT_UART2,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device1 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 1,
|
|
||||||
.resource = uart1,
|
|
||||||
.num_resources = ARRAY_SIZE(uart1),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart2[] = {
|
|
||||||
{
|
|
||||||
.start = UART3_BASE_ADDR,
|
|
||||||
.end = UART3_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_UART3,
|
|
||||||
.end = MXC_INT_UART3,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device2 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 2,
|
|
||||||
.resource = uart2,
|
|
||||||
.num_resources = ARRAY_SIZE(uart2),
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_MX31
|
|
||||||
static struct resource uart3[] = {
|
|
||||||
{
|
|
||||||
.start = UART4_BASE_ADDR,
|
|
||||||
.end = UART4_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_UART4,
|
|
||||||
.end = MXC_INT_UART4,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device3 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 3,
|
|
||||||
.resource = uart3,
|
|
||||||
.num_resources = ARRAY_SIZE(uart3),
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource uart4[] = {
|
|
||||||
{
|
|
||||||
.start = UART5_BASE_ADDR,
|
|
||||||
.end = UART5_BASE_ADDR + 0x0B5,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_UART5,
|
|
||||||
.end = MXC_INT_UART5,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_uart_device4 = {
|
|
||||||
.name = "imx-uart",
|
|
||||||
.id = 4,
|
|
||||||
.resource = uart4,
|
|
||||||
.num_resources = ARRAY_SIZE(uart4),
|
|
||||||
};
|
|
||||||
#endif /* CONFIG_ARCH_MX31 */
|
|
||||||
|
|
||||||
/* GPIO port description */
|
/* GPIO port description */
|
||||||
static struct mxc_gpio_port imx_gpio_ports[] = {
|
static struct mxc_gpio_port imx_gpio_ports[] = {
|
||||||
{
|
{
|
||||||
@ -147,7 +49,7 @@ static struct mxc_gpio_port imx_gpio_ports[] = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int __init mxc_register_gpios(void)
|
int __init imx3x_register_gpios(void)
|
||||||
{
|
{
|
||||||
return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports));
|
return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports));
|
||||||
}
|
}
|
||||||
@ -167,82 +69,6 @@ struct platform_device mxc_w1_master_device = {
|
|||||||
.resource = mxc_w1_master_resources,
|
.resource = mxc_w1_master_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource mxc_nand_resources[] = {
|
|
||||||
{
|
|
||||||
.start = 0, /* runtime dependent */
|
|
||||||
.end = 0,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_NANDFC,
|
|
||||||
.end = MXC_INT_NANDFC,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_nand_device = {
|
|
||||||
.name = "mxc_nand",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_nand_resources),
|
|
||||||
.resource = mxc_nand_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_i2c0_resources[] = {
|
|
||||||
{
|
|
||||||
.start = I2C_BASE_ADDR,
|
|
||||||
.end = I2C_BASE_ADDR + SZ_4K - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_I2C,
|
|
||||||
.end = MXC_INT_I2C,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_i2c_device0 = {
|
|
||||||
.name = "imx-i2c",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_i2c0_resources),
|
|
||||||
.resource = mxc_i2c0_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_i2c1_resources[] = {
|
|
||||||
{
|
|
||||||
.start = I2C2_BASE_ADDR,
|
|
||||||
.end = I2C2_BASE_ADDR + SZ_4K - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_I2C2,
|
|
||||||
.end = MXC_INT_I2C2,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_i2c_device1 = {
|
|
||||||
.name = "imx-i2c",
|
|
||||||
.id = 1,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_i2c1_resources),
|
|
||||||
.resource = mxc_i2c1_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_i2c2_resources[] = {
|
|
||||||
{
|
|
||||||
.start = I2C3_BASE_ADDR,
|
|
||||||
.end = I2C3_BASE_ADDR + SZ_4K - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_I2C3,
|
|
||||||
.end = MXC_INT_I2C3,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_i2c_device2 = {
|
|
||||||
.name = "imx-i2c",
|
|
||||||
.id = 2,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_i2c2_resources),
|
|
||||||
.resource = mxc_i2c2_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_MX31
|
#ifdef CONFIG_ARCH_MX31
|
||||||
static struct resource mxcsdhc0_resources[] = {
|
static struct resource mxcsdhc0_resources[] = {
|
||||||
{
|
{
|
||||||
@ -455,68 +281,7 @@ struct platform_device mxc_usbh2 = {
|
|||||||
.num_resources = ARRAY_SIZE(mxc_usbh2_resources),
|
.num_resources = ARRAY_SIZE(mxc_usbh2_resources),
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
#if defined(CONFIG_ARCH_MX35)
|
||||||
* SPI master controller
|
|
||||||
* 3 channels
|
|
||||||
*/
|
|
||||||
static struct resource mxc_spi_0_resources[] = {
|
|
||||||
{
|
|
||||||
.start = CSPI1_BASE_ADDR,
|
|
||||||
.end = CSPI1_BASE_ADDR + SZ_4K - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_CSPI1,
|
|
||||||
.end = MXC_INT_CSPI1,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_spi_1_resources[] = {
|
|
||||||
{
|
|
||||||
.start = CSPI2_BASE_ADDR,
|
|
||||||
.end = CSPI2_BASE_ADDR + SZ_4K - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_CSPI2,
|
|
||||||
.end = MXC_INT_CSPI2,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct resource mxc_spi_2_resources[] = {
|
|
||||||
{
|
|
||||||
.start = CSPI3_BASE_ADDR,
|
|
||||||
.end = CSPI3_BASE_ADDR + SZ_4K - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}, {
|
|
||||||
.start = MXC_INT_CSPI3,
|
|
||||||
.end = MXC_INT_CSPI3,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_spi_device0 = {
|
|
||||||
.name = "spi_imx",
|
|
||||||
.id = 0,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_spi_0_resources),
|
|
||||||
.resource = mxc_spi_0_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_spi_device1 = {
|
|
||||||
.name = "spi_imx",
|
|
||||||
.id = 1,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_spi_1_resources),
|
|
||||||
.resource = mxc_spi_1_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
struct platform_device mxc_spi_device2 = {
|
|
||||||
.name = "spi_imx",
|
|
||||||
.id = 2,
|
|
||||||
.num_resources = ARRAY_SIZE(mxc_spi_2_resources),
|
|
||||||
.resource = mxc_spi_2_resources,
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_MX35
|
|
||||||
static struct resource mxc_fec_resources[] = {
|
static struct resource mxc_fec_resources[] = {
|
||||||
{
|
{
|
||||||
.start = MXC_FEC_BASE_ADDR,
|
.start = MXC_FEC_BASE_ADDR,
|
||||||
@ -628,16 +393,15 @@ struct platform_device imx_kpp_device = {
|
|||||||
|
|
||||||
static int __init mx3_devices_init(void)
|
static int __init mx3_devices_init(void)
|
||||||
{
|
{
|
||||||
|
#if defined(CONFIG_ARCH_MX31)
|
||||||
if (cpu_is_mx31()) {
|
if (cpu_is_mx31()) {
|
||||||
mxc_nand_resources[0].start = MX31_NFC_BASE_ADDR;
|
|
||||||
mxc_nand_resources[0].end = MX31_NFC_BASE_ADDR + 0xfff;
|
|
||||||
imx_wdt_resources[0].start = MX31_WDOG_BASE_ADDR;
|
imx_wdt_resources[0].start = MX31_WDOG_BASE_ADDR;
|
||||||
imx_wdt_resources[0].end = MX31_WDOG_BASE_ADDR + 0x3fff;
|
imx_wdt_resources[0].end = MX31_WDOG_BASE_ADDR + 0x3fff;
|
||||||
mxc_register_device(&mxc_rnga_device, NULL);
|
mxc_register_device(&mxc_rnga_device, NULL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#if defined(CONFIG_ARCH_MX35)
|
||||||
if (cpu_is_mx35()) {
|
if (cpu_is_mx35()) {
|
||||||
mxc_nand_resources[0].start = MX35_NFC_BASE_ADDR;
|
|
||||||
mxc_nand_resources[0].end = MX35_NFC_BASE_ADDR + 0x1fff;
|
|
||||||
otg_resources[0].start = MX35_OTG_BASE_ADDR;
|
otg_resources[0].start = MX35_OTG_BASE_ADDR;
|
||||||
otg_resources[0].end = MX35_OTG_BASE_ADDR + 0x1ff;
|
otg_resources[0].end = MX35_OTG_BASE_ADDR + 0x1ff;
|
||||||
otg_resources[1].start = MXC_INT_USBOTG;
|
otg_resources[1].start = MXC_INT_USBOTG;
|
||||||
@ -653,6 +417,7 @@ static int __init mx3_devices_init(void)
|
|||||||
imx_wdt_resources[0].start = MX35_WDOG_BASE_ADDR;
|
imx_wdt_resources[0].start = MX35_WDOG_BASE_ADDR;
|
||||||
imx_wdt_resources[0].end = MX35_WDOG_BASE_ADDR + 0x3fff;
|
imx_wdt_resources[0].end = MX35_WDOG_BASE_ADDR + 0x3fff;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,4 @@
|
|||||||
|
|
||||||
extern struct platform_device mxc_uart_device0;
|
|
||||||
extern struct platform_device mxc_uart_device1;
|
|
||||||
extern struct platform_device mxc_uart_device2;
|
|
||||||
extern struct platform_device mxc_uart_device3;
|
|
||||||
extern struct platform_device mxc_uart_device4;
|
|
||||||
extern struct platform_device mxc_w1_master_device;
|
extern struct platform_device mxc_w1_master_device;
|
||||||
extern struct platform_device mxc_nand_device;
|
|
||||||
extern struct platform_device mxc_i2c_device0;
|
|
||||||
extern struct platform_device mxc_i2c_device1;
|
|
||||||
extern struct platform_device mxc_i2c_device2;
|
|
||||||
extern struct platform_device mx3_ipu;
|
extern struct platform_device mx3_ipu;
|
||||||
extern struct platform_device mx3_fb;
|
extern struct platform_device mx3_fb;
|
||||||
extern struct platform_device mx3_camera;
|
extern struct platform_device mx3_camera;
|
||||||
@ -20,9 +10,6 @@ extern struct platform_device mxc_otg_host;
|
|||||||
extern struct platform_device mxc_usbh1;
|
extern struct platform_device mxc_usbh1;
|
||||||
extern struct platform_device mxc_usbh2;
|
extern struct platform_device mxc_usbh2;
|
||||||
extern struct platform_device mxc_rnga_device;
|
extern struct platform_device mxc_rnga_device;
|
||||||
extern struct platform_device mxc_spi_device0;
|
|
||||||
extern struct platform_device mxc_spi_device1;
|
|
||||||
extern struct platform_device mxc_spi_device2;
|
|
||||||
extern struct platform_device imx_ssi_device0;
|
extern struct platform_device imx_ssi_device0;
|
||||||
extern struct platform_device imx_ssi_device1;
|
extern struct platform_device imx_ssi_device1;
|
||||||
extern struct platform_device imx_ssi_device1;
|
extern struct platform_device imx_ssi_device1;
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
#include <mach/audmux.h>
|
#include <mach/audmux.h>
|
||||||
#include <mach/ssi.h>
|
#include <mach/ssi.h>
|
||||||
|
|
||||||
|
#include "devices-imx35.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static const struct fb_videomode fb_modedb[] = {
|
static const struct fb_videomode fb_modedb[] = {
|
||||||
@ -196,7 +197,7 @@ static struct platform_device *platform_devices[] __initdata = {
|
|||||||
&eukrea_mbimxsd_lcd_powerdev,
|
&eukrea_mbimxsd_lcd_powerdev,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -238,7 +239,7 @@ void __init eukrea_mbimxsd_baseboard_init(void)
|
|||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata);
|
imx35_add_imx_uart1(&uart_pdata);
|
||||||
mxc_register_device(&mx3_ipu, &mx3_ipu_data);
|
mxc_register_device(&mx3_ipu, &mx3_ipu_data);
|
||||||
mxc_register_device(&mx3_fb, &mx3fb_pdata);
|
mxc_register_device(&mx3_fb, &mx3fb_pdata);
|
||||||
|
|
||||||
|
@ -48,16 +48,14 @@
|
|||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
|
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx3.h>
|
#include <mach/iomux-mx3.h>
|
||||||
#include <mach/board-armadillo5x0.h>
|
|
||||||
#include <mach/mmc.h>
|
#include <mach/mmc.h>
|
||||||
#include <mach/ipu.h>
|
#include <mach/ipu.h>
|
||||||
#include <mach/mx3fb.h>
|
#include <mach/mx3fb.h>
|
||||||
#include <mach/mxc_nand.h>
|
|
||||||
#include <mach/mxc_ehci.h>
|
#include <mach/mxc_ehci.h>
|
||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
|
|
||||||
|
#include "devices-imx31.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
#include "crm_regs.h"
|
#include "crm_regs.h"
|
||||||
|
|
||||||
@ -301,7 +299,8 @@ static struct platform_device armadillo5x0_button_device = {
|
|||||||
/*
|
/*
|
||||||
* NAND Flash
|
* NAND Flash
|
||||||
*/
|
*/
|
||||||
static struct mxc_nand_platform_data armadillo5x0_nand_flash_pdata = {
|
static const struct mxc_nand_platform_data
|
||||||
|
armadillo5x0_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
@ -493,13 +492,12 @@ static struct platform_device armadillo5x0_smc911x_device = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* UART device data */
|
/* UART device data */
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device *devices[] __initdata = {
|
static struct platform_device *devices[] __initdata = {
|
||||||
&armadillo5x0_smc911x_device,
|
&armadillo5x0_smc911x_device,
|
||||||
&mxc_i2c_device1,
|
|
||||||
&armadillo5x0_button_device,
|
&armadillo5x0_button_device,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -512,10 +510,11 @@ static void __init armadillo5x0_init(void)
|
|||||||
ARRAY_SIZE(armadillo5x0_pins), "armadillo5x0");
|
ARRAY_SIZE(armadillo5x0_pins), "armadillo5x0");
|
||||||
|
|
||||||
platform_add_devices(devices, ARRAY_SIZE(devices));
|
platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||||
|
imx31_add_imx_i2c1(NULL);
|
||||||
|
|
||||||
/* Register UART */
|
/* Register UART */
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx31_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata);
|
imx31_add_imx_uart1(&uart_pdata);
|
||||||
|
|
||||||
/* SMSC9118 IRQ pin */
|
/* SMSC9118 IRQ pin */
|
||||||
gpio_direction_input(MX31_PIN_GPIO1_0);
|
gpio_direction_input(MX31_PIN_GPIO1_0);
|
||||||
@ -532,7 +531,7 @@ static void __init armadillo5x0_init(void)
|
|||||||
&armadillo5x0_nor_flash_pdata);
|
&armadillo5x0_nor_flash_pdata);
|
||||||
|
|
||||||
/* Register NAND Flash */
|
/* Register NAND Flash */
|
||||||
mxc_register_device(&mxc_nand_device, &armadillo5x0_nand_flash_pdata);
|
imx31_add_mxc_nand(&armadillo5x0_nand_board_info);
|
||||||
|
|
||||||
/* set NAND page size to 2k if not configured via boot mode pins */
|
/* set NAND page size to 2k if not configured via boot mode pins */
|
||||||
__raw_writel(__raw_readl(MXC_CCM_RCSR) | (1 << 30), MXC_CCM_RCSR);
|
__raw_writel(__raw_readl(MXC_CCM_RCSR) | (1 << 30), MXC_CCM_RCSR);
|
||||||
|
@ -40,20 +40,20 @@
|
|||||||
#include <mach/board-eukrea_cpuimx35.h>
|
#include <mach/board-eukrea_cpuimx35.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/i2c.h>
|
|
||||||
#include <mach/iomux-mx35.h>
|
#include <mach/iomux-mx35.h>
|
||||||
#include <mach/mxc_nand.h>
|
#include <mach/mxc_nand.h>
|
||||||
#include <mach/mxc_ehci.h>
|
#include <mach/mxc_ehci.h>
|
||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
|
|
||||||
|
#include "devices-imx35.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxi2c_platform_data eukrea_cpuimx35_i2c_1_data = {
|
static const struct imxi2c_platform_data
|
||||||
|
eukrea_cpuimx35_i2c0_data __initconst = {
|
||||||
.bitrate = 50000,
|
.bitrate = 50000,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -134,7 +134,8 @@ static struct pad_desc eukrea_cpuimx35_pads[] = {
|
|||||||
MX35_PAD_ATA_DA2__GPIO3_2,
|
MX35_PAD_ATA_DA2__GPIO3_2,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data pcm037_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
eukrea_cpuimx35_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
.flash_bbt = 1,
|
.flash_bbt = 1,
|
||||||
@ -181,12 +182,12 @@ static void __init mxc_board_init(void)
|
|||||||
|
|
||||||
platform_add_devices(devices, ARRAY_SIZE(devices));
|
platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx35_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_nand_device, &pcm037_nand_board_info);
|
imx35_add_mxc_nand(&eukrea_cpuimx35_nand_board_info);
|
||||||
|
|
||||||
i2c_register_board_info(0, eukrea_cpuimx35_i2c_devices,
|
i2c_register_board_info(0, eukrea_cpuimx35_i2c_devices,
|
||||||
ARRAY_SIZE(eukrea_cpuimx35_i2c_devices));
|
ARRAY_SIZE(eukrea_cpuimx35_i2c_devices));
|
||||||
mxc_register_device(&mxc_i2c_device0, &eukrea_cpuimx35_i2c_1_data);
|
imx35_add_imx_i2c0(&eukrea_cpuimx35_i2c0_data);
|
||||||
|
|
||||||
#if defined(CONFIG_USB_ULPI)
|
#if defined(CONFIG_USB_ULPI)
|
||||||
if (otg_mode_host) {
|
if (otg_mode_host) {
|
||||||
|
@ -16,10 +16,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/gpio.h>
|
#include <linux/gpio.h>
|
||||||
@ -37,13 +33,12 @@
|
|||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
|
|
||||||
#include <mach/board-kzmarm11.h>
|
|
||||||
#include <mach/clock.h>
|
#include <mach/clock.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx3.h>
|
#include <mach/iomux-mx3.h>
|
||||||
#include <mach/memory.h>
|
#include <mach/memory.h>
|
||||||
|
|
||||||
|
#include "devices-imx31.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
#define KZM_ARM11_IO_ADDRESS(x) ( \
|
#define KZM_ARM11_IO_ADDRESS(x) ( \
|
||||||
@ -51,6 +46,23 @@
|
|||||||
IMX_IO_ADDRESS(x, MX31_CS5) ?: \
|
IMX_IO_ADDRESS(x, MX31_CS5) ?: \
|
||||||
MX31_IO_ADDRESS(x))
|
MX31_IO_ADDRESS(x))
|
||||||
|
|
||||||
|
/*
|
||||||
|
* KZM-ARM11-01 Board Control Registers on FPGA
|
||||||
|
*/
|
||||||
|
#define KZM_ARM11_CTL1 (MX31_CS4_BASE_ADDR + 0x1000)
|
||||||
|
#define KZM_ARM11_CTL2 (MX31_CS4_BASE_ADDR + 0x1001)
|
||||||
|
#define KZM_ARM11_RSW1 (MX31_CS4_BASE_ADDR + 0x1002)
|
||||||
|
#define KZM_ARM11_BACK_LIGHT (MX31_CS4_BASE_ADDR + 0x1004)
|
||||||
|
#define KZM_ARM11_FPGA_REV (MX31_CS4_BASE_ADDR + 0x1008)
|
||||||
|
#define KZM_ARM11_7SEG_LED (MX31_CS4_BASE_ADDR + 0x1010)
|
||||||
|
#define KZM_ARM11_LEDS (MX31_CS4_BASE_ADDR + 0x1020)
|
||||||
|
#define KZM_ARM11_DIPSW2 (MX31_CS4_BASE_ADDR + 0x1003)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* External UART for touch panel on FPGA
|
||||||
|
*/
|
||||||
|
#define KZM_ARM11_16550 (MX31_CS4_BASE_ADDR + 0x1050)
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
|
#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
|
||||||
/*
|
/*
|
||||||
* KZM-ARM11-01 has an external UART on FPGA
|
* KZM-ARM11-01 has an external UART on FPGA
|
||||||
@ -173,15 +185,14 @@ static inline int kzm_init_smsc9118(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_IMX) || defined(CONFIG_SERIAL_IMX_MODULE)
|
#if defined(CONFIG_SERIAL_IMX) || defined(CONFIG_SERIAL_IMX_MODULE)
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init kzm_init_imx_uart(void)
|
static void __init kzm_init_imx_uart(void)
|
||||||
{
|
{
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx31_add_imx_uart0(&uart_pdata);
|
||||||
|
imx31_add_imx_uart1(&uart_pdata);
|
||||||
mxc_register_device(&mxc_uart_device1, &uart_pdata);
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline void kzm_init_imx_uart(void)
|
static inline void kzm_init_imx_uart(void)
|
||||||
|
@ -10,10 +10,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
@ -37,19 +33,46 @@
|
|||||||
#include <asm/memory.h>
|
#include <asm/memory.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/board-mx31_3ds.h>
|
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx3.h>
|
#include <mach/iomux-mx3.h>
|
||||||
#include <mach/mxc_nand.h>
|
|
||||||
#include <mach/spi.h>
|
#include "devices-imx31.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
/*!
|
/* Definitions for components on the Debug board */
|
||||||
* @file mx31_3ds.c
|
|
||||||
*
|
/* Base address of CPLD controller on the Debug board */
|
||||||
* @brief This file contains the board-specific initialization routines.
|
#define DEBUG_BASE_ADDRESS CS5_IO_ADDRESS(MX3x_CS5_BASE_ADDR)
|
||||||
*
|
|
||||||
* @ingroup System
|
/* LAN9217 ethernet base address */
|
||||||
|
#define LAN9217_BASE_ADDR MX3x_CS5_BASE_ADDR
|
||||||
|
|
||||||
|
/* CPLD config and interrupt base address */
|
||||||
|
#define CPLD_ADDR (DEBUG_BASE_ADDRESS + 0x20000)
|
||||||
|
|
||||||
|
/* status, interrupt */
|
||||||
|
#define CPLD_INT_STATUS_REG (CPLD_ADDR + 0x10)
|
||||||
|
#define CPLD_INT_MASK_REG (CPLD_ADDR + 0x38)
|
||||||
|
#define CPLD_INT_RESET_REG (CPLD_ADDR + 0x20)
|
||||||
|
/* magic word for debug CPLD */
|
||||||
|
#define CPLD_MAGIC_NUMBER1_REG (CPLD_ADDR + 0x40)
|
||||||
|
#define CPLD_MAGIC_NUMBER2_REG (CPLD_ADDR + 0x48)
|
||||||
|
/* CPLD code version */
|
||||||
|
#define CPLD_CODE_VER_REG (CPLD_ADDR + 0x50)
|
||||||
|
/* magic word for debug CPLD */
|
||||||
|
#define CPLD_MAGIC_NUMBER3_REG (CPLD_ADDR + 0x58)
|
||||||
|
|
||||||
|
/* CPLD IRQ line for external uart, external ethernet etc */
|
||||||
|
#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX31_PIN_GPIO1_1)
|
||||||
|
|
||||||
|
#define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START)
|
||||||
|
#define MXC_IRQ_TO_EXPIO(irq) ((irq) - MXC_EXP_IO_BASE)
|
||||||
|
|
||||||
|
#define EXPIO_INT_ENET (MXC_EXP_IO_BASE + 0)
|
||||||
|
|
||||||
|
#define MXC_MAX_EXP_IO_LINES 16
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file contains the board-specific initialization routines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int mx31_3ds_pins[] = {
|
static int mx31_3ds_pins[] = {
|
||||||
@ -145,7 +168,7 @@ static int spi1_internal_chipselect[] = {
|
|||||||
MXC_SPI_CS(2),
|
MXC_SPI_CS(2),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct spi_imx_master spi1_pdata = {
|
static const struct spi_imx_master spi1_pdata __initconst = {
|
||||||
.chipselect = spi1_internal_chipselect,
|
.chipselect = spi1_internal_chipselect,
|
||||||
.num_chipselect = ARRAY_SIZE(spi1_internal_chipselect),
|
.num_chipselect = ARRAY_SIZE(spi1_internal_chipselect),
|
||||||
};
|
};
|
||||||
@ -165,7 +188,8 @@ static struct spi_board_info mx31_3ds_spi_devs[] __initdata = {
|
|||||||
/*
|
/*
|
||||||
* NAND Flash
|
* NAND Flash
|
||||||
*/
|
*/
|
||||||
static struct mxc_nand_platform_data imx31_3ds_nand_flash_pdata = {
|
static const struct mxc_nand_platform_data
|
||||||
|
mx31_3ds_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
#ifdef MACH_MX31_3DS_MXC_NAND_USE_BBT
|
#ifdef MACH_MX31_3DS_MXC_NAND_USE_BBT
|
||||||
@ -225,7 +249,7 @@ static struct fsl_usb2_platform_data usbotg_pdata = {
|
|||||||
.phy_mode = FSL_USB2_PHY_ULPI,
|
.phy_mode = FSL_USB2_PHY_ULPI,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -407,10 +431,10 @@ static void __init mxc_board_init(void)
|
|||||||
mxc_iomux_setup_multiple_pins(mx31_3ds_pins, ARRAY_SIZE(mx31_3ds_pins),
|
mxc_iomux_setup_multiple_pins(mx31_3ds_pins, ARRAY_SIZE(mx31_3ds_pins),
|
||||||
"mx31_3ds");
|
"mx31_3ds");
|
||||||
|
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx31_add_imx_uart0(&uart_pdata);
|
||||||
mxc_register_device(&mxc_nand_device, &imx31_3ds_nand_flash_pdata);
|
imx31_add_mxc_nand(&mx31_3ds_nand_board_info);
|
||||||
|
|
||||||
mxc_register_device(&mxc_spi_device1, &spi1_pdata);
|
imx31_add_spi_imx0(&spi1_pdata);
|
||||||
spi_register_board_info(mx31_3ds_spi_devs,
|
spi_register_board_info(mx31_3ds_spi_devs,
|
||||||
ARRAY_SIZE(mx31_3ds_spi_devs));
|
ARRAY_SIZE(mx31_3ds_spi_devs));
|
||||||
|
|
||||||
|
@ -12,10 +12,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
@ -33,8 +29,6 @@
|
|||||||
#include <asm/memory.h>
|
#include <asm/memory.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/board-mx31ads.h>
|
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx3.h>
|
#include <mach/iomux-mx3.h>
|
||||||
|
|
||||||
#ifdef CONFIG_MACH_MX31ADS_WM1133_EV1
|
#ifdef CONFIG_MACH_MX31ADS_WM1133_EV1
|
||||||
@ -43,14 +37,45 @@
|
|||||||
#include <linux/mfd/wm8350/pmic.h>
|
#include <linux/mfd/wm8350/pmic.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "devices-imx31.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
/*!
|
/* Base address of PBC controller */
|
||||||
* @file mx31ads.c
|
#define PBC_BASE_ADDRESS MX31_CS4_BASE_ADDR_VIRT
|
||||||
*
|
/* Offsets for the PBC Controller register */
|
||||||
* @brief This file contains the board-specific initialization routines.
|
|
||||||
*
|
/* PBC Board interrupt status register */
|
||||||
* @ingroup System
|
#define PBC_INTSTATUS 0x000016
|
||||||
|
|
||||||
|
/* PBC Board interrupt current status register */
|
||||||
|
#define PBC_INTCURR_STATUS 0x000018
|
||||||
|
|
||||||
|
/* PBC Interrupt mask register set address */
|
||||||
|
#define PBC_INTMASK_SET 0x00001A
|
||||||
|
|
||||||
|
/* PBC Interrupt mask register clear address */
|
||||||
|
#define PBC_INTMASK_CLEAR 0x00001C
|
||||||
|
|
||||||
|
/* External UART A */
|
||||||
|
#define PBC_SC16C652_UARTA 0x010000
|
||||||
|
|
||||||
|
/* External UART B */
|
||||||
|
#define PBC_SC16C652_UARTB 0x010010
|
||||||
|
|
||||||
|
#define PBC_INTSTATUS_REG (PBC_INTSTATUS + PBC_BASE_ADDRESS)
|
||||||
|
#define PBC_INTMASK_SET_REG (PBC_INTMASK_SET + PBC_BASE_ADDRESS)
|
||||||
|
#define PBC_INTMASK_CLEAR_REG (PBC_INTMASK_CLEAR + PBC_BASE_ADDRESS)
|
||||||
|
#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX31_PIN_GPIO1_4)
|
||||||
|
|
||||||
|
#define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START)
|
||||||
|
#define MXC_IRQ_TO_EXPIO(irq) ((irq) - MXC_EXP_IO_BASE)
|
||||||
|
|
||||||
|
#define EXPIO_INT_XUART_INTA (MXC_EXP_IO_BASE + 10)
|
||||||
|
#define EXPIO_INT_XUART_INTB (MXC_EXP_IO_BASE + 11)
|
||||||
|
|
||||||
|
#define MXC_MAX_EXP_IO_LINES 16
|
||||||
|
/*
|
||||||
|
* This file contains the board-specific initialization routines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
|
#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
|
||||||
@ -98,7 +123,7 @@ static inline int mxc_init_extuart(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_IMX) || defined(CONFIG_SERIAL_IMX_MODULE)
|
#if defined(CONFIG_SERIAL_IMX) || defined(CONFIG_SERIAL_IMX_MODULE)
|
||||||
static struct imxuart_platform_data uart_pdata = {
|
static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -112,7 +137,7 @@ static unsigned int uart_pins[] = {
|
|||||||
static inline void mxc_init_imx_uart(void)
|
static inline void mxc_init_imx_uart(void)
|
||||||
{
|
{
|
||||||
mxc_iomux_setup_multiple_pins(uart_pins, ARRAY_SIZE(uart_pins), "uart-0");
|
mxc_iomux_setup_multiple_pins(uart_pins, ARRAY_SIZE(uart_pins), "uart-0");
|
||||||
mxc_register_device(&mxc_uart_device0, &uart_pdata);
|
imx31_add_imx_uart0(&uart_pdata);
|
||||||
}
|
}
|
||||||
#else /* !SERIAL_IMX */
|
#else /* !SERIAL_IMX */
|
||||||
static inline void mxc_init_imx_uart(void)
|
static inline void mxc_init_imx_uart(void)
|
||||||
@ -475,7 +500,7 @@ static void mxc_init_i2c(void)
|
|||||||
mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MOSI, IOMUX_CONFIG_ALT1));
|
mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MOSI, IOMUX_CONFIG_ALT1));
|
||||||
mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MISO, IOMUX_CONFIG_ALT1));
|
mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MISO, IOMUX_CONFIG_ALT1));
|
||||||
|
|
||||||
mxc_register_device(&mxc_i2c_device1, NULL);
|
imx31_add_imx_i2c1(NULL);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static void mxc_init_i2c(void)
|
static void mxc_init_i2c(void)
|
||||||
|
@ -18,10 +18,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
@ -46,10 +42,10 @@
|
|||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/iomux-mx3.h>
|
#include <mach/iomux-mx3.h>
|
||||||
#include <mach/board-mx31lilly.h>
|
#include <mach/board-mx31lilly.h>
|
||||||
#include <mach/spi.h>
|
|
||||||
#include <mach/mxc_ehci.h>
|
#include <mach/mxc_ehci.h>
|
||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
|
|
||||||
|
#include "devices-imx31.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -257,12 +253,12 @@ static int spi_internal_chipselect[] = {
|
|||||||
MXC_SPI_CS(2),
|
MXC_SPI_CS(2),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct spi_imx_master spi0_pdata = {
|
static const struct spi_imx_master spi0_pdata __initconst = {
|
||||||
.chipselect = spi_internal_chipselect,
|
.chipselect = spi_internal_chipselect,
|
||||||
.num_chipselect = ARRAY_SIZE(spi_internal_chipselect),
|
.num_chipselect = ARRAY_SIZE(spi_internal_chipselect),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct spi_imx_master spi1_pdata = {
|
static const struct spi_imx_master spi1_pdata __initconst = {
|
||||||
.chipselect = spi_internal_chipselect,
|
.chipselect = spi_internal_chipselect,
|
||||||
.num_chipselect = ARRAY_SIZE(spi_internal_chipselect),
|
.num_chipselect = ARRAY_SIZE(spi_internal_chipselect),
|
||||||
};
|
};
|
||||||
@ -315,8 +311,8 @@ static void __init mx31lilly_board_init(void)
|
|||||||
mxc_iomux_alloc_pin(MX31_PIN_CSPI2_SS1__SS1, "SPI2_SS1");
|
mxc_iomux_alloc_pin(MX31_PIN_CSPI2_SS1__SS1, "SPI2_SS1");
|
||||||
mxc_iomux_alloc_pin(MX31_PIN_CSPI2_SS2__SS2, "SPI2_SS2");
|
mxc_iomux_alloc_pin(MX31_PIN_CSPI2_SS2__SS2, "SPI2_SS2");
|
||||||
|
|
||||||
mxc_register_device(&mxc_spi_device0, &spi0_pdata);
|
imx31_add_spi_imx0(&spi0_pdata);
|
||||||
mxc_register_device(&mxc_spi_device1, &spi1_pdata);
|
imx31_add_spi_imx1(&spi1_pdata);
|
||||||
spi_register_board_info(&mc13783_dev, 1);
|
spi_register_board_info(&mc13783_dev, 1);
|
||||||
|
|
||||||
platform_add_devices(devices, ARRAY_SIZE(devices));
|
platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||||
|
@ -13,10 +13,6 @@
|
|||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
@ -42,14 +38,12 @@
|
|||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/common.h>
|
#include <mach/common.h>
|
||||||
#include <mach/board-mx31lite.h>
|
#include <mach/board-mx31lite.h>
|
||||||
#include <mach/imx-uart.h>
|
|
||||||
#include <mach/iomux-mx3.h>
|
#include <mach/iomux-mx3.h>
|
||||||
#include <mach/irqs.h>
|
#include <mach/irqs.h>
|
||||||
#include <mach/mxc_nand.h>
|
|
||||||
#include <mach/spi.h>
|
|
||||||
#include <mach/mxc_ehci.h>
|
#include <mach/mxc_ehci.h>
|
||||||
#include <mach/ulpi.h>
|
#include <mach/ulpi.h>
|
||||||
|
|
||||||
|
#include "devices-imx31.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -69,7 +63,8 @@ static unsigned int mx31lite_pins[] = {
|
|||||||
MX31_PIN_CSPI2_SS2__SS2,
|
MX31_PIN_CSPI2_SS2__SS2,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct mxc_nand_platform_data mx31lite_nand_board_info = {
|
static const struct mxc_nand_platform_data
|
||||||
|
mx31lite_nand_board_info __initconst = {
|
||||||
.width = 1,
|
.width = 1,
|
||||||
.hw_ecc = 1,
|
.hw_ecc = 1,
|
||||||
};
|
};
|
||||||
@ -112,7 +107,7 @@ static int spi_internal_chipselect[] = {
|
|||||||
MXC_SPI_CS(0),
|
MXC_SPI_CS(0),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct spi_imx_master spi1_pdata = {
|
static const struct spi_imx_master spi1_pdata __initconst = {
|
||||||
.chipselect = spi_internal_chipselect,
|
.chipselect = spi_internal_chipselect,
|
||||||
.num_chipselect = ARRAY_SIZE(spi_internal_chipselect),
|
.num_chipselect = ARRAY_SIZE(spi_internal_chipselect),
|
||||||
};
|
};
|
||||||
@ -253,9 +248,9 @@ static void __init mxc_board_init(void)
|
|||||||
|
|
||||||
/* NOR and NAND flash */
|
/* NOR and NAND flash */
|
||||||
platform_device_register(&physmap_flash_device);
|
platform_device_register(&physmap_flash_device);
|
||||||
mxc_register_device(&mxc_nand_device, &mx31lite_nand_board_info);
|
imx31_add_mxc_nand(&mx31lite_nand_board_info);
|
||||||
|
|
||||||
mxc_register_device(&mxc_spi_device1, &spi1_pdata);
|
imx31_add_spi_imx1(&spi1_pdata);
|
||||||
spi_register_board_info(&mc13783_spi_dev, 1);
|
spi_register_board_info(&mc13783_spi_dev, 1);
|
||||||
|
|
||||||
#if defined(CONFIG_USB_ULPI)
|
#if defined(CONFIG_USB_ULPI)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user