[RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
. So ensuring now that the controller driver requests the necessary VDD regulators (if available, unless there are direct VDD rails), and enable them so as to make them working. Signed-off-by: Vivek Gautam Signed-off-by: Anand Moon Cc: Jingoo Han Cc: Alan Stern --- Initial version of this patch

[RESEND] ARM: dts: odroidxu3: Enable USB3 regulators

2015-06-07 Thread Anand Moon
[3.917578] usb@1240 supply vdd33 not found, using dummy regulator [3.922731] exynos-dwc3 usb@1240: Looking up vdd10-supply from device tree [3.922747] exynos-dwc3 usb@1240: Looking up vdd10-supply property in node /usb@1240 failed Signed-off-by: Anand Moon Tested-by: Krzysztof

[PATCHv2 2/2] ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3

2015-06-07 Thread Anand Moon
Enable CONFIG_LEDS_PWM amd CONFIG_LEDS_TRIGGER_HEARTBEAT for Odroid-XU3 board. Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/configs/exynos_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig

[PATCHv2 1/2] ARM: exynos_defconfig: Enable CONFIG_SND_SOC_ODROIDX2 for Odroid-XU3

2015-06-07 Thread Anand Moon
mapping ok [6.068392] s5m-rtc s2mps14-rtc: setting system clock to 2015-06-07 12:51:06 UTC (1433681466) [6.123650] ALSA device list: [6.135203] #0: Odroid-XU3 Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/configs/exynos_defconfig | 2 ++ 1 file changed, 2 insertions

[RESEND] ARM: dts: odroidxu3: Enable USB3 regulators

2015-06-07 Thread Anand Moon
[3.917578] usb@1240 supply vdd33 not found, using dummy regulator [3.922731] exynos-dwc3 usb@1240: Looking up vdd10-supply from device tree [3.922747] exynos-dwc3 usb@1240: Looking up vdd10-supply property in node /usb@1240 failed Signed-off-by: Anand Moon linux.am...@gmail.com

[RESEND 2/2] usb: ohci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
ensuring now that the controller driver requests the necessary VDD regulators (if available, unless there are direct VDD rails), and enable them so as to make them working. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com Cc: Jingoo Han jg1

[RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
. So ensuring now that the controller driver requests the necessary VDD regulators (if available, unless there are direct VDD rails), and enable them so as to make them working. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com Cc: Jingoo Han jg1

Re: [RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
Hi Krzysztof , On 8 June 2015 at 07:40, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 07.06.2015 22:20, Anand Moon wrote: Facilitate getting required 3.3V and 1.0V VDD supply for EHCI controller on Exynos. With the patches for regulators' nodes merged in 3.15: c8c253f ARM: dts: Add

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-06-06 Thread Anand Moon
On 30 May 2015 at 19:23, Anand Moon wrote: > On 28 May 2015 at 14:49, Krzysztof Kozlowski wrote: >> On 28.05.2015 17:58, Anand Moon wrote: >>> Enable regulator for usbdrd3_0 and usbdrd3_1 >>>>From the schematic pin diagram USB3_0 and USB3_1 >>> is re

Re: [PATCHv3] ARM: dts: odroidxu3: Enable USB3 regulators

2015-06-06 Thread Anand Moon
On 7 June 2015 at 08:02, Krzysztof Kozlowski wrote: > W dniu 29.05.2015 o 23:30, Anand Moon pisze: >> Enable regulator for usbdrd3_0 and usbdrd3_1. >> Looking at the schematic pin diagram for MAX77802 >> USB3_0 and USB3_1 is regulated by LDO9 and LD011. >> >&g

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-06-06 Thread Anand Moon
On 30 May 2015 at 19:23, Anand Moon linux.am...@gmail.com wrote: On 28 May 2015 at 14:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 28.05.2015 17:58, Anand Moon wrote: Enable regulator for usbdrd3_0 and usbdrd3_1 From the schematic pin diagram USB3_0 and USB3_1 is regulated by LDO9

Re: [PATCHv3] ARM: dts: odroidxu3: Enable USB3 regulators

2015-06-06 Thread Anand Moon
On 7 June 2015 at 08:02, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: W dniu 29.05.2015 o 23:30, Anand Moon pisze: Enable regulator for usbdrd3_0 and usbdrd3_1. Looking at the schematic pin diagram for MAX77802 USB3_0 and USB3_1 is regulated by LDO9 and LD011. Fix the boot message

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-30 Thread Anand Moon
On 28 May 2015 at 14:49, Krzysztof Kozlowski wrote: > On 28.05.2015 17:58, Anand Moon wrote: >> Enable regulator for usbdrd3_0 and usbdrd3_1 >>>From the schematic pin diagram USB3_0 and USB3_1 >> is regulated by LDO9 and LD011. > > Please reformat statement above

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-30 Thread Anand Moon
On 28 May 2015 at 14:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 28.05.2015 17:58, Anand Moon wrote: Enable regulator for usbdrd3_0 and usbdrd3_1 From the schematic pin diagram USB3_0 and USB3_1 is regulated by LDO9 and LD011. Please reformat statement above to proper sentence(s

[PATCHv3] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
-by: Anand Moon --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 27014bb..a353a58 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b

Re: [PATCHv2] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
Hi Javier, Ok sorry for the mistake and not following the protocol. Now I clearly understood my mistake. It will not be repeated. I will resend the patch. Is this correct format to follow. Tested-by: Krzysztof Kozlowski Signed-off-by: Anand Moon --- This patch is based

[PATCHv2] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
branch work-next/odroid-xu3-s2mps11-irq. v2 - Fixed the comment. --- Tested-by: Krzysztof Kozlowski Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
On 28 May 2015 at 14:49, Krzysztof Kozlowski wrote: > On 28.05.2015 17:58, Anand Moon wrote: >> Enable regulator for usbdrd3_0 and usbdrd3_1 >>>From the schematic pin diagram USB3_0 and USB3_1 >> is regulated by LDO9 and LD011. > > Please reformat statement above

[PATCHv2] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
branch work-next/odroid-xu3-s2mps11-irq. v2 - Fixed the comment. --- Tested-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
On 28 May 2015 at 14:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 28.05.2015 17:58, Anand Moon wrote: Enable regulator for usbdrd3_0 and usbdrd3_1 From the schematic pin diagram USB3_0 and USB3_1 is regulated by LDO9 and LD011. Please reformat statement above to proper sentence(s

Re: [PATCHv2] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
Hi Javier, Ok sorry for the mistake and not following the protocol. Now I clearly understood my mistake. It will not be repeated. I will resend the patch. Is this correct format to follow. Tested-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Anand Moon linux.am

[PATCHv3] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 27014bb..a353a58 100644 --- a/arch/arm

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-28 Thread Anand Moon
Hi Krzysztof, I will take care of these issue in the future. -Anand Moon On 28 May 2015 at 14:49, Krzysztof Kozlowski wrote: > On 28.05.2015 17:58, Anand Moon wrote: >> Enable regulator for usbdrd3_0 and usbdrd3_1 >>>From the schematic pin diagram USB3_0 and USB3_1 >&

[PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-28 Thread Anand Moon
oid-xu3-s2mps11-irq --- Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 27014bb..a353a58 100644 --- a/arch/arm/b

[PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-28 Thread Anand Moon
-xu3-s2mps11-irq --- Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 27014bb..a353a58 100644

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-28 Thread Anand Moon
Hi Krzysztof, I will take care of these issue in the future. -Anand Moon On 28 May 2015 at 14:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 28.05.2015 17:58, Anand Moon wrote: Enable regulator for usbdrd3_0 and usbdrd3_1 From the schematic pin diagram USB3_0 and USB3_1

Re: [PATCH 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-05-15 Thread Anand Moon
le: bL_cpufreq_register: Registered platform > driver: dt-bl > [3.182305] Unable to handle kernel paging request at virtual address > 6186 > > so it seems to be a bug in the code and not about OPPs not functional due > voltage scaling not working as Kevin guess

Re: [PATCH 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-05-15 Thread Anand Moon
=cpufreq+arm_big_little+check+if+frequency+set+correctly -Anand Moon -- 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.kernel.org/majordomo-info.html -- To unsubscribe from

[PATCHv3] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-08 Thread Anand Moon
GHz | 0.21% | 0.11%, | 1.20 GHz | 0.51% | 0.28%, | 1.30 GHz | 56.64% | 35.01% | Reviewed-by: Krzysztof Kozlowski Signed-off-by: Anand Moon --- drivers/clk/samsung/clk-exynos5420.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sams

Re: [PATCHv2] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-08 Thread Anand Moon
Hi Krysztof, I will prepare a table as suggested by you and resend it. Thanks for you comments. -Anand Moon On 8 May 2015 at 13:57, Krzysztof Kozłowski wrote: > 2015-05-08 17:10 GMT+09:00 Anand Moon : >> Addition of CLK_RECALC_NEW_RATES flag to support Exynos5420 cpu clk so that &

[PATCHv2] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-08 Thread Anand Moon
ts. Depend on https://lkml.org/lkml/2015/4/3/388 Tested on OdroidXU3 Board - Reviewed-by: Krzysztof Kozlowski Signed-off-by: Anand Moon --- drivers/clk/samsung/clk-exynos5420.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCHv2] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-08 Thread Anand Moon
Hi Krysztof, I will prepare a table as suggested by you and resend it. Thanks for you comments. -Anand Moon On 8 May 2015 at 13:57, Krzysztof Kozłowski k.kozlowsk...@gmail.com wrote: 2015-05-08 17:10 GMT+09:00 Anand Moon linux.am...@gmail.com: Addition of CLK_RECALC_NEW_RATES flag to support

[PATCHv2] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-08 Thread Anand Moon
/lkml/2015/4/3/388 Tested on OdroidXU3 Board - Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com --- drivers/clk/samsung/clk-exynos5420.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCHv3] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-08 Thread Anand Moon
%, | 1.20 GHz | 0.51% | 0.28%, | 1.30 GHz | 56.64% | 35.01% | Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Anand Moon linux.am...@gmail.com --- drivers/clk/samsung/clk-exynos5420.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-07 Thread Anand Moon
Hi Krysztof, Actually the patch is based on https://lkml.org/lkml/2015/4/3/389 I don't know how to measure the energy consumption when compared to cpufreq-exynos. I will update the commit log and resend it with you review. -Anand Moon On 8 May 2015 at 05:44, Krzysztof Kozlowski wrote

[PATCH] tools/thermal: tmon: fixed the 'make install' command

2015-05-07 Thread Anand Moon
install: cannot stat ‘’: No such file or directory make: [install] Error 1 (ignored) Signed-off-by: Anand Moon --- tools/thermal/tmon/Makefile | 8 1 file changed, 8 deletions(-) diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile index 0788621..2e83dd3 100644 --- a/to

[PATCH] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-07 Thread Anand Moon
Addition of CLK_RECALC_NEW_RATES flag to support Exynos5 cpu clk so that correct divider values are re-calculated after both pre/post clock notifiers had run for for mout_apll clock and mout_kpll clock. Depend on https://lkml.org/lkml/2015/4/3/388 Tested on OdroidXU3 Board. Signed-off-by: Anand

[PATCH] tools/thermal: tmon: fixed the 'make install' command

2015-05-07 Thread Anand Moon
: [install] Error 1 (ignored) Signed-off-by: Anand Moon linux.am...@gmail.com --- tools/thermal/tmon/Makefile | 8 1 file changed, 8 deletions(-) diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile index 0788621..2e83dd3 100644 --- a/tools/thermal/tmon/Makefile +++ b/tools

[PATCH] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-07 Thread Anand Moon
Addition of CLK_RECALC_NEW_RATES flag to support Exynos5 cpu clk so that correct divider values are re-calculated after both pre/post clock notifiers had run for for mout_apll clock and mout_kpll clock. Depend on https://lkml.org/lkml/2015/4/3/388 Tested on OdroidXU3 Board. Signed-off-by: Anand

Re: [PATCH] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-05-07 Thread Anand Moon
Hi Krysztof, Actually the patch is based on https://lkml.org/lkml/2015/4/3/389 I don't know how to measure the energy consumption when compared to cpufreq-exynos. I will update the commit log and resend it with you review. -Anand Moon On 8 May 2015 at 05:44, Krzysztof Kozlowski k.kozlow

Re: [PATCH 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-04-23 Thread Anand Moon
27.660264] Unable to handle kernel paging request at virtual address ac22254f [ 27.660633] Unable to handle kernel paging request at virtual address 76688788 -Anand Moon On 22 April 2015 at 23:07, Bartlomiej Zolnierkiewicz wrote: > > On Tuesday, April 21, 2015 04:45:56 PM Kevin Hil

Re: [PATCH 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-04-23 Thread Anand Moon
to handle kernel paging request at virtual address ac22254f [ 27.660633] Unable to handle kernel paging request at virtual address 76688788 -Anand Moon On 22 April 2015 at 23:07, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: On Tuesday, April 21, 2015 04:45:56 PM Kevin Hilman wrote

Re: [PATCH] pwm: Add clk enable/disable for pwm_samsung_enable/pwm_samsung_disable

2015-04-15 Thread Anand Moon
hi Sjoerd, Are you referring to handle of polarity (PWM_POLARITY_NORMAL/PWM_POLARITY_INVERSED) during enable and disable. How can I analyses if the clock is high and low. -Anand Moon On 15 April 2015 at 14:04, Sjoerd Simons wrote: > On Wed, 2015-04-15 at 03:35 +0930, Anand Moon wrote: >

Re: [PATCH] pwm: Add clk enable/disable for pwm_samsung_enable/pwm_samsung_disable

2015-04-15 Thread Anand Moon
hi Sjoerd, Are you referring to handle of polarity (PWM_POLARITY_NORMAL/PWM_POLARITY_INVERSED) during enable and disable. How can I analyses if the clock is high and low. -Anand Moon On 15 April 2015 at 14:04, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: On Wed, 2015-04-15 at 03:35

[PATCH] pwm: Add clk enable/disable for pwm_samsung_enable/pwm_samsung_disable

2015-04-14 Thread Anand Moon
It's safe to disable the clk when we following. pwm_config(pwm, 0, period); pwm_disable(pwm); And enable clk when we do following. pwm_config(pwm, duty, period); pwm_enable(pwm); Tested on OdroidXU3 Board. Signed-off-by: Anand Moon --- drivers/pwm/pwm-samsung.c

[PATCH] pwm: Add clk enable/disable for pwm_samsung_enable/pwm_samsung_disable

2015-04-14 Thread Anand Moon
It's safe to disable the clk when we following. pwm_config(pwm, 0, period); pwm_disable(pwm); And enable clk when we do following. pwm_config(pwm, duty, period); pwm_enable(pwm); Tested on OdroidXU3 Board. Signed-off-by: Anand Moon linux.am...@gmail.com

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

2015-04-08 Thread Anand Moon
Moon On 8 April 2015 at 22:23, Guenter Roeck wrote: > On Wed, Apr 08, 2015 at 09:32:05PM +0530, Anand Moon wrote: >> Hi Guenter, >> >> Initially the board bootup the cooling level state is 0. >> So update the duty cycle and this power off the fan. >> As

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

2015-04-08 Thread Anand Moon
and then stop's I have observed this state change with tmon utility in linux/tools/thermal/tmon/ -Anand Moon On 8 April 2015 at 21:02, Guenter Roeck wrote: > On Wed, Apr 08, 2015 at 10:44:15AM +0200, Lukasz Majewski wrote: >> Hi Anand, >> >> > Below changes depend on fol

Re: [PATCH 3/6] ARM:dts exynos5422 Update the thermal sensor for tmu_cpu0

2015-04-08 Thread Anand Moon
Hi Lukasz, I have Odroidxu3 board with fan. Odroid xu3 board and run on high temperature. As per my understating as the sensors temperature cross the first alert it triggers fan to run. I was doing some stress testing to trigger this overheating with my changes. -Anand Moon On 8 April 2015

Re: [PATCH 3/6] ARM:dts exynos5422 Update the thermal sensor for tmu_cpu0

2015-04-08 Thread Anand Moon
▒°C) I have observed cpu shutdown as we do test pm-qa thermal testing. So I propose the temperature values to be 5, 65000 ,8 and 85000 Critical temperature. Please share your thoughts. -Anand Moon On 8 April 2015 at 13:32, Lukasz Majewski wrote: > Hi Anand, > >> Move the

Re: [PATCH 5/6] pwm: samsung: Fix output race on disabling

2015-04-08 Thread Anand Moon
Hi Sjoerd, Correct. Will do so. I just included in this series. As it relevant to my changes and testing. -Anand Moon On 8 April 2015 at 14:12, Sjoerd Simons wrote: > > > On Wed, 2015-04-08 at 10:28 +0200, Lukasz Majewski wrote: >> Hi Anand, >> >> > From: Sjoe

Re: [PATCH 5/6] pwm: samsung: Fix output race on disabling

2015-04-08 Thread Anand Moon
Hi Sjoerd, Correct. Will do so. I just included in this series. As it relevant to my changes and testing. -Anand Moon On 8 April 2015 at 14:12, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: On Wed, 2015-04-08 at 10:28 +0200, Lukasz Majewski wrote: Hi Anand, From: Sjoerd Simons

Re: [PATCH 3/6] ARM:dts exynos5422 Update the thermal sensor for tmu_cpu0

2015-04-08 Thread Anand Moon
Hi Lukasz, I have Odroidxu3 board with fan. Odroid xu3 board and run on high temperature. As per my understating as the sensors temperature cross the first alert it triggers fan to run. I was doing some stress testing to trigger this overheating with my changes. -Anand Moon On 8 April 2015

Re: [PATCH 3/6] ARM:dts exynos5422 Update the thermal sensor for tmu_cpu0

2015-04-08 Thread Anand Moon
▒°C) I have observed cpu shutdown as we do test pm-qa thermal testing. So I propose the temperature values to be 5, 65000 ,8 and 85000 Critical temperature. Please share your thoughts. -Anand Moon On 8 April 2015 at 13:32, Lukasz Majewski l.majew...@samsung.com wrote: Hi Anand, Move

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

2015-04-08 Thread Anand Moon
and then stop's I have observed this state change with tmon utility in linux/tools/thermal/tmon/ -Anand Moon On 8 April 2015 at 21:02, Guenter Roeck li...@roeck-us.net wrote: On Wed, Apr 08, 2015 at 10:44:15AM +0200, Lukasz Majewski wrote: Hi Anand, Below changes depend on following patch

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

2015-04-08 Thread Anand Moon
Moon On 8 April 2015 at 22:23, Guenter Roeck li...@roeck-us.net wrote: On Wed, Apr 08, 2015 at 09:32:05PM +0530, Anand Moon wrote: Hi Guenter, Initially the board bootup the cooling level state is 0. So update the duty cycle and this power off the fan. As their is no state change the fan

[PATCH 5/6] pwm: samsung: Fix output race on disabling

2015-03-26 Thread Anand Moon
-by: Sjoerd Simons Signed-off-by: Anand Moon --- drivers/pwm/pwm-samsung.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index 3e9b583..649f6c4 100644 --- a/drivers/pwm/pwm-samsung.c +++ b/drivers

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

2015-03-26 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 Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5420.dtsi

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

2015-03-26 Thread Anand Moon
Add pwm-fan node to the OdroidXU3 board. Tested on OdroidXU3 board. Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422

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

2015-03-26 Thread Anand Moon
This commit enables TMU IP block on the Exynos5422 OdroidXU3 device. Tested on OdroidXU3 board. Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b

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

2015-03-26 Thread Anand Moon
Below changes depend on following patch. https://patchwork.kernel.org/patch/5944061/ Update the pwm_config with duty then update the pwm_disable to poweroff the cpu fan. Tested on OdroidXU3 board. Signed-off-by: Anand Moon --- drivers/hwmon/pwm-fan.c | 10 -- 1 file changed, 4

[PATCH 3/6] ARM:dts exynos5422 Update the thermal sensor for tmu_cpu0

2015-03-26 Thread Anand Moon
Move the registration of thermal sensors for tmu_cpu0 from exynos5420.dtsi to exynos5-cpu-thermal.dtsi, to avoid duplicate registration of the sensors. Tested on OdroidXU3 board. Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5-cpu-thermal.dtsi | 58 ++ arch

Exynos5422 odroidxu3 pwm-fan control using thermal sensors

2015-03-26 Thread Anand Moon
This work depeds upon work done by Lukasz Majewski and Sjoerd Simons regarding the pwm-fan. -Anand Moon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

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

2015-03-26 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 Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot

[PATCH 5/6] pwm: samsung: Fix output race on disabling

2015-03-26 Thread Anand Moon
on disable. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Signed-off-by: Anand Moon linux.am...@gmail.com --- drivers/pwm/pwm-samsung.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm

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

2015-03-26 Thread Anand Moon
Below changes depend on following patch. https://patchwork.kernel.org/patch/5944061/ Update the pwm_config with duty then update the pwm_disable to poweroff the cpu fan. Tested on OdroidXU3 board. Signed-off-by: Anand Moon linux.am...@gmail.com --- drivers/hwmon/pwm-fan.c | 10 -- 1

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

2015-03-26 Thread Anand Moon
Add pwm-fan node to the OdroidXU3 board. Tested on OdroidXU3 board. Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot

[PATCH 3/6] ARM:dts exynos5422 Update the thermal sensor for tmu_cpu0

2015-03-26 Thread Anand Moon
Move the registration of thermal sensors for tmu_cpu0 from exynos5420.dtsi to exynos5-cpu-thermal.dtsi, to avoid duplicate registration of the sensors. Tested on OdroidXU3 board. Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot/dts/exynos5-cpu-thermal.dtsi | 58

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

2015-03-26 Thread Anand Moon
This commit enables TMU IP block on the Exynos5422 OdroidXU3 device. Tested on OdroidXU3 board. Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts

Exynos5422 odroidxu3 pwm-fan control using thermal sensors

2015-03-26 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. -Anand Moon -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH] ARM: Exynos5420: dt: Fixed the checkpatch.pl WARNING misspelled

2015-03-20 Thread Anand Moon
Changes fixes the misspelled of #interrups-cell. arch/arm/boot/dts/exynos5420.dtsi:224: WARNING: 'interrups' may be misspelled - perhaps 'interrupts'? Tested on OdroidXU3 board. Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] ARM: Exynos5420: dt: Fixed the checkpatch.pl WARNING misspelled

2015-03-20 Thread Anand Moon
Changes fixes the misspelled of #interrups-cell. arch/arm/boot/dts/exynos5420.dtsi:224: WARNING: 'interrups' may be misspelled - perhaps 'interrupts'? Tested on OdroidXU3 board. Signed-off-by: Anand Moon linux.am...@gmail.com --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file

<    2   3   4   5   6   7