Re: MFC V1.0 questions

2011-12-05 Thread Dron Gus
Hi. On Mon, Dec 5, 2011 at 1:47 PM, Kamil Debski wrote: > Hi, > >> From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc- >> ow...@vger.kernel.org] On Behalf Of Dron Gus >> Sent: 02 December 2011 12:17 >> >> Hello >> >> I am interested in a couple of questions related to mfv v1.

[PATCH v2 3/3] USB: Add Samsung Exynos OHCI diver

2011-12-05 Thread Jingoo Han
This patch adds USB OHCI driver for Samsung Exynos SoCs. Signed-off-by: Jingoo Han --- drivers/usb/Kconfig|1 + drivers/usb/host/Kconfig |6 + drivers/usb/host/ohci-exynos.c | 274 drivers/usb/host/ohci-hcd.c|5 + 4 file

[PATCH v2 2/3] ARM: EXYNOS: Add USB OHCI support to SMDKV310 board

2011-12-05 Thread Jingoo Han
This patch adds USB OHCI support to SMDKV310 board. Signed-off-by: Jingoo Han --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-smdkv310.c | 13 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach

[PATCH v2 1/3] ARM: EXYNOS: Add USB OHCI device

2011-12-05 Thread Jingoo Han
This patch adds USB ohci device definition for Exynos SoCs. Signed-off-by: Jingoo Han --- arch/arm/mach-exynos/Kconfig |5 +++ arch/arm/mach-exynos/Makefile |1 + arch/arm/mach-exynos/dev-ohci.c | 52 + arch/arm/mach-exynos

[PATCH v2 0/3] Support Samsung Exynos OHCI device and driver

2011-12-05 Thread Jingoo Han
Hello. This patch series adds USB OHCI device and initial driver for Samsung Exynos SoCs and is based from linux-samsung for-next branch. I have tested on SMDKV310 board using EXYNOS4. Thanks. Jingoo Han (3) : ARM: EXYNOS: Add USB OHCI device ARM: EXYNOS: Add USB OHCI support t

[PATCH resend2] s3c24xx: cpufreq: Fix compilation error when CONFIG_CPU_FREQ_S3C24XX_DEBUGFS selected.

2011-12-05 Thread Denis Kuzmenko
Fix compilation error when CONFIG_CPU_FREQ_S3C24XX_DEBUGFS selected. Signed-off-by: Denis Kuzmenko --- Patch is against 3.2-rc3. CONFIG_S3C2410_IOTIMING wasn't present in Kconfig but was referenced by Makefile. Because of this the file s3c2410-iotiming.c was not ever compiled and enabling CONFIG

[PATCH resend3] arm: s3c24xx: Add new LCD (W35i) support for Mini2440 board

2011-12-05 Thread Denis Kuzmenko
Add new LCD (W35i) support for Mini2440 board Signed-off-by: Denis Kuzmenko --- diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c2440/mach-mini2440.c index fc2dc0b..951eadd 100644 --- a/arch/arm/mach-s3c2440/mach-mini2440.c +++ b/arch/arm/mach-s3c2440/mach-mini2440.c @@ -167

Re: [PATCH v7 0/2] iommu/exynos: Add IOMMU/System MMU driver for Samsung Exynos

2011-12-05 Thread Kyungmin Park
On 12/6/11, Joerg Roedel wrote: > On Fri, Nov 18, 2011 at 06:47:28PM +0900, KyongHo Cho wrote: >> Patch Summary: >> [PATCH v7 1/2] ARM: EXYNOS: Change System MMU platform device definitions >> [PATCH v7 2/2] iommu/exynos: Add iommu driver for Exynos Platforms > > Okay, I merged it into arm/exynos,

Re: [PATCH 2/2] spi/s3c64xx: Implement runtime PM support

2011-12-05 Thread Mark Brown
On Mon, Dec 05, 2011 at 10:41:21PM +0100, Linus Walleij wrote: > Just wanted to mention that I had this discussion with Magnus Damm > about how they do this in shmobile: in there their central runtime PM > policy in arch/arm/mach-shmobile/pm_runtime.c adds in the > pm_clk_notifier from drivers/bas

Re: [PATCH 2/2] spi/s3c64xx: Implement runtime PM support

2011-12-05 Thread Linus Walleij
On Mon, Dec 5, 2011 at 5:50 PM, Mark Brown wrote: > Enable and disable the clocks to the SPI controller using runtime PM. This > serves the dual purpose of reducing power consumption a little and letting > the core know when the device is idle. (...) > +#ifdef CONFIG_PM_RUNTIME > +static int s3c6

[PATCH 3/3] spi/s3c64xx: Implement runtime PM support

2011-12-05 Thread Mark Brown
Enable and disable the clocks to the SPI controller using runtime PM. This serves the dual purpose of reducing power consumption a little and letting the core know when the device is idle. Signed-off-by: Mark Brown --- drivers/spi/spi-s3c64xx.c | 39 +++ 1 f

[PATCH 1/3] spi/s3c64xx: Log error interrupts

