Re: [PATCH] clk: samsung: exynos4: Disable ARMCLK down feature on Exynos4210 SoC

2015-04-12 Thread Michael Turquette
Quoting Krzysztof Kozlowski (2015-03-28 09:37:05) 2015-03-27 17:27 GMT+01:00 Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com: Commit 42773b28e71d (clk: samsung: exynos4: Enable ARMCLK down feature) enabled ARMCLK down feature on all Exynos4 SoCs. Unfortunately on Exynos4210 SoC ARMCLK

Re: [PATCH v4 6/6] hwmon: pwm-fan: Update the duty cycle inorder to control the pwm-fan

2015-04-12 Thread Guenter Roeck
On 04/12/2015 11:44 AM, Anand Moon wrote: pwm_config() must be called with a duty cycle of 0 prior to calling pwm_disable() to ensure that the pwm signal is set to low. Changes since v1 : None. Changes since v2 : None Changes since v3 : Simplify the comment. Reported-by: Markus Reichl

[PATCH 0/7] ARM: dts: Refactor Exynos5 boards for phandle notation

2015-04-12 Thread Krzysztof Kozlowski
Hi, The phandle notation reduces possible mistakes when overriding nodes by child board files and reduces duplication of addresses. The patchset refactors Exynos5 boards to use the phandle way. Tested by comparison of decompiled DTB for each commit. Patchset depends (to reduce conflicts) on

[PATCH 3/7] ARM: dts: Remove duplicated I2C 7 nodes in Snow

2015-04-12 Thread Krzysztof Kozlowski
The i2c_7 node (i2c@12CD) with LVDS bridge child node was put in Exynos5250 Snow DTS file twice. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos5250-snow.dts | 46 +-- 1 file changed, 22 insertions(+), 24 deletions(-)

[PATCH 1/7] ARM: dts: Add labels to nodes used in Exynos5 based DTS

2015-04-12 Thread Krzysztof Kozlowski
Add new labels to certain nodes so they could be easily referenced by Exynos5 board DTS. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos5.dtsi| 6 +++--- arch/arm/boot/dts/exynos5440.dtsi | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff

[PATCH 5/7] ARM: dts: Use phandle notation for overriding nodes in Exynos5420

2015-04-12 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Additionally remove duplicated serial and uart labels for serial. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 2 +- arch/arm/boot/dts/exynos5420.dtsi |

[PATCH 2/7] ARM: dts: Use phandle notation for overriding nodes in Exynos5250

2015-04-12 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos5250.dtsi | 82 +++ 1 file changed, 41 insertions(+), 41 deletions(-) diff --git

[PATCH 4/7] ARM: dts: Use phandle notation for overriding nodes in Arndale Octa

2015-04-12 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 634 +- 1 file changed, 317 insertions(+), 317 deletions(-) diff --git

[PATCH 6/7] ARM: dts: Use phandle notation for overriding nodes in SMDK5420

2015-04-12 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 639 +++--- 1 file changed, 320 insertions(+), 319 deletions(-) diff --git

[PATCH 7/7] ARM: dts: Use phandle notation for overriding nodes in Exynos5440 boards

2015-04-12 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos5440-sd5v1.dts| 10 ++-- arch/arm/boot/dts/exynos5440-ssdk5440.dts | 85 +++ 2 files changed, 47

[PATCH v3 2/6] ARM: dts: OdroidXU3: Enable TMU at Exynos5422 base.

2015-04-12 Thread Anand Moon
This commit enables TMU IP block on the Exynos5422 OdroidXU3 device. Tested on OdroidXU3 board. Changes since v1 : None Changes since v2 : None Tested-by: Markus Reichl m.rei...@fivetechno.de Acked-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com ---

[PATCH v3 1/6] ARM: dts :exynos5422-odroidxu3 Add pwm-fan node to the Odroid-XU3 board.

