[PATCH] I2C_OMAP configuration and Makefile fixes.

2009-02-12 Thread Atal Shargorodsky
Allow I2C_OMAP to be compiled as a module, introduce selection of I2C_OMAP by TWL4030_CORE and remove doubled 'obj-$(CONFIG_I2C_OMAP)' line from makefile. Signed-off-by: Atal Shargorodsky ext-atal.shargorod...@nokia.com --- arch/arm/plat-omap/Kconfig |3 +++ arch/arm/plat-omap/Makefile

[PATCH 1/1] Allow I2C_OMAP to compile as a module.

2009-02-12 Thread Atal Shargorodsky
This patch allows I2C_OMAP to be compiled as a module. Only drivers/i2c/busses/i2c-omap.c can be compiled as a module, but not arch/arm/plat-omap/i2c.c , so let the contents of i2c.c to compile into the kernel if I2C_OMAP was selected to compile in or as a module. Signed-off-by: Atal Shargorodsky

[PATCH 1/1] Allow I2C_OMAP to compile as a module.

2009-02-12 Thread Atal Shargorodsky
This patch allows I2C_OMAP to be compiled as a module. Only drivers/i2c/busses/i2c-omap.c can be compiled as a module, but not arch/arm/plat-omap/i2c.c , so let the contents of i2c.c to compile into the kernel if either I2C_OMAP was selected to compile in or as a module. Signed-off-by: Atal

[PATCH 3/6] OMAP: omap_wdt: Remove non-explanatory comments.

2009-03-11 Thread Atal Shargorodsky
The call to clk_disable does need a trivial comment like /* Disable the clock */. Signed-off-by: Atal Shargorodsky ext-atal.shargorod...@nokia.com --- drivers/watchdog/omap_wdt.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b

[PATCH 0/6] OMAP: omap_wdt: clocks and NOWAYOUT fixes.

2009-03-11 Thread Atal Shargorodsky
This patchset reorganizes slightly the code of omap_wdt driver, introduces proper management of clocks and CONFIG_WATCHDOG_NOWAYOUT + PM support, which was broken. Also, inspired by numerous watchdog drivers using this technique, this patchset makes the NOWAYOUT behavior not to be restricted by

[PATCH 6/6] OMAP: omap_wdt: Changing NOWAYOUT behavior does not require kernel reconfiguration.

2009-03-11 Thread Atal Shargorodsky
By introducing additional module parameter we make the CONFIG_WATCHDOG_NOWAYOUT to be a mere default module behavior, which can be overriden by providing nowayout=[01] parameter at load time. Signed-off-by: Atal Shargorodsky ext-atal.shargorod...@nokia.com --- drivers/watchdog/omap_wdt.c | 48

[PATCH 5/6] OMAP: omap_wdt: Correct manage of activation states.

2009-03-11 Thread Atal Shargorodsky
Needed to support CONFIG_WATCHDOG_NOWAYOUT option. Signed-off-by: Atal Shargorodsky ext-atal.shargorod...@nokia.com --- drivers/watchdog/omap_wdt.c | 40 ++-- 1 files changed, 26 insertions(+), 14 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b

[PATCH 2/6] OMAP: omap_wdt: Fix interface clock existence check.

2009-03-11 Thread Atal Shargorodsky
When enabling/disabling the iterface clock, the question to be asked is if this clock exists rather than to decide about it's existance by retrieving the chip version. It can be done only once at init time. Signed-off-by: Atal Shargorodsky ext-atal.shargorod...@nokia.com --- drivers/watchdog

[PATCH 1/6] OMAP: omap_wdt: Remove armwdt_ck field from omap_wdt_dev structure.

2009-03-11 Thread Atal Shargorodsky
No need to hold three clocks, when for each paricular platform only two are used - finctional and interface. Signed-off-by: Atal Shargorodsky ext-atal.shargorod...@nokia.com --- drivers/watchdog/omap_wdt.c | 51 -- 1 files changed, 15 insertions(+), 36

[PATCH 0/2] omap: twl4030_wdt: driver implementation

2009-03-27 Thread Atal Shargorodsky
This is the simplest implementation of twl4030 watchdog driver. Using this driver, the watchdog can be enabled/kicked/disabled, but it does not take care of whether OFF-to-ACTIVE transition will take place or not. Neither it supports the configuration of PRETIMEOUT. -- To unsubscribe from this

[PATCH 2/2] rx51_defconfig: add twl4030 to rx51 default configuration

2009-03-27 Thread Atal Shargorodsky
From: Timo Kokkonen timo.t.kokko...@nokia.com From: Timo Kokkonen timo.t.kokko...@nokia.com twl4030 watchdog will be compiled as a module by default. Signed-off-by: Atal Shargorodsky ext-atal.shargorod...@nokia.com --- arch/arm/configs/rx51_defconfig |1 + 1 files changed, 1 insertions