Re: [PATCH V4 2/2] video: drm: exynos: Add device tree support

2012-09-20 Thread Inki Dae
Hi, I had merged this patch set but I realizes this patch has no descriptions enough so please add the descriptions what is this patch. 2012/9/6 Leela Krishna Amudala l.kris...@samsung.com: Add device tree based discovery support for DRM-FIMD driver. Signed-off-by: Leela Krishna Amudala

[PATCH] samsung: clock: Modify for the case with the only parent

2012-09-20 Thread In-Bae Jeong
'camera' clock has the only parent and thus has no reg_src. It has a parent clock but it prints 'No parent clock specified' message. This patch is to deal with the case with the only parent clock. --- arch/arm/plat-samsung/clock-clksrc.c | 17 + 1 files changed, 9 insertions(+),

Re: [PATCH 1/3] ARM: EXYNOS5: Add fimd node to the exynos5250 dtsi file

2012-09-20 Thread Jingoo Han
On Wednesday, September 19, 2012 3:22 AM Leela Krishna Amudala wrote This patch adds the fimd node with compatibility string, hardware address, interrupt line numbers to the exynos5250 dtsi file. Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com ---

Re: [PATCH 2/3] ARM: EXYNOS: add device tree based discovery support for FIMD

2012-09-20 Thread Jingoo Han
On Thursday, September 20, 2012 2:54 PM Leela Krishna Amudala wrote Hi Jingoo Han, On Thu, Sep 20, 2012 at 10:32 AM, Jingoo Han jg1@samsung.com wrote: On Wednesday, September 19, 2012 3:22 AM Leela Krishna Amudala wrote This patch adds support for device tree based discovery for

[PATCH 0/6] pinctrl: samsung: Various fixes

2012-09-20 Thread Tomasz Figa
This patch series contains various fixes of problems and nitpicks spotted when working on adding support for Exynos4x12. See each patch for more detailed information. TODO: - setting WEINT pins to EINT function in exynos_wkup_irq_set_type Tomasz Figa (6): pinctrl: exynos: Set pin function to

[PATCH 1/6] pinctrl: exynos: Set pin function to EINT in irq_set_type of GPIO EINTa

2012-09-20 Thread Tomasz Figa
Pins used as GPIO interrupts need to be configured as EINTs. This patch adds the required configuration code to exynos_gpio_irq_set_type, to set the pin as EINT when its interrupt trigger is configured. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 2/6] pinctrl: exynos: Fix typos in gpio/wkup _irq_mask

2012-09-20 Thread Tomasz Figa
To mask GPIO/wakeup IRQ, the corresponding bit in mask register has to be set. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/pinctrl/pinctrl-exynos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/6] pinctrl: exynos: Handle only unmasked wakeup interrupts

2012-09-20 Thread Tomasz Figa
A bit in EINTxx_PEND register is set regardless of interrupt mask, which causes spurious interrupts. To avoid them, the read value of pending register must be masked with current interrupt mask manually. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 4/6] pinctrl: exynos: Mark exynos_irq_demux_eint as inline

2012-09-20 Thread Tomasz Figa
The exynos_irq_demux_eint utility function is used in chained IRQ handler for EINT16-31 to handle multiplexed interrupts. Inlining it should improve the performance a bit. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 5/6] pinctrl: exynos: Correct the detection of wakeup-eint node

2012-09-20 Thread Tomasz Figa
Current way of finding the wakeup-eint node scans the whole device tree not only children of the pinctrl node, so it might detect a wakeup-eint node of another pinctrl device. This patch limits the scope of looking for nodes only to subnodes of the pinctrl node. Signed-off-by: Tomasz Figa

[PATCH 6/6] pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data

2012-09-20 Thread Tomasz Figa
Although the function is used only a single time, it is not performance critical and it is pretty heavy, so let the compiler decide whether to inline it instead. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH] ARM: exynos: remove the MMC_CAP2_BROKEN_VOLTAGE

