Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-19 Thread NAVEEN KRISHNA CHATRADHI
Hello Sebastian, I just did one more testing. In case of iio/adc/exynos_adc.c there is a bug in the remove path. If I fix the bug in the driver, with below patch --- a/drivers/iio/adc/exynos_adc.c +++ b/drivers/iio/adc/exynos_adc.c @@ -375,14 +375,14 @@ static int exynos_adc_remove(struct platfo

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-19 Thread NAVEEN KRISHNA CHATRADHI
Hello Sebastian, --- Original Message --- Sender : Sebastian Andrzej Siewior Date : Jul 19, 2013 23:44 (GMT+05:30) Title : [PATCH] of: provide of_platform_unpopulate() So I called of_platform_populate() on a device to get each child device probed and on rmmod and I need to reverse its

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-19 Thread Kishon Vijay Abraham I
Hi, On Saturday 20 July 2013 05:20 AM, Greg KH wrote: On Fri, Jul 19, 2013 at 12:06:01PM +0530, Kishon Vijay Abraham I wrote: Hi, On Friday 19 July 2013 11:59 AM, Greg KH wrote: On Fri, Jul 19, 2013 at 11:25:44AM +0530, Kishon Vijay Abraham I wrote: Hi, On Friday 19 July 2013 11:13 AM, Greg

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-19 Thread Kishon Vijay Abraham I
Hi, On Friday 19 July 2013 09:24 PM, Stephen Warren wrote: On 07/19/2013 12:36 AM, Kishon Vijay Abraham I wrote: Hi, On Friday 19 July 2013 11:59 AM, Greg KH wrote: On Fri, Jul 19, 2013 at 11:25:44AM +0530, Kishon Vijay Abraham I wrote: Hi, On Friday 19 July 2013 11:13 AM, Greg KH wrote: O

[PATCH v4 13/20] pwm: Add new pwm-samsung driver

2013-07-19 Thread Tomasz Figa
This patch introduces new Samsung PWM driver, which uses Samsung PWM/timer master driver to control shared parts of the hardware. Signed-off-by: Tomasz Figa --- drivers/pwm/Makefile | 1 + drivers/pwm/pwm-samsung.c | 606 ++ 2 files changed, 607

[PATCH v4 14/20] ARM: SAMSUNG: Rework private data handling in dev-backlight

2013-07-19 Thread Tomasz Figa
This patch modifies dev-backlight helpers to get private data using container_of instead of abusing platform_data field of PWM device. Signed-off-by: Tomasz Figa --- arch/arm/plat-samsung/dev-backlight.c | 51 --- 1 file changed, 29 insertions(+), 22 deletions(-)

[PATCH v4 15/20] ARM: SAMSUNG: Modify board files to use new PWM platform device

2013-07-19 Thread Tomasz Figa
This patch modifies any board files using the legacy PWM device to use the new device instead. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c24xx/mach-h1940.c| 4 ++-- arch/arm/mach-s3c24xx/mach-rx1950.c | 5 ++--- arch/arm/mach-s3c64xx/mach-crag6410.c | 4 ++-- arch/arm/mach-s3c64xx/

[PATCH v4 05/20] clocksource: samsung_pwm_timer: Handle suspend/resume correctly

2013-07-19 Thread Tomasz Figa
Current suspend/resume handling of the driver was broken, because: - periodic timer was being enabled in CLOCK_EVT_MODE_RESUME mode, which does not seem to be correct behavior looking at other platforms, - PWM divisors need to be restored, but they were not, - clockevent interrupt mask needs

[PATCH v4 09/20] ARM: SAMSUNG: Move all platforms to new clocksource driver

2013-07-19 Thread Tomasz Figa
This patch moves all Samsung platforms using PWM clocksource from legacy samsung-time to new samsung-pwm-timer driver. Signed-off-by: Tomasz Figa --- arch/arm/Kconfig| 10 +- arch/arm/mach-s3c24xx/Kconfig | 6 -- arch/arm/mach-s3c24xx/common.c | 16 +++

[PATCH v4 17/20] ARM: SAMSUNG: Remove old PWM timer platform devices

2013-07-19 Thread Tomasz Figa
This patch removes old Samsung PWM timer platform devices that are not used any more. Signed-off-by: Tomasz Figa --- arch/arm/plat-samsung/devs.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 290f63a..8ce0

[PATCH v4 06/20] ARM: SAMSUNG: Unify base address definitions of timer block

2013-07-19 Thread Tomasz Figa
From: Tomasz Figa This patch makes all defintions of timer block base address use the same prefix to allow using the common name to define platform device resource. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-s3c24xx/include/mach/map.h | 2 ++ arch/arm/mach-s3c64

[PATCH v4 08/20] ARM: SAMSUNG: Set PWM platform data

2013-07-19 Thread Tomasz Figa
From: Tomasz Figa This patch adds PWM platform data needed for legacy (non-DT) platforms to handle SoC-specific bits of the PWM/timer block. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-s3c24xx/common.c | 11 +++ arch/arm/mach-s3c64xx/common.c | 11 +++

[PATCH v4 19/20] ARM: SAMSUNG: Remove remaining uses of plat/regs-timer.h header

2013-07-19 Thread Tomasz Figa
This patch removes remaining inclusions of plat/regs-timer.h as a preparation to remove the header. As a part of this, things like save and restore of PWM registers are removed from SoC-specific code, because it is handled in appropriate drivers now. Signed-off-by: Tomasz Figa --- arch/arm/mach

[PATCH v4 18/20] ARM: SAMSUNG: Remove pwm-clock infrastructure

2013-07-19 Thread Tomasz Figa
Since all the used PWM prescalers and dividers configuration has been moved to appropriate drivers, the pwm-clock infrastructure is now unused and so this patch removes it. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c24xx/clock-s3c2410.c | 1 - arch/arm/mach-s3c24xx/clock-s3c2412.

[PATCH v4 12/20] pwm: samsung: Rename to pwm-samsung-legacy

2013-07-19 Thread Tomasz Figa
This patch renames the old pwm-samsung driver to pwm-samsung-legacy to create place for the new, rewritten, DT-aware pwm-samsung driver using Samsung PWM/timer master driver. Signed-off-by: Tomasz Figa --- drivers/pwm/Makefile| 2 +- drivers/pwm/{pwm-samsung.c =>

[PATCH v4 10/20] ARM: SAMSUNG: Remove old samsung-time driver

2013-07-19 Thread Tomasz Figa
This patch removes the old samsung-time driver, since all its users have been migrated to the new samsung_pwm_timer clocksource driver. Signed-off-by: Tomasz Figa --- arch/arm/plat-samsung/Kconfig | 8 - arch/arm/plat-samsung/Makefile| 1 - arch/arm/pl

[PATCH v4 11/20] ARM: SAMSUNG: Remove unused PWM timer IRQ chip code

2013-07-19 Thread Tomasz Figa
From: Tomasz Figa As the need for an IRQ chip handling PWM timer interrupt chaining is gone now, this patch removes all the code made unnecessary. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/Kconfig | 1 - arch/arm/mach-s3c64xx/inclu

[PATCH v4 07/20] ARM: SAMSUNG: Add new PWM platform device

2013-07-19 Thread Tomasz Figa
This patch adds new samsung_device_pwm platform device that represents the whole PWM/timer block and includes memory and IRQ resources. Signed-off-by: Tomasz Figa --- arch/arm/plat-samsung/devs.c | 17 + arch/arm/plat-samsung/include/plat/devs.h | 1 + arch/

[PATCH v4 16/20] pwm: Remove superseded pwm-samsung-legacy driver

2013-07-19 Thread Tomasz Figa
This patch removes the now unused pwm-samsung-legacy driver, which was replaced by new pwm-samsung driver. Signed-off-by: Tomasz Figa --- drivers/pwm/Makefile | 1 - drivers/pwm/pwm-samsung-legacy.c | 353 --- 2 files changed, 354 deletions(-) d

[PATCH v4 20/20] ARM: SAMSUNG: Remove plat/regs-timer.h header

2013-07-19 Thread Tomasz Figa
Since all uses of the header has been removed by previous patches it can be removed safely. Signed-off-by: Tomasz Figa --- arch/arm/plat-samsung/include/plat/regs-timer.h | 124 1 file changed, 124 deletions(-) delete mode 100644 arch/arm/plat-samsung/include/plat/regs-

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-19 Thread Greg KH
On Fri, Jul 19, 2013 at 12:06:01PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 19 July 2013 11:59 AM, Greg KH wrote: > > On Fri, Jul 19, 2013 at 11:25:44AM +0530, Kishon Vijay Abraham I wrote: > >> Hi, > >> > >> On Friday 19 July 2013 11:13 AM, Greg KH wrote: > >>> On Fri, Jul 19, 201

[PATCH v4 00/20] Samsung PWM support cleanup

2013-07-19 Thread Tomasz Figa
Since we now have a proper Samsung PWM clocksource driver in place, we can proceed with further cleanup of PWM timers support on Samsung SoCs. This series attempts to achieve this goal by: 1) fixing up few things in samsung_pwm_timer clocksource driver, 2) moving remaining Samsung platforms to t

[PATCH v4 01/20] clocksource: samsung_pwm_timer: Do not request PWM mem region

2013-07-19 Thread Tomasz Figa
PWM registers are shared between clocksource and PWM drivers and so can not be claimed for exclusive use. Signed-off-by: Tomasz Figa --- drivers/clocksource/samsung_pwm_timer.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/clocksource/samsung_pwm_timer.c

[PATCH v4 02/20] clocksource: samsung_pwm_timer: Correct definition of AUTORELOAD bit

2013-07-19 Thread Tomasz Figa
PWM channel 4 has its autoreload bit located at different position. This patch fixes the driver to account for that. This fixes a problem with the clocksource hanging after it overflows because it is not reloaded any more. Signed-off-by: Tomasz Figa Tested-by: Tomasz Figa --- drivers/clocksour

[PATCH v4 02/20] clocksource: samsung_pwm_timer: Correct definition of AUTORELOAD bit

2013-07-19 Thread Tomasz Figa
PWM channel 4 has its autoreload bit located at different position. This patch fixes the driver to account for that. This fixes a problem with the clocksource hanging after it overflows because it is not reloaded any more. Signed-off-by: Tomasz Figa --- drivers/clocksource/samsung_pwm_timer.c |

[PATCH v4 03/20] clocksource: samsung_pwm_timer: Cache clocksource register address