2015-04-12 Thread Anand Moon
Add pwm-fan node to the OdroidXU3 board. Tested on OdroidXU3 board. Changes since v1 : None Changes since v2 : None Tested-by: Markus Reichl m.rei...@fivetechno.de Acked-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com ---

Re: [PATCH v3 6/6] hwmon: pwm-fan: Update the duty cycle inorder to control the pwm-fan

2015-04-12 Thread Guenter Roeck
On 04/12/2015 07:54 AM, Anand Moon wrote: In order to disable the PWM we need to update using following sequence. pwm_config(pwm, 0, period); pwm_disable(pwm); pwm_config() with a zero duty cycle to make it clear the timer and update the PWM registers. pwm_disable will clear

v3 Exynos5422 odroidxu3 pwm-fan control using thermal sensors

2015-04-12 Thread Anand Moon
This work depeds upon work done by Lukasz Majewski l.majew...@samsung.com and Sjoerd Simons sjoerd.sim...@collabora.co.uk regarding the pwm-fan. Changes from v1 fixed the registration of thermal sensor to tmu_cpu0 Dropped patches.

Re: [PATCH v3 6/6] hwmon: pwm-fan: Update the duty cycle inorder to control the pwm-fan

2015-04-12 Thread Guenter Roeck
On 04/12/2015 08:29 AM, Anand Moon wrote: hi Guenter, I am referring to #linux/drivers/pwm/pwm-samsung.c Will update the comment. Sure, but that doesn't help as patch description for the pwm-fan driver. Guenter -Anand Moon On 12 April 2015 at 20:37, Guenter Roeck li...@roeck-us.net

[PATCH v3 5/6] ARM: dts: Enable thermal_zone for exynos5422.

2015-04-12 Thread Anand Moon
Include exynos5-cpu-thermal.dtsi to enable thermal_zone support. Changes since v1 : Seperate the include previous patch. Changes since v2 : None Tested-by: Markus Reichl m.rei...@fivetechno.de Acked-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com ---

[PATCH v3 4/6] ARM: dts exynos5420 update the cooling cells for core cpu0

2015-04-12 Thread Anand Moon
update the cooling level for cpu0 to avoid following message. root@odroidxu3:~# dmesg | grep ther [0.241511] /thermal-zones/cpu-thermal/cooling-maps/map0: could not get #cooling-cells for /cpus/cpu@0 Tested on OdroidXU3 Changes since v1 : None Changes since v2 :

[PATCH v3 6/6] hwmon: pwm-fan: Update the duty cycle inorder to control the pwm-fan

2015-04-12 Thread Anand Moon
In order to disable the PWM we need to update using following sequence. pwm_config(pwm, 0, period); pwm_disable(pwm); pwm_config() with a zero duty cycle to make it clear the timer and update the PWM registers. pwm_disable will clear the TCON_AUTORELOAD(tcon_chan) and update the

[PATCH v3 3/6] ARM: dts: define default thermal-zones for exynos5

2015-04-12 Thread Anand Moon
Trip points corresponding to the one defined in the exynos_tmu_data.c for Exynos5 have been included. This thermal-zones attribute is afterwards reused for Exynos5422. Changes since v1 : Fixed the thernal_sensor registration of the sensors tmu_cpu0 Changes since v2 : None Tested-by: Markus

RE: [PATCH 15/16] iommu/fsl: Make use of domain_alloc and domain_free

2015-04-12 Thread Varun Sethi
-Original Message- From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Joerg Roedel Sent: Thursday, March 26, 2015 6:13 PM To: io...@lists.linux-foundation.org Cc: Alexandre Courbot; linux-samsung-soc@vger.kernel.org; Heiko

Re: [PATCH v3 6/6] hwmon: pwm-fan: Update the duty cycle inorder to control the pwm-fan

2015-04-12 Thread Anand Moon
hi Guenter, I am referring to #linux/drivers/pwm/pwm-samsung.c Will update the comment. -Anand Moon On 12 April 2015 at 20:37, Guenter Roeck li...@roeck-us.net wrote: On 04/12/2015 07:54 AM, Anand Moon wrote: In order to disable the PWM we need to update using following sequence.