2012-09-20 Thread Jaehoon Chung
This patch is dependency with Chris's patch. [PATCH] mmc: core: Replace MMC_CAP2_BROKEN_VOLTAGE with test for fixed regulator http://git.kernel.org/?p=linux/kernel/git/cjb/mmc.git;a=commit;h=421fc8e70079b8b9e473a55a6267302695641dcc After applied that patch, it needs not to set

[RFC 0/6] pinctrl: samsung: Remove static platform-specific data

2012-09-20 Thread Tomasz Figa
This RFC series is a work on replacing static platform-specific data in pinctrl-samsung driver with data dynamically parsed from device tree. It aims at reducing the SoC-specific part of the driver and thus the amount of modifications to driver sources when adding support for next SoCs (like

[RFC 1/6] pinctrl: exynos: Parse wakeup-eint parameters from DT

2012-09-20 Thread Tomasz Figa
This patch converts the pinctrl-exynos driver to parse wakeup interrupt count and register offsets from device tree. It reduces the amount of static platform-specific data and facilitates adding further SoC variants to pinctrl-samsung driver. Signed-off-by: Tomasz Figa t.f...@samsung.com

[RFC 2/6] pinctrl: samsung: Parse pin banks from DT

2012-09-20 Thread Tomasz Figa
Currently platform-specific properties such as list of pin banks, register offsets and bitfield sizes is being taken from static data structure residing in pinctrl-exynos.c. This patch modifies the pinctrl-samsung driver to parse all platform-specific data from device tree, which will allow to

[RFC 3/6] pinctrl: exynos: Remove static platform-specific data

2012-09-20 Thread Tomasz Figa
The patch pinctrl: samsung: Parse pin banks from DT introduced parsing platform-specific data from device tree, so there is no need to keep the previously used definitions in headers and source files. This patch cleans up the pinctrl-exynos driver from unused platform-specific data.

[RFC 4/6] pinctrl: samsung: Parse bank-specific eint offset from DT

2012-09-20 Thread Tomasz Figa
Some SoCs, like Exynos4x12, have non-linear layout of EINT control registers and so current way of calculating register addresses does not work correctly for them. This patch adds parsing of samsung,eint-offset property from bank nodes and uses the read values instead of calculating the offsets

[RFC 5/6] ARM: dts: exynos4210: Remove legacy gpio nodes

2012-09-20 Thread Tomasz Figa
This patch removes the legacy gpio nodes as the gpio driver is going to be replaced with the new pinctrl driver. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4210.dtsi | 229 --

Re: [PATCH 1/3] ARM: EXYNOS5: Add fimd node to the exynos5250 dtsi file

2012-09-20 Thread Leela Krishna Amudala
Hello, On Thu, Sep 20, 2012 at 1:33 PM, Jingoo Han jg1@samsung.com wrote: On Wednesday, September 19, 2012 3:22 AM Leela Krishna Amudala wrote This patch adds the fimd node with compatibility string, hardware address, interrupt line numbers to the exynos5250 dtsi file. Signed-off-by:

Re: [PATCH V4 2/2] video: drm: exynos: Add device tree support

2012-09-20 Thread Leela Krishna Amudala
Hello Inki Dae, On Thu, Sep 20, 2012 at 11:59 AM, Inki Dae inki@samsung.com wrote: Hi, I had merged this patch set but I realizes this patch has no descriptions enough so please add the descriptions what is this patch. Will give more description and post the next version. 2012/9/6

Re: [PATCH 0/6] pinctrl: samsung: Various fixes

2012-09-20 Thread Linus Walleij
On Thu, Sep 20, 2012 at 10:51 AM, Tomasz Figa t.f...@samsung.com wrote: This patch series contains various fixes of problems and nitpicks spotted when working on adding support for Exynos4x12. See each patch for more detailed information. This all looks good, do you want me to take this into

Re: [RFC 0/6] pinctrl: samsung: Remove static platform-specific data

2012-09-20 Thread Linus Walleij
On Thu, Sep 20, 2012 at 10:53 AM, Tomasz Figa t.f...@samsung.com wrote: This RFC series is a work on replacing static platform-specific data in pinctrl-samsung driver with data dynamically parsed from device tree. Please include Stephen Warren on this series, he know his way around pinctrl -

Re: [PATCH] video: exynos_dp: Add device tree support to DP driver

2012-09-20 Thread Jingoo Han
On Friday, September 14, 2012 3:40 AM Ajay Kumar wrote This patch enables device tree based discovery support for DP driver. The driver is modified to handle platform data in both the cases: with DT and non-DT. DP-PHY should be regarded as a seperate device node while being passed from

Re: [PATCH 0/6] pinctrl: samsung: Various fixes

2012-09-20 Thread Kukjin Kim
On 09/20/12 19:25, Linus Walleij wrote: On Thu, Sep 20, 2012 at 10:51 AM, Tomasz Figat.f...@samsung.com wrote: This patch series contains various fixes of problems and nitpicks spotted when working on adding support for Exynos4x12. See each patch for more detailed information. This all

[PATCH 7/6] pinctrl: exynos: Fix wakeup IRQ domain registration check

2012-09-20 Thread Tomasz Figa
Because of a typo, incorrect field of a structure was being checked. This patch fixes the check to use correct field. Signed-off-by: Tomasz Figa t.f...@samsung.com --- drivers/pinctrl/pinctrl-exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/6] pinctrl: samsung: Various fixes

