[PATCH 2/3] clk: samsung: exynos3250: Use samsung_cmu_register_one() to simplify code

2014-12-22 Thread Chanwoo Choi
This patch uses the samsung_cmu_register_one() to simplify complicated code. for Exynos3250. Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: Mike Turquette Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- drivers/clk/samsung/clk-exynos3250.c | 217 --- 1 fil

[PATCH 1/3] clk: samsung: Changes the return value of samsung_cmu_register_one()

2014-12-22 Thread Chanwoo Choi
This patch changes the return value of samsung_cmu_register_one() from 'void type' to 'samsung_clk_provider structure' pointer type because samsung_clk_provider may be used in each clock driver. Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: Mike Turquette Signed-off-by: Chanwoo Choi --- drivers/

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

2014-12-22 Thread Chanwoo Choi
This patch uses the samsung_cmu_register_one() to simplify complicated code for Exynos4415. Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: Mike Turquette Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- drivers/clk/samsung/clk-exynos4415.c | 216 --- 1 file

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

2014-12-22 Thread Chanwoo Choi
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 samsung_clk_provider structure. Chanwoo Choi (3): clk: samsung: Changes

Re: [PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 Thread Chanwoo Choi
Hi Varka, On 12/23/2014 01:35 PM, Chanwoo Choi wrote: > On 12/23/2014 12:40 PM, Varka Bhadram wrote: >> On Tue, Dec 23, 2014 at 8:48 AM, Chanwoo Choi wrote: >>> This patch adds exynos-ppmu devfreq-event driver to get performance data >>> of each IP for Samsung Exynos SoC. These event from Exynos

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

2014-12-22 Thread Pankaj Dubey
Hi Tony, On Wednesday 17 December 2014 01:03 PM, tony nadackal wrote: Add clock support for the MSCL block for Exynos7. Signed-off-by: Tony K Nadackal --- .../devicetree/bindings/clock/exynos7-clock.txt| 1 + drivers/clk/samsung/clk-exynos7.c | 124

Re: [PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 Thread Chanwoo Choi
On 12/23/2014 12:40 PM, Varka Bhadram wrote: > On Tue, Dec 23, 2014 at 8:48 AM, Chanwoo Choi wrote: >> This patch adds exynos-ppmu devfreq-event driver to get performance data >> of each IP for Samsung Exynos SoC. These event from Exynos PPMU provide >> useful information about the behavior of the

Re: [PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 Thread Varka Bhadram
On Tue, Dec 23, 2014 at 8:48 AM, Chanwoo Choi wrote: > This patch adds exynos-ppmu devfreq-event driver to get performance data > of each IP for Samsung Exynos SoC. These event from Exynos PPMU provide > useful information about the behavior of the SoC that you can use when > analyzing system perf

[PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 Thread Chanwoo Choi
This patch adds exynos-ppmu devfreq-event driver to get performance data of each IP for Samsung Exynos SoC. These event from Exynos PPMU provide useful information about the behavior of the SoC that you can use when analyzing system performance, and made visible and can be counted using logic in ea

[PATCHv5 7/9] ARM: dts: Add PPMU dt node for Exynos5260 SoC

2014-12-22 Thread Chanwoo Choi
This patch adds PPMU (Performance Profiling Monitoring Unit) dt node Exynos5260 SoC. Exynos5260 SoC has following PPMU IPs: - PPMU_DREX0_S0 0x10c6 - PPMU_DREX0_S1 0x10c7 - PPMU_DREX1_S0 0x10c8 - PPMU_DREX1_S1 0x10c9 - PPMU_EAGLE0x10cc - PPMU_KFC 0x10cd - PPMU_MFC

[PATCHv5 0/9] devfreq: Add devfreq-event class to provide raw data for devfreq device

2014-12-22 Thread Chanwoo Choi
This patchset add new devfreq_event class to provide raw data to determine current utilization of device which is used for devfreq governor. [Description of devfreq-event class] This patchset add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus utilization

[PATCHv5 1/9] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-22 Thread Chanwoo Choi
This patch add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus utilization/GPU utilization). This raw data from devfreq_event data would be used for the governor of devfreq subsystem. - devfreq_event device : Provide raw data for governor of existing devfre

[PATCHv5 9/9] ARM: dts: exynos: Add PPMU_CPU/DMC0/DMC1 node for Exynos4412-based TRATS2 board

2014-12-22 Thread Chanwoo Choi
This patch add dt node for PPMU_CPU/DMC0/DMC1 for exynos4412-trats2 board. Each PPMU dt node includes one event of 'PPMU Count 3' Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos4412-trats2.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/b

[PATCHv5 8/9] ARM: dts: exynos: Add PPMU node to Exynos3250-based Rinato board

2014-12-22 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato board. The PPMU dt node is used to get the utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250-rinato.dts | 40

[PATCHv5 5/9] ARM: dts: Add PPMU dt node for Exynos3250 SoC

2014-12-22 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS 0x116A

[PATCHv5 4/9] devfreq: event: Add documentation for exynos-ppmu devfreq-event driver

2014-12-22 Thread Chanwoo Choi
This patch adds the documentation for Exynos PPMU (Platform Performance Monitoring Unit) devfreq-event driver. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi --- .../bindings/devfreq/event/exynos-ppmu.txt | 110 + 1 file changed, 110 insertions(+) c

[PATCHv5 2/9] devfreq: event: Add the list of supported devfreq-event type

2014-12-22 Thread Chanwoo Choi
This patch adds the list of supported devfreq-event type as following. Each devfreq-event device driver would support the various devfreq-event type for devfreq governor at the same time. - DEVFREQ_EVENT_TYPE_RAW_DATA - DEVFREQ_EVENT_TYPE_UTILIZATION - DEVFREQ_EVENT_TYPE_BANDWIDTH - DEVFREQ_EVENT_T

[PATCHv5 6/9] ARM: dts: Add PPMU dt node for Exynos4 SoCs

2014-12-22 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node for Exynos4 (Exynos4210/4212/4412) SoC. PPMU dt node is used to monitor the utilization of each IP. The Exynos4210/Exynos4212/Exynos4412 SoC includes following PPMUs: - PPMU_DMC0 0x106A_ - PPMU_DMC1 0x106B_ - PPMU

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

2014-12-22 Thread Russell King - ARM Linux
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 > wrote: > > That only leaves the non-DT stuff to worry about this, and from what I > > understand, that's going to be removed soon. If we're going to keep > > the non-DT s

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

2014-12-22 Thread Nishanth Menon
On Mon, Dec 22, 2014 at 11:04 AM, Russell King - ARM Linux wrote: > > > Nishanth - can we push OMAP over to using the generic DT L2C > initialisation (the one from init_IRQ in arch/arm/kernel/irq.c) and > kill the SoC specific stuff in arch/arm/mach-omap2/omap4-common.c ? > > From what I can see,

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

2014-12-22 Thread Tony Lindgren
* Russell King - ARM Linux [141222 09:06]: > On Thu, Dec 11, 2014 at 11:42:48AM +0100, Marek Szyprowski wrote: > > On 2014-12-11 10:29, Russell King - ARM Linux wrote: > > >On Wed, Dec 10, 2014 at 10:42:33AM +0100, Marek Szyprowski wrote: > > >>I assume that now it won't be possible to get l2c pat

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

2014-12-22 Thread Russell King - ARM Linux
On Thu, Dec 11, 2014 at 11:42:48AM +0100, Marek Szyprowski wrote: > On 2014-12-11 10:29, Russell King - ARM Linux wrote: > >On Wed, Dec 10, 2014 at 10:42:33AM +0100, Marek Szyprowski wrote: > >>I assume that now it won't be possible to get l2c patches back to -next, > >>so I will resend them (again

[PATCH v2 1/8] thermal: Provide stub for thermal_of_cooling_device_register() function

2014-12-22 Thread Lukasz Majewski
Odroid U3 fan can work without being registered as OF cooling device (with CONFIG_THERMAL_OF disabled). In this situation it can be controlled via PWM entry at /sys/class/hwmon/hwmon0/pwm1. Therefore, the thermal_of_cooling_device_register() function needs a stub to allow clean compilation. Signe

[PATCH v2 0/8] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2014-12-22 Thread Lukasz Majewski
Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM subsystem for low level control. After successful probe it registers itself as a cooling device for thermal subsystem. To preserve the ability to use this fan as a PWM device stubs for thermal_of_cooling_device_register

[PATCH v2 3/8] hwmon: dts: Doc: Add DTS doc to explain how to use PWM FAN as a cooling device

2014-12-22 Thread Lukasz Majewski
Several new properties to allow PWM fan working as a cooling device have been combined into this single commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values to cooling-levels - Remove default-pulse-width property and stick to default hwmon policy --- .../devicet

[PATCH v2 6/8] hwmon: thermal: Extract __set_pwm() function to only modify PWM duty cycle

2014-12-22 Thread Lukasz Majewski
It was necessary to decouple code handling writing to sysfs from the one responsible for setting PWM of the fan. Due to that, new __set_pwm() method was extracted, which is responsible for only setting new PWM duty cycle. Signed-off-by: Lukasz Majewski --- Changes for v2: - None --- drivers/hwmo

[PATCH v2 4/8] ARM: dts: Add pwm-fan node to the Odroid-U3 board

2014-12-22 Thread Lukasz Majewski
From: Kamil Debski Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the "pwm" label to the pwm@139D node in the exynos4412.dtsi. Signed-off-by: Kamil Debski [Rebased on the newest mainline by l.majew...@samsung.com] --- Changes since v1

[PATCH v2 8/8] hwmon: thermal: Code for using PWM FAN as a cooling device

2014-12-22 Thread Lukasz Majewski
The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Replace pwm_fan_cooling_states with pwm_fan_cooling_levels - Update ctx->pwm_fan_state when correct data from device tree is

[PATCH v2 5/8] hwmon: thermal: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2014-12-22 Thread Lukasz Majewski
With those bindings it is possible to use pwm-fan device available in Odroid U3 as a cooling device. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values property to cooling-levels --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 33 ++- 1 fil

[PATCH v2 7/8] hwmon: thermal: Read PWM FAN configuration from device tree

2014-12-22 Thread Lukasz Majewski
Code for reading PWM FAN configuration data via device tree. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename pwm_fan_max_states to pwm_fan_cooling_levels - Moving pwm_fan_of_get_cooling_data() call after setting end enabling PWM FAN - pwm_fan_of_get_cooling_data() now can fail - prese

[PATCH v2 2/8] thermal: Provide stub for thermal_cdev_update() function

2014-12-22 Thread Lukasz Majewski
Odroid U3 fan can work without being registered as OF cooling device (with CONFIG_THERMAL_OF disabled). In this situation it can be controlled via PWM entry at /sys/class/hwmon/hwmon0/pwm1. Therefore, the thermal_cdev_update() function needs a stub to allow clean compilation. Signed-off-by: Lukas

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

2014-12-22 Thread Lukasz Majewski
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 be great if those patches could find their way to therma > > -next. Th

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

2014-12-22 Thread Abhilash Kesavan
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 be great if those patches could find their way to therma -next. > Then also Abhilash could benefit from th

Re: [PATCH] clk: samsung: exynos7: Fix fsys NR_CLK

2014-12-22 Thread Sylwester Nawrocki
On 19/12/14 14:27, Padmavathi Venna wrote: > Fix typo in fsys0 and fsys1 NR_CLK assignment Patch queued for 3.19-rc, thanks. -- 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.ke

Re: [PATCH 3/4] clk: samsung: exynos7: add clocks for audio block

2014-12-22 Thread Sylwester Nawrocki
Hi, On 19/12/14 14:23, Padmavathi Venna wrote: > Add required clk support for I2S,PCM amd SPDIF There is a non-trivial conflict with the MSCL CMU patch, could you please resend rebased onto my exynos7 branch: git://linuxtv.org/snawrocki/samsung.git for-v3.20/clk/exynos7 ? Is exynos7420 document

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

2014-12-22 Thread Sylwester Nawrocki
On 22/12/14 12:46, Tony K Nadackal wrote: >>> diff --git a/Documentation/devicetree/bindings/clock/exynos7-clock.txt >>> > > b/Documentation/devicetree/bindings/clock/exynos7-clock.txt >>> > > index 6d3d5f8..d0e048c 100644 >>> > > --- a/Documentation/devicetree/bindings/clock/exynos7-clock.txt >>>

Re: [PATCH 00/11] Exynos7: Adding USB 3.0 support

2014-12-22 Thread Sylwester Nawrocki
Hi Vivek, On 25/11/14 12:48, Vivek Gautam wrote: > On Sat, Nov 22, 2014 at 8:42 PM, Kukjin Kim wrote: >> > On 11/22/14 17:40, Kishon Vijay Abraham I wrote: >>> >> On Friday 21 November 2014 08:41 PM, Felipe Balbi wrote: ... >>> I took dwc3 driver patches. >>> >> >>> >> I took the phy patches

[PULL] drm-exynos-next 2014-12-22

2014-12-22 Thread Gustavo Padovan
Hi Dave, Here goes a bunch of clean up for the exynos driver. I've posted this work in the mailing list twice but never got a review on it, first time was about a month ago. This work is the first building block for the atomic modesetting on exynos. In the pull request we have: - removal of str

Re: [PATCH 27/28] ASoC: samsung: drop owner assignment from platform_drivers

2014-12-22 Thread Mark Brown
On Sun, Dec 21, 2014 at 10:14:48PM +0100, Wolfram Sang wrote: > This platform_driver does not need to set an owner, it will be populated by > the > driver core. Applied, thanks. signature.asc Description: Digital signature

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

2014-12-22 Thread Tony K Nadackal
Hi Sylwester, On Friday, December 19, 2014 9:52 PM Sylwester Nawrocki wrote, > Hi, > > On 17/12/14 08:33, Tony K Nadackal wrote: > > Add clock support for the MSCL block for Exynos7. > > > > Signed-off-by: Tony K Nadackal > > --- > > .../devicetree/bindings/clock/exynos7-clock.txt| 1 +