Re: [PATCH v2 1/3] power_supply: Add power_supply notifier

2014-01-03 Thread Anton Vorontsov
On Fri, Jan 03, 2014 at 11:09:49AM +, Tc, Jenny wrote: Anton, I don't see this patch in Linux tree. Any update on this would be helpful http://git.infradead.org/battery-2.6.git/commit/d36240d26025bec95f3499e2401a56db98d9f01c ?.. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-12-23 Thread Anton Vorontsov
On Tue, Nov 19, 2013 at 02:24:16PM +0100, Pavel Machek wrote: On Tue 2013-11-19 11:18:04, Pali Rohár wrote: This patch removing set_mode_hook function from board data and replacing it with new string variable of notifier power supply device. After this change it is possible to add DT

Re: [PATCH 0/3] DT support for bq2415x

2013-12-23 Thread Anton Vorontsov
On Sun, Nov 24, 2013 at 05:49:28PM +0100, Sebastian Reichel wrote: This patchset adds DT support for the bq2415x charger, which is used in the Nokia N900. The changes depend on Pali Rohár's [PATCH v2 0/3] Add support for charging battery in Nokia RX-51 patchset [0]. Patches 1/3 and 2/3

Re: [PATCH 1/3] power_supply: add power_supply_get_by_phandle

2013-12-23 Thread Anton Vorontsov
On Sun, Nov 24, 2013 at 05:49:29PM +0100, Sebastian Reichel wrote: Add method to get power supply by device tree phandle. Signed-off-by: Sebastian Reichel s...@debian.org --- drivers/power/power_supply_core.c | 24 include/linux/power_supply.h | 2 ++ 2

Re: [PATCHv2 0/2] DT support for isp1704-charger

2013-12-23 Thread Anton Vorontsov
On Sun, Dec 01, 2013 at 02:00:09AM +0100, Sebastian Reichel wrote: This is the second iteration of the isp1704 DT patches. Changes since v1: * reword the binding documentation slightly according to the suggestions of Mark Rutland * keep supporting the set_power callback and leave the

Re: [PATCH v2 1/3] power_supply: Add power_supply notifier

2013-12-01 Thread Anton Vorontsov
On Wed, Nov 27, 2013 at 05:23:34PM +, Tc, Jenny wrote: Subject: [PATCH v2 1/3] power_supply: Add power_supply notifier This patch adds a notifier chain to the power_supply. This notifier helps drivers in other subsystem to listen to changes in power supply subsystem. This would

Re: [PATCH v2 1/3] power_supply: Add power_supply notifier

2013-12-01 Thread Anton Vorontsov
On Tue, Nov 19, 2013 at 11:18:03AM +0100, Pali Rohár wrote: This patch adds a notifier chain to the power_supply. This notifier helps drivers in other subsystem to listen to changes in power supply subsystem. This would help to take some actions in those drivers on changing the power supply

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-12-01 Thread Anton Vorontsov
On Mon, Nov 25, 2013 at 08:16:34PM +0100, Michael Trimarchi wrote: ... So you can read this value without any type of synchronization with the power_supply_core and sysfs implementation? ... https://lists.ubuntu.com/archives/kernel-team/2013-January/025206.html I found and equivalent

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-12-01 Thread Anton Vorontsov
On Mon, Dec 02, 2013 at 01:02:40AM +0100, Michael Trimarchi wrote: On Sun, Dec 1, 2013 at 11:37 PM, Anton Vorontsov an...@enomsg.org wrote: On Mon, Nov 25, 2013 at 08:16:34PM +0100, Michael Trimarchi wrote: ... So you can read this value without any type of synchronization

Re: [PATCH] twl4030_charger: add devicetree support.

2013-11-12 Thread Anton Vorontsov
On Thu, Oct 31, 2013 at 05:05:50PM +1100, NeilBrown wrote: This allows the charger to be enabled with devicetree, and allows the parameters for charging the backup battery to be set. Signed-off-by: NeilBrown ne...@suse.de Acked-by: Kumar Gala ga...@codeaurora.org Acked-by: Grant Likely

Re: [PATCH 2/4] power: isp1704_charger: Fix driver to work with changes introduced in v3.5

