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 "unsubscr
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
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 app
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
> ---
> drivers/power/power_supply_core.c | 24
> include/linux/power_supply.h | 2 ++
> 2 files changed
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 ad
On Mon, Dec 02, 2013 at 01:02:40AM +0100, Michael Trimarchi wrote:
> On Sun, Dec 1, 2013 at 11:37 PM, Anton Vorontsov wrote:
> > On Mon, Nov 25, 2013 at 08:16:34PM +0100, Michael Trimarchi wrote:
> > ...
> >> >> So you can read this value without any type of sy
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 equ
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
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
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
> Acked-by: Kumar Gala
> Acked-by: Grant Likely
>
> --
> This version with
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 char
On Wed, Nov 21, 2012 at 11:20:43AM -0800, Tony Lindgren wrote:
> * Anton Vorontsov [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
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: =?UTF-8?q?Pal
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
> ---
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to ma
ries and fix some style
issues...
commit 7ad85830736f3e0d854becf7621eba3a0c926d13
Author: Anton Vorontsov
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.
Sign
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.
ist :-)
> >
> > You missed the power supply 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 CLAS
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
> ---
Applied, thanks!
--
Anton Vorontsov
Email: cbouatmai...@gmail.com
--
To unsubscribe from this li
ache
> controller support will need to select 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
For CNS3xxx bits:
Acked-by: Anton Vorontsov
Thank
e tristate. So set it
> as tristate too and update header files as well.
>
> Change those ifdefs to take care of module configuration.
>
> Signed-off-by: Bryan Wu
Won't this break linking if POWER_SUPPLY=y and LEDS_TRIGGERS=m?
Thanks,
--
Anton Vorontsov
Email: cbouatmai.
RRUPTS_BCIIMR2A);
> if (ret < 0)
> @@ -572,7 +572,7 @@ static void __exit twl4030_bci_exit(void)
> }
> module_exit(twl4030_bci_exit);
>
> -MODULE_AUTHOR("Gražydas Ignotas");
> +MODULE_AUTHOR("Gražvydas Ignotas");
> MODULE_DESCRIPTION("TWL4030 Battery
plied.
Much thanks for your work!
--
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
> i2c operations can be safely made. Needed for atomic otg
> > > notifiers.
> > >
> > > Signed-off-by: Heikki Krogerus
> > > Cc: Grazvydas Ignotas
> > > Cc: Anton Vorontsov
> >
> > seems to work fine.
> > Tested-by: Grazvydas
This shrinks platform-specific code quite a bit.
Signed-off-by: Anton Vorontsov
---
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/mach/smp.h |3
This shrinks platform-specific code a little bit.
Signed-off-by: Anton Vorontsov
---
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/mach-omap2/omap-smp.c
Nothing fancy needs to be done, just use generic SCU routines.
Signed-off-by: Anton Vorontsov
---
arch/arm/Kconfig |2 +-
arch/arm/mach-cns3xxx/Kconfig|1 +
arch/arm/mach-cns3xxx/Makefile |1 +
arch/arm/mach-cns3xxx/include/mach/smp.h
also a lot of other platforms
that might benefit from this change, but we'll convert them via
separate patches.
Signed-off-by: Anton Vorontsov
---
arch/arm/include/asm/smp_scu.h |9 +++
arch/arm/kernel/Makefile |2 +-
arch/arm/kernel/smp_sc
This shrinks platform-specific code quite a bit.
Signed-off-by: Anton Vorontsov
---
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
This shrinks platform-specific code quite a bit.
Signed-off-by: Anton Vorontsov
---
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
This shrinks platform-specific code quite a bit.
Signed-off-by: Anton Vorontsov
---
arch/arm/mach-vexpress/Makefile |2 +-
arch/arm/mach-vexpress/headsmp.S | 39 --
arch/arm/mach-vexpress/platsmp.c | 150 --
3 files changed, 15 insertions
This shrinks platform-specific code a little bit.
Signed-off-by: Anton Vorontsov
---
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-tegra/platsmp.c
index
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 com
want 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
---
arch/arm/kernel/smp_twd.c | 14 +++
arch/arm/mach-omap2/Makefile|
; Sure, it's fine.
>
> >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.
>
> Here you go.
>
> Acked-by: Felipe Balbi
Applied, thanks everyone!
--
Anton Vorontsov
email: cbouatmai.
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: 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
On Fri, Aug 20, 2010 at 10:25:26AM +0300, Tony Lindgren wrote:
> Hi,
>
> * Roger Quadros [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:
> > >&g
herals_spi_board_info,
> ARRAY_SIZE(rx51_peripherals_spi_board_info));
> omap2_hsmmc_init(mmc);
> + platform_device_register(&rx51_charger_device);
Maybe
platform_device_register_simple("isp1704_charger", -1, NULL, 0);
?
Thanks,
--
Anton Vorontsov
ema
;
> Signed-off-by: Heikki Krogerus
> ---
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...@vger.kerne
d an empty line here?
> + ret = otg_register_notifier(isp->otg, &isp->nb);
> + if (ret)
> + goto fail2;
> +
> + dev_info(isp->dev, "registered with product id %s\n", isp->model);
> +
> + return 0;
> +fail2:
> + power_supply_unregister(&isp->psy);
> +fail:
> + otg_put_transceiver(isp->otg);
> + kfree(isp);
> +
> + dev_err(&pdev->dev, "failed to register isp1704 with error %d\n", ret);
> +
> + return ret;
> +}
[...]
> +static int __init isp1704_charger_init(void)
> +{
> + int ret = 0;
> +
> + ret = platform_driver_register(&isp1704_charger_driver);
> + if (ret)
> + return ret;
> +
> + isp1704_device = platform_device_register_simple("isp1704_charger",
> + 0, NULL, 0);
This is wrong. Please move this into either isp1704 generic
or usb driver (if any), or platform (board) code.
That way you also won't 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/majordomo-info.html
;& !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...@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
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
er chip.
>
> 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 here to start actual charging?
Works for me. Let's think of the kernel charging support as an
yet unimple
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 modul
ike this driver the way 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/
On Wed, Dec 02, 2009 at 10:38:31PM +0200, Grazvydas Ignotas wrote:
> On Mon, Nov 30, 2009 at 8:58 PM, Anton Vorontsov
> wrote:
> > On Mon, Nov 30, 2009 at 12:45:20PM -0600, Madhusudhan wrote:
> > [...]
> >> > + case POWER_SUPPLY_PROP_VOLTAGE_NOW:
> >> &
better to return -EINVAL.
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/majordomo-info.html
the driver can't tolerate disabled irqs?
Calling schedule_delayed_work() from 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://ir
uint, 0644);
> > > +MODULE_PARM_DESC(cache_time, "cache time in milliseconds");
> > > +
> > > +enum power_supply_property bq27x00_props[] = {
> >
> > static?
>
> no, it's used by bq27200.c and bq27000.c
I don't see where. The
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
; + { },
> +};
> +MODULE_DEVICE_TABLE(i2c, bq27200_id);
> +
> +static struct i2c_driver bq27200_driver = {
> + .driver = {
> + .name = "bq27200",
> + },
> + .probe = bq27200_probe,
> + .remove = __exit_p(bq27200_remove),
> + .suspend= bq27200_suspend,
> + .resume = bq27200_resume,
> + .id_table = bq27200_id,
> +};
> +
> +static int __init bq27200_init(void)
> +{
> + return i2c_add_driver(&bq27200_driver);
> +}
> +module_init(bq27200_init);
> +
> +static void __exit bq27200_exit(void)
> +{
> + i2c_del_driver(&bq27200_driver);
> +}
> +module_exit(bq27200_exit);
> +
> +MODULE_AUTHOR("Texas 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 to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
ce_info {
> + struct device *dev;
> + unsigned long update_time;
> + int voltage_uV;
> + int current_uA;
> + int temp_C;
> + int charge_rsoc;
> + st
the platform driver would not depend on
any hw 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
--
> 7 files changed, 630 insertions(+), 581 deletions(-)
> create mode 100644 drivers/power/bq27000.c
> create mode 100644 drivers/power/bq27200.c
> create mode 100644 drivers/power/bq27x00.c
> create mode 100644 drivers/power/bq27x00.h
53 matches
Mail list logo