2011-12-05 Thread Mark Brown
Although the hardware supports interrupts we're not currently using them at all since for small transfers the overhead is greater than that for busy waiting and for large transfers we have interrupts from the DMA. This means that if the hardware reports an error (especially one which might not stal

[PATCH 2/3] spi/s3c64xx: Convert to dev_pm_ops

2011-12-05 Thread Mark Brown
In preparation for the addition of runtime PM ops. Signed-off-by: Mark Brown --- drivers/spi/spi-s3c64xx.c | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 9b16406..d0c70f2 100644 --- a/drivers

[PATCH 2/2] spi/s3c64xx: Implement runtime PM support

2011-12-05 Thread Mark Brown
Enable and disable the clocks to the SPI controller using runtime PM. This serves the dual purpose of reducing power consumption a little and letting the core know when the device is idle. Signed-off-by: Mark Brown --- drivers/spi/spi-s3c64xx.c | 39 +++ 1 f

[PATCH 1/2] spi/s3c64xx: Convert to dev_pm_ops

2011-12-05 Thread Mark Brown
In preparation for the addition of runtime PM ops. Signed-off-by: Mark Brown --- drivers/spi/spi-s3c64xx.c | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 9b16406..fef1c90 100644 --- a/drivers

Re: [PATCH v7 0/2] iommu/exynos: Add IOMMU/System MMU driver for Samsung Exynos

2011-12-05 Thread Joerg Roedel
On Fri, Nov 18, 2011 at 06:47:28PM +0900, KyongHo Cho wrote: > Patch Summary: > [PATCH v7 1/2] ARM: EXYNOS: Change System MMU platform device definitions > [PATCH v7 2/2] iommu/exynos: Add iommu driver for Exynos Platforms Okay, I merged it into arm/exynos, but it is not pushed yet. Actually there

Re: [PATCH V5] mmc: core: HS200 mode support for eMMC 4.5

2011-12-05 Thread Saugata Das
Hi Girish Please refer to Figure 71 (HS200 device output timing) of the MMC-4.5 spec. It shows that both CMD and DATA[7-0] will have some latency till valid window. This implies that even the CMD line will need tuning for reading the response. The specification talks about identifying sampling poi

[PATCH 2/2] i2c-s3c2410: Add stub runtime power management

2011-12-05 Thread Mark Brown
Add stub runtime_pm calls which go through the flow of enabling and disabling but don't actually do anything with the device itself as there's nothing useful we can do. This provides the core PM framework with information about when the device is idle, enabling chip wide power savings. Signed-off-

[PATCH 1/2] i2c-s3c2410: Convert to devm_kzalloc()

2011-12-05 Thread Mark Brown
Saves remembering to call kfree(). There's some kfree()s used by the resource still, these will be removed in 3.3 using the newly added devm_request_and_ioremap(). Signed-off-by: Mark Brown --- drivers/i2c/busses/i2c-s3c2410.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff -

RE: [PATCH V5] mmc: core: HS200 mode support for eMMC 4.5

2011-12-05 Thread Subhash Jadavani
> -Original Message- > From: Girish K S [mailto:girish.shivananja...@linaro.org] > Sent: Monday, December 05, 2011 12:20 PM > To: Subhash Jadavani > Cc: linux-...@vger.kernel.org; patc...@linaro.org; linux-samsung- > s...@vger.kernel.org; Chris Ball > Subject: Re: [PATCH V5] mmc: core: HS

[PATCH V4 5/5] ARM: exynos: Enable l2 configuration through device tree

2011-12-05 Thread Amit Daniel Kachhap
This patch enables calling generic l2 setup functions if device tree is used. Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/cpu.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach-exynos/cpu.c index 252e3

[PATCH V4 4/5] ARM: exynos: remove useless code to save/restore L2

2011-12-05 Thread Amit Daniel Kachhap
Following the merge of CPU PM notifiers and L2 resume code, this patch removes useless code to save and restore L2 registers. This is now automatically covered by suspend calls which integrated CPU PM notifiers and new sleep code that allows to resume L2 before MMU is turned on. Signed-off-by: Lo

[PATCH V4 3/5] ARM: s5p: add L2 early resume code

2011-12-05 Thread Amit Daniel Kachhap
This patch adds code to resume L2 before MMU is enabled in suspend and cpuidle resume paths. s3c_cpu_resume is moved to the data section with appropriate comments. Signed-off-by: Lorenzo Pieralisi Signed-off-by: Amit Daniel Kachhap --- arch/arm/plat-s5p/sleep.S | 44 ++

[PATCH V4 2/5] ARM: exynos: save L2 settings during bootup

2011-12-05 Thread Amit Daniel Kachhap
This patch adds code to save L2 register configuration at boot, and later used to resume L2 before MMU is enabled in suspend and cpuidle resume paths. Signed-off-by: Lorenzo Pieralisi Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/cpu.c | 42 +++---

[PATCH V4 1/5] ARM: exynos: Add support AFTR mode on EXYNOS4210

2011-12-05 Thread Amit Daniel Kachhap
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in cpuidle driver. L2 cache keeps their data in this mode. This patch ports the code to the latest interfaces to save/restore CPU state inclusive of CPU PM notifiers, l2 resume and cpu_suspend/resume. Signed-off-by: Jaecheol Lee Signed-off-by