2013-10-22 Thread Anton Vorontsov
On Sun, Sep 08, 2013 at 10:50:37AM +0200, Pali Rohár wrote: * omap musb driver does not report USB_EVENT_ENUMERATED event anymore * omap musb driver reporting USB_EVENT_VBUS when charger is connected * read last event from phy-last_event (instead from ulpi register) * do not call wall charger

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2012-12-16 Thread Anton Vorontsov
On Wed, Nov 21, 2012 at 11:20:43AM -0800, Tony Lindgren wrote: * Anton Vorontsov cbouatmai...@gmail.com [121119 10:25]: On Mon, Nov 19, 2012 at 01:18:29PM +0100, Pali Rohár wrote: [...] Ok. Here is missing patch which register this driver in Nokia N900 board code. Without it driver

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2012-11-19 Thread Anton Vorontsov
On Mon, Nov 19, 2012 at 01:18:29PM +0100, Pali Rohár wrote: [...] Ok. Here is missing patch which register this driver in Nokia N900 board code. Without it driver is not loaded. Cc'ing OMAP folks. From 0b60efd06a71668439bcb761c6572dd7df91dc17 Mon Sep 17 00:00:00 2001 From:

Re: [PATCH] bq2415x charger driver

2012-11-18 Thread Anton Vorontsov
7ad85830736f3e0d854becf7621eba3a0c926d13 Author: Anton Vorontsov cbouatmai...@gmail.com Date: Sun Nov 18 15:48:52 2012 -0800 bq2415x_charger: Add Kconfig/Makefile entries This commit adds Kconfig and Makefile entries so that we could actually build the driver. Signed-off

Re: [PATCH] power: twl4030_charger: Change TWL4030_MODULE_* ids to TWL_MODULE_*

2012-11-18 Thread Anton Vorontsov
On Tue, Nov 13, 2012 at 10:42:11AM +0100, Peter Ujfalusi wrote: To facilitate upcoming cleanup in twl stack. No functional changes. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Applied, thanks! -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of

Re: [PATCH 0/6] twl4030: Various fixes for charing-from-USB

2012-05-05 Thread Anton Vorontsov
maintainers - ./scripts/get_maintainer.pl is usually good at finding the right people, although their MAINTAINERS entry could be better I guess.. I guess you mean: POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS M:Anton Vorontsov c...@mail.ru M:David Woodhouse dw...@infradead.org T

Re: [PATCH 0/6] twl4030: Various fixes for charing-from-USB

2012-05-05 Thread Anton Vorontsov
On Sat, May 05, 2012 at 03:49:10AM -0700, Anton Vorontsov wrote: On Mon, Apr 30, 2012 at 09:30:02AM +1000, NeilBrown wrote: Following are a collection of patches that I've need using for a while to make sure the charge-from-usb on my GTA04 works. Hopefully I've included the right

Re: [PATCH] power: isp1704: fix probe error path

2012-03-13 Thread Anton Vorontsov
On Wed, Feb 01, 2012 at 03:03:47AM +0200, Felipe Contreras wrote: We enable power, but don't disable it in case of an error. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- Applied, thanks! -- Anton Vorontsov Email: cbouatmai...@gmail.com -- To unsubscribe from this list

Re: [PATCH v4 REPOST 1/5] ARM: l2x0/pl310: Refactor Kconfig to be more maintainable

2011-12-14 Thread Anton Vorontsov
CACHE_L2X0 directly from their own Kconfigs instead. This applies to some TrustZone-enabled boards where Linux runs in the Normal World, for example. Signed-off-by: Dave Martin dave.mar...@linaro.org For CNS3xxx bits: Acked-by: Anton Vorontsov cbouatmai...@gmail.com Thanks

Re: [PATCH] leds-class: change back LEDS_CLASS to tristate instead of bool

2011-10-10 Thread Anton Vorontsov
it as tristate too and update header files as well. Change those ifdefs to take care of module configuration. Signed-off-by: Bryan Wu bryan...@canonical.com Won't this break linking if POWER_SUPPLY=y and LEDS_TRIGGERS=m? Thanks, -- Anton Vorontsov Email: cbouatmai...@gmail.com

Re: [PATCH] twl4030_charger: fix warnings

2011-07-08 Thread Anton Vorontsov
(TWL4030 Battery Charger Interface driver); MODULE_LICENSE(GPL); MODULE_ALIAS(platform:twl4030_bci); -- 1.7.0.4 -- Anton Vorontsov Email: cbouatmai...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v3 2/2] RX-51: Enable isp1704 power on/off

2011-04-20 Thread Anton Vorontsov
! -- Anton Vorontsov Email: cbouatmai...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/1] twl4030_charger: Make the driver atomic notifier safe

2011-02-28 Thread Anton Vorontsov
can be safely made. Needed for atomic otg notifiers. Signed-off-by: Heikki Krogerus heikki.kroge...@nokia.com Cc: Grazvydas Ignotas nota...@gmail.com Cc: Anton Vorontsov cbouatmai...@gmail.com seems to work fine. Tested-by: Grazvydas Ignotas nota...@gmail.com Anton, can you

[PATCH] ARM: TWD: Consolidate local timers support