2012-09-20 Thread Tomasz Figa
Hi Kukjin, On Thursday 20 of September 2012 23:29:13 Kukjin Kim wrote: On 09/20/12 19:25, Linus Walleij wrote: On Thu, Sep 20, 2012 at 10:51 AM, Tomasz Figat.f...@samsung.com wrote: This patch series contains various fixes of problems and nitpicks spotted when working on adding support

RE: [PATCH 0/6] pinctrl: samsung: Various fixes

2012-09-20 Thread Kukjin Kim
Tomasz Figa wrote: Hi Kukjin, Hi, On Thursday 20 of September 2012 23:29:13 Kukjin Kim wrote: On 09/20/12 19:25, Linus Walleij wrote: On Thu, Sep 20, 2012 at 10:51 AM, Tomasz Figat.f...@samsung.com wrote: This patch series contains various fixes of problems and nitpicks spotted

RE: [PATCH] ARM: exynos: remove the MMC_CAP2_BROKEN_VOLTAGE

2012-09-20 Thread Kukjin Kim
Jaehoon Chung wrote: This patch is dependency with Chris's patch. [PATCH] mmc: core: Replace MMC_CAP2_BROKEN_VOLTAGE with test for fixed regulator http://git.kernel.org/?p=linux/kernel/git/cjb/mmc.git;a=commit;h=421fc8e70 079b8b9e473a55a6267302695641dcc After applied that patch, it needs

Re: [GIT PULL 6/7] Samsung cleanup fimd header for v3.7

2012-09-20 Thread Olof Johansson
On Thu, Sep 20, 2012 at 08:19:15AM +0900, Kukjin Kim wrote: Hi Arnd, Olof. This is for moving header file is related to fimd from platform to include/video. Since this touches many Samsung stuff, it is included in samsung tree and I requested to pull into Florian's tree and he already

Re: [GIT PULL 1/7] Samsung cleanup for v3.7

2012-09-20 Thread Olof Johansson
On Thu, Sep 20, 2012 at 08:18:31AM +0900, Kukjin Kim wrote: Hi Arnd, Olof Here, there are cleanup patches for Samsung v3.7 and most of them are related to cleanup Samsung specific gpio API. If any problem, please kindly let me know. Thanks, I've pulled all but the fimd header branch into

Re: [GIT PULL 6/7] Samsung cleanup fimd header for v3.7

