All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv11 0/4] power_supply: Introduce power supply charging driver
@ 2014-07-08  6:04 Jenny TC
  2014-07-08  6:04 ` [PATCH 1/4] power_supply: Add inlmt,iterm, min/max temp props Jenny TC
                   ` (3 more replies)
  0 siblings, 4 replies; 44+ messages in thread
From: Jenny TC @ 2014-07-08  6:04 UTC (permalink / raw)
  To: linux-kernel, Sebastian Reichel, Dmitry Eremin-Solenikov,
	Pavel Machek, Stephen Rothwell
  Cc: Anton Vorontsov, David Woodhouse, David Cohen,
	Pallala Ramakrishna, Jenny TC

v1: introduced feature as a framework within power supply class driver with
	separate files for battid framework and charging framework
v2: fixed review comments, moved macros and inline functions to power_supply.h
v3: moved the feature as a separate driver, combined battid framework and
	charging framework inside the power supply charging driver. Moved
	charger specific properties to power_supply_charger.h and plugged the
	driver with power supply subsystem using power_supply_notifier
	introduced in my previous patch. Also a sample charger chip driver
	(bq24261) patch added to give more idea on the psy charging driver
	usage
v4: Fixed review comments, no major design changes.
v5: Fixed makefile inconsistencies, removed unused pdata callbacks
v6: Fixed nested loops, commenting style
v7: added kerneldocs for structs and minor fixes
v8: used msecs_to_jiffies instead of HZ directly, modified Kconfig help text
    for POWER_SUPPLY_CHARGING_ALGO_PSE
v9: Removed string lookups, static cable initialization
v10: Fixed bug in algorithm lookup
v11: Few variable name changes for better readability

Jenny TC (4):
  power_supply: Add inlmt,iterm, min/max temp props
  power_supply: Introduce generic psy charging driver
  power_supply: Introduce PSE compliant algorithm
  power_supply: bq24261 charger driver

 Documentation/power/power_supply_charger.txt |  350 +++++++
 Documentation/power/power_supply_class.txt   |    6 +
 drivers/power/Kconfig                        |   33 +
 drivers/power/Makefile                       |    3 +
 drivers/power/bq24261_charger.c              | 1348 ++++++++++++++++++++++++++
 drivers/power/charging_algo_pse.c            |  202 ++++
 drivers/power/power_supply_charger.c         | 1016 +++++++++++++++++++
 drivers/power/power_supply_charger.h         |  226 +++++
 drivers/power/power_supply_core.c            |    3 +
 drivers/power/power_supply_sysfs.c           |    4 +
 include/linux/power/bq24261-charger.h        |   25 +
 include/linux/power/power_supply_charger.h   |  372 +++++++
 include/linux/power_supply.h                 |  165 ++++
 13 files changed, 3753 insertions(+)
 create mode 100644 Documentation/power/power_supply_charger.txt
 create mode 100644 drivers/power/bq24261_charger.c
 create mode 100644 drivers/power/charging_algo_pse.c
 create mode 100644 drivers/power/power_supply_charger.c
 create mode 100644 drivers/power/power_supply_charger.h
 create mode 100644 include/linux/power/bq24261-charger.h
 create mode 100644 include/linux/power/power_supply_charger.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [PATCHv10 0/4] power_supply: Introduce power supply charging driver
@ 2014-06-30  9:55 Jenny TC
  2014-06-30  9:55 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
  0 siblings, 1 reply; 44+ messages in thread
From: Jenny TC @ 2014-06-30  9:55 UTC (permalink / raw)
  To: linux-kernel, Sebastian Reichel, Dmitry Eremin-Solenikov,
	Pavel Machek, Stephen Rothwell
  Cc: Anton Vorontsov, David Woodhouse, David Cohen,
	Pallala Ramakrishna, Jenny TC

v1: introduced feature as a framework within power supply class driver with
	separate files for battid framework and charging framework
v2: fixed review comments, moved macros and inline functions to power_supply.h
v3: moved the feature as a separate driver, combined battid framework and
	charging framework inside the power supply charging driver. Moved
	charger specific properties to power_supply_charger.h and plugged the
	driver with power supply subsystem using power_supply_notifier
	introduced in my previous patch. Also a sample charger chip driver
	(bq24261) patch added to give more idea on the psy charging driver
	usage
v4: Fixed review comments, no major design changes.
v5: Fixed makefile inconsistencies, removed unused pdata callbacks
v6: Fixed nested loops, commenting style
v7: added kerneldocs for structs and minor fixes
v8: used msecs_to_jiffies instead of HZ directly, modified Kconfig help text
    for POWER_SUPPLY_CHARGING_ALGO_PSE
v9: Removed string lookups, static cable initialization
v10: Fixed bug in algorithm lookup

Jenny TC (4):
  power_supply: Add inlmt,iterm, min/max temp props
  power_supply: Introduce generic psy charging driver
  power_supply: Introduce PSE compliant algorithm
  power_supply: bq24261 charger driver

 Documentation/power/power_supply_charger.txt |  350 +++++++
 Documentation/power/power_supply_class.txt   |    6 +
 drivers/power/Kconfig                        |   33 +
 drivers/power/Makefile                       |    3 +
 drivers/power/bq24261_charger.c              | 1351 ++++++++++++++++++++++++++
 drivers/power/charging_algo_pse.c            |  202 ++++
 drivers/power/power_supply_charger.c         | 1016 +++++++++++++++++++
 drivers/power/power_supply_charger.h         |  226 +++++
 drivers/power/power_supply_core.c            |    3 +
 drivers/power/power_supply_sysfs.c           |    4 +
 include/linux/power/bq24261-charger.h        |   25 +
 include/linux/power/power_supply_charger.h   |  370 +++++++
 include/linux/power_supply.h                 |  165 ++++
 13 files changed, 3754 insertions(+)
 create mode 100644 Documentation/power/power_supply_charger.txt
 create mode 100644 drivers/power/bq24261_charger.c
 create mode 100644 drivers/power/charging_algo_pse.c
 create mode 100644 drivers/power/power_supply_charger.c
 create mode 100644 drivers/power/power_supply_charger.h
 create mode 100644 include/linux/power/bq24261-charger.h
 create mode 100644 include/linux/power/power_supply_charger.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [PATCHv9 0/4] power_supply: Introduce power supply charging driver
@ 2014-06-19 14:02 Jenny TC
  2014-06-19 14:02 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
  0 siblings, 1 reply; 44+ messages in thread
From: Jenny TC @ 2014-06-19 14:02 UTC (permalink / raw)
  To: linux-kernel, Sebastian Reichel, Dmitry Eremin-Solenikov, Pavel Machek
  Cc: Anton Vorontsov, David Woodhouse, Cohen David A,
	Pallala Ramakrishna, Jenny TC

v1: introduced feature as a framework within power supply class driver with
	separate files for battid framework and charging framework
v2: fixed review comments, moved macros and inline functions to power_supply.h
v3: moved the feature as a separate driver, combined battid framework and
	charging framework inside the power supply charging driver. Moved
	charger specific properties to power_supply_charger.h and plugged the
	driver with power supply subsystem using power_supply_notifier
	introduced in my previous patch. Also a sample charger chip driver
	(bq24261) patch added to give more idea on the psy charging driver
	usage
v4: Fixed review comments, no major design changes.
v5: Fixed makefile inconsistencies, removed unused pdata callbacks
v6: Fixed nested loops, commenting style
v7: added kerneldocs for structs and minor fixes
v8: used msecs_to_jiffies instead of HZ directly, modified Kconfig help text
    for POWER_SUPPLY_CHARGING_ALGO_PSE
v9: Removed string lookups, static cable initialization