2010-11-30 Thread Anton Vorontsov
the same thing. If machines will ever want something more complex, we may change the CONFIG_LOCAL_TIMERS ifdef to CONFIG_MACH_WANT_TWD_LOCAL_TIMER. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/kernel/smp_twd.c | 14 +++ arch/arm/mach-omap2/Makefile

[PATCH v4 0/8] SMP support for CNS3xxx + some SMP SCU cleanups

2010-11-30 Thread Anton Vorontsov
Hello everyone, This is a reincarnation of my old series that was posted some time ago, i.e. http://www.spinics.net/lists/arm-kernel/msg94291.html The main change is that boot protocol routines were split into its own file, i.e. smp_scu_boot.c. And now there are all platforms converted to the

[PATCH 7/8] ARM: tegra: Switch to generic SCU routines

2010-11-30 Thread Anton Vorontsov
This shrinks platform-specific code a little bit. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/mach-tegra/platsmp.c | 36 ++-- 1 files changed, 2 insertions(+), 34 deletions(-) diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach

[PATCH 3/8] ARM: VExpress: Switch to generic SCU routines

2010-11-30 Thread Anton Vorontsov
This shrinks platform-specific code quite a bit. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/mach-vexpress/Makefile |2 +- arch/arm/mach-vexpress/headsmp.S | 39 -- arch/arm/mach-vexpress/platsmp.c | 150 -- 3 files

[PATCH 5/8] ARM: S5PV310: Switch to generic SCU routines

2010-11-30 Thread Anton Vorontsov
This shrinks platform-specific code quite a bit. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/mach-s5pv310/Makefile |2 +- arch/arm/mach-s5pv310/headsmp.S | 41 - arch/arm/mach-s5pv310/hotplug.c |5 +- arch/arm/mach-s5pv310/platsmp.c | 125

[PATCH 4/8] ARM: RealView: Switch to generic SCU routines

2010-11-30 Thread Anton Vorontsov
This shrinks platform-specific code quite a bit. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/mach-realview/Makefile |2 +- arch/arm/mach-realview/headsmp.S | 39 - arch/arm/mach-realview/hotplug.c |5 +- arch/arm/mach-realview/platsmp.c | 161

[PATCH 2/8] ARM: cns3xxx: Add support for SMP

2010-11-30 Thread Anton Vorontsov
Nothing fancy needs to be done, just use generic SCU routines. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/Kconfig |2 +- arch/arm/mach-cns3xxx/Kconfig|1 + arch/arm/mach-cns3xxx/Makefile |1 + arch/arm/mach-cns3xxx

[PATCH 1/8] ARM: SCU: Add common routines for secondary CPU bootup

2010-11-30 Thread Anton Vorontsov
of other platforms that might benefit from this change, but we'll convert them via separate patches. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/include/asm/smp_scu.h |9 +++ arch/arm/kernel/Makefile |2 +- arch/arm/kernel/smp_scu_boot.c | 149

[PATCH 8/8] ARM: OMAP2: Switch to generic SCU routines

2010-11-30 Thread Anton Vorontsov
This shrinks platform-specific code a little bit. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/mach-omap2/omap-smp.c | 64 ++-- 1 files changed, 3 insertions(+), 61 deletions(-) diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm

[PATCH 6/8] ARM: ux500: Switch to generic SCU routines

2010-11-30 Thread Anton Vorontsov
This shrinks platform-specific code quite a bit. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- arch/arm/mach-ux500/Makefile |2 +- arch/arm/mach-ux500/headsmp.S | 38 --- arch/arm/mach-ux500/hotplug.c |5 +- arch/arm/mach-ux500/include

Re: [PATCH v4] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2010-09-30 Thread Anton Vorontsov
credits. Here you go. Acked-by: Felipe Balbi ba...@ti.com Applied, thanks everyone! -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v4] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2010-09-28 Thread Anton Vorontsov
ok the way it is. So we need other means to detect the charger :-p May we consider this as a minor issue that can be improved later? If so, I would like to apply it, but I'll wait a day or two for Reviewed-by or Acked-by tags to give the proper credits. Thanks! -- Anton Vorontsov email

Re: [PATCHv2 2/2] omap: rx51: add support for USB chargers

2010-08-20 Thread Anton Vorontsov
On Fri, Aug 20, 2010 at 10:25:26AM +0300, Tony Lindgren wrote: Hi, * Roger Quadros roger.quad...@nokia.com [100819 17:17]: On 08/19/2010 04:09 PM, Krogerus Heikki (EXT-Teleca/Helsinki) wrote: On Thu, Aug 19, 2010 at 02:40:42PM +0200, ext Anton Vorontsov wrote: On Thu, Aug 19, 2010 at 03

Re: [PATCHv2 1/2] power_supply: add isp1704 charger detection driver

2010-08-19 Thread Anton Vorontsov
. Signed-off-by: Heikki Krogerus ext-heikki.kroge...@nokia.com --- Applied to battery-2.6.git, thanks! -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

