[PATCH v2] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-15 Thread Marek Szyprowski
clkdev framework uses global mutex to protect clock tree, so it is not possible to call clk_get() in interrupt context. This patch fixes this issue and makes system reset by watchdog call working again. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos4

[PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-18 Thread Marek Szyprowski
clkdev framework uses global mutex to protect clock tree, so it is not possible to call clk_get() in interrupt context. This patch fixes this issue and makes system reset by watchdog call working again. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung

RE: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Marek Szyprowski
Hello, On Friday, August 19, 2011 11:38 AM Tushar Behera wrote: > Hi, > > On Thursday 18 August 2011 03:55 PM, Marek Szyprowski wrote: > > clkdev framework uses global mutex to protect clock tree, so it is not > > possible to call clk_get() in interrupt context. This patch

RE: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Marek Szyprowski
Hello, On Friday, August 19, 2011 3:06 PM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > clkdev framework uses global mutex to protect clock tree, so it is not > > possible to call clk_get() in interrupt context. This patch fixes this > > issue and makes sy

[PATCH] GPIO: Samsung: fix broken configuration for Exynos4 GPIO banks

2011-09-22 Thread Marek Szyprowski
Commit 1b39d5f2cc introduced new common gpio driver for all Samsung GPIO SoCs. The new driver doesn't work correctly on Samsung Exynos4 SoC. It fails to set configuration for all but external interrupt pins. This patch fixes this issue. Signed-off-by: Marek Szyprowski Signed-off-by: Kyu

RE: [RESEND PATCH 2/2] s5p-tv: Add PM_RUNTIME dependency

2011-09-22 Thread Marek Szyprowski
dia/video/s5p-tv/Kconfig > @@ -8,7 +8,7 @@ > > config VIDEO_SAMSUNG_S5P_TV > bool "Samsung TV driver for S5P platform (experimental)" > - depends on PLAT_S5P > + depends on PLAT_S5P && PM_RUNTIME > depends on EXPERIMENTAL > default n >

[PATCH RESEND] drivers: i2c: s3c2410: add support for HDMIPHY dedicated controller

2011-09-22 Thread Marek Szyprowski
From: Tomasz Stanislawski This patch adds support for I2C HDMIPHY dedicated controller. It has different timeout handling and reset conditions. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/i2c/busses/i2c-s3c2410.c | 36

[PATCH] GPIO: Samsung: fix GPIO interrupt registration for Exynos4 SoCs

2011-09-22 Thread Marek Szyprowski
Commit 1b39d5f2cc introduced new common gpio driver for all Samsung GPIO SoCs. The new driver doesn't correctly register GPIO interrupts on Samsung Exynos4 SoCs. This is caused by a typo in define name. This patch fixes this issue. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin

[PATCH] ARM: Samsung: gpio-interrupts: fix incorrect loop iterator usage

2011-09-22 Thread Marek Szyprowski
Loop iterator value after terminating list_for_each_entry() is not NULL. This patch fixes incorrect iterator usage in GPIO interrupt code for Samsung S5P platforms. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat-s5p/irq-gpioint.c |9 + 1 files

[PATCH] GPIO: Samsung: correct pin configuration for S5PC100/S5PC110/Exynos4

2011-09-23 Thread Marek Szyprowski
Commit 1b39d5f2cc introduced new common gpio driver for all Samsung GPIO SoCs. The new driver use wrong configuration setup for all gpio pins on S5PC100 and S5PV210 SoCs and external interrupt lines on Exynos4 SoCs. This patch fixes this issue. Signed-off-by: Marek Szyprowski Signed-off-by

[PATCH] ARM: Samsung: gpio-interrupts: fix offset calculation

2011-10-18 Thread Marek Szyprowski
Offsets of the irq controller registers were calculated correctly only for first GPIO bank. This patch fixes calculation of the register offsets for all GPIO banks. Reported-by: Sylwester Nawrocki Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat-s5p/irq-gpioint.c

RE: [PATCH v2 2/3] ARM: Exynos4: Add ioremap interceptor for statically remapped regions

2011-11-28 Thread Marek Szyprowski
/mach/io.h > @@ -22,5 +22,10 @@ > #define __mem_pci(a) (a) > > #define IO_SPACE_LIMIT (0x) > +#define __arch_ioremap exynos4_ioremap > +#define __arch_iounmap __iounmap > + > +void __iomem *exynos4_ioremap(unsigned long phy, size_t size, > +

RE: [PATCH v7 2/2] iommu/exynos: Add iommu driver for Exynos Platforms

2011-12-06 Thread Marek Szyprowski
} > + } > + > + pgtable_flush(pent - nent, pent); > + > + *pgcounter -= nent; > + if (*pgcounter < 0) > + pr_err("%s: pgcounter < 0: pgcounter = %d, nent = %d\n", > + __func__, *pgco

RE: [PATCH v7 1/2] ARM: EXYNOS: Change System MMU platform device definitions

2011-12-06 Thread Marek Szyprowski
0 > select EXYNOS4_SETUP_SDHCI > select EXYNOS4_SETUP_USB_PHY > + select EXYNOS4_DEV_SYSMMU The "select EXYNOS4_DEV_SYSMMU" statement is missing for UniversalC210 and SMDK boards what causes compilation issues if only these boards are selected. Best

RE: [PATCH 1/3] PM: Provide an always on power domain governor

2011-12-06 Thread Marek Szyprowski
bout similar patches for S5PV210/S5PC110 series and Exynos4? gen_pd based power domain code for Exynos4 have been rejected in favor of custom platform-device based power domain drivers. It would be much easier to have only one type of the drivers across different Samsung SoCs. This will also help

RE: [PATCH v7 2/2] iommu/exynos: Add iommu driver for Exynos Platforms

2011-12-06 Thread Marek Szyprowski
Hello, On Tuesday, December 06, 2011 1:21 PM KyongHo Cho wrote: > On Tue, Dec 6, 2011 at 8:48 PM, Marek Szyprowski > wrote: > > Hello, > > > > I'm trying to integrate your SYSMMU driver with my DMA-mapping & IOMMU > > API integration patches. I've

[PATCH 1/8] ARM: dma-mapping: remove offset parameter to prepare for generic dma_ops

2011-12-09 Thread Marek Szyprowski
This patch removes the need for offset parameter in dma bounce functions. This is required to let dma-mapping framework on ARM architecture use common, generic dma-mapping helpers. Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/common/dmabounce.c| 13

[PATCH 0/8 v4] ARM: DMA-mapping framework redesign

2011-12-09 Thread Marek Szyprowski
s -- Marek Szyprowski Samsung Poland R&D Center Patch summary: Marek Szyprowski (8): ARM: dma-mapping: remove offset parameter to prepare for generic dma_ops ARM: dma-mapping: use asm-generic/dma-mapping-common.h ARM: dma-mapping: implement dma sg methods on top of any generic dma

[PATCH 5/8] ARM: dma-mapping: remove redundant code and cleanup

2011-12-09 Thread Marek Szyprowski
This patch just performs a global cleanup in DMA mapping implementation for ARM architecture. Some of the tiny helper functions have been moved to the caller code, some have been merged together. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mm/dma-mapping.c | 88

[PATCH 7/8] ARM: dma-mapping: use alloc, mmap, free from dma_ops

2011-12-09 Thread Marek Szyprowski
This patch converts dma_alloc/free/mmap_{coherent,writecombine} functions to use generic alloc/free/mmap methods from dma_map_ops structure. A new DMA_ATTR_WRITE_COMBINE DMA attribute have been introduced to implement writecombine methods. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin

[PATCH 4/8] ARM: dma-mapping: move all dma bounce code to separate dma ops structure

2011-12-09 Thread Marek Szyprowski
This patch removes dma bounce hooks from the common dma mapping implementation on ARM architecture and creates a separate set of dma_map_ops for dma bounce devices. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/common/dmabounce.c| 62

[PATCH 3/8] ARM: dma-mapping: implement dma sg methods on top of any generic dma ops

2011-12-09 Thread Marek Szyprowski
This patch converts all dma_sg methods to be generic (independent of the current DMA mapping implementation for ARM architecture). All dma sg operations are now implemented on top of respective dma_map_page/dma_sync_single_for* operations from dma_map_ops structure. Signed-off-by: Marek

[PATCH 8/8] ARM: dma-mapping: add support for IOMMU mapper

2011-12-09 Thread Marek Szyprowski
This patch add a complete implementation of DMA-mapping API for devices that have IOMMU support. All DMA-mapping calls are supported. This patch contains some of the code kindly provided by Krishna Reddy and Andrzej Pietrasiewicz Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park

[PATCH 2/8] ARM: dma-mapping: use asm-generic/dma-mapping-common.h

2011-12-09 Thread Marek Szyprowski
This patch modifies dma-mapping implementation on ARM architecture to use common dma_map_ops structure and asm-generic/dma-mapping-common.h helpers. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/Kconfig |1 + arch/arm/include/asm/device.h

[PATCH 6/8] common: dma-mapping: change alloc/free_coherent method to more generic alloc/free_attrs

2011-12-09 Thread Marek Szyprowski
-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- include/linux/dma-mapping.h | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index e13117c..b903a20 100644 --- a/include/linux/dma-mapping.h

RE: [PATCH 6/8] common: dma-mapping: change alloc/free_coherent method to more generic alloc/free_attrs

2011-12-14 Thread Marek Szyprowski
Hello, On Sunday, December 11, 2011 11:46 PM Stephen Rothwell wrote: > On Fri, 09 Dec 2011 17:39:56 +0100 Marek Szyprowski > wrote: > > > > Introduce new alloc/free/mmap methods that take attributes argument. > > alloc/free_coherent can be implemented on top of the

RE: [PATCH v8 0/2] ommu/exynos: Add IOMMU/System MMU driver for Samsung Exynos

2012-01-03 Thread Marek Szyprowski
is this not expected to work? Yes, there is something a bit wrong with your kernel configuration. You get this error if there is no board selected to be compiled-in. Please go to kernel configuration and select "System Type -> SAMSUNG EXYNOS SoCs Suppport". Then select some hardware

[PATCH 8/8 RESEND] ARM: dma-mapping: add support for IOMMU mapper

2012-01-09 Thread Marek Szyprowski
This patch add a complete implementation of DMA-mapping API for devices that have IOMMU support. All DMA-mapping calls are supported. This patch contains some of the code kindly provided by Krishna Reddy and Andrzej Pietrasiewicz Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park

RE: [PATCH 0/8 v4] ARM: DMA-mapping framework redesign

2012-01-10 Thread Marek Szyprowski
e everyone will find a branch that suits his needs. :) Best regards -- Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH] ARM: EXYNOS: Enable MDMA driver