v4 Exynos5422 odroidxu3 pwm-fan control using thermal sensors

2015-04-12 Thread Anand Moon
Changes from v1 fixed the registration of thermal sensor to tmu_cpu0 Dropped patches. 0005-pwm-samsung-Fix-output-race-on-disabling.patch 0006-hwmon-pwm-fan-Update-the-duty-cycle-inorder-to-contr.patch changes from v2 Added patch

[PATCH v4 5/6] ARM: dts: Enable thermal_zone for exynos5422.

2015-04-12 Thread Anand Moon
Include exynos5-cpu-thermal.dtsi to enable thermal_zone support. Changes since v1 : Separate the include previous patch. Changes since v2 : None Changes since v3 : None Tested-by: Markus Reichl m.rei...@fivetechno.de Acked-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Anand Moon

[PATCH v4 2/6] ARM: dts: OdroidXU3: Enable TMU at Exynos5422 base.

2015-04-12 Thread Anand Moon
This commit enables TMU IP block on the Exynos5422 OdroidXU3 device. Tested on OdroidXU3 board. Changes since v1 : None Changes since v2 : None Changes since v3 : None Tested-by: Markus Reichl m.rei...@fivetechno.de Acked-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Anand Moon

[PATCH v4 1/6] ARM: dts :exynos5422-odroidxu3 Add pwm-fan node to the Odroid-XU3 board.

2015-04-12 Thread Anand Moon
Add pwm-fan node to the OdroidXU3 board. Tested on OdroidXU3 board. Changes since v1 : None Changes since v2 : None Changes since v3 : None Tested-by: Markus Reichl m.rei...@fivetechno.de Acked-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com ---

[PATCH v4 6/6] hwmon: pwm-fan: Update the duty cycle inorder to control the pwm-fan

2015-04-12 Thread Anand Moon
pwm_config() must be called with a duty cycle of 0 prior to calling pwm_disable() to ensure that the pwm signal is set to low. Changes since v1 : None. Changes since v2 : None Changes since v3 : Simplify the comment. Reported-by: Markus Reichl m.rei...@fivetechno.de Tested-by: Markus Reichl

[PATCH v4 4/6] ARM: dts exynos5420 update the cooling cells for core cpu0

2015-04-12 Thread Anand Moon
update the cooling level for cpu0 to avoid following message. root@odroidxu3:~# dmesg | grep ther [0.241511] /thermal-zones/cpu-thermal/cooling-maps/map0: could not get #cooling-cells for /cpus/cpu@0 Tested on OdroidXU3 Changes since v1 : None Changes since v2 :

[PATCH v4 3/6] ARM: dts: define default thermal-zones for exynos5

2015-04-12 Thread Anand Moon
Trip points corresponding to the one defined in the exynos_tmu_data.c for Exynos5 have been included. This thermal-zones attribute is afterwards reused for Exynos5422. Changes since v1 : Fixed the thernal_sensor registration of the sensors tmu_cpu0 Changes since v2 : None Changes since v3 : None

[PATCH 1/1] ARM: dts: Make DP a consumer of DISP1 power domain on Exynos5420

2015-04-12 Thread Javier Martinez Canillas
Commit ea08de16eb1b (ARM: dts: Add DISP1 power domain for exynos5420) added a device node for the Exynos5420 DISP1 power domain but dit not make the DP controller a consumer of that power domain. This causes an Unhandled fault: imprecise external abort error if the exynos-dp driver tries to

Re: [PATCH 0/7] ARM: dts: Refactor Exynos5 boards for phandle notation

2015-04-12 Thread Arnd Bergmann
On Sunday 12 April 2015 21:24:47 Krzysztof Kozlowski wrote: The phandle notation reduces possible mistakes when overriding nodes by child board files and reduces duplication of addresses. The patchset refactors Exynos5 boards to use the phandle way. Tested by comparison of decompiled DTB