Re: [PATCHv2 2/2] omap: rx51: add support for USB chargers

2010-08-19 Thread Anton Vorontsov
)); omap2_hsmmc_init(mmc); + platform_device_register(rx51_charger_device); Maybe platform_device_register_simple(isp1704_charger, -1, NULL, 0); ? Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line

Re: [PATCH] power_supply: add isp1704 charger detection driver

2010-08-18 Thread Anton Vorontsov
need ! MACH_NOKIA_RX51 in the Kconfig. Thanks! -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 1/6] omap: Disable VGA console for omaps

2010-06-29 Thread Anton Vorontsov
+ depends on !ARCH_ACORN !ARCH_EBSA110 !4xx !8xx !SPARC !M68K !PARISC !FRV !ARCH_VERSATILE !SUPERH !BLACKFIN !AVR32 !MN10300 !ARCH_OMAP default y help Saying Y here will allow you to use Linux in text mode through a -- Anton Vorontsov email: cbouatmai

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-10 Thread Anton Vorontsov
about adding some DEVICE_ATTR for the time being and requiring userspace to write charge current here to start actual charging? Works for me. Let's think of the kernel charging support as an yet unimplemented feature. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-10 Thread Anton Vorontsov
On Thu, Dec 10, 2009 at 04:21:27PM +0200, Felipe Balbi wrote: Hi, On Thu, Dec 10, 2009 at 03:18:30PM +0100, ext Anton Vorontsov wrote: Ok since it doesn't look like this will resolve soon, what about adding some DEVICE_ATTR for the time being and requiring userspace to write charge current

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-02 Thread Anton Vorontsov
On Wed, Dec 02, 2009 at 10:38:31PM +0200, Grazvydas Ignotas wrote: On Mon, Nov 30, 2009 at 8:58 PM, Anton Vorontsov avoront...@ru.mvista.com wrote: On Mon, Nov 30, 2009 at 12:45:20PM -0600, Madhusudhan wrote: [...] +   case POWER_SUPPLY_PROP_VOLTAGE_NOW: +           /* charging must

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-02 Thread Anton Vorontsov
it is. As for the default USB VBUS current value, it could be Kconfig option (something alike to USB_GADGET_VBUS_DRAW) and/or module parameter, or hw default, or hardcoded for now. Either will work. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 -- To unsubscribe from this list

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-02 Thread Anton Vorontsov
On Thu, Dec 03, 2009 at 12:31:56AM +0200, Felipe Balbi wrote: Hi, On Wed, Dec 02, 2009 at 10:54:42PM +0100, ext Anton Vorontsov wrote: As for the default USB VBUS current value, it could be Kconfig option (something alike to USB_GADGET_VBUS_DRAW) and/or module parameter, or hw default

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-11-30 Thread Anton Vorontsov
! -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-11-27 Thread Anton Vorontsov
an irq context should be OK. + schedule_delayed_work(di-bat_work, msecs_to_jiffies(BCI_DELAY)); + + return IRQ_HANDLED; +} -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

Re: [PATCH 0/4] bq27x00 updates

2008-10-18 Thread Anton Vorontsov
interface. Thanks, -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/4] power_supply: bq27x00: separate common code

2008-10-18 Thread Anton Vorontsov
*/ Thanks! -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/4] power_supply: bq27200: separate bq27200-specific driver

2008-10-18 Thread Anton Vorontsov
Instruments); +MODULE_DESCRIPTION(BQ27200 battery moniter driver); +MODULE_LICENSE(GPL); + -- 1.6.0.2.307.gc427 Thanks, -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

Re: [PATCH 0/4] bq27x00 updates

2008-10-18 Thread Anton Vorontsov
On Sun, Oct 19, 2008 at 01:23:43AM +0300, Felipe Balbi wrote: On Sun, Oct 19, 2008 at 01:16:43AM +0400, Anton Vorontsov wrote: On Sat, Oct 18, 2008 at 12:00:44AM +0300, Felipe Balbi wrote: The previous driver for bq27x00 batteries was a real ifdef mess. The following patches separate

Re: [PATCH 1/4] power_supply: bq27x00: separate common code

2008-10-18 Thread Anton Vorontsov
power_supply_property bq27x00_props[] = { static? no, it's used by bq27200.c and bq27000.c I don't see where. The only user is bq27x00_powersupply_init(), which is in the same file (bq27x00.c). -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 -- To unsubscribe from

Re: [PATCH 0/4] bq27x00 updates

2008-10-17 Thread Anton Vorontsov
drivers/power/bq27x00.c create mode 100644 drivers/power/bq27x00.h delete mode 100644 drivers/power/bq27x00_battery.c -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message