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
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
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
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
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
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(-)
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/
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
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 +++
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
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
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 +++
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
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.
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 =>
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
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
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/
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
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-
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
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
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
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
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 |
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(+),
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(+)
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
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
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
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,
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/
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/
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/
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
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/
> -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
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
38 matches
Mail list logo