]> git.karo-electronics.de Git - mv-sheeva.git/log
mv-sheeva.git
14 years agoMerge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa...
Russell King [Fri, 4 Dec 2009 17:34:16 +0000 (17:34 +0000)]
Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel-stable

14 years agoMerge branch 'for-rmk' of git://git.fluff.org/bjdooks/linux into devel-stable
Russell King [Fri, 4 Dec 2009 17:33:54 +0000 (17:33 +0000)]
Merge branch 'for-rmk' of git://git.fluff.org/bjdooks/linux into devel-stable

Conflicts:
arch/arm/Kconfig

14 years agoARM: S3C6410: Correct names of IISv4 data output pin definitions
Mark Brown [Fri, 27 Nov 2009 16:43:54 +0000 (16:43 +0000)]
ARM: S3C6410: Correct names of IISv4 data output pin definitions

The naming of the defines suggests that there are three IISv4 ports
with one data line each when in fact there is a single IISv4 port
with three data lines.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: Merge next-s3c64xx-updates
Ben Dooks [Thu, 3 Dec 2009 21:53:10 +0000 (21:53 +0000)]
ARM: Merge next-s3c64xx-updates

Merge branch 'next-s3c64xx-updates' into for-rmk

Conflicts:

arch/arm/plat-s3c/dev-hsmmc2.c
arch/arm/plat-s3c/include/plat/sdhci.h

14 years agoARM: Merge next-s3c24xx-dev-rtp
Ben Dooks [Thu, 3 Dec 2009 21:33:01 +0000 (21:33 +0000)]
ARM: Merge next-s3c24xx-dev-rtp

Merge branch 'next-s3c24xx-dev-rtp' into for-rmk

Conflicts:

arch/arm/mach-s3c2440/mach-anubis.c

14 years agoARM: Merge next-s3c24xx-simtec
Ben Dooks [Thu, 3 Dec 2009 21:31:20 +0000 (21:31 +0000)]
ARM: Merge next-s3c24xx-simtec

Merge branch 'next-s3c24xx-simtec' into for-rmk

14 years agoMerge branch 'for-rmk' of git://git.marvell.com/orion into devel-stable
Russell King [Tue, 1 Dec 2009 18:22:54 +0000 (18:22 +0000)]
Merge branch 'for-rmk' of git://git.marvell.com/orion into devel-stable

14 years agoARM: S3C64XX: add HSMMC2 support
Maurus Cuelenaere [Mon, 23 Nov 2009 12:34:46 +0000 (13:34 +0100)]
ARM: S3C64XX: add HSMMC2 support

This adds support for the third SDHCI controller.

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C64XX: add support for all group 0 external interrupts
Maurus Cuelenaere [Fri, 20 Nov 2009 12:04:13 +0000 (13:04 +0100)]
ARM: S3C64XX: add support for all group 0 external interrupts

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C64XX: fix USB OTG compilation
Maurus Cuelenaere [Fri, 20 Nov 2009 12:04:08 +0000 (13:04 +0100)]
ARM: S3C64XX: fix USB OTG compilation

This adds the S3C_VA_USB_HSPHY mapping.

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C64XX: Redo voltage ranges for cpufreq
Mark Brown [Tue, 3 Nov 2009 14:42:12 +0000 (14:42 +0000)]
ARM: S3C64XX: Redo voltage ranges for cpufreq

The documentation for the S3C6410 CPU voltage scaling is rather
unclear, with omitted values for several speed settings. Originally
the code was using only quoted values, resulting in some fairly odd
settings. The S3C6410 is also unusual in that the both the maximum
and minimum voltages quoted scale as the frequency rises, rather
than just the minimum voltage.

Clean this up a bit by always using the specified typical settings
as the minimum voltage (ignoring any specified minimum voltage) in
order to avoid running near the edge of the processor capabilities.
Also use the next quoted maximum voltages rather than the typical
voltages where no maximum voltage is quoted, allowing operation on
a greater range of systems.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C64XX: Separate out regulator and frequency latencies
Mark Brown [Tue, 3 Nov 2009 14:42:11 +0000 (14:42 +0000)]
ARM: S3C64XX: Separate out regulator and frequency latencies

Currently the transition latency reported by the S3C64xx cpufreq
driver includes both the time for the CPU to reclock itself and
the time for a regulator to change voltage. This means that if
a regulator is not in use then the transition latency reported
is excessively high.

