Re: [PATCH v2 1/2] i2c-core: dt: Pick i2c bus number from i2c alias if present

2013-02-10 Thread Wolfram Sang
Hi Doug, On Mon, Jan 14, 2013 at 10:53:21AM -0800, Doug Anderson wrote: This allows you to get the equivalent functionality of i2c_add_numbered_adapter() with all data in the device tree and no special case code in your driver. This is a common device tree technique. For quick reference,

[PATCH 00/12] ARM: samsung-time: Prepare for multiplatform support

2013-02-10 Thread Tomasz Figa
This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up from uses of static platform-specific definitions, simplifies timer interrupt handling and adds Device Tree support. Tested on a Tiny6410

[PATCH 01/12] ARM: SAMSUNG: Move samsung-time to drivers/clocksource

2013-02-10 Thread Tomasz Figa
This patch moves the Samsung PWM-based high resolution timer support code from arch/arm/plat-samsung to drivers/clocksource. This is a prerequisite for further work on making the driver more multiplatform and Device Tree friendly. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[PATCH 02/12] clocksource: samsung-time: Set platform-specific parameters at runtime

2013-02-10 Thread Tomasz Figa
This patch removes static platform-specific defines from samsung-time implementation and introduces an interface to configure platform-specific timer parameters from platform code. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/mach-universal_c210.c| 7

[PATCH 03/12] clocksource: samsung-time: Drop useless defines from public header

2013-02-10 Thread Tomasz Figa
This patch cleans up public header from useless definitions. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/plat-samsung/include/plat/samsung-time.h | 6 -- drivers/clocksource/samsung-time.c| 10 +- 2 files changed, 5 insertions(+), 11 deletions(-)

[PATCH 04/12] clocksource: samsung-time: Move samsung-time.h header to include/linux

2013-02-10 Thread Tomasz Figa
This patch moves the samsung-time.h header file to include/linux directory and fixes all references to it. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/mach-universal_c210.c| 2 +- arch/arm/mach-s3c24xx/common.c| 2 +-

[PATCH 05/12] clocksource: samsung-time: Use local register definitions

2013-02-10 Thread Tomasz Figa
This patch copies PWM timer register definitions to samsung-time.c. The original header in plat is being kept for now, since it is also used by other code that also needs to be reworked to be multiplatform-friendly. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[PATCH 06/12] clocksource: samsung-time: Remove use of static register mapping

2013-02-10 Thread Tomasz Figa
This patch brings the samsung-time driver one step closer to multiplatform by replacing references to statically mapped registers with dynamic mapping using ioremap. The helper struct samsung_timer_variant is extended with reg_base field, which is used to pass platform-specific base address to

[PATCH 07/12] clocksource: samsung-time: Use clk_get_sys for getting clocks

2013-02-10 Thread Tomasz Figa
This patch removes the need to reference platform_device structs defined in platform code, by using clk_get_sys instead of clk_get for getting necessary clocks. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/clocksource/samsung-time.c | 17 - 1 file changed, 4

[PATCH 08/12] ARM: SAMSUNG: devs: Drop unnecessary IRQ resources of timer devices

2013-02-10 Thread Tomasz Figa
Devices from s3c_device_timer array are used only for PWM driver, which does not need interrupts. This patch removes IRQ resources of those devices. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/plat-samsung/devs.c | 28 1 file changed, 8

[PATCH 09/12] clocksource: samsung-time: Do not use static IRQ definition

2013-02-10 Thread Tomasz Figa
As another step towards multiplatform support, this patch modifies the samsung-time clocksource driver and its users to pass timer IRQ numbers through the samsung_timer_variant structure. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/mach-universal_c210.c | 4

[PATCH 10/12] clocksource: samsung-time: Move IRQ mask/ack handling to the driver

2013-02-10 Thread Tomasz Figa
Since the clocksource driver is the only user of PWM timer interrupts, there is no need to create an IRQ chip for handling them. This patch the way of PWM timer interrupt handling to use real VIC/GIC interrupt signals and handle PWM mask/ack register internally in samsung-time driver.

[PATCH 11/12] ARM: SAMSUNG: Remove unused PWM timer IRQ chip code

2013-02-10 Thread Tomasz Figa
As the need for an IRQ chip handling PWM timer interrupt chaining is gone now, this patch removes all the code made unnecessary. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/Kconfig | 1 - arch/arm/mach-s3c64xx/common.c | 1

[PATCH 12/12] clocksource: samsung-time: Add Device Tree support

2013-02-10 Thread Tomasz Figa
This patch adds support for parsing all platform-specific data from Device Tree and instantiation using clocksource_of_init to samsung-time clocksource driver. Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

Re: [PATCH 00/12] ARM: samsung-time: Prepare for multiplatform support

