initial commit
patch-3.7.1
Just cosmetic

Keep this display as number 6, to be in sync with the older kernels

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
s3c2440: mini2440: Add support for new LCD panels.

This patch add support for new mini2440 board LCD's:
3.5" TFT + TS (TD035STED4)
5.6" TFT (Innolux AT056TN52).
3.5" TFT + TS (SONY X35)

Values overtaken from mini2440 kernel:
git://repo.or.cz/linux-2.6/mini2440.git
and https://github.com/a1ien/mini2440-linux-kernel

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
s3c2440: mini2440: Add touchscreen support for mini2440.

Patch add support for mini2440 touchscreen.
Some code borrowed from:
git://repo.or.cz/linux-2.6/mini2440.git

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
s3c2440: mini2440: Select touchscreen by default.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
s3c2440: mini2440: Use leds-gpio driver for board leds

Intention of this patch is convert existing usage of leds-s3c24xx driver
to use generic gpio-leds driver. Leds are separated to 2 devices.
First device handle 4 available leds. Second device is used to drive
LCD backlight. Backlight can be controlled via parameter b so we need
separate device which is registered or not depending on parameter.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
rtc: rtc-s3c: Disable alarm entries that are not chosen.

When rtc_setalarm is called, the entries that are not chosen (entries
without valid time values) should be disabled. However, in the previous
rtc-s3c driver, they are not explicitly disabled (did not changed). This
patch allows to disable such entries even if they were previously used.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
dm9000: Make the driver follow the IRQF_SHARED contract

The dm9000 driver requests a shared interrupt but doesn't return
IRQ_NONE when the device didn't generate the interrupt. This could lead
to the other devices sharing the irq never getting an interrupt. This
patch makes the routine return IRQ_NONE for the path where no work was
done.

Signed-off-by: Daniel Morsing <daniel.morsing@gmail.com>
Cc: stable@kernel.org
Speed up detecting the NAND

It makes no sense to instruct the MTD framework to make use of the in flash
bad block table and then also add the flag to skip its search. This ends up
in scanning all page's OOB to get the bad block info again and again. And it
will slow down the start up process instead of shorten it (as the comment
suggests).

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
s3c2410fb: Don't forget to remove the device attribute

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Remove useless code if debug is not enabled

If one do not want to debug something, why still providing the code to do so?

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Enable display even without graphics console

If no graphics console is enabled the LCD gets not activated otherwise.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Add hwmon capabilities to mini2440

This adds the internal 8 ADC channels to the sysfs. They can be reached via:

 /sys/devices/platform/s3c24xx-adc/s3c-hwmon

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Remove a race from the s3c2410 touch driver

There seems a race in the driver when it uses the bit 15 from the dat0 and dat1
register: These bits are only valid when the pen interrupt feature is enabled.
This is not the case when a regular touchscreen X/Y conversion is running. It
only works due to a small race between s3c24xx_ts_select(), stylus_irq() and
touch_timer_fire(). It is broken immediately when the debug output of the
touchscreen driver will be enabled or the debug output of the ADC driver. In
this case the conversion never stops, even there is no pressure on the touch
anymore.

This patch simplifies the driver and stops any further conversion if the pen up
interrupt is received. Pen up and down detection is now done only in the
pen interrupt routine. This also prevents the driver forwarding garbage data
to userland, because when the pen is up, the X value is always 0.

Note: This patch makes the driver stop working on a S3C2410 CPU.

Singed-off-by: Juergen Beisert <jbe@pengutronix.de>
Handle the visible size of a display in the kernel

Instead of guessing the visible size of the graphic area at
run-time, set it up in the kernel with the data from its datasheet

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Add the known phyical display sizes the Mini2440 uses

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Add the N43i display unit to the list of known displays

The N43i display unit comes with a NEC NL4827HC19-01B LCD and
touch support. The LCD has a resolution of 480 x 272.

Signed-off-by: amit shah <techlist.amit@gmail.com>
Acked-by: Juergen Beisert <jbe@pengutronix.de>
Mini2440: Enable button 6 as one of the GPIO keys

There is no more restriction to omit button 6

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
samsung-plat: Avoid division by zero

The pwm-beeper driver crashes the PWM driver by calling with a period time of
zero nanoseconds.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>