2012-01-16 Thread Marek Szyprowski
268 > > #define EXYNOS4_PA_PDMA1 0x1269 > > > > diff --git a/arch/arm/plat-samsung/include/plat/dma-pl330.h > > b/arch/arm/plat-samsung/include/plat/dma-pl330.h > > index c5eaad5..ecf23a8 100644 > > --- a/arch/arm/plat-samsung/include/plat/dma-pl33

[PATCH] ARM: Exynos4: fix non-SMP builds

2012-01-23 Thread Marek Szyprowski
This patch fixes the following build issue, which happens only if SMP has been disabled: arch/arm/mach-exynos/built-in.o: In function `exynos4_pm_resume': arch/arm/mach-exynos/pm.c:387: undefined reference to `scu_enable' Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park

RE: [PATCH 8/8] ARM: dma-mapping: add support for IOMMU mapper

2012-01-25 Thread Marek Szyprowski
Hello, On Wednesday, January 25, 2012 1:47 PM Hiroshi Doyu wrote: > Hi Marek, > > On Fri, 9 Dec 2011 17:39:58 +0100 > Marek Szyprowski wrote: > > > This patch add a complete implementation of DMA-mapping API for > > devices that have IOMMU support. All DMA-

RE: [PATCH 8/8 RESEND] ARM: dma-mapping: add support for IOMMU mapper

2012-01-26 Thread Marek Szyprowski
Hello, On Wednesday, January 25, 2012 1:59 PM Russell King - ARM Linux wrote: > On Mon, Jan 09, 2012 at 04:49:21PM +0100, Marek Szyprowski wrote: > > This patch add a complete implementation of DMA-mapping API for > > devices that have IOMMU support. All DMA-mapping call

RE: [PATCHv3 1/3] ARM: Exynos: JPEG board definition

2012-02-09 Thread Marek Szyprowski
EXYNOS4_PA_FIMC3 > > +#define S5P_PA_JPEGEXYNOS4_PA_JPEG > > I'm not sure we _really_ need to re-define for JPEG. > Why not just use EXYNOS4_PA_JPEG? The s5p-jpeg driver can be also used on S5PV210 so this approach seems to be fine, the patch only l

[PATCHv6 7/7] ARM: dma-mapping: add support for IOMMU mapper

2012-02-10 Thread Marek Szyprowski
This patch add a complete implementation of DMA-mapping API for devices that have IOMMU support. All DMA-mapping calls are supported. This patch contains some of the code kindly provided by Krishna Reddy and Andrzej Pietrasiewicz Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park

[PATCHv6 5/7] ARM: dma-mapping: remove redundant code and cleanup

2012-02-10 Thread Marek Szyprowski
This patch just performs a global cleanup in DMA mapping implementation for ARM architecture. Some of the tiny helper functions have been moved to the caller code, some have been merged together. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mm/dma-mapping.c | 88