In future the regulator API will be extended to report latencies
so the driver will be able to query the performance of a given
regulator.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C64XX: Provide logging when CPU frequencies are eliminated due to clocks
Mark Brown [Tue, 3 Nov 2009 14:42:07 +0000 (14:42 +0000)]
ARM: S3C64XX: Provide logging when CPU frequencies are eliminated due to clocks

This provides symmetry with the voltage based checks done for the
regulator.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: SMDK6410: Hook up regulator supplies for WM8580
Mark Brown [Tue, 3 Nov 2009 14:42:06 +0000 (14:42 +0000)]
ARM: SMDK6410: Hook up regulator supplies for WM8580

DVDD is supplied by supplies derived from the PMIC, AVDD and PVDD are
supplied from the main wall supply on the base board which runs at
5V. No option is currently supported for running without a PMIC card,
the assumption is that the regulator API will be built out when no
soft PMIC card is in use.

To ease merge issues since this uses the newly added dev_name supply
configuration from the regulator API (currently in -next only) the
fixed voltage regulator is ifdefed out when the regulator API is not
enabled.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: H1940: Convert h1940 bluetooth driver to rfkill
arnaud.patard@rtp-net.org [Tue, 17 Nov 2009 13:54:59 +0000 (14:54 +0100)]
ARM: H1940: Convert h1940 bluetooth driver to rfkill

Better using standard interfaces to enable/disable bluetooth

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: H1940: add lcd/backlight device definition
arnaud.patard@rtp-net.org [Tue, 17 Nov 2009 13:54:58 +0000 (14:54 +0100)]
ARM: H1940: add lcd/backlight device definition

Add lcd and backlight device definition. The pwm backlight stuff does
not allow to really set maximum pwm as with my custom driver but it's
better to use standard driver instead of out of tree driver.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
[ben-linux@fluff.org: tidy header]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: H1940: enable rtc
arnaud.patard@rtp-net.org [Tue, 17 Nov 2009 13:54:57 +0000 (14:54 +0100)]
ARM: H1940: enable rtc

Enable S3C2410 rtc on h1940

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
[ben-linux@fluff.org: tidy header]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: H1940: add mmc device
arnaud.patard@rtp-net.org [Tue, 17 Nov 2009 13:54:56 +0000 (14:54 +0100)]
ARM: H1940: add mmc device

Add mmc host support to h1940

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
[ben-linux@fluff.org: tidy description]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: N30: Use s3c_i2c0_set_platdata() to set I2C platform data
Ben Dooks [Mon, 28 Sep 2009 15:29:48 +0000 (16:29 +0100)]
ARM: N30: Use s3c_i2c0_set_platdata() to set I2C platform data

Fix mach-n30.c to use the s3c_i2c0_set_platdata() call to register the
platform data with the system to get rid of any reliance on having a real
device structure available in memory.

Since s3c_i2c0_set_platdata() copies the data, mark the original as
__initdata so it is thrown away.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: AT2440EVB: Remove duplicated s3c_device_sdi.name set
Ben Dooks [Mon, 28 Sep 2009 15:20:32 +0000 (16:20 +0100)]
ARM: AT2440EVB: Remove duplicated s3c_device_sdi.name set

The AT2440EVB should not be changing the s3c_device_sdi.name as this is
part of the initialisation process done by the CPU detection process
and actually present in arch/arm/plat-s3c24xx/s3c24xx.c.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C: Add NAND device platform data set call
Ben Dooks [Mon, 28 Sep 2009 10:59:49 +0000 (13:59 +0300)]
ARM: S3C: Add NAND device platform data set call

14 years agoARM: H1940: Correct name of the local platform devices for LED and Bluetooth
Ben Dooks [Mon, 28 Sep 2009 03:45:47 +0000 (12:45 +0900)]
ARM: H1940: Correct name of the local platform devices for LED and Bluetooth

The mach-h1940.c file was using s3c_device_ where it really should be
calling these local definitions h1940_device to ensure they are not
mistaken for real s3c_devices when the device change is done.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C: Update Simtec copyright statements from , to - [2]
Ben Dooks [Fri, 13 Nov 2009 22:54:14 +0000 (22:54 +0000)]
ARM: S3C: Update Simtec copyright statements from , to - [2]

There are a number of statements of the form A, B or A, B, C where
the numbers A,B,C are not consecutive. However, referencing [1] it
is the correct thing to replace these with A-B or A-C as apropriate.

