RE: [PATCH] clk: samsung: exynos7: Add clocks for MSCL block

2014-12-23 Thread Tony K Nadackal
Hi Sylwester, On Monday, December 22, 2014 8:28 PM Sylwester Nawrocki, [snip] I've queued this patch for 3.20. Would be nice to have a Reviewed-by tag from someone else who has access to the SoC documentation though. Pankaj Dubey has reviewed this patch [1]. He has pointed out that there is

3.19-rc1: peach*: display not working (missing patches)

2014-12-23 Thread Paolo Pisati
Hi, 3.19-rc1 still misses these two patches: 156823e arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy 03c16e7 ARM: exynos_defconfig: Enable options for display panel support156823e and without them, the display doesn't turn on on my peachpi: can we have them queued for rc2? --

[PATCH v10 6/8] ARM: EXYNOS: Add .write_sec outer cache callback for L2C-310

2014-12-23 Thread Marek Szyprowski
From: Tomasz Figa t.f...@samsung.com Exynos4 SoCs equipped with an L2C-310 cache controller and running under secure firmware require certain registers of aforementioned IP to be accessed only from secure mode. This means that SMC calls are required for certain register writes. To handle this, an

[PATCH v10 7/8] ARM: EXYNOS: Add support for non-secure L2X0 resume