[PATCHv6 6/7] ARM: dma-mapping: use alloc, mmap, free from dma_ops

2012-02-10 Thread Marek Szyprowski
This patch converts dma_alloc/free/mmap_{coherent,writecombine} functions to use generic alloc/free/mmap methods from dma_map_ops structure. A new DMA_ATTR_WRITE_COMBINE DMA attribute have been introduced to implement writecombine methods. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin

[PATCHv6 2/7] ARM: dma-mapping: use asm-generic/dma-mapping-common.h

2012-02-10 Thread Marek Szyprowski
This patch modifies dma-mapping implementation on ARM architecture to use common dma_map_ops structure and asm-generic/dma-mapping-common.h helpers. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/Kconfig |1 + arch/arm/include/asm/device.h

[PATCHv6 3/7] ARM: dma-mapping: implement dma sg methods on top of any generic dma ops

2012-02-10 Thread Marek Szyprowski
This patch converts all dma_sg methods to be generic (independent of the current DMA mapping implementation for ARM architecture). All dma sg operations are now implemented on top of respective dma_map_page/dma_sync_single_for* operations from dma_map_ops structure. Signed-off-by: Marek

[PATCHv6 0/7] ARM: DMA-mapping framework redesign

2012-02-10 Thread Marek Szyprowski
00577.html v3: http://www.spinics.net/lists/linux-mm/msg25490.html v4 and v5: http://www.spinics.net/lists/arm-kernel/msg151147.html http://www.spinics.net/lists/arm-kernel/msg154889.html Best regards -- Marek Szyprowski Samsung Poland R&D Center Patch summary: Marek Szyprowski (7): ARM: dm

[PATCHv6 4/7] ARM: dma-mapping: move all dma bounce code to separate dma ops structure

2012-02-10 Thread Marek Szyprowski
This patch removes dma bounce hooks from the common dma mapping implementation on ARM architecture and creates a separate set of dma_map_ops for dma bounce devices. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/common/dmabounce.c| 62

[PATCHv6 1/7] ARM: dma-mapping: remove offset parameter to prepare for generic dma_ops

2012-02-10 Thread Marek Szyprowski
This patch removes the need for offset parameter in dma bounce functions. This is required to let dma-mapping framework on ARM architecture use common, generic dma-mapping helpers. Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/common/dmabounce.c| 13

[PATCH 9/9] ARM: S5PV210: add i2c device on Aquila

2010-08-11 Thread Marek Szyprowski
Add i2c bus number 0 on Aquila machine to test i2c device-table approach. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |1 + arch/arm/mach-s5pv210/mach-aquila.c |6 ++ 2 files changed, 7 insertions(+), 0 deletions(-) diff

[PATCH 6/9] ARM: S5PV210: convert sdhci to device-table

2010-08-11 Thread Marek Szyprowski
Convert s3c-sdhci platform device initialization to device-table approach. The conversion is performed only for S5PV210 SoC. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig | 39 --- arch/arm/mach-s5pv210/Makefile

RE: [PATCH/RFC] Samsung device-table approach

2010-08-11 Thread Marek Szyprowski
Hello, On Wednesday, August 11, 2010 2:40 PM Ameya Palande wrote: > On Wed, 2010-08-11 at 14:03 +0200, ext Marek Szyprowski wrote: > > Hello, > > > > I would like to start the discussion on the redesign of the way the > > Samsung platform devices are defined. Th

RE: [PATCH/RFC] Samsung device-table approach

2010-08-11 Thread Marek Szyprowski
Hello, On Thursday, August 12, 2010 4:49 AM Jassi Brar wrote: > On Wed, Aug 11, 2010 at 9:03 PM, Marek Szyprowski > wrote: > > Hello, > > > > I would like to start the discussion on the redesign of the way the > > Samsung platform devices are defined. The current s

RE: 'error: 'SDHCI_QUIRK_NO_HISPD_BIT' undeclared' and 'undefined reference to `sdhci_card_detect''

2010-08-13 Thread Marek Szyprowski
all patches that are already there (mainly a tasklets to threaded irq conversion). For me it was quite obvious that they will be merged after all other sdhci changes from that tree. I have no idea why the order of the patches has been reversed and my sdhci patches has been submitted to Linus before the o

[PATCH 4/4] ARM: S5PC110: use common FIMC clock setup code

2010-09-05 Thread Marek Szyprowski
On Aquila and GONI the bootloader doesn't set FIMC parent clocks correctly. Use common FIMC setup code to fix this during machne boot. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |2 ++ arch/arm/mach-s5pv210/mach-aquila.c |

[PATCH 1/4] ARM: S5PC110: add fimc clocks.