2013-07-19 Thread Tomasz Figa
Instead of calculating register every time the timer should be read, we can just do it one time at initialization and store the address in driver data. Signed-off-by: Tomasz Figa --- drivers/clocksource/samsung_pwm_timer.c | 33 - 1 file changed, 8 insertions(+),

[PATCH v4 04/20] clocksource: samsung_pwm_timer: Do not use clocksource_mmio

2013-07-19 Thread Tomasz Figa
In case of Samsung PWM timer, clocksource MMIO can not be used, because custom suspend/resume callbacks are required. Signed-off-by: Tomasz Figa --- drivers/clocksource/Kconfig | 1 - drivers/clocksource/samsung_pwm_timer.c | 19 +++ 2 files changed, 15 insertions(+)

брендовые сумочки отличного качества из Милана от 750О р

2013-07-19 Thread auxerre
29XT1d3U0ODd0O8gwePc2tAg4dTV29Db0OHsIN/e1N7h4uPf3dXZISDD4d/V2eLVLSDX0CAxNSC3 NzUg4CEgaHR0cDovL3d3dy5zaG9ydGNsaWNrLmNvbS8wcDJqLw0K -- 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

Re: [PATCH 10/22] ARM: ux500: Remove '0x's from Exynos5420 DTS file

2013-07-19 Thread Russell King - ARM Linux
On Fri, Jul 19, 2013 at 02:58:41PM +0100, Lee Jones wrote: > Cc: Kukjin Kim > Cc: linux-samsung-soc@vger.kernel.org > Signed-off-by: Lee Jones > --- > arch/arm/boot/dts/exynos5420.dtsi | 2 +- One question. What have all these files got to do with ux500 ? -- To unsubscribe from this list: send

[PATCH] of: provide of_platform_unpopulate()

2013-07-19 Thread Sebastian Andrzej Siewior
So I called of_platform_populate() on a device to get each child device probed and on rmmod and I need to reverse its doing. After a quick grep I did what others did as well and rmmod ended in: | Unable to handle kernel NULL pointer dereference at virtual address 0018 | PC is at release_resour

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-19 Thread Stephen Warren
On 07/19/2013 12:36 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 19 July 2013 11:59 AM, Greg KH wrote: >> On Fri, Jul 19, 2013 at 11:25:44AM +0530, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Friday 19 July 2013 11:13 AM, Greg KH wrote: On Fri, Jul 19, 2013 at 11:07:10AM +0530,

[PATCH 07/22] ARM: ux500: Remove '0x's from Exynos4110 DTSI file

2013-07-19 Thread Lee Jones
Cc: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- arch/arm/boot/dts/exynos4210.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index b7f358a..53e2527 100644 --- a/arch/

[PATCH 10/22] ARM: ux500: Remove '0x's from Exynos5420 DTS file

2013-07-19 Thread Lee Jones
Cc: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 8c54c4b..9e90d1e 100644 --- a/arch/

[PATCH 11/22] ARM: ux500: Remove '0x's from Exynos5440 DTS file

2013-07-19 Thread Lee Jones
Cc: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- arch/arm/boot/dts/exynos5440.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index ff7f5d8..0cedba4 100644 --- a/arch/

[PATCH 09/22] ARM: ux500: Remove '0x's from Exynos5250 DTS file

2013-07-19 Thread Lee Jones
Cc: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- arch/arm/boot/dts/exynos5250.dtsi | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index ef57277..24c0888 100

[PATCH 08/22] ARM: ux500: Remove '0x's from Exynos4x12 DTSI file

2013-07-19 Thread Lee Jones
Cc: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- arch/arm/boot/dts/exynos4x12.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index 01da194..3aa2f06 100644 --- a/arch/

RE: [PATCH v7 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-07-19 Thread Cho KyongHo
> -Original Message- > From: Antonios Motakis [mailto:a.mota...@virtualopensystems.com] > Sent: Friday, July 19, 2013 1:25 AM > > Hello Cho, > > I have been trying out the Exynos System MMU driver including your > fixes, however I notice that if you try to get the iommu_group of a > devic

[PATCH] watchdog: s3c2410_wdt: code clean up

2013-07-19 Thread Leela Krishna Amudala
This patch removes the global variables in the driver file and group them into a structure. Signed-off-by: Leela Krishna Amudala --- Note: This patch is rebased on kgene's for-next branch and tested on SMDK5420. drivers/watchdog/s3c2410_wdt.c | 204 +++- 1