2012-09-20 Thread Florian Tobias Schandinat
Hi, On 09/20/2012 11:59 PM, Olof Johansson wrote: On Thu, Sep 20, 2012 at 08:19:15AM +0900, Kukjin Kim wrote: Hi Arnd, Olof. This is for moving header file is related to fimd from platform to include/video. Since this touches many Samsung stuff, it is included in samsung tree and I

Re: [PATCH] ARM: exynos: remove the MMC_CAP2_BROKEN_VOLTAGE

2012-09-20 Thread Jaehoon Chung
Thanks Kukjin. Best Regards, Jaehoon Chung On 09/21/2012 08:36 AM, Kukjin Kim wrote: Jaehoon Chung wrote: This patch is dependency with Chris's patch. [PATCH] mmc: core: Replace MMC_CAP2_BROKEN_VOLTAGE with test for fixed regulator

Re: [PATCH v6 1/6] thermal: add generic cpufreq cooling implementation

2012-09-20 Thread jonghwa3 . lee
Hi, Amit, On 2012년 08월 16일 20:41, Amit Daniel Kachhap wrote: diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c new file mode 100644 index 000..66cbd52 --- /dev/null +++ b/drivers/thermal/cpu_cooling.c @@ -0,0 +1,586 @@ +/** + *

RE: [PATCH v6 9/9] mmc: dw_mmc: add support for exynos specific implementation of dw-mshc

2012-09-20 Thread Seungwon Jeon
On Thursday, September 20, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: On 19 September 2012 19:12, Seungwon Jeon tgih@samsung.com wrote: On Tuesday, September 18, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: +int dw_mci_exynos_probe(struct platform_device *pdev)

RE: [PATCH v6 6/9] mmc: dw_mmc: add device tree support

2012-09-20 Thread Seungwon Jeon
On Thursday, September 20, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: On 19 September 2012 19:09, Seungwon Jeon tgih@samsung.com wrote: On Tuesday, September 18, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: +#ifdef CONFIG_OF +/* given a slot id, find out the

Re: [PATCH v6 6/9] mmc: dw_mmc: add device tree support

2012-09-20 Thread Jaehoon Chung
+#else /* CONFIG_OF */ +static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) +{ + return ERR_PTR(-EINVAL); +} +#endif /* CONFIG_OF */ + int dw_mci_probe(struct dw_mci *host) { int width, i, ret = 0; u32 fifo_size; int init_slots = 0; - if

[PATCH V6 0/2] video: drm: Add Device tree support to exynos DRM-FIMD

2012-09-20 Thread Leela Krishna Amudala
This patch set adds device tree support for DRM-FIMD for Samsung's Exynos5250. It includes parsing platform data from dts file. Also, adds the driver data for exynos4 and exynos5 devices. This patchset is based and tested on top of v3.6-rc4 on smdk5250 board Also depends on below patchset

[PATCH V6 1/2] drm/exynos: add platform_device_id table and driver data for drm fimd

2012-09-20 Thread Leela Krishna Amudala
Two device ids are created for exynos4-fb and exynos5-fb. Also, added driver data for exynos4 and exynos5 to pick the timing base address at runtime to write data into appropriate register address. Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com ---

Re: [PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-20 Thread Stephen Warren
On 09/21/2012 05:22 AM, Leela Krishna Amudala wrote: This patch adds device tree based discovery support for exynos DRM-FIMD driver which includes driver modification to handle platform data in both the cases with DT and non-DT, Also adds the documentation for bindings. diff --git

[PATCH v2 3/3] mmc: sdhci-s3c: Add clk_(enable/disable) in runtime suspend/resume

2012-09-20 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@gmail.com Perform clock disable/enable in runtime suspend/resume. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Acked-by: Jaehoon Chung jh80.ch...@samsung.com --- Changelog: v2: - Wrapped clk_disable in probe and clk_enable in remove with