[1] http://www.copyrightservice.co.uk/copyright/p03_copyright_notices
    section 4iii 'Year of publication'

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C: Update Simtec copyright statements from , to -
Ben Dooks [Fri, 13 Nov 2009 22:54:13 +0000 (22:54 +0000)]
ARM: S3C: Update Simtec copyright statements from , to -

There are a number of statements of the form A, B or A, B, C where
the numbers A,B,C are consecutive. Tidy these up to be A-B or A-C
as appropriate and to comply better with copyright standards [1]

[1] http://www.copyrightservice.co.uk/copyright/p03_copyright_notices
    section 4iii 'Year of publication'

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C: Fix Simtec copyright statements in Documentation/S3C24XX
Ben Dooks [Fri, 13 Nov 2009 22:54:12 +0000 (22:54 +0000)]
ARM: S3C: Fix Simtec copyright statements in Documentation/S3C24XX

The (c) alone is not a sufficient copyright statement, nor is it a
good replacement for the proper encircled &copy; symbol [1]. Add the
word copyright to the apropriate places and remove the (c) symbol.

[1] http://www.copyrightservice.co.uk/copyright/p03_copyright_notices
    section 4 'What does a notice consist of?'

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C24XX: Add documentation for arch/arm/plat-s3c24xx/include/plat/mci.h
Ben Dooks [Fri, 13 Nov 2009 22:34:22 +0000 (22:34 +0000)]
ARM: S3C24XX: Add documentation for arch/arm/plat-s3c24xx/include/plat/mci.h

Add documentation for the platform data structure in the SD/MMC driver
header file arch/arm/plat-s3c24xx/include/plat/mci.h.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: OSIRIS: DVS (Dynamic Voltage Scaling) supoort.
Ben Dooks [Fri, 13 Nov 2009 22:34:21 +0000 (22:34 +0000)]
ARM: OSIRIS: DVS (Dynamic Voltage Scaling) supoort.

Add a driver to provide DVS for the Simtec Osiris module to reduce
the power consumption whilst idling.

The DVS driver alters the voltage supplied to the ARM core depending
on the frequency it is running at. The driver itself does not do any
of the frequency alteration, which is left up to the cpufreq driver.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C24XX: machine support for Simtec Audio
Ben Dooks [Fri, 13 Nov 2009 22:34:20 +0000 (22:34 +0000)]
ARM: S3C24XX: machine support for Simtec Audio

Add the platform/machine support for the audio devices fitted to
the Simtec range of boards since the move to ASoC.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoSMDKC100: add SDHCI controllers 0, 1 and 2 support
Kyungmin Park [Tue, 17 Nov 2009 07:41:24 +0000 (08:41 +0100)]
SMDKC100: add SDHCI controllers 0, 1 and 2 support

Add required machine definitions for SDHCI controller 0, 1 and 2. SMDKC100
has 2 SDHCI/MMC ports. Port 1 is directly connected to controller 0. Port
1 can be conntected to controler 1 or 2, depending on jumper setup.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1xx: add platform helpers for SDHCI host controllers
Kyungmin Park [Tue, 17 Nov 2009 07:41:23 +0000 (08:41 +0100)]
ARM: S5PC1xx: add platform helpers for SDHCI host controllers

Samsung S5PC100 has 3 SDHCI controllers compatible with the one known from
previous SoCs series. Add required platform setup and support code that
the devices can be used with sdhci-s3c driver.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoSMDKC100: add I2C0 and I2C1 buses support
Kyungmin Park [Tue, 17 Nov 2009 07:41:22 +0000 (08:41 +0100)]
SMDKC100: add I2C0 and I2C1 buses support

Add required machine definitions for I2C 0 and 1 bus controllers.
Currently no I2C device are defined yet.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1xx: add platform helpers for i2c adapter devices
Kyungmin Park [Tue, 17 Nov 2009 07:41:21 +0000 (08:41 +0100)]
ARM: S5PC1xx: add platform helpers for i2c adapter devices

Samsung S5PC100 has I2C bus controller compatible with the one known from
previous SoCs series. Add required platform setup and support code that
it can be used with s3c2410-i2c driver.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoSMDKC100: enable S3C FrameBuffer
Kyungmin Park [Tue, 17 Nov 2009 07:41:20 +0000 (08:41 +0100)]
SMDKC100: enable S3C FrameBuffer

Add required machine definitions for s3c-fb device.
A 800x480 lcd device (simmilar to the one known from SMDK6410 boards) has
been defined. The lcd controller is attached to GPIO lines and can be
enabled/disabled with platform-lcd driver.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1xx: add platform helpers for s3c-fb device
Pawel Osciak [Tue, 17 Nov 2009 07:41:19 +0000 (08:41 +0100)]
ARM: S5PC1xx: add platform helpers for s3c-fb device

