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

2015-02-18 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 l.majew...@samsung.com --- Changes for v2: - Rename cooling-pwm-values property to cooling-levels Changes for v3: - Change patch's topic to ARM dts - Reduce maximal

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

2015-02-18 Thread Lukasz Majewski
From: Kamil Debski k.deb...@samsung.com 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 k.deb...@samsung.com [Rebased on the newest mainline by

[PATCH v4 6/8] hwmon: pwm-fan: Extract __set_pwm() function to only modify PWM duty cycle

2015-02-18 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 l.majew...@samsung.com --- Changes for v2: -

[RESEND PATCH] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-02-18 Thread Krzysztof Kozlowski
On Exynos4412 boards (Trats2, Odroid U3) after enabling L2 cache in 56b60b8bce4a (ARM: 8265/1: dts: exynos4: Add nodes for L2 cache controller) the second suspend to RAM failed. First suspend worked fine but the next one hang just after powering down of secondary CPUs (system consumed energy as it

Re: [PATCH v5 0/7] platform/chrome: Add user-space dev inferface support

2015-02-18 Thread Javier Martinez Canillas
Hello Simon, On 02/18/2015 03:26 AM, Simon Glass wrote: On 16 February 2015 at 01:19, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Olof, On 02/02/2015 12:26 PM, Javier Martinez Canillas wrote: Hello, The mainline ChromeOS Embedded Controller (EC) driver is still

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

2015-02-18 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

[PATCH v4 7/8] hwmon: pwm-fan: Read PWM FAN configuration from device tree

2015-02-18 Thread Lukasz Majewski
This patch provides code for reading PWM FAN configuration data via device tree. The pwm-fan can work with full speed when configuration is not provided. However, errors are propagated when wrong DT bindings are found. Additionally the struct pwm_fan_ctx has been extended. Signed-off-by: Lukasz

[PATCH v4 8/8] hwmon: pwm-fan: Code for using PWM FAN as a cooling device

2015-02-18 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 l.majew...@samsung.com --- Changes for v2: - Replace pwm_fan_cooling_states with pwm_fan_cooling_levels - Update ctx-pwm_fan_state when correct

[PATCH v4 3/8] Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device

2015-02-18 Thread Lukasz Majewski
Explanation of several properties, which allow PWM fan working as a cooling device, have been embraced in this commit. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v2: - Rename cooling-pwm-values to cooling-levels - Remove default-pulse-width property and stick to default

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

2015-02-18 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:

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

2015-02-18 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.

[PATCH 5/6] ASoC: samsung: Extend Snow driver to support max98089

2015-02-18 Thread Andreas Färber
This is needed for Spring. Signed-off-by: Andreas Färber afaer...@suse.de --- sound/soc/samsung/Kconfig | 1 + sound/soc/samsung/snow.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig index 3cebf6ca03df..222181655e4f 100644 ---

[PATCH 1/6] ASoC: max98088: Document DT bindings

2015-02-18 Thread Andreas Färber
Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/sound/max98088.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/max98088.txt diff --git

[PATCH 2/6] ASoC: max98088: Add DT bindings

2015-02-18 Thread Andreas Färber
maxim,max98089 will be used for the Spring Chromebook. Signed-off-by: Andreas Färber afaer...@suse.de --- sound/soc/codecs/max98088.c | 8 1 file changed, 8 insertions(+) diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index 805b3f8cd39d..69a21d1946e3 100644 ---

[PATCH 0/6] ASoC: samsung: Spring sound support

2015-02-18 Thread Andreas Färber
Hello, This series prepares sound support for the HP Chromebook 11. Regards, Andreas Andreas Färber (6): ASoC: max98088: Document DT bindings ASoC: max98088: Add DT bindings ARM: dts: Add max98089 to exynos5250-spring ASoC: samsung: Document binding for max98089 based Snow driver

Re: [PATCH 2/6] ASoC: max98088: Add DT bindings

2015-02-18 Thread Andreas Färber
Hi, Am 18.02.2015 um 20:08 schrieb Sergei Shtylyov: On 02/18/2015 09:25 PM, Andreas Färber wrote: maxim,max98089 will be used for the Spring Chromebook. Signed-off-by: Andreas Färber afaer...@suse.de --- sound/soc/codecs/max98088.c | 8 1 file changed, 8 insertions(+)

[PATCH 4/6] ASoC: samsung: Document binding for max98089 based Snow driver

2015-02-18 Thread Andreas Färber
Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/sound/snow.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/snow.txt b/Documentation/devicetree/bindings/sound/snow.txt index 6df74f15687f..1430a6bdb2ae 100644 ---

[PATCH 6/6] ARM: dts: Add sound support to exynos5250-spring

2015-02-18 Thread Andreas Färber
Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/exynos5250-spring.dts | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index 866beb4e0597..142e0550e223 100644 ---

[PATCH 3/6] ARM: dts: Add max98089 to exynos5250-spring

2015-02-18 Thread Andreas Färber
Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/exynos5250-spring.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index d075a68ac078..866beb4e0597 100644 ---

Re: [PATCH 2/6] ASoC: max98088: Add DT bindings

2015-02-18 Thread Sergei Shtylyov
Hello. On 02/18/2015 09:25 PM, Andreas Färber wrote: maxim,max98089 will be used for the Spring Chromebook. Signed-off-by: Andreas Färber afaer...@suse.de --- sound/soc/codecs/max98088.c | 8 1 file changed, 8 insertions(+) diff --git a/sound/soc/codecs/max98088.c

[PATCH v2] ASoC: Samsung: add missing I2C/SPI dependencies

2015-02-18 Thread Arnd Bergmann
A few sound drivers for the samsung platforms are missing dependencies on I2C or SPI, which can lead to build errors like codecs/rt5631.c:1737:1: warning: data definition has no type or storage class 31_i2c_driver); codecs/rt5631.c:1737:1: error: type defaults to 'int' in declaration of

[PATCH 1/2 v2] cpufreq: s3c: remove incorrect __init annotations

2015-02-18 Thread Arnd Bergmann
The two functions s3c2416_cpufreq_driver_init and s3c_cpufreq_register are marked init but are called from a context that might be run after the __init sections are discarded, as the compiler points out: WARNING: vmlinux.o(.data+0x1ad9dc): Section mismatch in reference from the variable

[PATCH 2/2 v2] cpufreq: s3c: remove last use of resume_clocks callback

2015-02-18 Thread Arnd Bergmann
Commit 32726d2d550 (ARM: SAMSUNG: Remove legacy clock code) already removed the callback pointer, but there was one remaining user: drivers/cpufreq/s3c24xx-cpufreq.c: In function 's3c_cpufreq_resume_clocks': drivers/cpufreq/s3c24xx-cpufreq.c:149:14: error: 'struct s3c_cpufreq_info' has no member

Re: [PATCHv3 0/8] devfreq: Add generic exynos memory-bus frequency driver

2015-02-18 Thread Tobias Jakobi
Hello again, Tobias Jakobi wrote I've tested the series on my Odroid-X2 (by adapting the TRATS2 changes), and so far I haven't seen any issues. With the system being idle one can see that the 'simple_ondemand' devfreq governor clocks down both memory busses to the lowest state. looks I was

[PATCH 0/2, v2] cpufreq: build fixes

2015-02-18 Thread Arnd Bergmann
This is an unmodified re-send of two patches I originally submitted on January 28. Both patches were Acked by Viresh, while a third patch got replaced with a better fix. Please merge these through the cpufreq tree for 3.20 and backports. Arnd -- To unsubscribe from this list: send the

Re: [PATCH 0/2, v2] cpufreq: build fixes

2015-02-18 Thread Rafael J. Wysocki
On Wednesday, February 18, 2015 09:54:01 PM Arnd Bergmann wrote: This is an unmodified re-send of two patches I originally submitted on January 28. Both patches were Acked by Viresh, while a third patch got replaced with a better fix. Please merge these through the cpufreq tree for 3.20 and

Re: [PATCH 0/2, v2] cpufreq: build fixes

2015-02-18 Thread Rafael J. Wysocki
On Thursday, February 19, 2015 06:33:14 AM Rafael J. Wysocki wrote: On Wednesday, February 18, 2015 09:54:01 PM Arnd Bergmann wrote: This is an unmodified re-send of two patches I originally submitted on January 28. Both patches were Acked by Viresh, while a third patch got replaced with a

[PATCH] ARM: dts: Update lid and power pin-functions for exynos5250-spring

2015-02-18 Thread Andreas Färber
Configure the pins in external interrupt mode, as done for Snow in e5e5c6d14e39 (ARM: dts: Add power and lid GPIO keys pinctrl for exynos5250-snow). Reported-by: Kukjin Kim kg...@kernel.org Suggested-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Fixes: 53dd4138bb0a (ARM: dts: Add

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

2015-02-18 Thread Andreas Färber
Am 18.02.2015 um 11:07 schrieb Lukasz Majewski: From: Kamil Debski k.deb...@samsung.com 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

[PATCH] ARM: dts: Update exynos5250-spring with mmc node changes

2015-02-18 Thread Andreas Färber
Resolve a merge conflict with mmc refactoring aaa25a5a33cb (ARM: dts: unuse the slot-node and deprecate the supports-highspeed for dw-mmc in exynos) by dropping the slot@0 nodes, moving its bus-width property to the mmc node and replacing supports-highspeed with cap-{mmc,sd}-highspeed, matching

Re: [PATCH v5 8/9] ARM: dts: exynos5250: add display power domain

2015-02-18 Thread Andreas Färber
Am 02.02.2015 um 14:20 schrieb Marek Szyprowski: From: Andrzej Hajda a.ha...@samsung.com The patch adds domain definition and references to it in appropriate devices. Signed-off-by: Andrzej Hajda a.ha...@samsung.com [mszyprow: rebased onto generic power domains dt bindings] Signed-off-by:

Re: [PATCH v5 7/9] ARM: dts: Exynos: add 'hdmi' clock to mixer nodes

2015-02-18 Thread Andreas Färber
, clock CLK_HDMI, + clock CLK_SCLK_HDMI; + clock-names = mixer, hdmi, sclk_hdmi; }; dp_phy: video-phy@10040720 { [snip] Tested-by: Andreas Färber afaer...@suse.de Without this patch, next-20150218 exynos drm mixer fails to locate the hdmi clock

Re: [alsa-devel] [PATCH 4/6] ASoC: samsung: Document binding for max98089 based Snow driver

2015-02-18 Thread Tushar Behera
On 02/18/2015 11:55 PM, Andreas Färber wrote: Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/sound/snow.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/snow.txt