[PATCH] ARM: S3C2416: Add Power Management support for SMDK2416

2010-07-12 Thread Sangbeom Kim
From: Abhilash Kesavan Adds suspend-to-ram support for SMDK2416 based on existing 2412 PM code Signed-off-by: Abhilash Kesavan Signed-off-by: Sangbeom Kim --- Note: it depends on patches: ARM: S3C24XX: Fix gpiolib support for ports K..M .../mach-s3c2410/include/mach/regs-s3c2443-clock.h |

Re: [PATCH v2] ARM: s5pv210_defconfig: Update for removing s5pc110_defconfig

2010-07-12 Thread Kyungmin Park
On Tue, Jul 13, 2010 at 3:17 PM, Kukjin Kim wrote: > Kyungmin Park wrote: >> >> Question? >> >> Are there difference between smdkc110 and smdkv210? > > Yes. > > The components on the board are different such as default LCD module, > external memory, connector, and so on. It seems to be handle at

RE: [PATCH v2] ARM: s5pv210_defconfig: Update for removing s5pc110_defconfig

2010-07-12 Thread Kukjin Kim
Kyungmin Park wrote: > > Question? > > Are there difference between smdkc110 and smdkv210? Yes. The components on the board are different such as default LCD module, external memory, connector, and so on. > > Thank you, > Kyungmin Park > > On Tue, Jul 13, 2010 at 11:22 AM, Kukjin Kim wrote:

[PATCH v7] libata: pata_samsung: Add Samsung PATA controller driver

2010-07-12 Thread Kukjin Kim
From: Abhilash Kesavan Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem. Signed-off-by: Abhilash Kesavan Signed-off-by: Kukjin Kim Cc: Ben Dooks Acked-by: Sergei Shtylyov --- Changes since v6:

RE: [PATCH v6] libata: pata_samsung: Add Samsung PATA controller driver

2010-07-12 Thread Kukjin Kim
Sergei Shtylyov wrote: > > Hello. Hi ;-) > > Kukjin Kim wrote: > > > From: Abhilash Kesavan > > > Adds support for the Samsung PATA controller. This driver is based on the > > Libata subsystem and references the earlier patches sent for IDE subsystem. > > > Signed-off-by: Abhilash Kesavan >

Re: [PATCH v2] s3c-fb: Automatically calculate pixel clock when none is given

2010-07-12 Thread yiffie9819
I tested this patch by using s5pv210. It is verified by linux-2.6.32. The result of test is the same pixel clock as before applying patch. Tested-by: Donghwa Lee 2010/7/13 Maurus Cuelenaere > This patch adds a simple algorithm which calculates the pixel clock based on > the > video mode para

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread KAMEZAWA Hiroyuki
On Tue, 13 Jul 2010 11:05:26 +0900 Minchan Kim wrote: > On Tue, Jul 13, 2010 at 9:25 AM, KAMEZAWA Hiroyuki > wrote: > > For example, prepare a page filled with (1 << PG_reserved). > > and replace it with unnecessary memmap rather than freeing a page for > > memmap. > > Hmm. I don't got your p

Re: [PATCH v2] ARM: s5pv210_defconfig: Update for removing s5pc110_defconfig

2010-07-12 Thread Kyungmin Park
Question? Are there difference between smdkc110 and smdkv210? Thank you, Kyungmin Park On Tue, Jul 13, 2010 at 11:22 AM, Kukjin Kim wrote: > Now that S5PC110 machines and S5PV210 machines can be built into > one kernel, update mach-s5pv210/Kconfig and s5pv210_defconfig. > > Tested on SMDKC110(S

[PATCH v2] ARM: s5pv210_defconfig: Update for removing s5pc110_defconfig

2010-07-12 Thread Kukjin Kim
Now that S5PC110 machines and S5PV210 machines can be built into one kernel, update mach-s5pv210/Kconfig and s5pv210_defconfig. Tested on SMDKC110(S5PC110) and SMDKV210(S5PV210). Note that GONI machine ID is not included in the kernel. Created and tested against linux-2.6.35-rc5. Signed-off-by:

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Minchan Kim
On Tue, Jul 13, 2010 at 9:25 AM, KAMEZAWA Hiroyuki wrote: > On Mon, 12 Jul 2010 19:35:17 +0900 > Minchan Kim wrote: > >> Hi, Mel and Kame. >> >> On Mon, Jul 12, 2010 at 7:13 PM, Kukjin Kim wrote: >> > Minchan Kim wrote: >> >> >> >> Hello. >> >> >> > Hello :-) >> > >> >> On Mon, Jul 12, 2010 at 5

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread KAMEZAWA Hiroyuki
On Tue, 13 Jul 2010 09:25:22 +0900 KAMEZAWA Hiroyuki wrote: > On Mon, 12 Jul 2010 19:35:17 +0900 > Minchan Kim wrote: > > > Hi, Mel and Kame. > > > > On Mon, Jul 12, 2010 at 7:13 PM, Kukjin Kim wrote: > > > Minchan Kim wrote: > > >> > > >> Hello. > > >> > > > Hello :-) > > > > > >> On Mon, Ju

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread KAMEZAWA Hiroyuki
On Mon, 12 Jul 2010 19:35:17 +0900 Minchan Kim wrote: > Hi, Mel and Kame. > > On Mon, Jul 12, 2010 at 7:13 PM, Kukjin Kim wrote: > > Minchan Kim wrote: > >> > >> Hello. > >> > > Hello :-) > > > >> On Mon, Jul 12, 2010 at 5:32 PM, Kukjin Kim wrote: > >> > Russell, > >> > > >> > Hi, > >> > > >>

[PATCH] ARM: S3C6410: Move SmartQ LCD control platform definition to shared file

2010-07-12 Thread Maurus Cuelenaere
This shares the common LCD control platform definition used in the SmartQ 5 and 7. This also corrects it as a GPIO bitbanged SPI device instead of an I²C one, which was wrong. Signed-off-by: Maurus Cuelenaere --- arch/arm/mach-s3c64xx/mach-smartq.c | 32 ++-- arch/

[PATCH v2] s3c-fb: Automatically calculate pixel clock when none is given

2010-07-12 Thread Maurus Cuelenaere
This patch adds a simple algorithm which calculates the pixel clock based on the video mode parameters. This is only done when no pixel clock is supplied through the platform data. Signed-off-by: Maurus Cuelenaere --- Changes since v1: Re-posted this to the correct fbdev mailing list. --- driv

[PATCH] ARM: SAMSUNG: Remove pixclock from several boards

2010-07-12 Thread Maurus Cuelenaere
Since "s3c-fb: Automatically calculate pixel clock when none is given", there's no need for manually calculating the pixel clock anymore so remove these lines and add the correct refresh rate where appropriately. Signed-off-by: Maurus Cuelenaere --- This was only tested on a S3C6410 SmartQ 7, so

[PATCH] s3c-fb: Automatically calculate pixel clock when none is given

2010-07-12 Thread Maurus Cuelenaere
This patch adds a simple algorithm which calculates the pixel clock based on the video mode parameters. This is only done when no pixel clock is supplied through the platform data. Signed-off-by: Maurus Cuelenaere --- drivers/video/s3c-fb.c | 25 + 1 files changed, 25 i

Re: [PATCH 1/3] sdhci-s3c: add missing remove function