Jenny TC (4):
  power_supply: Add inlmt,iterm, min/max temp props
  power_supply: Introduce generic psy charging driver
  power_supply: Introduce PSE compliant algorithm
  power_supply: bq24261 charger driver

 Documentation/power/power_supply_charger.txt |  350 +++++++
 Documentation/power/power_supply_class.txt   |    6 +
 drivers/power/Kconfig                        |   33 +
 drivers/power/Makefile                       |    3 +
 drivers/power/bq24261_charger.c              | 1348 ++++++++++++++++++++++++++
 drivers/power/charging_algo_pse.c            |  204 ++++
 drivers/power/power_supply_charger.c         | 1022 +++++++++++++++++++
 drivers/power/power_supply_charger.h         |  226 +++++
 drivers/power/power_supply_core.c            |    3 +
 drivers/power/power_supply_sysfs.c           |    4 +
 include/linux/power/bq24261-charger.h        |   25 +
 include/linux/power/power_supply_charger.h   |  370 +++++++
 include/linux/power_supply.h                 |  165 ++++
 13 files changed, 3759 insertions(+)
 create mode 100644 Documentation/power/power_supply_charger.txt
 create mode 100644 drivers/power/bq24261_charger.c
 create mode 100644 drivers/power/charging_algo_pse.c
 create mode 100644 drivers/power/power_supply_charger.c
 create mode 100644 drivers/power/power_supply_charger.h
 create mode 100644 include/linux/power/bq24261-charger.h
 create mode 100644 include/linux/power/power_supply_charger.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [PATCH v6 0/4] power_supply: Introduce power supply charging driver
@ 2014-02-20  5:53 Jenny TC
  2014-02-20  5:53 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
  0 siblings, 1 reply; 44+ messages in thread
From: Jenny TC @ 2014-02-20  5:53 UTC (permalink / raw)
  To: linux-kernel, Dmitry Eremin-Solenikov
  Cc: Anton Vorontsov, Anton Vorontsov, Jenny TC, Kim Milo, Lee Jones,
	Jingoo Han, Chanwoo Choi, Sachin Kamat, Lars-Peter Clausen,
	Pali Rohár, Rhyland Klein, Pavel Machek, Rafael J. Wysocki,
	David Woodhouse, Tony Lindgren, Russell King, Sebastian Reichel,
	aaro.koskinen, Pallala Ramakrishna, freemangordon, linux-omap

v1: introduced feature as a framework within power supply class driver with
	separate files for battid framework and charging framework
v2: fixed review comments, moved macros and inline functions to power_supply.h
v3: moved the feature as a separate driver, combined battid framework and
	charging framework inside the power supply charging driver. Moved
	charger specific properties to power_supply_charger.h and plugged the
	driver with power supply subsystem using power_supply_notifier
	introduced in my previous patch. Also a sample charger chip driver
	(bq24261) patch added to give more idea on the psy charging driver
	usage
v4: Fixed review comments, no major design changes.
v5: Fixed makefile inconsistencies, removed unused pdata callbacks
v6: Fixed nested loops, commenting style

The Power Supply charging driver connects multiple subsystems
to do charging in a generic way. The subsystems involves power_supply,
thermal and battery communication subsystems (1wire).With this the charging is
handled in a generic way.

The driver makes use of different new features - Battery Identification
interfaces, pluggable charging algorithms, charger cable arbitrations etc.
The patch also introduces generic interface for charger cable notifications.
Charger cable events and capabilities can be notified using the generic
power_supply_notifier chain.

Overall this driver removes the charging logic out of the charger chip driver
and the charger chip driver can just listen to the request from the power
supply charging driver to set the charger properties. This can be implemented
by exposing get_property and set property callbacks.