[PATCH V4 0/5] ARM: exynos: Add l2 retention mode cpuidle state

2011-12-05 Thread Amit Daniel Kachhap
Changes since V3: *Implemented Russell feedback and moved sleep magic 4byte memory before s3c_cpu_resume to data section. Changes since V2: *Implemented the suggestion of MyungJoo Ham and used INFORM0/1 registers for resume for some board versions. *Added back save/restore through CPU PM notifier

Re: [PATCH] backlight: add regulator support for platform_lcd driver

2011-12-05 Thread Mark Brown
On Mon, Dec 05, 2011 at 04:06:17PM +0530, Thomas Abraham wrote: > On 5 December 2011 15:40, Kyungmin Park wrote: > > Recent regulator discussion. it should be failed instead fall through > > gracefully. > Ok. But in this case, there could be boards that do not use a > regulator for the lcd/displ

Re: [PATCH 2/2] arm: exynos: allow platform-lcd driver to control lcd regulator source on origen

2011-12-05 Thread Thomas Abraham
Dear Mr. Park, On 5 December 2011 15:44, Kyungmin Park wrote: [...] >>  static struct regulator_init_data __initdata max8997_ldo1_data = { >> @@ -379,11 +379,11 @@ static struct regulator_init_data __initdata >> max8997_buck5_data = { >>  static struct regulator_init_data __initdata max8997_buc

Re: [PATCH] backlight: add regulator support for platform_lcd driver

2011-12-05 Thread Thomas Abraham
Dear Mr. Park, On 5 December 2011 15:40, Kyungmin Park wrote: [...] >> +     /* >> +      * If power to lcd and/or lcd interface is controlled using a >> regulator, >> +      * enable or disable the regulator based in the power setting. >> +      */ >> +     lcd_regulator = regulator_get(plcd->

Re: [PATCH] backlight: add regulator support for platform_lcd driver

2011-12-05 Thread Mark Brown
On Mon, Dec 05, 2011 at 07:10:03PM +0900, Kyungmin Park wrote: > > + if (plcd->pdata->min_uV || plcd->pdata->max_uV) > > + if (regulator_set_voltage(lcd_regulator, > > + plcd->pdata->min_uV, plcd->pdata->max_uV)) > > +

Re: [PATCH 2/2] arm: exynos: allow platform-lcd driver to control lcd regulator source on origen

2011-12-05 Thread Kyungmin Park
On 12/5/11, Thomas Abraham wrote: > The buck7 regulator of max8997 pmic which provides the power source to lcd > panel > and the lvds transmitter is allowed to be controlled by the platform-lcd > driver. > It is not required to apply the voltage source by default. Also, the voltage > range for buc

Re: [PATCH] backlight: add regulator support for platform_lcd driver

2011-12-05 Thread Kyungmin Park
On 12/5/11, Thomas Abraham wrote: > The power source to the lcd panel or the lcd interface such as lvds > transmitters could be controlled by a regulator supply. Add support > for enabling/disabling the regulator when switching power to lcd. > > Two new elements 'min_uV' and 'max_uV' in the platfo

RE: MFC V1.0 questions

2011-12-05 Thread Kamil Debski
Hi, > From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc- > ow...@vger.kernel.org] On Behalf Of Dron Gus > Sent: 02 December 2011 12:17 > > Hello > > I am interested in a couple of questions related to mfv v1.0, used in > the s3c6410. > 1) Does anyone work on mfc v1.0 driver f

Re: [PATCH] backlight: add regulator support for platform_lcd driver

2011-12-05 Thread Thomas Abraham
Hi Felipe, On 5 December 2011 14:22, Felipe Balbi wrote: [...] >> +     if (lcd_power) { >> +             if (plcd->pdata->min_uV || plcd->pdata->max_uV) >> +                     if (regulator_set_voltage(lcd_regulator, >> +                             plcd->pdata->min_uV, plcd->pdata->max_uV))

Re: [PATCH] backlight: add regulator support for platform_lcd driver

2011-12-05 Thread Felipe Balbi
Hi, On Mon, Dec 05, 2011 at 02:18:41PM +0530, Thomas Abraham wrote: > The power source to the lcd panel or the lcd interface such as lvds > transmitters could be controlled by a regulator supply. Add support > for enabling/disabling the regulator when switching power to lcd. > > Two new elements

[PATCH 2/2] arm: exynos: allow platform-lcd driver to control lcd regulator source on origen

2011-12-05 Thread Thomas Abraham
The buck7 regulator of max8997 pmic which provides the power source to lcd panel and the lvds transmitter is allowed to be controlled by the platform-lcd driver. It is not required to apply the voltage source by default. Also, the voltage range for buck7 regulator is modified as the per the values

[PATCH] backlight: add regulator support for platform_lcd driver

2011-12-05 Thread Thomas Abraham
The power source to the lcd panel or the lcd interface such as lvds transmitters could be controlled by a regulator supply. Add support for enabling/disabling the regulator when switching power to lcd. Two new elements 'min_uV' and 'max_uV' in the platform data are added to allow platform code to