2010-09-05 Thread Marek Szyprowski
These clocks enables FIMC driver to operate on machines, which bootloader power gated FIMC devices to save power on boot. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/clock.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions

[PATCH 2/4] ARM: Samsung: s5p-fimc: fix dma coherent mask

2010-09-05 Thread Marek Szyprowski
FIMC driver uses DMA_coherent allocator, which requires proper dma mask to be set. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat-s5p/dev-fimc0.c |2 ++ arch/arm/plat-s5p/dev-fimc1.c |2 ++ arch/arm/plat-s5p/dev-fimc2.c |2 ++ 3 files changed, 6

[PATCH 3/4] ARM: S5PC110: add common FIMC setup code

2010-09-05 Thread Marek Szyprowski
Add common clocks setup code for FIMC devices on S5PV210 SoCs. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |6 arch/arm/mach-s5pv210/Makefile|1 + arch/arm/mach-s5pv210/setup-fimc.c| 46

[PATCH] Platform fixes for s5p-fimc

2010-09-05 Thread Marek Szyprowski
list of patches: [PATCH 1/4] ARM: S5PC110: add fimc clocks. [PATCH 2/4] ARM: Samsung: s5p-fimc: fix dma coherent mask [PATCH 3/4] ARM: S5PC110: add common FIMC setup code [PATCH 4/4] ARM: S5PC110: use common FIMC clock setup code Best regards -- Marek Szyprowski Samsung Poland R&D Center -

Re: [PATCH 3/4] ARM: S5PC110: add common FIMC setup code

2010-09-05 Thread Marek Szyprowski
Hello, On 2010-09-06 13:16 Marek Vasut wrote: Dne Po 6. září 2010 05:50:43 Marek Szyprowski napsal(a): Add common clocks setup code for FIMC devices on S5PV210 SoCs. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |6

Re: [PATCH 3/4] ARM: S5PC110: add common FIMC setup code