Jenny TC (4):
  power_supply: Add inlmt,iterm, min/max temp props
  power_supply: Introduce generic psy charging driver
  power_supply: Introduce PSE compliant algorithm
  power_supply: bq24261 charger driver

 Documentation/power/power_supply_charger.txt |  353 +++++++
 Documentation/power/power_supply_class.txt   |    6 +
 drivers/power/Kconfig                        |   31 +
 drivers/power/Makefile                       |    3 +
 drivers/power/bq24261-charger.c              | 1350 ++++++++++++++++++++++++++
 drivers/power/charging_algo_pse.c            |  204 ++++
 drivers/power/power_supply_charger.c         | 1186 ++++++++++++++++++++++
 drivers/power/power_supply_charger.h         |  218 +++++
 drivers/power/power_supply_core.c            |    3 +
 drivers/power/power_supply_sysfs.c           |    4 +
 include/linux/power/bq24261-charger.h        |   25 +
 include/linux/power/power_supply_charger.h   |  235 +++++
 include/linux/power_supply.h                 |  164 ++++
 13 files changed, 3782 insertions(+)
 create mode 100644 Documentation/power/power_supply_charger.txt
 create mode 100644 drivers/power/bq24261-charger.c
 create mode 100644 drivers/power/charging_algo_pse.c
 create mode 100644 drivers/power/power_supply_charger.c
 create mode 100644 drivers/power/power_supply_charger.h
 create mode 100644 include/linux/power/bq24261-charger.h
 create mode 100644 include/linux/power/power_supply_charger.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [PATCH v5 0/4] power_supply: Introduce power supply charging driver
@ 2014-02-04  5:12 Jenny TC
  2014-02-04  5:12 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
  0 siblings, 1 reply; 44+ messages in thread
From: Jenny TC @ 2014-02-04  5:12 UTC (permalink / raw)
  To: linux-kernel, Dmitry Eremin-Solenikov
  Cc: Anton Vorontsov, Anton Vorontsov, Jenny TC, Kim Milo, Lee Jones,
	Jingoo Han, Chanwoo Choi, Sachin Kamat, Lars-Peter Clausen,
	Pali Rohár, Rhyland Klein, Pavel Machek, Rafael J. Wysocki,
	David Woodhouse, Tony Lindgren, Russell King, Sebastian Reichel,
	aaro.koskinen, Pallala Ramakrishna, freemangordon, linux-omap

v1: introduced feature as a framework within power supply class driver with
	separate files for battid framework and charging framework
v2: fixed review comments, moved macros and inline functions to power_supply.h
v3: moved the feature as a separate driver, combined battid framework and
	charging framework inside the power supply charging driver. Moved
	charger specific properties to power_supply_charger.h and plugged the
	driver with power supply subsystem using power_supply_notifier
	introduced in my previous patch. Also a sample charger chip driver
	(bq24261) patch added to give more idea on the psy charging driver
	usage
v4: Fixed review comments, no major design changes.
v5: Fixed makefile inconsistencies, removed unused pdata callbacks

The Power Supply charging driver connects multiple subsystems
to do charging in a generic way. The subsystems involves power_supply,
thermal and battery communication subsystems (1wire).With this the charging is
handled in a generic way.

The driver makes use of different new features - Battery Identification
interfaces, pluggable charging algorithms, charger cable arbitrations etc.
The patch also introduces generic interface for charger cable notifications.
Charger cable events and capabilities can be notified using the generic
power_supply_notifier chain.

Overall this driver removes the charging logic out of the charger chip driver
and the charger chip driver can just listen to the request from the power
supply charging driver to set the charger properties. This can be implemented
by exposing get_property and set property callbacks.