Samsung S5PC100 has LCD-controller compatible with the one known from
previous SoCs series. Add required platform setup and support code that
it can be used with s3c-fb driver.

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S3C: Prepare s3c64xx-specific s3c-fb register definition for reuse
Pawel Osciak [Tue, 17 Nov 2009 07:41:18 +0000 (08:41 +0100)]
ARM: S3C: Prepare s3c64xx-specific s3c-fb register definition for reuse

S5PC1xx Samsung SOC series has very similar frame buffer hardware, so a lot
of the code can be shared. Moved s3c64xx-specific s3c-fb register
definitions from mach-s3c6400 to common platform directory as regs-fb-v4.h.
The new v4 file will be common for S3C6400, S3C6410, S5PC100 and possibly
others. Some s3c64xx series specific defines (palette handling) were left
in s3c-6400/mach/regs-fb.h, because it is handled differently in S5PC1xx
series.

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1XX: add cpu idle and system reset support
Kyungmin Park [Tue, 17 Nov 2009 07:41:17 +0000 (08:41 +0100)]
ARM: S5PC1XX: add cpu idle and system reset support

Add CPU idle support by a call to SoC build-in power management core.
Add system reset support by a simple write to system controll register.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1xx: add gpiolib and external/gpio interrupt support
Kyungmin Park [Tue, 17 Nov 2009 07:41:16 +0000 (08:41 +0100)]
ARM: S5PC1xx: add gpiolib and external/gpio interrupt support

Add support for gpiolib calls. This is based on the gpiolib implementation
from plat-s3c64xx tree.
Add support for external interrupts for GPIO H banks.
Add support for GPIO interrupts for all banks.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1XX: GPIO registers rename
Kyungmin Park [Tue, 17 Nov 2009 07:41:15 +0000 (08:41 +0100)]
ARM: S5PC1XX: GPIO registers rename

S5PC100 and S5PC110 GPIO registers differs in many places, rename all
previously defined registers to be S5PC100 specific.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1XX: add GPIO L banks to register definition
Kyungmin Park [Tue, 17 Nov 2009 07:41:14 +0000 (08:41 +0100)]
ARM: S5PC1XX: add GPIO L banks to register definition

Add GPIO L0-L4 banks to register definition.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1XX: clocks reimplementation
Kyungmin Park [Tue, 17 Nov 2009 07:41:13 +0000 (08:41 +0100)]
ARM: S5PC1XX: clocks reimplementation

Clocks hierarchy has been completely reimplemented to match the S5PC100
specification.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1XX: clock registers rename
Kyungmin Park [Tue, 17 Nov 2009 07:41:12 +0000 (08:41 +0100)]
ARM: S5PC1XX: clock registers rename

S5PC100 and S5PC110 clock registers differs in many places, rename all
previously defined registers to be S5PC100 specific. Remove all power
management registers. They will be added later to a separate file.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: S5PC1XX: registers rename
Kyungmin Park [Tue, 17 Nov 2009 07:41:11 +0000 (08:41 +0100)]
ARM: S5PC1XX: registers rename

S5PC110 and S5PC100 register maps differs in many places, rename all
defined registers to be S5PC100 specific. PA_SYS register known from
S3C64XX series has been renamed to more adequate PA_CLK. Also system map
has been also updated to cover more integrated peripherals.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years agoARM: SAMSUNG: Add plat-samsung as starting point for plat-s3c* moves
Ben Dooks [Tue, 10 Nov 2009 00:14:58 +0000 (00:14 +0000)]
ARM: SAMSUNG: Add plat-samsung as starting point for plat-s3c* moves

We inted to re-organise the plat-s3c/plat-s3c24xx/plat-s3c64xx into a
more generic plat-samsung with less code in the other plat- directories
to make it easier to port new devices and try and clear up some of the
naming issues with newer devices.

Start by creating a small arch/arm/plat-samsung with no actuall code in
so we can move items in as we process them.

Add this to arch/arm to allow it to build things once support is added.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
14 years ago[ARM] pxa/hx4700: actually use platform_lcd driver
Dmitry Artamonow [Wed, 25 Nov 2009 11:33:15 +0000 (14:33 +0300)]
[ARM] pxa/hx4700: actually use platform_lcd driver