2010-09-06 Thread Marek Szyprowski
Hello, On 2010-09-06 13:52, Jassi Brar wrote: On Mon, Sep 6, 2010 at 12:50 PM, Marek Szyprowski wrote: + parent = clk_get(NULL, "mout_epll"); + if (IS_ERR(parent)) + return PTR_ERR(parent); + + for (i = 0; err == 0&& i< ARR

Re: [PATCH 3/4] ARM: S5PC110: add common FIMC setup code

2010-09-06 Thread Marek Szyprowski
Hello, On 2010-09-06 13:52, Jassi Brar wrote: On Mon, Sep 6, 2010 at 12:50 PM, Marek Szyprowski wrote: + parent = clk_get(NULL, "mout_epll"); + if (IS_ERR(parent)) + return PTR_ERR(parent); + + for (i = 0; err == 0&& i< ARR

[PATCH 1/6] ARM: Samsung: Add common s5p gpio interrupt support

2010-09-06 Thread Marek Szyprowski
the s5p_register_gpio_interrupt() function. Signed-off-by: Marek Szyprowski Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- arch/arm/plat-s5p/Kconfig |5 + arch/arm/plat-s5p/Makefile |1 + arch/arm/plat-s5p/include/plat/irqs.h

[PATCH 6/6] ARM: S5PC110: GONI: Add support for QT602240 TS driver

2010-09-06 Thread Marek Szyprowski
From: Kyungmin Park Add required platform definitions for QT602240 touchscreen on I2C2 bus. Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/mach-s5pv210/Kconfig |3 ++ arch/arm/mach-s5pv210/mach-goni.c | 56 + 2 files

[PATCH v3] ARM: S5P: Add support for gpio interrupts

2010-09-06 Thread Marek Szyprowski
msung_gpiolib_to_irq function [PATCH 6/6] ARM: S5PC110: GONI: Add support for QT602240 TS driver Best regards -- Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kerne

[PATCH 5/6] ARM: Samsung: Add common samsung_gpiolib_to_irq function

2010-09-06 Thread Marek Szyprowski
From: Joonyoung Shim This patch adds a common callback for gpio_to_irq() for external and gpio interrupts for Samsung SoCs. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/mach-s3c64xx/gpiolib.c|8 + arch/arm

[PATCH 3/6] ARM: S5PC100: Use generic S5P gpio interrupts interface

2010-09-06 Thread Marek Szyprowski
From: Joonyoung Shim S5PC100 series can use common s5p gpio interrupt code. This patch removes specific s5pc100 gpio interrupts code and adds required defines and code to make use of common s5p code. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski

[PATCH 2/6] ARM: S5PC110: add support for gpio interrupts

2010-09-06 Thread Marek Szyprowski
S5PV210/S5PC110 series can use common s5p gpio interrupt code. This patch adds required defines and code to make use of it. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/gpiolib.c |6 +- arch/arm/mach-s5pv210/include/mach/irqs.h |6

[PATCH 4/6] ARM: S5PC100: Move external interrupt defines

2010-09-06 Thread Marek Szyprowski
From: Joonyoung Shim This patch moves external interrupt defines from gpio.h to regs-gpio.h for consistency with s5pv210. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/mach-s5pc100/include/mach/gpio.h |7 --- arch/arm

Re: [PATCH 3/4] ARM: S5PC110: add common FIMC setup code

2010-09-06 Thread Marek Szyprowski
k otherwise. I think the board designer would already have thought out the clock sourcing hierarchy. Setting appropriate parents once at boot-time and having drivers not worry about it, should be better. Definitely, but in our case kernel the default fimc_sclk parent points to non-existing

Re: [PATCH 2/4] ARM: Samsung: s5p-fimc: fix dma coherent mask

2010-09-08 Thread Marek Szyprowski
W dniu 2010-09-09 09:41, Kukjin Kim pisze: Marek Szyprowski wrote: FIMC driver uses DMA_coherent allocator, which requires proper dma mask to be set. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat-s5p/dev-fimc0.c |2 ++ arch/arm/plat-s5p/dev-fimc1.c

[PATCH v2] ARM: Samsung: s5p-fimc: fix dma coherent mask

2010-09-08 Thread Marek Szyprowski
FIMC driver uses DMA_coherent allocator, which requires proper dma mask to be set. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- Chnages since v1: - use DMA_BIT_MASK() macro, minor coding style change --- arch/arm/plat-s5p/dev-fimc0.c |7 +++ arch/arm/plat-s5p/dev

[PATCH] ARM: Samsung: s5p-fimc: decrease IO registers memory region size

2010-09-08 Thread Marek Szyprowski
From: Sylwester Nawrocki IO registers region size of all FIMC versions is less than 1kB so there is no need to reserve 1M. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/plat-s5p/dev-fimc0.c |2 +- arch/arm/plat-s5p/dev-fimc1

[PATCH] ARM: S5PC110: Samsung Goni board update

2010-09-10 Thread Marek Szyprowski
Goni board Best regards -- Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/6] ARM: S5PC110: update framebuffer setup information for Goni

2010-09-10 Thread Marek Szyprowski
Change the default upper_margin and vsync_len to get rid of repeated last line on the display. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/mach-goni.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s5pv210

[PATCH 3/6] ARM: S5PC110: Add si470x radio device to the GONI board

2010-09-10 Thread Marek Szyprowski
Add required platform definitions for si470x radio device on Samsung Goni board. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/mach-s5pv210/Kconfig |2 ++ arch/arm/mach-s5pv210/mach-goni.c | 29

[PATCH 4/6] ARM: S5PV210: Enable USB HSOTG gadget build

2010-09-10 Thread Marek Szyprowski
Add the necessary definitions and mapping information to enable the s3c-hsotg gadget to build. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/cpu.c |5 + arch/arm/mach-s5pv210/include/mach/map.h |6 ++ arch/arm/mach

[PATCH 2/6] ARM: S5PC110: add support for S6E63M0 LCD controller on Goni board

2010-09-10 Thread Marek Szyprowski
Add required platform definitions for S6E63M0 LCD controller on Samsung Goni board. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/mach-goni.c | 71 + 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a

[PATCH 5/6] ARM: S5PC110: add support for otg usb gadget on Goni board

2010-09-10 Thread Marek Szyprowski
Add required platform definitions for s3c-hsotg driver to enable usb gadget support on Samsung Goni board. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |1 + arch/arm/mach-s5pv210/mach-goni.c |5 + 2 files changed, 6 insertions

[PATCH 6/6] ARM: S5PC110: add support for MMC regulators on Goni board

2010-09-10 Thread Marek Szyprowski
Add required platform definitions for MMC power regulators on Samsung Goni board. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park CC: Mark Brown --- arch/arm/mach-s5pv210/mach-goni.c | 44 ++-- 1 files changed, 41 insertions(+), 3 deletions

RE: [PATCH 1/6] ARM: S5PC110: update framebuffer setup information for Goni

2010-09-13 Thread Marek Szyprowski
Hello, On Friday, September 10, 2010 11:50 AM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > Change the default upper_margin and vsync_len to get rid of repeated last > > line on the display. > > > How about Aquila board? Maybe same in my thinking. Yes, I wi

RE: [PATCH 3/6] ARM: S5PC110: Add si470x radio device to the GONI board

2010-09-13 Thread Marek Szyprowski
Hello, On Friday, September 10, 2010 11:58 AM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > Add required platform definitions for si470x radio device on Samsung > > Goni board. > > > Is this the same with following? > http://marc.info/?l=linux-arm-kernel&

RE: [PATCH 5/6] ARM: S5PC110: add support for otg usb gadget on Goni board

2010-09-13 Thread Marek Szyprowski
Hello, On Friday, September 10, 2010 12:45 PM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > Add required platform definitions for s3c-hsotg driver to enable usb > > gadget support on Samsung Goni board. > > > > Signed-off-by: Marek Szyprowski

RE: [PATCH v2] ARM: Samsung: s5p-fimc: fix dma coherent mask

2010-09-14 Thread Marek Szyprowski
Hello, On Thursday, September 09, 2010 1:20 PM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > FIMC driver uses DMA_coherent allocator, which requires proper dma mask > > to be set. > > > > Signed-off-by: Marek Szyprowski > > Signed-off-by: Kyungmin

RE: [PATCH] regulator: Add support samsung power domain

2010-09-17 Thread Marek Szyprowski
cks just for power gating imho doesn't look good. Best regards -- Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCHv2 2/7] ARM: S5PC110: fb setup for Goni - remove pixel clock

2010-09-20 Thread Marek Szyprowski
ff-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/mach-goni.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index 4bd5582..b0ae208 100644 --- a/arch/arm/mach-s5pv210/mach-g

[PATCH v2] ARM: S5PC110: Samsung Goni board update

2010-09-20 Thread Marek Szyprowski
GONI board [PATCHv2 5/7] ARM: S5PV210: Enable USB HSOTG gadget build [PATCHv2 6/7] ARM: S5PC110: add support for otg usb gadget on Goni board [PATCHv2 7/7] ARM: S5PC110: add support for MMC regulators on Goni board Best regards -- Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe from

[PATCHv2 5/7] ARM: S5PV210: Enable USB HSOTG gadget build

2010-09-20 Thread Marek Szyprowski
Add the necessary definitions and mapping information to enable the s3c-hsotg gadget to build. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park s5pv210 otg --- arch/arm/mach-s5pv210/cpu.c |5 + arch/arm/mach-s5pv210/include/mach/map.h |4

[PATCHv2 3/7] ARM: S5PC110: add support for S6E63M0 LCD controller on Goni board

2010-09-20 Thread Marek Szyprowski
Add required platform definitions for S6E63M0 LCD controller on Samsung Goni board. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/mach-goni.c | 71 + 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a

[PATCHv2 4/7] ARM: S5PC110: Add si470x radio device to the GONI board

2010-09-20 Thread Marek Szyprowski
Add required platform definitions for si470x radio device on Samsung Goni board. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/mach-s5pv210/Kconfig |2 ++ arch/arm/mach-s5pv210/mach-goni.c | 30

[PATCHv2 1/7] ARM: S5PC110: update framebuffer setup information for Goni

2010-09-20 Thread Marek Szyprowski
Change the default upper_margin and vsync_len to get rid of repeated last line on the display. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/mach-goni.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-s5pv210

[PATCHv2 6/7] ARM: S5PC110: add support for otg usb gadget on Goni board

2010-09-20 Thread Marek Szyprowski
Add required platform definitions for s3c-hsotg driver to enable usb gadget support on Samsung Goni board. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |1 + arch/arm/mach-s5pv210/mach-goni.c |4 2 files changed, 5 insertions

[PATCHv2 7/7] ARM: S5PC110: add support for MMC regulators on Goni board

2010-09-20 Thread Marek Szyprowski
Add required platform definitions for MMC power regulators on Samsung Goni board. GPIO pin GONI_EXT_FLASH_EN has been transferred from machine startup code to fixed voltage regulator. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park CC: Mark Brown --- arch/arm/mach-s5pv210/mach

[PATCH] sdhci-s3c: fix incorrect spinlock usage after merge

2010-09-20 Thread Marek Szyprowski
: Marek Szyprowski Signed-off-by: Kyungmin Park --- drivers/mmc/host/sdhci-s3c.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index 71ad416..735d431 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers

RE: [PATCH 4/6] ARM: S5PC100: Move external interrupt defines

2010-09-20 Thread Marek Szyprowski
Hello, On Friday, September 10, 2010 2:00 PM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > From: Joonyoung Shim > > > > This patch moves external interrupt defines from gpio.h to regs-gpio.h > > for consistency with s5pv210. > > > > Sig

[PATCH] sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove

2010-09-23 Thread Marek Szyprowski
If not all clocks has been defined in platform data, driver will cause a null pointer dereference when it is being removed. This patch fixes this issue. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- drivers/mmc/host/sdhci-s3c.c |6 -- 1 files changed, 4 insertions

RE: [PATCH] sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove

2010-09-26 Thread Marek Szyprowski
replied yet (I've tried > pinging privately). I'll plan on sending Marek's two s3c fixes to > Linus tomorrow regardless (this one with Cc: ) > along with my MAINTAINERS update for MMC unless anyone objects. I'm sorry, I was on holidays. You are right, both fixes sho

RE: [PATCHv2 3/7] ARM: S5PC110: add support for S6E63M0 LCD controller on Goni board

2010-09-28 Thread Marek Szyprowski
Hello, On Tuesday, September 28, 2010 9:39 AM wrote: > Marek Szyprowski wrote: > > > > Add required platform definitions for S6E63M0 LCD controller on Samsung > > Goni board. > > > > Signed-off-by: Marek Szyprowski > > Signed-off-by: Kyungmin Park > &g

RE: [PATCHv2 4/7] ARM: S5PC110: Add si470x radio device to the GONI board

2010-09-28 Thread Marek Szyprowski
Hello, On Tuesday, September 28, 2010 9:44 AM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > Add required platform definitions for si470x radio device on Samsung > > Goni board. > > > > Signed-off-by: Joonyoung Shim > > Signed-off-by: Kyungmin Pa

[PATCH v3] ARM: S5PC110: add support for S6E63M0 LCD controller on Goni board

2010-09-28 Thread Marek Szyprowski
Add required platform definitions for S6E63M0 LCD controller on Samsung Goni board. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- Changes since v2: - removed defines for lcd pin names arch/arm/mach-s5pv210/mach-goni.c | 66 + 1 files

RE: [PATCH 1/6] ARM: Samsung: Add common s5p gpio interrupt support

2010-09-28 Thread Marek Szyprowski
Hello, On Tuesday, September 28, 2010 4:04 PM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > This patch adds common code to enable support of gpio interrupts on s5p > > series. > > > > The total number of gpio pins is quite large on s5p series. Registerin

RE: [PATCHv2 4/7] ARM: S5PC110: Add si470x radio device to the GONI board

2010-09-28 Thread Marek Szyprowski
Hello, On Tuesday, September 28, 2010 4:05 PM Kukjin Kim wrote: > > On Tuesday, September 28, 2010 9:44 AM Kukjin Kim wrote: > > > > > Marek Szyprowski wrote: > > > > > > > > Add required platform definitions for si470x radio device on Samsung >

[PATCH] ARM: Samsung: add a workaround for get_clock() for serial driver

2010-09-29 Thread Marek Szyprowski
Serial drivers call get_clock() very early, before platform bus has been set up, this requires a special check to let them get a proper clock. Without this patch, a serial console is broken on Universal C210 board. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat

[PATCH v4] ARM: Samsung: Add common s5p gpio interrupt support

2010-09-30 Thread Marek Szyprowski
the s5p_register_gpio_interrupt() function. Signed-off-by: Marek Szyprowski Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- Changes since v3: - merged default and IRQ_TYPE_NONE cases in s5p_gpioint_set_type function - fixed mask in GPIOINT_CON_OFFSET register from 0xf to 0x7

[PATCH] ARM: Samsung S5P: Unify defines for both gpio interrupt types

2010-09-30 Thread Marek Szyprowski
Samsung S5P series have the same interrupt type defines for both external interrupts and gpio interrupts. This patch removes all duplicates from s5pc100 and s5pv210 specific includes as well as gpio int code and put a common defines to plat/irqs.h Signed-off-by: Marek Szyprowski Signed-off-by

RE: [PATCH] ARM: Samsung S5P: Unify defines for both gpio interrupt types

2010-09-30 Thread Marek Szyprowski
Hello, On Thursday, September 30, 2010 1:23 PM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > Samsung S5P series have the same interrupt type defines for both > > external interrupts and gpio interrupts. This patch removes all > > duplicates from s5pc100 and s

[PATCH] drivers: s3c2410-i2c: fix calculation of SDA line delay

2010-09-30 Thread Marek Szyprowski
S3C2440 style I2C controller uses PCLK to calculate the SDA line delay. The driver wrongly assumed that this delay is calculated from the frequency that the controller is operating on. This patch fixes this issue. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- Hello, I&#x

  1   2   3   4   5   6   7   8   9   10   >