u_probe(struct
> platform_device *pdev) break;
> default:
> break;
> - };
> + }
>
> /*
>* data->tzd must be registered before calling
> exynos_tmu_initialize(),
Acked-by: Lukasz Majewski <l.majew...@samsung.com>
Tested-by: Lukasz M
; >>> }
> >>> +
> >>> + /*
> >>> +* Try enabling the regulator if found
> >>> + * TODO: Add regulator as an SOC feature, so that
> >>> regulator enable
> >>> + * is a compulsory call.
>
static int exynos7_tmu_initialize(struct platform_device *pdev)
> > --
> > 1.9.1
> >
> > --
> > 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 i
tor);
> >
> > return ret;
> > --
> > 1.9.1
> >
> > --
> > 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
>
dev_err(>dev, "Failed to request irq: %d\n",
> > data->irq);
> > - goto err_sclk;
> > + goto err_thermal;
> > }
> >
> > exynos_tmu_control(pdev, true);
> > return 0;
> > +
> > +err_the
YNOS_EMUL_CON.
> >>
> >> Indeed!
> >>
> >> Fixes: 488c7455d74c ("thermal: exynos: Add the support for
> >> Exynos5433 TMU")
> >>
> >> Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com>
> >
> > Hi Krzy
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
.../devicetree/bindings/hwmon/pwm-fan.txt | 29
: 366c21fdd7b1e71a47a6fa969f2e9a014c981aff
Kamil Debski (1):
ARM: dts: Add pwm-fan node to the Odroid-U3 board
Lukasz Majewski (2):
Documentation: dts: Documentation entry to explain how to use PWM FAN
as a cooling device
ARM: dts: Add properties to use pwm-fan device as a cooling device in
Odroid U3
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
Signed-off-by: Lukasz Majewski l.majew
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
arch/arm/boot/dts/exynos4412-odroidu3.dts | 33 ++-
1 file
-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
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
Hi Krzysztof,
2015-06-09 1:14 GMT+09:00 Lukasz Majewski l.majew...@samsung.com:
Hi Krzysztof,
During probe the regulator (if present) was enabled but not
disabled in case of failure. So an unsuccessful probe lead to
enabling the regulator which was actually not needed because
to
platform_data on probe()
drivers/thermal/samsung/Kconfig | 2 +-
drivers/thermal/samsung/exynos_tmu.c | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
Thanks for your work.
Applied to my tree: linux-samusng-thermal/fixes
--
Best regards,
Lukasz Majewski
Samsung RD
Hi Krzysztof,
2015-06-09 1:14 GMT+09:00 Lukasz Majewski l.majew...@samsung.com:
Hi Krzysztof,
During probe the regulator (if present) was enabled but not
disabled in case of failure. So an unsuccessful probe lead to
enabling the regulator which was actually not needed because
Hi Rafael,
On Monday, June 08, 2015 10:31:00 AM Lukasz Majewski wrote:
Hi Viresh,
On 25-05-15, 07:39, Shailendra Verma wrote:
During probe free the memory allocated to exynos_info in case
of unknown SOC type.
Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com
platform_driver exynos_cpufreq_platdrv = {
Acked-by: Viresh Kumar viresh.ku...@linaro.org
Acked-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux
+CONFIG_LEDS_PWM=m
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_TIMER=m
+CONFIG_LEDS_TRIGGER_HEARTBEAT=m
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_MAX77686=y
CONFIG_RTC_DRV_MAX77802=y
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL
=y
CONFIG_SND_SOC_SNOW=y
+CONFIG_SND_SOC_ODROIDX2=y
+CONFIG_SND_SIMPLE_CARD=y
CONFIG_USB=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_XHCI_HCD=y
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform
: if (!IS_ERR(data-clk_sec))
clk_unprepare(data-clk_sec);
err_sensor:
+ if (!IS_ERR_OR_NULL(data-regulator))
+ regulator_disable(data-regulator);
thermal_zone_of_sensor_unregister(pdev-dev, data-tzd);
return ret;
Acked-by: Lukasz Majewski l.majew
Hi Chanwoo,
Hi Eduardo and Lukasz,
I checked this patch merged on linux-next.git.
But, this patch is not merged on Linux 4.1-rc1.
This is indeed strange. Eduardo do you have any idea why this patch
is missing?
Thanks,
Chanwoo Choi
On 03/18/2015 04:39 PM, Lukasz Majewski wrote:
Hi
())
per_cpu(cpu_last_req_freq, policy-cpu) =
clk_get_cpu_rate(policy-cpu);
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux
-cluster.0-supply = buck2_reg;
+};
+
+cpu4 {
+ cpu-cluster.1-supply = buck6_reg;
+};
+
i2c_0 {
status = okay;
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from
stress testing (observed on ODROID-XU3 board).
+ */
+#ifndef CONFIG_BL_SWITCHER
+ { .compatible = samsung,exynos5420, .data =
arm-bL-cpufreq-dt }, +#endif
{ /* sentinel */ }
};
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD
,
exynos5420_kfcclk_d,
ARRAY_SIZE(exynos5420_kfcclk_d), 0);
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc
;
};
};
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More
/* gate for special clocks (sclk) */
#define CLK_SCLK_UART0 128
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux
Hi Joonyoung,
Hi Lukasz,
On 04/17/2015 09:39 PM, Lukasz Majewski wrote:
Hi Joonyoung,
Hi Lukasz,
On 04/15/2015 08:05 PM, Lukasz Majewski wrote:
Hi Joonyoung,
Hi Lukasz,
On 01/30/2015 05:14 PM, Lukasz Majewski wrote:
Hi Eduardo, Abhilash,
On Thu, Jan 22, 2015 at 06
Hi Joonyoung,
Hi Lukasz,
On 04/15/2015 08:05 PM, Lukasz Majewski wrote:
Hi Joonyoung,
Hi Lukasz,
On 01/30/2015 05:14 PM, Lukasz Majewski wrote:
Hi Eduardo, Abhilash,
On Thu, Jan 22, 2015 at 06:02:07PM +0530, Abhilash Kesavan wrote:
Hi Lukasz,
On Thu, Jan 22, 2015 at 2
Hi Joonyoung,
Hi Lukasz,
On 01/30/2015 05:14 PM, Lukasz Majewski wrote:
Hi Eduardo, Abhilash,
On Thu, Jan 22, 2015 at 06:02:07PM +0530, Abhilash Kesavan wrote:
Hi Lukasz,
On Thu, Jan 22, 2015 at 2:31 PM, Lukasz Majewski
l.majew...@samsung.com wrote:
Hi Abhilash,
Hi Lukasz
. However please consider my comment to the previous
patch.
Acked-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body
);
+ pwm_samsung_manual_update(our_chip, pwm);
+ }
+
chan-period_ns = period_ns;
chan-tin_ns = tin_ns;
chan-duty_ns = duty_ns;
Despite the above,
Acked-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
by max
*/ };
cpu1: cpu@1 {
Acked-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message
temperatures (both exynos5 and exynos4).
I will try to check those thresholds on my XU3. Have anybody else
experienced overheating at XU3?
Sjoerd? Kukjin?
Please share your thoughts.
-Anand Moon
On 8 April 2015 at 13:32, Lukasz Majewski l.majew...@samsung.com
wrote:
Hi Anand,
Move
-resistor = 1;
};
};
+
+pwm {
+ pinctrl-0 = pwm0_out;
+ pinctrl-names = default;
+ samsung,pwm-outputs = 0;
+ status = okay;
+};
Acked-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform
)
goto exit_set_pwm_err;
}
-exit_set_pwm:
ctx-pwm_value = pwm;
exit_set_pwm_err:
mutex_unlock(ctx-lock);
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
BTW: I've added Guenter to CC.
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux
== (u32) -1) {
+ dev_dbg(our_chip-chip.dev, Forcing manual update);
+ pwm_samsung_manual_update(our_chip, pwm);
+ }
+
chan-period_ns = period_ns;
chan-tin_ns = tin_ns;
chan-duty_ns = duty_ns;
Acked-by: Lukasz Majewski l.majew...@samsung.com
--
Best
or 2-point) and sensor id from
TRIMINFO register
- Use a little different register address
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Cc: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
Changes from v1:
(https
== (u32) -1) {
+ dev_dbg(our_chip-chip.dev, Forcing manual
update);
+ pwm_samsung_manual_update(our_chip, pwm);
+ }
+
chan-period_ns = period_ns;
chan-tin_ns = tin_ns;
chan-duty_ns = duty_ns;
--
Best regards,
Lukasz Majewski
Samsung RD
address
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Cc: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
Changes from v1:
(https://lkml.org/lkml/2015/2/26/234)
- Add exynos5433_tmu_control() instead of using
Hi Kukjin,
Lukasz Majewski wrote:
Hi Eduardo,
On Fri, Mar 06, 2015 at 07:16:53PM +0900, Kukjin Kim wrote:
Arnd Bergmann wrote:
+ Eduardo
Hi Arnd,
On Tuesday 03 March 2015 04:00:14 Kukjin Kim wrote:
Please pull Samsung tmu and hdmi regression fixes
to make a clear branch for
pull-request but in that case, I couldn't find a solution. Sorry
for the inconvenience.
I hope v4.0 can support them properly.
Thanks,
Kukjin
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe
):
ARM: dts: Add pwm-fan node to the Odroid-U3 board
Lukasz Majewski (5):
Documentation: dts: Documentation entry to explain how to use PWM FAN
as a cooling device
ARM: dts: Add properties to use pwm-fan device as a cooling device in
Odroid U3
hwmon: pwm-fan: Extract __set_pwm() function
-conf.dtsi
+ status = disabled;
+ };
+
pmu_system_controller: system-controller@105c {
compatible = samsung,exynos5433-pmu,
syscon; reg = 0x105c 0x5008;
Reviewed-by: Lukasz Majewski l.majew...@samsung.com
--
Best regards
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
Changes for v2:
- Replace pwm_fan_cooling_states
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
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
Changes for v2:
- Rename cooling-pwm-values to cooling-levels
- Remove
,
SOC_ARCH_EXYNOS5440,
SOC_ARCH_EXYNOS7,
};
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
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
/boot/dts/exynos/exynos5433.dtsi index b44ddcc..fbce27d
100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
@@ -964,3 +964,4 @@
};
#include exynos5433-pinctrl.dtsi
+#include exynos5433-tmu.dtsi
Reviewed-by: Lukasz Majewski l.majew
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
Changes for v2:
- Rename cooling-pwm-values property to cooling-levels
Changes for v3
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
Signed-off-by: Lukasz Majewski l.majew
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
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
Changes for v2:
- Replace pwm_fan_cooling_states
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
Signed-off-by: Lukasz Majewski l.majew
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
Changes for v2:
- Rename cooling-pwm-values property to cooling-levels
Changes for v3
Hi Kukjin,
Lukasz Majewski wrote:
Hi Kukjin, Eduardo
Hi,
On 01/25/15 06:49, Eduardo Valentin wrote:
On Fri, Jan 23, 2015 at 01:09:53PM +0100, Lukasz Majewski wrote:
1. Introduction
Following patches aim to clean up the current implementation of
the thermal
):
ARM: dts: Add pwm-fan node to the Odroid-U3 board
Lukasz Majewski (5):
Documentation: dts: Documentation entry to explain how to use PWM FAN
as a cooling device
ARM: dts: Add properties to use pwm-fan device as a cooling device in
Odroid U3
hwmon: pwm-fan: Extract __set_pwm() function
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
Acked-by: Eduardo Valentin edubez...@gmail.com
---
Changes for v2:
- Rename cooling-pwm-values to cooling-levels
- Remove
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
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
Hi Guenter,
On 02/26/2015 05:59 AM, Lukasz Majewski wrote:
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
Acked-by: Eduardo Valentin edubez...@gmail.com
viresh.ku...@linaro.org
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Acked-by: Viresh Kumar viresh.ku...@linaro.org
This patch is also missing from linux-thermal-soc tree.
I will add it to samsung thermal tree, since Viresh has ACK'ed it.
---
Changes for v2:
- Remove superfluous *np
Hi Eduardo,
On Thu, Feb 26, 2015 at 11:36:24AM +0100, Lukasz Majewski wrote:
Hi Eduardo,
Commit: e725d26c4857e5e41975b5e74e64ce6ab09a7121 provided
possibility to use device tree to asses if cpu can be used as
cooling device. Since the code was somewhat awkward, simpler
approach
Hi Eduardo,
Hi Lukasz,
On Wed, Feb 25, 2015 at 2:33 PM, Lukasz Majewski
l.majew...@samsung.com wrote:
Hi Abhilash,
This patch fixes the wrong control of PD_DET_EN (power down
detection mode) for Exynos7 because exynos7_tmu_control() always
enables the power down detection mode
Hi Eduardo,
On Wed, Feb 18, 2015 at 11:07:33AM +0100, Lukasz Majewski wrote:
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
Hi Eduardo,
On Wed, Feb 18, 2015 at 11:07:29AM +0100, Lukasz Majewski wrote:
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 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
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
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
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
):
ARM: dts: Add pwm-fan node to the Odroid-U3 board
Lukasz Majewski (5):
Documentation: dts: Documentation entry to explain how to use PWM FAN
as a cooling device
ARM: dts: Add properties to use pwm-fan device as a cooling device in
Odroid U3
hwmon: pwm-fan: Extract __set_pwm() function
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
Signed-off-by: Lukasz Majewski l.majew
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
);
Could you test this patch if it isn't introducing any regression on your
HW?
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord
Hi Kukjin, Eduardo
On 01/25/15 06:49, Eduardo Valentin wrote:
On Fri, Jan 23, 2015 at 01:09:53PM +0100, Lukasz Majewski wrote:
1. Introduction
Following patches aim to clean up the current implementation of
the thermal framework on Exynos devices.
The main goal was to use a generic
Hi Kukjin,
Lukasz Majewski wrote:
Hi Kukjin, Eduardo
Hi,
On 01/25/15 06:49, Eduardo Valentin wrote:
On Fri, Jan 23, 2015 at 01:09:53PM +0100, Lukasz Majewski wrote:
1. Introduction
Following patches aim to clean up the current implementation of
the thermal
Hi Guenter,
On 02/18/2015 02:07 AM, Lukasz Majewski wrote:
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
Hi Guenter,
On Mon, Feb 23, 2015 at 05:13:36PM +0100, Lukasz Majewski wrote:
Hi Guenter,
[ ... ]
If devicetree is not configured, of_property_count_elems_of_size
returns -ENOSYS, which is returned, causing the driver to fail
loading.
Has of_property_count_elems_of_size
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
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
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
- Odroid U3 board.
Patches were applied on:
linux-soc-thermal/next branch (Linux 3.19-rc5)
SHA1: 252454f5cbda2c6b40c5d36f58cac2938437b85d
Kamil Debski (1):
ARM: dts: Add pwm-fan node to the Odroid-U3 board
Lukasz Majewski (7):
thermal: Provide stub for thermal_of_cooling_device_register
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
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
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
-by: Lukasz Majewski l.majew...@samsung.com
---
Changes for v2:
- New patch
Changes for v3:
- thermal_cdev_update() now depends on CONFIG_THERMAL flag
Changes for v4:
- None
---
include/linux/thermal.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/linux/thermal.h b
.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
---
Changes for v2:
- None
Changes for v3:
- Provide stub declaration when CONFIG_THERMAL is not set
Changes for v4:
- None
---
include/linux/thermal.h | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/include
Hi Chanwoo,
Hi Lukasz,
On Tue, Feb 17, 2015 at 12:06 AM, Lukasz Majewski
l.majew...@samsung.com wrote:
Hi Chanwoo,
This patch fixes the NULL pointer exception during kernel booting.
The thermal_zone _of_sensor_register() registers a sensor to DT
thermal zone and then read
ERROR\n, data-tzd);
return PTR_ERR(data-tzd);
}
- ret = exynos_map_dt_data(pdev);
- if (ret)
- goto err_sensor;
-
- pdata = data-pdata;
INIT_WORK(data-irq_work, exynos_tmu_work);
--
Best regards,
Lukasz Majewski
Samsung RD
, },
+ { .compatible = samsung,exynos7-tmu, },
+ { /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, exynos_tmu_match);
Acked-by: Lukasz Majewski l.majew...@samsung.com
Thanks for clean up!
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
regards,
Krzysztof
--
Best regards,
Lukasz Majewski
Samsung RD Institute Poland (SRPOL) | Linux Platform Group
--
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
Hi Eduardo,
The exynos_tmu_data() function should on entrance test not only for
valid data pointer, but also for data-tmu_read one.
It is important, since afterwards it is dereferenced to get
temperature code.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
---
drivers/thermal
Hi Kukjin,
On Wed, Jan 28, 2015 at 04:28:39PM +0100, Lukasz Majewski wrote:
Enabling thermal emulation on Exynos SoCs. New sysfs attribute -
emul_temp is created.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
I dont see problems with this patch:
Acked-by: Eduardo Valentin
Hi Kukjin,
On Wed, Jan 28, 2015 at 04:28:38PM +0100, Lukasz Majewski wrote:
After Exynos TMU rework to use device tree for configuration this
flag can be removed. It is not used anymore.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Acked-by: Eduardo Valentin edubez
Hi Kukjin,
On Wed, Jan 28, 2015 at 04:28:40PM +0100, Lukasz Majewski wrote:
This commit enables the cpufreq subsystem. Moreover, support for
using CPU as a cooling device is provided.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
I dont see problems with this patch:
Acked
On Fri, 6 Feb 2015 10:27:25 -0800
Guenter Roeck li...@roeck-us.net wrote:
On Fri, Feb 06, 2015 at 05:59:06PM +0100, Lukasz Majewski wrote:
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
On Fri, 6 Feb 2015 10:36:57 -0800
Guenter Roeck li...@roeck-us.net wrote:
On Fri, Feb 06, 2015 at 05:59:07PM +0100, Lukasz Majewski wrote:
This patch provides code for reading PWM FAN configuration data via
device tree. The pwm-fan can work with full speed when configuration
The exynos_tmu_data() function should on entrance test not only for valid
data pointer, but also for data-tmu_read one.
It is important, since afterwards it is dereferenced to get temperature code.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
---
drivers/thermal/samsung/exynos_tmu.c | 2
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
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
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
1 - 100 of 471 matches
Mail list logo