Commit e2c509c7e6 ([ARM] pxa/hx4700: use platform_lcd driver)
missed to actually register platform device for LCD.
It causes following GCC warning:
arch/arm/mach-pxa/hx4700.c:553: warning: 'hx4700_lcd' defined but not used

Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/pcm990: don't use pxa_camera init() callback
Antonio Ospite [Fri, 27 Nov 2009 20:31:36 +0000 (21:31 +0100)]
[ARM] pxa/pcm990: don't use pxa_camera init() callback

pxa_camera init() is ambiguous, it's better to configure PXA CIF pins
statically in machine init function.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/em-x270: don't use pxa_camera init() callback
Antonio Ospite [Fri, 27 Nov 2009 20:30:23 +0000 (21:30 +0100)]
[ARM] pxa/em-x270: don't use pxa_camera init() callback

pxa_camera init() is ambiguous, it's better to statically configure the sensor.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: add PWM backlight support
Igor Grinberg [Tue, 10 Nov 2009 12:18:41 +0000 (14:18 +0200)]
[ARM] pxa/cm-x300: add PWM backlight support

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: update defconfig
Igor Grinberg [Wed, 14 Oct 2009 07:20:27 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: update defconfig

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: update authors and copyright
Igor Grinberg [Wed, 14 Oct 2009 07:20:25 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: update authors and copyright

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: add da9030 support
Igor Grinberg [Wed, 14 Oct 2009 07:20:24 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: add da9030 support

Register DA9030 PMIC. Use only backlight sub-device for now.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: enable USB port 2 for PXA300
Igor Grinberg [Wed, 14 Oct 2009 07:20:23 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: enable USB port 2 for PXA300

Port 2 requires setting of UP2OCR register to function as USB host.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: add support for PXA310 cpu
Igor Grinberg [Wed, 14 Oct 2009 07:20:22 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: add support for PXA310 cpu

CM-X300 can be assembled with PXA300 and PXA310 CPU. Provide support for
both CPU variants.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: add Wi2Wi chip (Bluetooth and WiFi) initialization
Igor Grinberg [Wed, 14 Oct 2009 07:20:21 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: add Wi2Wi chip (Bluetooth and WiFi) initialization

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: add ac97 controller registration
Igor Grinberg [Wed, 14 Oct 2009 07:20:20 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: add ac97 controller registration

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: add TDO35S lcd support
Igor Grinberg [Wed, 14 Oct 2009 07:20:19 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: add TDO35S lcd support

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/cm-x300: add revision difference handling
Igor Grinberg [Wed, 14 Oct 2009 07:20:18 +0000 (09:20 +0200)]
[ARM] pxa/cm-x300: add revision difference handling

Different revisions of CM-X300 use different pins for several functions.
Make the kernel aware of it.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/viper: convert to use plat_serial8250_port irqflags field
Marc Zyngier [Sat, 14 Nov 2009 14:53:14 +0000 (15:53 +0100)]
[ARM] pxa/viper: convert to use plat_serial8250_port irqflags field

Use .irqflags in the plat_serial8250_port structure to set IRQ
polarity, and get rid of the corresponding set_irq_type().

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/ezx: update ezx_defconfig now that ezx-pcap is in
Antonio Ospite [Wed, 4 Nov 2009 21:35:01 +0000 (22:35 +0100)]
[ARM] pxa/ezx: update ezx_defconfig now that ezx-pcap is in

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/ezx: add leds-lp3944 support for A910 EZX phone
Antonio Ospite [Tue, 3 Nov 2009 16:45:33 +0000 (17:45 +0100)]
[ARM] pxa/ezx: add leds-lp3944 support for A910 EZX phone

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/ezx: add camera support for A780 and A910 EZX phones
Antonio Ospite [Thu, 12 Nov 2009 14:47:04 +0000 (15:47 +0100)]
[ARM] pxa/ezx: add camera support for A780 and A910 EZX phones

Signed-off-by: Bart Visscher <bartv@thisnet.nl>
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/zaurus: rename spitz_battery_levels_* to sharpsl_*
Pavel Machek [Thu, 22 Oct 2009 20:16:34 +0000 (22:16 +0200)]
[ARM] pxa/zaurus: rename spitz_battery_levels_* to sharpsl_*

Battery power levels are shared between spitz and corgi, rename
variable to reflect it.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/zaurus: cleanup sharpsl_pm.c
Pavel Machek [Thu, 22 Oct 2009 19:35:33 +0000 (21:35 +0200)]
[ARM] pxa/zaurus: cleanup sharpsl_pm.c

This fixes checkpatch/style problems in sharpsl_pm.c, allowing me to
submit real fixes next.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: rename macro from pxa9xx to pxa93x
Haojian Zhuang [Thu, 5 Nov 2009 02:58:16 +0000 (21:58 -0500)]
[ARM] pxa: rename macro from pxa9xx to pxa93x

Because original macro can only judge whether current CPU is pxa93x,
rename the macro to correct name.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add EXT_WAKEUP interrupts handling for pxa3xx
Mike Rapoport [Wed, 11 Nov 2009 09:36:59 +0000 (11:36 +0200)]
[ARM] pxa: add EXT_WAKEUP interrupts handling for pxa3xx

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: make CPU_PXA* to be selectable hidden options
Eric Miao [Mon, 9 Nov 2009 06:37:59 +0000 (14:37 +0800)]
[ARM] pxa: make CPU_PXA* to be selectable hidden options

CONFIG_CPU_PXA{300,310,320,930,935,950} are really platform dependent
and should be made into selectable hidden options.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: select CPU_PXA310 for MACH_COLIBRI300
Eric Miao [Mon, 9 Nov 2009 06:40:47 +0000 (14:40 +0800)]
[ARM] pxa: select CPU_PXA310 for MACH_COLIBRI300

MACH_COLIBRI300 is supposed to support both PXA300 and PXA310, select
the missing CPU_PXA310.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Acked-by: Daniel Mack <daniel@caiaq.de>
14 years ago[ARM] pxa: introduce CONFIG_MACH_ZYLONITE{300,320} for CPU_PXA* removing
Eric Miao [Mon, 9 Nov 2009 06:25:52 +0000 (14:25 +0800)]
[ARM] pxa: introduce CONFIG_MACH_ZYLONITE{300,320} for CPU_PXA* removing

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: allow platforms to control which uarts are registered
Russell King [Mon, 9 Nov 2009 05:34:08 +0000 (13:34 +0800)]
[ARM] pxa: allow platforms to control which uarts are registered

For some platforms, it is inappropriate to register all PXA UARTs.
In some cases, the UARTs may not be used, and in others we may want
to avoid registering the UARTs to allow other drivers (eg, FICP) to
make use of the UART.

In addition, a while back there was a request to be able to pass
platform data to the UART driver.

This patch enables all of this by providing functions platforms can
call to register each individual UART.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add U2D registers and bits definitions
Igor Grinberg [Wed, 4 Nov 2009 12:14:40 +0000 (14:14 +0200)]
[ARM] pxa: add U2D registers and bits definitions

This should be eventually moved to somewhere closer to the U2D driver,
but is kept here atm so it's easier for USB configuration code to work.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: register U2D clock for pxa3xx
Igor Grinberg [Wed, 4 Nov 2009 12:14:39 +0000 (14:14 +0200)]
[ARM] pxa: register U2D clock for pxa3xx

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: use platform_device_id table for SSP driver
Eric Miao [Thu, 22 Oct 2009 16:09:47 +0000 (00:09 +0800)]
[ARM] pxa: use platform_device_id table for SSP driver

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add apmu clock support in mmp
Haojian Zhuang [Thu, 10 Sep 2009 06:01:22 +0000 (14:01 +0800)]
[ARM] pxa: add apmu clock support in mmp

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add missing irq events for pxa168
Haojian Zhuang [Fri, 4 Sep 2009 09:33:23 +0000 (17:33 +0800)]
[ARM] pxa: add missing irq events for pxa168

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: re-order platforms in Kconfig and Makefile
Eric Miao [Mon, 12 Oct 2009 01:32:07 +0000 (09:32 +0800)]
[ARM] pxa: re-order platforms in Kconfig and Makefile

Due to the naming mess in Kconfig and Makefile, I'd like to get them sorted
in the following order:

 1. By category:
    Intel/Marvell Dev Platforms, followed by 3rd party platforms, followed
    by end-user products (this is to ensure the commonly referenced platforms
    will appear first)

 2. By vendor name in alphabetic within each category
    (this is to ensure code reuse and similar platforms can be grouped as
     much as possible)

   VENDOR        BOARD
Intel/Marvell   Lubbock
Intel/Marvell   Mainstone
Intel/Marvell   Zylonite
Intel/Marvell   Littleton
Intel/Marvell   TavorEVB
Intel/Marvell   SAAR

Accelent        IDP
Arcom/Eurotech  VIPER
Community       Balloon3
Cogent          CSB726
CompuLab        EM_X270
CompuLab        EXEDA
CompuLab        ARMCORE
CompuLab        CM_X300
Gumstix         Gumstix
Intel Research  MOTE2
Intel research  Stargate2
Iskratel        XCEP
Keith and Koep  Trizeps4
LogicPD         LPD270
Phytec          PCM027
Toradex         Colibri

HP              HX4700
HP              H5000
HTC             Himalaya
HTC             Magician
Mitac           MioA701
Motorola        EZX
NEC             MP900C
Palm            Palm PDA
Palm            Palm GSM
Sharp           Zaurus
Toshiba         E-Series

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/treo: add Palm Centro 685 support
Tomáš Čech [Fri, 11 Sep 2009 11:57:02 +0000 (13:57 +0200)]
[ARM] pxa/treo: add Palm Centro 685 support

Signed-off-by: Tomáš Čech <sleep_walker@suse.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/treo: generalisation of Treo680 code
Tomáš Čech [Fri, 11 Sep 2009 11:57:01 +0000 (13:57 +0200)]
[ARM] pxa/treo: generalisation of Treo680 code

Signed-off-by: Tomáš Čech <sleep_walker@suse.cz>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: update flash structure in onenand info
Haojian Zhuang [Fri, 20 Nov 2009 15:57:16 +0000 (10:57 -0500)]
[ARM] pxa: update flash structure in onenand info

Since flash structure is changed from flash_platform_data to
onenand_platform_data in generic driver. Update the struct in saar
and ttc platform driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add onenand support for SAAR
Haojian Zhuang [Fri, 25 Sep 2009 17:15:28 +0000 (13:15 -0400)]
[ARM] pxa: add onenand support for SAAR

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add onenand support for TTC-DKB
Haojian Zhuang [Tue, 22 Sep 2009 17:57:35 +0000 (01:57 +0800)]
[ARM] pxa: add onenand support for TTC-DKB

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add nand support in aspensite board
Haojian Zhuang [Thu, 10 Sep 2009 06:37:48 +0000 (14:37 +0800)]
[ARM] pxa: add nand support in aspensite board

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa: add nand device and clock for pxa168/pxa910
Haojian Zhuang [Tue, 13 Oct 2009 07:24:55 +0000 (15:24 +0800)]
[ARM] pxa: add nand device and clock for pxa168/pxa910

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: move pxa3xx_nand.h common into plat directory
Haojian Zhuang [Thu, 10 Sep 2009 05:55:23 +0000 (13:55 +0800)]
pxa3xx_nand: move pxa3xx_nand.h common into plat directory

Since the same nand controller is shared between ARCH_PXA and ARCH_MMP. Move
the pxa3xx_nand.h from mach directory to plat directoy.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: David Woodhouse <david.woodhouse@intel.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: update dependancy to support ARCH_MMP
Haojian Zhuang [Thu, 10 Sep 2009 05:49:45 +0000 (13:49 +0800)]
pxa3xx_nand: update dependancy to support ARCH_MMP

MTD_NAND_PXA3xx module is shared between ARCH_PXA and ARCH_MMP. Update
this configuration according to it.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: add new nand chip support
Haojian Zhuang [Thu, 10 Sep 2009 06:33:30 +0000 (14:33 +0800)]
pxa3xx_nand: add new nand chip support

Support samsung 2GbX8 and 32GbX8 nand flash.
Support micron 4GbX8 and 4GbX16 nand flash.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: disable nand irq in initialization
Haojian Zhuang [Thu, 10 Sep 2009 06:27:23 +0000 (14:27 +0800)]
pxa3xx_nand: disable nand irq in initialization

In some bootloader, IRQ is enabled. Writing nand triggers unexpected
interrupts. So disable nand irq in initialization. After nand
initialized and in working state, irq is controlled by nand driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: remove hardcode irq number
Haojian Zhuang [Thu, 10 Sep 2009 06:22:55 +0000 (14:22 +0800)]
pxa3xx_nand: remove hardcode irq number

Nand driver uses IRQ_NAND as hardcode irq number. In ARCH_MMP, the irq
number is different. So get irq resource from platform device structure
and use it in initialization and deinitialization code.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: remove hardcode register address
Haojian Zhuang [Thu, 10 Sep 2009 06:11:44 +0000 (14:11 +0800)]
pxa3xx_nand: remove hardcode register address

Although nand controller is same between PXA3xx and MMP, the register space
is different. Remove the hardcode register address setting in pxa3xx_nand.h.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: adjust timing of Micron NAND flash
Haojian Zhuang [Wed, 14 Oct 2009 07:47:01 +0000 (15:47 +0800)]
pxa3xx_nand: adjust timing of Micron NAND flash

Slow down the tRp of Micron NAND flash timing.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: reset read buffer before reading
Haojian Zhuang [Mon, 14 Sep 2009 12:21:01 +0000 (20:21 +0800)]
pxa3xx_nand: reset read buffer before reading

Initialize the read buffer content to 0xFF.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa3xx_nand: fix memory out of bound
Haojian Zhuang [Fri, 11 Sep 2009 11:33:58 +0000 (19:33 +0800)]
pxa3xx_nand: fix memory out of bound

When fetch nand data with non-DMA mode, we should align info->data_size to
32bit, not 8bit.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years ago[ARM] pxa/saar: set default WLED output current
Haojian Zhuang [Thu, 5 Nov 2009 15:31:01 +0000 (10:31 -0500)]
[ARM] pxa/saar: set default WLED output current

Set default WLED output current in saar. Otherwise, LCD backlight won't be
effective.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agobacklight: da903x_bl: control WLED output current in da9034
Haojian Zhuang [Thu, 5 Nov 2009 15:27:13 +0000 (10:27 -0500)]
backlight: da903x_bl: control WLED output current in da9034

Update WLED output current source before changing brightness.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agobacklight: tdo24m: ensure chip select changes between transfers
Mike Rapoport [Tue, 24 Nov 2009 08:25:33 +0000 (10:25 +0200)]
backlight: tdo24m: ensure chip select changes between transfers

Some SPI host drivers do not change chip select betwen transfers unless
.cs_chnage field is explicitly set. The LCD spec requires chip select
change between consecuitive transfers, so ensure it at the SPI driver
level.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxamci: introduce mmc_has_26mhz() and include pxa935
Haojian Zhuang [Mon, 31 Aug 2009 13:52:53 +0000 (21:52 +0800)]
pxamci: introduce mmc_has_26mhz() and include pxa935

Along with more processor supporting 26MHz mode (including pxa935),
introduce an individual macro mmc_has_26mhz() for this.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa168fb: remove useless vsync/hsync invert flag
Jun Nie [Tue, 10 Nov 2009 07:11:36 +0000 (15:11 +0800)]
pxa168fb: remove useless vsync/hsync invert flag

fb_var_screeninfo.var has already encoded this information.

Signed-off-by: Jun Nie <njun@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxa168fb: fix offset setting at initialization
Jun Nie [Tue, 10 Nov 2009 01:33:49 +0000 (09:33 +0800)]
pxa168fb: fix offset setting at initialization

Signed-off-by: Jun Nie <njun@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxafb: add transparency field to pxafb_mode_info struct
Pieter Grimmerink [Fri, 13 Nov 2009 09:28:54 +0000 (10:28 +0100)]
pxafb: add transparency field to pxafb_mode_info struct

This allows to select either RGB565 (transparency 0) or RGBT555
(transparency 1) from the mode info

Signed-off-by: Pieter Grimmerink <p.grimmerink@inepro.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agopxafb: use passed fb_var_screeninfo struct in pxafb_pan_display()
Sven Neumann [Thu, 22 Oct 2009 06:34:34 +0000 (08:34 +0200)]
pxafb: use passed fb_var_screeninfo struct in pxafb_pan_display()

pxafb_pan_display() used to ignore the fb_var_screeninfo parameter. Now
pass it to setup_base_frame() instead of pulling default values out of
fb_info.

And the original patch has an issue of pxafb_pan_display() paying only
attention to the 'var' parameter passed in, and Ville Syrjälä pointed
out, this is potentially dangerous as user could pass in any other
screeninfo parameters as well, and not only such that are relevant for
display panning. This is fixed by limiting the arguments actually used
to .xoffset, .yoffset and .vmode & FB_VMODE_YWRAP.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Cc: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agoMAINTAINERS: Add entries for IMote 2 and Stargate 2
Jonathan Cameron [Thu, 15 Oct 2009 15:39:30 +0000 (16:39 +0100)]
MAINTAINERS: Add entries for IMote 2 and Stargate 2

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
14 years agoRTC: let Dove soc select the rtc-mv driver.
Saeed Bishara [Tue, 24 Nov 2009 17:33:53 +0000 (19:33 +0200)]
RTC: let Dove soc select the rtc-mv driver.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>