2014-12-23 Thread Marek Szyprowski
From: Tomasz Figa t.f...@samsung.com On Exynos SoCs it is necessary to resume operation of L2C early in assembly code, because otherwise certain systems will crash. This patch adds necessary code to non-secure resume handler. Signed-off-by: Tomasz Figa t.f...@samsung.com [rewrote the code

[PATCH v10 0/8] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-12-23 Thread Marek Szyprowski
This is an updated patchset, which intends to add support for L2 cache on Exynos4 SoCs on boards running under secure firmware, which requires certain initialization steps to be done with help of firmware, as selected registers are writable only from secure mode. First patch updates Omap2+

[PATCH v10 8/8] ARM: dts: exynos4: Add nodes for L2 cache controller

2014-12-23 Thread Marek Szyprowski
From: Tomasz Figa t.f...@samsung.com This patch adds device tree nodes for L2 cache controller present on Exynos4 SoCs. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Kukjin Kim

[PATCH v10 5/8] ARM: l2c: Add support for overriding prefetch settings

2014-12-23 Thread Marek Szyprowski
From: Tomasz Figa t.f...@samsung.com Firmware on certain boards (e.g. ODROID-U3) can leave incorrect L2C prefetch settings configured in registers leading to crashes if L2C is enabled without overriding them. This patch introduces bindings to enable prefetch settings to be specified from DT and

[PATCH v10 4/8] ARM: l2c: Get outer cache .write_sec callback from mach_desc only if not NULL

2014-12-23 Thread Marek Szyprowski
From: Tomasz Figa t.f...@samsung.com Certain platforms (i.e. Exynos) might need to set .write_sec callback from firmware initialization which is happenning in .init_early callback of machine descriptor. However current code will overwrite the pointer with whatever is present in machine

[PATCH v10 2/8] ARM: l2c: Refactor the driver to use commit-like interface

2014-12-23 Thread Marek Szyprowski
From: Tomasz Figa t.f...@samsung.com Certain implementations of secure hypervisors (namely the one found on Samsung Exynos-based boards) do not provide access to individual L2C registers. This makes the .write_sec()-based interface insufficient and provoking ugly hacks. This patch is first step

[PATCH v10 3/8] ARM: l2c: Add interface to ask hypervisor to configure L2C

2014-12-23 Thread Marek Szyprowski
From: Tomasz Figa t.f...@samsung.com Because certain secure hypervisor do not allow writes to individual L2C registers, but rather expect set of parameters to be passed as argument to secure monitor calls, there is a need to provide an interface for the L2C driver to ask the firmware to configure

[PATCH v10 1/8] ARM: OMAP2+: use common l2cache initialization code

2014-12-23 Thread Marek Szyprowski
This patch implements generic DT L2C initialisation (the one from init_IRQ in arch/arm/kernel/irq.c) for Omap4 and AM43 platforms and kills the SoC specific stuff in arch/arm/mach-omap2/omap4-common.c. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com ---

Re: regression: OMAP4 (next-20141204) (bisect to: ARM: 8208/1: l2c: Refactor the driver to use commit-like)

2014-12-23 Thread Marek Szyprowski
Hello, On 2014-12-22 18:28, Russell King - ARM Linux wrote: On Mon, Dec 22, 2014 at 11:12:42AM -0600, Nishanth Menon wrote: On Mon, Dec 22, 2014 at 11:04 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: That only leaves the non-DT stuff to worry about this, and from what I

Re: regression: OMAP4 (next-20141204) (bisect to: ARM: 8208/1: l2c: Refactor the driver to use commit-like)

2014-12-23 Thread Russell King - ARM Linux
On Tue, Dec 23, 2014 at 12:00:00PM +0100, Marek Szyprowski wrote: I hope I did it right: https://lkml.org/lkml/2014/12/23/158 Please test, because I have no access to Omap hardware. Patch 1/8 looks like I'd expect it to. Nishanth, please test with your failing scenario, thanks. -- FTTC

[RFC PATCH 4/4] ARM: dts: Add memory bus node for Exynos3250-based Rinato board

2014-12-23 Thread Chanwoo Choi
This patch adds the exynos memory-bus node which includes the regulator and devfreq-event phandle. The devfreq-event phandle is used for the governor of devfreq device and provide the current usage state of DMC/Internal memory bus group. Cc: Kukjin Kim kgene@samsung.com Cc: Myungjoo Ham

[RFC PATCH 3/4] ARM: dts: Add memory bus node for Exynos3250

2014-12-23 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos3250 SoC. Exynos3250 has following memory buses to translate data between DRAM and eMMC/sub-IPs. Cc: Kukjin Kim kgene@samsung.com Cc: Myungjoo Ham myungjoo@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Chanwoo Choi

[RFC PATCH 1/4] devfreq: exynos: Add generic exynos memory bus frequency driver

2014-12-23 Thread Chanwoo Choi
This patch adds the generic exynos bus frequency driver for memory bus with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can support the memory bus frequency driver for Exynos SoCs. Each memory bus

[RFC PATCH 0/4] devfreq: Add generic exynos memory-bus frequency driver

2014-12-23 Thread Chanwoo Choi
These patch-set adds the generic exynos bus frequency driver for memory bus with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can support the memory bus frequency driver for Exynos SoCs. Each memory

[RFC PATCH 2/4] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2014-12-23 Thread Chanwoo Choi
This patch adds the documentation for generic exynos memory bus frequency driver. Cc: MyungJoo Ham myungjoo@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com --- .../devicetree/bindings/devfreq/exynos-busfreq.txt | 184

Re: clk: samsung: exynos7: Add clocks for MSCL block

2014-12-23 Thread Sylwester Nawrocki
Hi Pankaj, On 23/12/14 05:59, Pankaj Dubey wrote: diff --git a/drivers/clk/samsung/clk-exynos7.c b/drivers/clk/samsung/clk-exynos7.c index a79bf23..95c1160 100644 --- a/drivers/clk/samsung/clk-exynos7.c +++ b/drivers/clk/samsung/clk-exynos7.c @@ -34,6 +34,7 @@ #define DIV_TOPC0

[PATCH 4/4] ARM: dts: Enable USB node for exynos3250-monk

2014-12-23 Thread Jaewon Kim
This patch adds device tree node for hsotg to control USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250-monk.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts

[PATCH 2/4] ARM: dts: Add hsotg node for exynos3250

2014-12-23 Thread Jaewon Kim
This patch adds device tree node for hsotg to control USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi

[PATCH 3/4] ARM: dts: Enable USB node for exynos3250-rinato

2014-12-23 Thread Jaewon Kim
This patch enables hsotg and usbphy node to use USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250-rinato.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts

[PATCH 0/4] ARM: dts: Add USB node for exynos3250 SoC boards

2014-12-23 Thread Jaewon Kim
This patch series adds USB device node and phy for exynos3250 SoC. And enables for rinato and monk boards. Jaewon Kim (4): ARM: dts: Add exynos_usbphy node for exynos3250 ARM: dts: Add hsotg node for exynos3250 ARM: dts: Enable USB node for exynos3250-rinato ARM: dts: Enable USB node for

[PATCH 1/4] ARM: dts: Add exynos_usbphy node for exynos3250

2014-12-23 Thread Jaewon Kim
This patch adds device tree node for exynos_usbphy to use USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi

Re: [PATCH 0/3] clk: samsung: Use samsung_cmu_register_one() to simplify code

2014-12-23 Thread Sylwester Nawrocki
Hi Chanwoo, On 23/12/14 08:40, Chanwoo Choi wrote: This patch-set uses the samsung_cmu_register_one() function to simplify the clock driver for Exynos3250/Exynos4415 SoC and change return value of samsung_cmu_register_one() because some clock driver may need the instance of

Re: [PATCH 0/3] clk: samsung: Use samsung_cmu_register_one() to simplify code

2014-12-23 Thread Chanwoo Choi
Hi Sylwester, On Tue, Dec 23, 2014 at 10:41 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Chanwoo, On 23/12/14 08:40, Chanwoo Choi wrote: This patch-set uses the samsung_cmu_register_one() function to simplify the clock driver for Exynos3250/Exynos4415 SoC and change return value

Re: [PATCH 0/3] clk: samsung: Use samsung_cmu_register_one() to simplify code

2014-12-23 Thread Sylwester Nawrocki
On 23/12/14 15:57, Chanwoo Choi wrote: I'll fix it and re-send these patch-set. There is no need, I already corrected it. The patches are already queued in this branch: http://git.linuxtv.org/cgit.cgi/snawrocki/samsung.git/log/?h=for-v3.20/clk/next -- Regards, Sylwester -- To unsubscribe from

Re: [PATCH 0/3] clk: samsung: Use samsung_cmu_register_one() to simplify code

2014-12-23 Thread Chanwoo Choi
On Wed, Dec 24, 2014 at 12:05 AM, Sylwester Nawrocki s.nawro...@samsung.com wrote: On 23/12/14 15:57, Chanwoo Choi wrote: I'll fix it and re-send these patch-set. There is no need, I already corrected it. The patches are already queued in this branch:

Re: [PATCH v2 00/17] thermal: exynos: Thermal code rework to use device tree

2014-12-23 Thread Abhilash Kesavan
Hi Lukasz, On Mon, Dec 22, 2014 at 9:51 PM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Abhilash, Hi Lukasz and Eduardo, [...] Although, this shouldn't be a problem. That is why we had the cycle with cpufreq folks, remember? (I will have a look in your patches) It would

Re: regression: OMAP4 (next-20141204) (bisect to: ARM: 8208/1: l2c: Refactor the driver to use commit-like)

2014-12-23 Thread Nishanth Menon
On 12/23/2014 05:10 AM, Russell King - ARM Linux wrote: On Tue, Dec 23, 2014 at 12:00:00PM +0100, Marek Szyprowski wrote: I hope I did it right: https://lkml.org/lkml/2014/12/23/158 Please test, because I have no access to Omap hardware. Patch 1/8 looks like I'd expect it to. Nishanth,

Re: [PATCH v10 2/8] ARM: l2c: Refactor the driver to use commit-like interface

2014-12-23 Thread Tony Lindgren
* Marek Szyprowski m.szyprow...@samsung.com [141223 02:51]: From: Tomasz Figa t.f...@samsung.com Certain implementations of secure hypervisors (namely the one found on Samsung Exynos-based boards) do not provide access to individual L2C registers. This makes the .write_sec()-based interface

Re: [PATCH v10 2/8] ARM: l2c: Refactor the driver to use commit-like interface

2014-12-23 Thread Nishanth Menon
On 12/23/2014 11:06 AM, Tony Lindgren wrote: * Marek Szyprowski m.szyprow...@samsung.com [141223 02:51]: From: Tomasz Figa t.f...@samsung.com Certain implementations of secure hypervisors (namely the one found on Samsung Exynos-based boards) do not provide access to individual L2C registers.

[PATCH] ARM: EXYNOS: Add exynos3250 suspend-to-ram support

2014-12-23 Thread Chanwoo Choi
This patch adds the support for suspend-to-ram feature of Exynos3250 SoC. Exynos3250 don't contain the L2 cache. The measured power-consumption in suspend state: - before entering suspend : 31mA - in suspend state : 16mA Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Chanwoo Choi

[PATCH v2 0/4] ARM: dts: Add USB node for exynos3250 SoC boards

2014-12-23 Thread Jaewon Kim
This patch series adds USB device node and phy for exynos3250 SoC. And enables for rinato and monk boards. Changes in v2: - remove unnessasary property samsung,sysreg-phandle - change xusbxti clock to CLK_SCLK_UPLL Jaewon Kim (4): ARM: dts: Add exynos_usbphy node for exynos3250 ARM: dts:

[PATCH v2 2/4] ARM: dts: Add hsotg node for exynos3250

2014-12-23 Thread Jaewon Kim
This patch adds device tree node for hsotg to control USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi

[PATCH v2 3/4] ARM: dts: Enable USB node for exynos3250-rinato

2014-12-23 Thread Jaewon Kim
This patch enables hsotg and usbphy node to use USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250-rinato.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts

[PATCH v2 4/4] ARM: dts: Enable USB node for exynos3250-monk

2014-12-23 Thread Jaewon Kim
This patch adds device tree node for hsotg to control USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250-monk.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts

[PATCH v2 1/4] ARM: dts: Add exynos_usbphy node for exynos3250

2014-12-23 Thread Jaewon Kim
This patch adds device tree node for exynos_usbphy to use USB 2.0 Device. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- arch/arm/boot/dts/exynos3250.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi