[RFC 9/9] crypto: Add Samsung crypto engine driver

2010-06-11 Thread Maurus Cuelenaere
This patch adds support for the Samsung crypto engine driver available in the S3C64XX and S5PC100 SoCs. Currently this supports AES and (T)DES with ECB and CBC block ciphers (also CTR for AES). Support for (HMAC)-SHA1 acceleration is also available in this engine, but isn't used in the driver yet.

[RFC 8/9] ARM: SAMSUNG: Add crypto engine register definitions

2010-06-11 Thread Maurus Cuelenaere
This patch adds the header file containing the register offsets used by the crypto engine. Signed-off-by: Maurus Cuelenaere --- arch/arm/plat-samsung/include/plat/regs-sss.h | 153 + 1 files changed, 153 insertions(+), 0 deletions(-) create mode 100644 arch/arm/plat-sam

[PATCH 7/9] ARM: SAMSUNG: Add crypto engine platform definition

2010-06-11 Thread Maurus Cuelenaere
This patch adds the platform device used by the crypto engine driver. Signed-off-by: Maurus Cuelenaere --- arch/arm/Kconfig |2 + arch/arm/plat-samsung/Kconfig |5 +++ arch/arm/plat-samsung/Makefile|1 + arch/arm/plat-samsung/dev-sss.c

[PATCH 6/9] ARM: S5PC100: Add crypto engine register definitions

2010-06-11 Thread Maurus Cuelenaere
This patch adds the physical address and size which corresponds to the crypto engine on the S5PC100. It also adds the offsets for the crypto subsystems. Signed-off-by: Maurus Cuelenaere --- arch/arm/mach-s5pc100/include/mach/map.h |4 +++ arch/arm/mach-s5pc100/include/mach/regs-sss.h |

[PATCH 5/9] ARM: S3C64XX: Add crypto engine register definitions

2010-06-11 Thread Maurus Cuelenaere
This patch adds the physical address and size which corresponds to the crypto engine on the S3C64XX. It also adds the offsets for the crypto subsystems. Signed-off-by: Maurus Cuelenaere --- arch/arm/mach-s3c64xx/include/mach/map.h |3 ++ arch/arm/mach-s3c64xx/include/mach/regs-sss.h |

[PATCH 4/9] ARM: S3C64XX: Add support for secur clock

2010-06-11 Thread Maurus Cuelenaere
This patch adds correct register definitions for the secur clock, used by the Samsung crypto engine. Signed-off-by: Maurus Cuelenaere --- arch/arm/mach-s3c64xx/clock.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s

[PATCH 3/9] ARM: S3C64XX: Stop and flush requests on freeing

2010-06-11 Thread Maurus Cuelenaere
When a DMA channel is freed, its pending requests should be flushed and the channel should be halted. This patch ensures that happens. Signed-off-by: Maurus Cuelenaere --- arch/arm/mach-s3c64xx/dma.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-s3c64xx

[PATCH 2/9] ARM: S3C64XX: Add SDMA support to DMA core

2010-06-11 Thread Maurus Cuelenaere
The crypto engine uses the DMACH_SECURITY_[RT]X channels, who seem to be hardcoded to SDMA-only in hardware, so add support for SDMA to the S3C64XX DMA core. Only DMACH_SECURITY_[RT]X are using SDMA, other channels are unaffected and will continue to use standard DMA. Signed-off-by: Maurus Cuelen

[PATCH 1/9] ARM: S3C64XX: Add SDMA clocks

2010-06-11 Thread Maurus Cuelenaere
This adds the clock definition bits for SDMA. Signed-off-by: Maurus Cuelenaere --- arch/arm/mach-s3c64xx/clock.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c index 7a4138b..d3e11a1 100644 --- a/

[RFC/PATCH 0/9] Samsung crypto engine

2010-06-11 Thread Maurus Cuelenaere
Hi all, this patchset introduces crypto acceleration support for the crypto engine available in S3C64XX and S5PC100 SoC's. I only have access to a S3C6410 board so it would be nice if people could test these patches on S5PC100. The driver currently only supports AES and (T)DES in PIO mode, but ev

Re: [PATCH 1/5] sdhci-s3c: depend on plat-samsung

2010-06-11 Thread Mark Brown
On Fri, Jun 11, 2010 at 06:24:07AM +0100, Ben Dooks wrote: > Hmm, Mr Park and Co really need to learn how to handle the treatment of > patches. I'm really disapointed that these patches get submitted without > the proper authour accreditation. If this isn't sorted out then I for > one will start t

Re: [PATCH v3] libata: pata_samsung_cf: Add Samsung PATA controller driver

2010-06-11 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. Hi, Thanks for your comments. Signed-off-by: Abhilash Kesavan Signed-off-by: Kukjin Ki

Re: [PATCH 06/11] USB: s3c-hsotg: Add initial detection and setup for dedicated FIFO mode

