[PATCH 0/4] thermal: exynos: Add kernel thermal support for exynos platform

2012-03-03 Thread Amit Daniel Kachhap
Changes since RFC: *Moved the Temperature sensor driver from driver/hwmon/ to driver/mfd as discussed with Guenter Roeck guenter.ro...@ericsson.com and Donggeun Kim dg77@samsung.com (https://lkml.org/lkml/2012/1/5/7) *Some changes according to the changes in common cpu cooling APIs All the

[PATCH 1/4] thermal: exynos: Add thermal interface support for linux thermal layer

2012-03-03 Thread Amit Daniel Kachhap
This codes uses the generic linux thermal layer and creates a bridge between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer recieves or monitor the temperature from the sensor and informs the generic thermal layer to take the necessary

[PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory

2012-03-03 Thread Amit Daniel Kachhap
This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in mfd folder and add necessary calls to get the temperature information. Signed-off-by: Amit Daniel Kachhap

[PATCH 3/4] thermal: exynos4: Register the tmu sensor with the thermal interface layer

2012-03-03 Thread Amit Daniel Kachhap
Export and register information from the tmu temperature sensor to the samsung exynos kernel thermal framework where different cooling devices and thermal zone are binded. The exported information is based according to the data structure thermal_sensor_conf present in exynos_thermal.h. HWMON sysfs

[PATCH 4/4] ARM: exynos4: Add thermal sensor driver platform device support

2012-03-03 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and the platform device support. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- arch/arm/mach-exynos/Kconfig | 11 + arch/arm/mach-exynos/Makefile |1 +

Re: [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory

2012-03-03 Thread Sylwester Nawrocki
On 03/03/2012 12:06 PM, Amit Daniel Kachhap wrote: This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in mfd folder and add necessary calls to get the

Re: [lm-sensors] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory

2012-03-03 Thread Guenter Roeck
On Sat, Mar 03, 2012 at 06:06:05AM -0500, Amit Daniel Kachhap wrote: This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in mfd folder and add necessary calls

Re: [lm-sensors] [PATCH 3/4] thermal: exynos4: Register the tmu sensor with the thermal interface layer

2012-03-03 Thread Guenter Roeck
On Sat, Mar 03, 2012 at 06:06:06AM -0500, Amit Daniel Kachhap wrote: Export and register information from the tmu temperature sensor to the samsung exynos kernel thermal framework where different cooling devices and thermal zone are binded. The exported information is based according to the

[PATCH 0/3] video: s3c-fb: Rearrange the elements in platform data

2012-03-03 Thread Thomas Abraham
This patchset rearranges the elements in the platform data of the s3c-fb driver with the intent of adding device tree support to the driver in subsequent patches. The first patch moves the video timing information from the individual window setup data into the platform specific configuration

[PATCH 1/3] video: s3c-fb: move video interface timing out of window setup data

2012-03-03 Thread Thomas Abraham
The video interface timing is independent of the window setup data. The resolution of the window can be smaller than that of the lcd panel to which the video data is output. So move the video timing data from the per-window setup data to the platform specific section in the platform data. This

[PATCH 2/3] video: s3c-fb: remove 'default_win' element from platform data

2012-03-03 Thread Thomas Abraham
The decision to enable or disable the data output to the lcd panel from the controller need not be based on the value of 'default_win' element in the platform data. Instead, the data output to the panel is enabled if any of the windows are active, else data output is disabled. Cc: Ben Dooks

[PATCH 3/3] ARM: Exynos: Rework platform data for lcd controller for Origen board

2012-03-03 Thread Thomas Abraham
The 'default_win' element in the platform data is removed and the lcd panel video timing values are moved out of individual window configuration data. Cc: Ben Dooks ben-li...@fluff.org Cc: Jingoo Han jg1@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---

Re: [PATCH 0/3] video: s3c-fb: Rearrange the elements in platform data

2012-03-03 Thread Mark Brown
On Sat, Mar 03, 2012 at 09:20:05PM +0530, Thomas Abraham wrote: This patchset rearranges the elements in the platform data of the s3c-fb driver with the intent of adding device tree support to the driver in subsequent patches. It seems somewhat surprising that none of these updates touch any

Re: [linux-pm] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory

2012-03-03 Thread Mark Brown
On Sat, Mar 03, 2012 at 04:36:05PM +0530, Amit Daniel Kachhap wrote: This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in mfd folder and add necessary calls

Re: [PATCH 0/3] video: s3c-fb: Rearrange the elements in platform data

2012-03-03 Thread Thomas Abraham
On 3 March 2012 22:00, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Sat, Mar 03, 2012 at 09:20:05PM +0530, Thomas Abraham wrote: This patchset rearranges the elements in the platform data of the s3c-fb driver with the intent of adding device tree support to the driver in subsequent

Re: [PATCH 0/3] video: s3c-fb: Rearrange the elements in platform data

2012-03-03 Thread Mark Brown
On Sat, Mar 03, 2012 at 10:15:32PM +0530, Thomas Abraham wrote: The third patch in this series includes platform data updates for the Exynos4210 based Origen board. If the first two patches in this series are acceptable, I will submit another version of this patchset which would include

Re: [lm-sensors] [linux-pm] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory

2012-03-03 Thread Guenter Roeck
On Sat, Mar 03, 2012 at 11:44:10AM -0500, Mark Brown wrote: On Sat, Mar 03, 2012 at 04:36:05PM +0530, Amit Daniel Kachhap wrote: This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c.

[PATCH 0/4] Use clock functions also for clk_h and clk_p on S3C2443/2416

2012-03-03 Thread Heiko Stübner
This series modifies the clock init in common-s3c2443 to use the struct clk operations also for clk_p and clk_h whose values were until now set statically in s3c24xx_setup_clocks - a function more suited to the earlier S3C-SoCs. In the end it makes the code (hopefully) easier to read, as strange

[PATCH 2/4] ARM: S3C24XX: add get_rate for clk_h on S3C2416/2443

2012-03-03 Thread Heiko Stübner
Currently the rate of clk_h is calculated once and set through the s3c24xx_setup_clocks call. As the clk_h is a child of the prediv we can evaluate its divider and calculate the rate in get_rate. Signed-off-by: Heiko Stuebner he...@sntech.de --- arch/arm/mach-s3c24xx/common-s3c2443.c | 31

[PATCH 4/4] ARM: S3C24XX: remove call to s3c24xx_setup_clocks

2012-03-03 Thread Heiko Stübner
As the clocks can calculate their rate themself now, there is no need to set it statically. Signed-off-by: Heiko Stuebner he...@sntech.de --- arch/arm/mach-s3c24xx/common-s3c2443.c | 15 --- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git

[PATCH] ARM: S3C24XX: add support for second irq set of S3C2416

2012-03-03 Thread Heiko Stübner
The S3C2416 has a separate second interrupt register-set to support additional irqs. This patch adds the necessary constants and registers the irq handlers for it. Signed-off-by: Heiko Stuebner he...@sntech.de --- Patch should go on top of the current s3c24xx consolidation