Jenny TC (4):
  power_supply: Add inlmt,iterm, min/max temp props
  power_supply: Introduce generic psy charging driver
  power_supply: Introduce PSE compliant algorithm
  power_supply: bq24261 charger driver

 Documentation/power/power_supply_charger.txt |  339 +++++++
 Documentation/power/power_supply_class.txt   |    6 +
 drivers/power/Kconfig                        |   31 +
 drivers/power/Makefile                       |    3 +
 drivers/power/bq24261-charger.c              | 1364 ++++++++++++++++++++++++++
 drivers/power/charging_algo_pse.c            |  198 ++++
 drivers/power/power_supply_charger.c         | 1196 ++++++++++++++++++++++
 drivers/power/power_supply_charger.h         |  218 ++++
 drivers/power/power_supply_core.c            |    3 +
 drivers/power/power_supply_sysfs.c           |    4 +
 include/linux/power/bq24261-charger.h        |   25 +
 include/linux/power/power_supply_charger.h   |  237 +++++
 include/linux/power_supply.h                 |  164 ++++
 13 files changed, 3788 insertions(+)
 create mode 100644 Documentation/power/power_supply_charger.txt
 create mode 100644 drivers/power/bq24261-charger.c
 create mode 100644 drivers/power/charging_algo_pse.c
 create mode 100644 drivers/power/power_supply_charger.c
 create mode 100644 drivers/power/power_supply_charger.h
 create mode 100644 include/linux/power/bq24261-charger.h
 create mode 100644 include/linux/power/power_supply_charger.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [PATCH v4 0/4] power_supply: Introduce power supply charging driver
@ 2014-01-30 17:30 Jenny TC
  2014-01-30 17:30 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
  0 siblings, 1 reply; 44+ messages in thread
From: Jenny TC @ 2014-01-30 17:30 UTC (permalink / raw)
  To: linux-kernel, Dmitry Eremin-Solenikov
  Cc: Anton Vorontsov, Anton Vorontsov, Jenny TC, Kim Milo, Lee Jones,
	Jingoo Han, Chanwoo Choi, Sachin Kamat, Lars-Peter Clausen,
	Pali Rohár, Rhyland Klein, Pavel Machek, Rafael J. Wysocki,
	David Woodhouse, Tony Lindgren, Russell King, Sebastian Reichel,
	aaro.koskinen, freemangordon, linux-omap

v1: introduced feature as a framework within power supply class driver with
	separate files for battid framework and charging framework
v2: fixed review comments, moved macros and inline functions to power_supply.h
v3: moved the feature as a separate driver, combined battid framework and
	charging framework inside the power supply charging driver. Moved
	charger specific properties to power_supply_charger.h and plugged the
	driver with power supply subsystem using power_supply_notifier
	introduced in my previous patch. Also a sample charger chip driver
	(bq24261) patch added to give more idea on the psy charging driver
	usage
v4: Fixed review comments, no major design changes.

The Power Supply charging driver connects multiple subsystems
to do charging in a generic way. The subsystems involves power_supply,
thermal and battery communication subsystems (1wire).With this the charging is
handled in a generic way.

The driver makes use of different new features - Battery Identification
interfaces, pluggable charging algorithms, charger cable arbitrations etc.
The patch also introduces generic interface for charger cable notifications.
Charger cable events and capabilities can be notified using the generic
power_supply_notifier chain.

Overall this driver removes the charging logic out of the charger chip driver
and the charger chip driver can just listen to the request from the power
supply charging driver to set the charger properties. This can be implemented
by exposing get_property and set property callbacks.


Jenny TC (4):
  power_supply: Add inlmt,iterm, min/max temp props
  power_supply: Introduce generic psy charging driver
  power_supply: Introduce PSE compliant algorithm
  power_supply: bq24261 charger driver

 Documentation/power/power_supply_charger.txt |  339 +++++++
 Documentation/power/power_supply_class.txt   |    6 +
 drivers/power/Kconfig                        |   31 +
 drivers/power/Makefile                       |    3 +
 drivers/power/bq24261_charger.c              | 1364 ++++++++++++++++++++++++++
 drivers/power/charging_algo_pse.c            |  198 ++++
 drivers/power/power_supply_charger.c         | 1196 ++++++++++++++++++++++
 drivers/power/power_supply_charger.h         |  218 ++++
 drivers/power/power_supply_core.c            |    3 +
 drivers/power/power_supply_sysfs.c           |    4 +
 include/linux/power/bq24261_charger.h        |   32 +
 include/linux/power/power_supply_charger.h   |  237 +++++
 include/linux/power_supply.h                 |  164 ++++
 13 files changed, 3795 insertions(+)
 create mode 100644 Documentation/power/power_supply_charger.txt
 create mode 100644 drivers/power/bq24261_charger.c
 create mode 100644 drivers/power/charging_algo_pse.c
 create mode 100644 drivers/power/power_supply_charger.c
 create mode 100644 drivers/power/power_supply_charger.h
 create mode 100644 include/linux/power/bq24261_charger.h
 create mode 100644 include/linux/power/power_supply_charger.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2014-07-18  7:52 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-08  6:04 [PATCHv11 0/4] power_supply: Introduce power supply charging driver Jenny TC