2010-07-12 Thread Andrew Morton
On Mon, 12 Jul 2010 13:04:09 +0200 Marek Szyprowski wrote: > > > static int __devexit sdhci_s3c_remove(struct platform_device *pdev) > > > { > > > + struct sdhci_host *host = platform_get_drvdata(pdev); > > > + struct sdhci_s3c *sc = sdhci_priv(host); > > > + int ptr; > > > + > > > + sdhci_rem

[PATCH v3] sdhci-s3c: add support for new card detection methods

2010-07-12 Thread Marek Szyprowski
On some Samsung SoCs not all SDHCI controllers have card detect (CD) line. For some embedded designs it is not even needed, because ususally the device (like SDIO flash memory or wifi controller) is permanently wired to the controller. There are also systems which have a card detect line connected

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Russell King - ARM Linux
On Mon, Jul 12, 2010 at 09:28:16PM +0900, Minchan Kim wrote: > It just checks that there is a section and section_mem_map has > SECTION_HAS_MEM_MAP. > The first section in above case has just 80M memory but section has 256M. > So, 0x2500 - 2800 is the hole. If you pass pfn whihc is 0x2500

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Minchan Kim
On Mon, Jul 12, 2010 at 11:45:41AM +0100, Russell King - ARM Linux wrote: > On Mon, Jul 12, 2010 at 06:52:28PM +0900, Minchan Kim wrote: > > Hello. > > > > On Mon, Jul 12, 2010 at 5:32 PM, Kukjin Kim wrote: > > > Russell, > > > > > > Hi, > > > > > > Kukjin Kim wrote: > > >> Russell wrote: > > >>

RE: [PATCH 1/3] sdhci-s3c: add missing remove function

2010-07-12 Thread Marek Szyprowski
Hello, On Friday, July 09, 2010 11:26 PM Andrew Morton wrote: > On Wed, 16 Jun 2010 08:49:54 +0200 > Marek Szyprowski wrote: > > > Signed-off-by: Marek Szyprowski > > Signed-off-by: Kyungmin Park > > --- > > drivers/mmc/host/sdhci-s3c.c | 20 > > 1 files changed, 20 in

RE: [PATCH 3/3] sdhci-s3c: add support for new card detection methods

2010-07-12 Thread Marek Szyprowski
Hello, On Friday, July 09, 2010 11:25 PM Andrew Morton wrote: On Wed, 16 Jun 2010 08:49:56 +0200 > Marek Szyprowski wrote: > > > On some Samsung SoCs not all SDHCI controllers have card detect (CD) > > line. For some embedded designs it is not even needed, because ususally > > the device (like

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Russell King - ARM Linux
On Mon, Jul 12, 2010 at 06:52:28PM +0900, Minchan Kim wrote: > Hello. > > On Mon, Jul 12, 2010 at 5:32 PM, Kukjin Kim wrote: > > Russell, > > > > Hi, > > > > Kukjin Kim wrote: > >> Russell wrote: > >> > So, memory starts at 0x2000 and finishes at 0x2500.  That's > > fine. > >> > That does

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Minchan Kim
Hi, Mel and Kame. On Mon, Jul 12, 2010 at 7:13 PM, Kukjin Kim wrote: > Minchan Kim wrote: >> >> Hello. >> > Hello :-) > >> On Mon, Jul 12, 2010 at 5:32 PM, Kukjin Kim wrote: >> > Russell, >> > >> > Hi, >> > >> > Kukjin Kim wrote: >> >> Russell wrote: >> >> > So, memory starts at 0x2000 and f

RE: [PATCH 2/3] sdhci-s3c: add support for the non standard minimal clock value

2010-07-12 Thread Marek Szyprowski
Hello, On Friday, July 09, 2010 11:19 PM Andrew Morton wrote: > On Wed, 16 Jun 2010 08:49:55 +0200 > Marek Szyprowski wrote: > > > S3C SDHCI host controller can change the source for generating mmc clock. > > By default host bus clock is used, what causes some problems on machines > > with 133M

RE: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Kukjin Kim
Minchan Kim wrote: > > Hello. > Hello :-) > On Mon, Jul 12, 2010 at 5:32 PM, Kukjin Kim wrote: > > Russell, > > > > Hi, > > > > Kukjin Kim wrote: > >> Russell wrote: > >> > So, memory starts at 0x2000 and finishes at 0x2500.  That's > > fine. > >> > That doesn't mean the section size is

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Russell King - ARM Linux
On Mon, Jul 12, 2010 at 07:08:11PM +0900, Kyungmin Park wrote: > 27 for our board. 28 for generic. > > Note that I enabled HIGHMEM and modify the VMALLOC_END to 0xd000' > to test HIGHMEM. If you want to test HIGHMEM, the way to do it is to specify a vmalloc= parameter to the kernel, not to mo

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Kyungmin Park
On Mon, Jul 12, 2010 at 6:58 PM, Kukjin Kim wrote: > Kyungmin Park wrote: > >> >> Interesting. >> >> I got tested with >> #define MAX_PHYSMEM_BITS        31 >> #define SECTION_SIZE_BITS       27 >> >> # cat /proc/sys/vm/min_free_kbytes >> 1832 >> # echo 1828 > /proc/sys/vm/min_free_kbytes >> # cat

RE: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Kukjin Kim
Kyungmin Park wrote: > > Interesting. > > I got tested with > #define MAX_PHYSMEM_BITS31 > #define SECTION_SIZE_BITS 27 > > # cat /proc/sys/vm/min_free_kbytes > 1832 > # echo 1828 > /proc/sys/vm/min_free_kbytes > # cat /proc/sys/vm/min_free_kbytes > 1828 > # echo 1820 > /proc/sys/

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Minchan Kim
Hello. On Mon, Jul 12, 2010 at 5:32 PM, Kukjin Kim wrote: > Russell, > > Hi, > > Kukjin Kim wrote: >> Russell wrote: >> > So, memory starts at 0x2000 and finishes at 0x2500.  That's > fine. >> > That doesn't mean the section size is 16MB. >> > >> > As I've already said, the section size h

Re: About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Kyungmin Park
Interesting. I got tested with #define MAX_PHYSMEM_BITS31 #define SECTION_SIZE_BITS 27 # cat /proc/sys/vm/min_free_kbytes 1832 # echo 1828 > /proc/sys/vm/min_free_kbytes # cat /proc/sys/vm/min_free_kbytes 1828 # echo 1820 > /proc/sys/vm/min_free_kbytes # cat /proc/sys/vm/min_free_kb

Re: [PATCH v6] libata: pata_samsung: Add Samsung PATA controller driver

2010-07-12 Thread Sergei Shtylyov
Hello. Kukjin Kim wrote: From: Abhilash Kesavan Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem. Signed-off-by: Abhilash Kesavan Signed-off-by: Kukjin Kim Cc: Ben Dooks There's pr

About SECTION_SIZE_BITS for Sparsemem

2010-07-12 Thread Kukjin Kim
Russell, Hi, Kukjin Kim wrote: > Russell wrote: > > So, memory starts at 0x2000 and finishes at 0x2500. That's fine. > > That doesn't mean the section size is 16MB. > > > > As I've already said, the section size has _nothing_ what so ever to do > > with the size of memory, or the granul