2013-02-10 Thread Tomasz Figa
Seems like several mail addresses of board maintainers are no longer valid. guillaume.gou...@nexvision.tv mentioned in: arch/arm/mach-s3c24xx/mach-nexcoder.c arch/arm/mach-s3c24xx/mach-otom.c arhu...@freaks-unidos.net mentioned in:

[PATCH v2 0/4] Initial Device Tree support for S3C64xx

2013-02-10 Thread Tomasz Figa
This series adds Device Tree support for Samsung S3C64xx SoC series. It fixes several problems preventing from booting an S3C64xx-based system using Device Tree, adds all the infrastructure for Device Tree-based board support, including mach-s3c64xx-dt and dts include files for S3C64xx SoCs, and

[PATCH v2 1/4] ARM: common: vic: Parse interrupt and resume masks from device tree

2013-02-10 Thread Tomasz Figa
This patch extends vic_of_init to parse valid interrupt sources and resume sources masks from device tree. If mask values are not specified in device tree, all sources are assumed to be valid, as before this patch. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[PATCH v2 2/4] ARM: s3c64xx: Add board file for boot using Device Tree

2013-02-10 Thread Tomasz Figa
This patch adds board file that will be used to boot S3C64xx-based boards using Device Tree. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-s3c64xx/Kconfig | 14 + arch/arm/mach-s3c64xx/Makefile | 1 + arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c | 94

[PATCH v2 3/4] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs

2013-02-10 Thread Tomasz Figa
This patch adds basic device tree definitions for Samsung S3C64xx SoCs. Since all the SoCs in the series are very similar, the files are created hierarchically - one file for the whole series and then separate files for particular SoCs including the common one. Signed-off-by: Tomasz Figa

[PATCH v2 4/4] ARM: dts: Add dts file for S3C6410-based Mini6410 board

2013-02-10 Thread Tomasz Figa
This patch adds basic device tree sources for FriendlyARM Mini6410 board based on Samsung S3C6410 SoC. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s3c6410-mini6410.dts | 50 ++ 2 files

Re: [PATCH 00/12] ARM: samsung-time: Prepare for multiplatform support

2013-02-10 Thread Kyungmin Park
On Sun, Feb 10, 2013 at 10:32 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Seems like several mail addresses of board maintainers are no longer valid. guillaume.gou...@nexvision.tv mentioned in: arch/arm/mach-s3c24xx/mach-nexcoder.c

Re: [RFC] i2c: Providing hooks for i2c multimaster bus arbitration.

2013-02-10 Thread Wolfram Sang
On Mon, Feb 04, 2013 at 02:33:15PM +0530, Yuvaraj Kumar C D wrote: This RFC patch is w.r.t multimaster bus arbitration which is already being discussing in the mainline. This patch provides hooks for the i2c multimaster bus arbitration and to have the arbitration parameters. I still haven't

Re: [PATCH] pinctrl: samsung: remove duplicated line of samsung_pinctrl_register()

2013-02-10 Thread Linus Walleij
On Fri, Feb 8, 2013 at 6:39 AM, Jingoo Han jg1@samsung.com wrote: This patch removes duplicated line of samsung_pinctrl_register(), because the number of pins is redundantly assigned twice. Signed-off-by: Jingoo Han jg1@samsung.com Patch applied with the Reviewed-by/Acked-by tags

[PATCH V2] ARM: dts: exynos5250-arndale: Add PMIC node entry

2013-02-10 Thread Amit Daniel Kachhap
Added S5M8767 PMIC DT nodes for Arndale board. Only the used LDO's/BUCK are defined here. Also the nodes describe the default/reset state LDO's and no power mangement tuning is implemented. The usage desription can be found in s5m8767 device tree binding documentation. Cc: Tushar Behera

Re: [PATCH 2/5] ARM: dts: exynos5250-arndale: Add PMIC node entry

2013-02-10 Thread amit daniel kachhap
The V2 of this patch is posted with comments suggested by Anil and some missing LDO's. Thanks, Amit Daniel On Wed, Feb 6, 2013 at 9:56 PM, Tushar Behera tushar.beh...@linaro.org wrote: On 02/07/2013 11:19 AM, Kumar, Anil wrote: On Thu, Feb 07, 2013 at 10:45:26, Tushar Behera wrote: From: Amit

[PATCH V3] thermal: exynos: Adapt to temperature emulation core thermal framework

2013-02-10 Thread Amit Daniel Kachhap
This removes the driver specific sysfs support of the temperature emulation and uses the newly added core thermal framework for thermal emulation. An exynos platform specific handler is added to support this. In this patch, the exynos senor(tmu) related code and exynos framework related (thermal