2014-07-08  6:04 ` [PATCH 1/4] power_supply: Add inlmt,iterm, min/max temp props Jenny TC
2014-07-14 13:05   ` Pavel Machek
2014-07-17 23:34   ` Sebastian Reichel
2014-07-08  6:04 ` [PATCH 2/4] power_supply: Introduce generic psy charging driver Jenny TC
2014-07-14 13:34   ` Pavel Machek
2014-07-18  2:18   ` Sebastian Reichel
2014-07-18  3:38     ` Tc, Jenny
2014-07-18  7:52       ` Pavel Machek
2014-07-08  6:04 ` [PATCH 3/4] power_supply: Introduce PSE compliant algorithm Jenny TC
2014-07-08  6:04 ` [PATCH 4/4] power_supply: bq24261 charger driver Jenny TC
  -- strict thread matches above, loose matches on Subject: below --
2014-06-30  9:55 [PATCHv10 0/4] power_supply: Introduce power supply charging driver Jenny TC
2014-06-30  9:55 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
2014-06-19 14:02 [PATCHv9 0/4] power_supply: Introduce power supply " Jenny TC
2014-06-19 14:02 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
2014-02-20  5:53 [PATCH v6 0/4] power_supply: Introduce power supply " Jenny TC
2014-02-20  5:53 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
2014-02-27 20:08   ` Linus Walleij
2014-02-27 20:08     ` Linus Walleij
2014-02-28  4:27     ` Jenny Tc
2014-02-28  4:27       ` Jenny Tc
2014-03-07  3:03       ` Linus Walleij
2014-03-07  3:03         ` Linus Walleij
2014-03-07  3:49         ` Jenny Tc
2014-03-07  3:49           ` Jenny Tc
2014-03-07 20:09         ` Pavel Machek
2014-03-07 20:09           ` Pavel Machek
2014-02-28 10:01     ` Pavel Machek
2014-02-28 10:01       ` Pavel Machek
2014-03-07  3:04       ` Linus Walleij
2014-03-07  3:04         ` Linus Walleij
2014-03-07 20:10         ` Pavel Machek
2014-03-07 20:10           ` Pavel Machek
2014-03-12 14:37           ` Linus Walleij
2014-03-12 14:37             ` Linus Walleij
2014-03-13  9:12             ` Pavel Machek
2014-03-13  9:12               ` Pavel Machek
2014-03-14 10:36               ` Linus Walleij
2014-03-14 10:36                 ` Linus Walleij
2014-03-14 19:25                 ` Mark Brown
2014-03-14 19:25                   ` Mark Brown
2014-02-04  5:12 [PATCH v5 0/4] power_supply: Introduce power supply " Jenny TC
2014-02-04  5:12 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC
2014-02-04 11:36   ` Pavel Machek
2014-02-05  8:14     ` Jenny Tc
2014-02-12 11:00       ` Pavel Machek
2014-02-13  0:51         ` Jingoo Han
2014-01-30 17:30 [PATCH v4 0/4] power_supply: Introduce power supply " Jenny TC
2014-01-30 17:30 ` [PATCH 2/4] power_supply: Introduce generic psy " Jenny TC

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.