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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo