[PATCH] PM / sleep: console flush during suspend if no_console_suspend enabled

2015-12-20 Thread Bibek Basu
On multicore CPUs, sometimes debug console logs are not flushed if you have VT consoles also enabled. Reason being console_lock is taken by secondary/nonboot cpus which are disabled as part of suspend.This patch flushes the console before disabling nonboot cpus Signed-off-by: Bibek Basu

[PATCH 1/2] mfd: as3722: add watchdog support

2013-11-20 Thread Bibek Basu
Add watchdog device support for as3722 Signed-off-by: Bibek Basu --- drivers/mfd/as3722.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/as3722.c b/drivers/mfd/as3722.c index f161f2e..cfbdeda 100644 --- a/drivers/mfd/as3722.c +++ b/drivers/mfd/as3722.c @@ -74,6 +74,9

[PATCH 2/2] watchdog: as3722_wdt: support for AMS AS3722

2013-11-20 Thread Bibek Basu
Add watchdog timer driver for as3722 device. The timer can be start/stop and set timing through watchdog subsystem callbacks. Change-Id: I5e252fd762764afaa1598cd98fed91864dc23d8d Signed-off-by: Bibek Basu --- drivers/watchdog/Kconfig | 9 ++ drivers/watchdog/Makefile | 1 + drivers

[PATCH] HID: i2c-hid: Stop querying for init reports

2013-10-20 Thread Bibek Basu
According to specifications, HID over I2C devices are not bound to respond to query for INPUT REPORTS. Thus dropping the call during init as many devices does not respond causing error messages during boot. Signed-off-by: Bibek Basu --- drivers/hid/i2c-hid/i2c-hid.c | 4 1 file changed, 4

RE: [PATCH] HID: i2c-hid: Stop querying for init reports

2013-10-20 Thread Bibek Basu
Hi Benjamin, > -Original Message- > From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] > Sent: Thursday, October 17, 2013 11:27 PM > To: Bibek Basu > Cc: Jiri Kosina; linux-input; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] HID: i2c-hid: Stop

[PATCH] HID: i2c-hid: Stop querying for init reports

2013-10-15 Thread Bibek Basu
According to specifications, HID over I2C devices are not bound to respond to query for INPUT REPORTS. Thus dropping the call during init as many devices does not respond causing error messages during boot. Signed-off-by: Bibek Basu --- drivers/hid/i2c-hid/i2c-hid.c | 59

RE: [PATCH 2/2] ARM: DT: tegra: pinctrl suspend resume hook

2013-04-28 Thread Bibek Basu
> -Original Message- > From: Thierry Reding [mailto:thierry.red...@avionic-design.de] > Sent: Saturday, April 27, 2013 1:19 AM > To: Bibek Basu > Cc: Rafael J. Wysocki; linus.wall...@linaro.org; swar...@wwwdotorg.org; > linux-te...@vger.kernel.org; linux-kernel@vger.kern

RE: [PATCH 1/2] pinctrl: tegra: add suspend-resume support

2013-04-28 Thread Bibek Basu
> -Original Message- > From: Thierry Reding [mailto:thierry.red...@avionic-design.de] > Sent: Wednesday, April 24, 2013 12:14 AM > To: Bibek Basu > Cc: linus.wall...@linaro.org; swar...@wwwdotorg.org; linux- > te...@vger.kernel.org; linux-kernel@vger.kernel.org; Pritesh R

[PATCH 2/2] ARM: DT: tegra: pinctrl suspend resume hook

2013-04-23 Thread Bibek Basu
Make pinmux as the first node of tegra DT so as to achieve pinctrl as last device to suspend and first device to resume. Signed-off-by: Bibek Basu --- arch/arm/boot/dts/tegra114.dtsi | 12 ++-- arch/arm/boot/dts/tegra20.dtsi | 16 arch/arm/boot/dts/tegra30.dtsi | 13

[PATCH 1/2] pinctrl: tegra: add suspend-resume support

2013-04-23 Thread Bibek Basu
From: Pritesh Raithatha This patch adds suspend and resume callbacks to the pinctrl-tegra driver. Signed-off-by: Pritesh Raithatha Signed-off-by: Bibek Basu --- drivers/pinctrl/pinctrl-tegra.c| 56 -- drivers/pinctrl/pinctrl-tegra.h| 3 +- drivers

RE: [PATCH] pinctrl: tegra: add suspend-resume support

2013-04-23 Thread Bibek Basu
On 23/04/2013 11:25 PM, Bibek Basu wrote: > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: Wednesday, April 03, 2013 9:52 PM > To: Bibek Basu > Cc: linux-kernel@vger.kernel.org; Pritesh Raithatha > Subject: Re: [PATCH] pinctrl: tegra:

RE: [PATCH] pinctrl: tegra: add suspend-resume support

2013-03-31 Thread Bibek Basu
Hi Stephen, My response inline. Regards Bibek -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Thursday, March 28, 2013 11:19 PM To: Bibek Basu Cc: Linus Walleij; linux-kernel@vger.kernel.org; Pritesh Raithatha Subject: Re: [PATCH] pinctrl: tegra: add

[PATCH] pinctrl: tegra: add suspend-resume support

2013-03-28 Thread Bibek Basu
From: Pritesh Raithatha This patch adds suspend and resume callbacks to the pinctrl-tegra driver. Based on work by: Pritesh Raithatha Signed-off-by: Pritesh Raithatha Signed-off-by: Bibek Basu --- drivers/pinctrl/pinctrl-tegra.c | 71 +++-- 1 file changed