drm: exynos: mixer: fix using usleep() in atomic context

2014-11-29 Thread tjakobi
From: Tomasz Stanislawski This patch fixes calling usleep_range() after taking reg_slock using spin_lock_irqsave(). The mdelay() is used instead. Waiting in atomic context is not the best idea in general. Hopefully, waiting occurs only when Video Processor fails to reset correctly. Signed-off-by

drm/exynos: some small forgotten patch

2014-11-29 Thread tjakobi
Hello, while looking through my local kernel tree, I noticed that this patch for the mixer component of drm/exynos, posted some time ago, was never applied. Since this is an obvious (and small) fix, could this still go into 3.19? With best wishes, Tobias -- To unsubscribe from this list: send th

RE: [PATCH v5 5/6] drivers: soc: exynos-pmu: Add support for Exynos7

2014-11-29 Thread Kukjin Kim
Amit Daniel Kachhap wrote: > > Add PMU settings for exynos7. This is required for future suspend-to-ram, > cpuidle and power domain support. > > Note: In this patch some static declarations lines are over 80 > characters per line for easy redability. > > Reviewed-by: Pankaj Dubey > Signed-off-b

RE: [PATCH v5 3/6] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-29 Thread Kukjin Kim
Amit Daniel Kachhap wrote: > > This patch adds an API exynos_sys_powerup_conf to be called after system sleep > wakeup. This will useful for exynos7 SoC to perform resume related > initialisations. This is similar to currently existing API > exynos_sys_powerdown_conf. > > Reviewed-by: Pankaj Dube

RE: [PATCH v5 2/6] drivers: soc: Add support for Exynos PMU driver

2014-11-29 Thread Kukjin Kim
Amit Daniel Kachhap wrote: > > This patch moves Exynos PMU driver implementation from "arm/mach-exynos" > to "drivers/soc/samsung". This driver is mainly used for setting misc > bits of register from PMU IP of Exynos SoC which will be required to > configure before Suspend/Resume. Currently all th

RE: [PATCH] clocksource: exynos_mct: fix exynos4_mct_write

2014-11-29 Thread Kukjin Kim
Tobias Jakobi wrote: > > EXYNOS4_MCT_L_MASK is defined as 0xff00, so applying this bitmask > produces a number outside the range 0x00 to 0xff, which always results > in execution of the default switch statement. > > Obviously this is wrong and git history shows that the bitmask inversion > wa

RE: [PATCH] clocksource: exynos_mct: fix exynos4_mct_write

2014-11-29 Thread Kukjin Kim
Tobias Jakobi wrote: > > Hello, > > just a short note that I still don't see this patch applied anywhere. > Anything else I need to do here? > Sorry about that and it would be handled by Daniel. Let me ping with adding him on your original patch. Thanks for your gentle reminder. - Kukjin --

Re: [PATCH] clocksource: exynos_mct: fix exynos4_mct_write

2014-11-29 Thread Tobias Jakobi
Hello, just a short note that I still don't see this patch applied anywhere. Anything else I need to do here? With best wishes, Tobias -- 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 htt

[PATCH v5 4/6] driver: soc: exynos-pmu: Add a new structure to allow u32 conf data

2014-11-29 Thread Amit Daniel Kachhap
Commit b04fa9f "ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf" modifies the structure to allow only u8 type configuration data. To support SoC's which need u32 type data a new structure is added. Signed-off-by: Amit Daniel Kachhap --- drivers/soc/samsung/exynos-pmu.c |9 +++--

[PATCH v5 0/6] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-29 Thread Amit Daniel Kachhap
This patch series [1 - 6] performs, 1) Moves pmu driver to driver/soc/samsung folder. This is needed as exynos7 is an arm64 based platform and hence PMU driver should be in driver folder. Some discussion happened about this in the v1 version. Finally adding it in driver/soc folder as it t

[PATCH v5 6/6] arm: exynos: Select SOC_SAMSUNG config option

2014-11-29 Thread Amit Daniel Kachhap
The config option SOC_SAMSUNG is needed to enable all soc samsung drivers inside driver/soc/samsung folder. Currently, this will be useful to enable exynos pmu driver which is moved to that folder. Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/Kconfig |1 + 1 file changed, 1 in

[PATCH v5 3/6] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-29 Thread Amit Daniel Kachhap
This patch adds an API exynos_sys_powerup_conf to be called after system sleep wakeup. This will useful for exynos7 SoC to perform resume related initialisations. This is similar to currently existing API exynos_sys_powerdown_conf. Reviewed-by: Pankaj Dubey Signed-off-by: Amit Daniel Kachhap ---

[PATCH v5 1/6] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2014-11-29 Thread Amit Daniel Kachhap
Moving Exynos PMU specific header file into "include/linux/soc/samsung" thus updated affected files under "mach-exynos" to use new location of these header files. Signed-off-by: Pankaj Dubey Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/exynos.c |2 +- arc

[PATCH v5 2/6] drivers: soc: Add support for Exynos PMU driver

2014-11-29 Thread Amit Daniel Kachhap
This patch moves Exynos PMU driver implementation from "arm/mach-exynos" to "drivers/soc/samsung". This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to configure before Suspend/Resume. Currently all these settings are done in "arch/arm/mac

[PATCH v5 5/6] drivers: soc: exynos-pmu: Add support for Exynos7

2014-11-29 Thread Amit Daniel Kachhap
Add PMU settings for exynos7. This is required for future suspend-to-ram, cpuidle and power domain support. Note: In this patch some static declarations lines are over 80 characters per line for easy redability. Reviewed-by: Pankaj Dubey Signed-off-by: Eunseok Choi Signed-off-by: Abhilash Kesav