2010-06-11 Thread Maurus Cuelenaere
Op 11-06-10 10:20, Ben Dooks schreef: > Add support for the dedicated FIFO mode on newer SoCs such as the S5PV210 > partly to improve support and to fix the bug where any non-EP0 IN endpoint > requires its own FIFO allocation. > > To fix this, we ensure that any non-zero IN endpoint is given a TXF

[PATCH v2 4/4] ARM: SAMSUNG: Add GPIOlib gpio_to_irq

2010-06-11 Thread Joonyoung Shim
This patch is to support gpio_to_irq() of GPIOlib for external and gpio interrupts, then needs adding irq_base member to s3c_gpio_chip struct. The gpio_to_irq() calls samsung_gpiolib_to_irq function. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pc100/gpiolib.c

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

2010-06-11 Thread 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 --- arch/arm/mach-s5pc100/include/mach/gpio.h |7 --- arch/arm/mach-s5pc100/include/mach/regs-gpio.h |7 +++ 2 fil

[PATCH v2 2/4] ARM: S5PC100: Use S5P gpio interrupts interface

2010-06-11 Thread Joonyoung Shim
The s5pc100 can use s5p gpio interrupts codes instead of s5pc100 specific gpio interrupts codes. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pc100/Makefile|2 +- arch/arm/mach-s5pc100/gpiolib.c | 40 + arch/arm/mach-s5pc100/incl

[PATCH v2 1/4] ARM: S5PV210: Add gpio interrupt support

2010-06-11 Thread Joonyoung Shim
This patch is to support gpio interrupts on s5pv210. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/gpiolib.c|8 +- arch/arm/mach-s5pv210/include/mach/irqs.h | 16 ++- arch/arm/plat-s5p/Makefile |2 +- arch

[PATCH v2 0/4] ARM: S5P: Support gpio interrupts

2010-06-11 Thread Joonyoung Shim
This patch v2 set is to support gpio interrupts of samsung s5p cpus, and the GPIOlib gpio_to_irq goes to plat-samsung gpiolib, so patch v2 set has four commit smaller than v1. Changes since v1: - Add irq_base to s3c_gpio_chip struct - GPIOlib gpio_to_irq() is implemented to samsung_gpiolib_to_ir

Re: [PATCH] sdhci-s3c: Add SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK quirk for Samsung SoC

2010-06-11 Thread Kyungmin Park
On Fri, Jun 11, 2010 at 5:08 PM, Kukjin Kim wrote: > Kyungmin Park wrote: >> >> Hi, >> >> On Thu, Jun 10, 2010 at 8:39 PM, Kukjin Kim wrote: >> > From: Lee Hyuk >> > >> > On Samsung's SDMMC hosts the timeout clock is derivied from the SD >> > Clock, which is set dynamically. >> > So, checked 'SD

[PATCH v4 3/3] input: samsung-keypad - Add samsung keypad driver

2010-06-11 Thread Joonyoung Shim
This patch adds support for keypad driver running on Samsung cpus. This driver is tested on GONI and Aquila board using S5PC110 cpu. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/input/keyboard/Kconfig |9 + drivers/input/keyboard/Makefile |1 +

[PATCH v4 2/3] ARM: S5PV210: Add keypad device helpers

2010-06-11 Thread Joonyoung Shim
This patch adds the keypad device platform helpers for S5PV210 cpu. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig|5 arch/arm/mach-s5pv210/Makefile |1 + arch/arm/mach-s5pv210/cpu.c |4 +++ arch/a

[PATCH v4 1/3] ARM: SAMSUNG: Add keypad device support

2010-06-11 Thread Joonyoung Shim
This patch adds samsung keypad device definition for samsung cpus. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/Kconfig|5 ++ arch/arm/plat-samsung/Makefile |1 + arch/arm/plat-samsung/dev-keypad.c

RE: [PATCH] sdhci-s3c: Add SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK quirk for Samsung SoC

2010-06-11 Thread Kukjin Kim
Kyungmin Park wrote: > > Hi, > > On Thu, Jun 10, 2010 at 8:39 PM, Kukjin Kim wrote: > > From: Lee Hyuk > > > > On Samsung's SDMMC hosts the timeout clock is derivied from the SD > > Clock, which is set dynamically. > > So, checked 'SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK' quirk and removed > > 'sdh

[PATCH v4 0/3] Add samsung keypad

2010-06-11 Thread Joonyoung Shim
This is patch v4 series to add Samsung keypad. I've removed board file patchs for samsung-keypad support in the v4, They don't have any change but i will post later because of dependence problem with other patches. Changes since v1: - Include linux/gpio.h instead of mach/gpio.h - Switch to dev_pm_

RE: [PATCH v3] libata: pata_samsung_cf: Add Samsung PATA controller driver

2010-06-11 Thread Kukjin Kim
Ben Dooks wrote: > > On Thu, Jun 10, 2010 at 04:50:41PM +0900, 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. > > Thanks for your review

RE: [PATCH v3] libata: pata_samsung_cf: Add Samsung PATA controller driver

2010-06-11 Thread Kukjin Kim
Sergei Shtylyov wrote: > > 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. > Hi, Thanks for your comments. > > Signed-off-by: Abhilas