On Mon, Jan 07, 2013 at 05:43:58AM +, Pallala, Ramakrishna wrote:
> > > > > +struct power_supply_charger_control {
> > > > > + const char *name;
> > > > > + /* get charging status */
> > > > > + int (*is_charging_enabled)(void);
> > > > > + int (*is_charger_enabled)(void);
> > > > > +struct power_supply_charger_control {
> > > > > + const char *name;
> > > > > + /* get charging status */
> > > > > + int (*is_charging_enabled)(void);
> > > > > + int (*is_charger_enabled)(void);
> > > > > +
> > > > > + /* set charging parameters */
> > > > > +
> > > > +struct power_supply_charger_control {
> > > > + const char *name;
> > > > + /* get charging status */
> > > > + int (*is_charging_enabled)(void);
> > > > + int (*is_charger_enabled)(void);
> > > > +
> > > > + /* set charging parameters */
> > > > + int
On Mon, Jan 07, 2013 at 05:23:36AM +, Tc, Jenny wrote:
> >
> > > > +struct power_supply_charger_control {
> > > > + const char *name;
> > > > + /* get charging status */
> > > > + int (*is_charging_enabled)(void);
> > > > + int (*is_charger_enabled)(void);
> > > > +
>
>
> > > +struct power_supply_charger_control {
> > > + const char *name;
> > > + /* get charging status */
> > > + int (*is_charging_enabled)(void);
> > > + int (*is_charger_enabled)(void);
> > > +
> > > + /* set charging parameters */
> > > + int (*set_in_current_limit)(int uA);
> > > + int
> > +struct power_supply_charger_control {
> > + const char *name;
> > + /* get charging status */
> > + int (*is_charging_enabled)(void);
> > + int (*is_charger_enabled)(void);
> > +
> > + /* set charging parameters */
> > + int (*set_in_current_limit)(int uA);
> > + int
+struct power_supply_charger_control {
+ const char *name;
+ /* get charging status */
+ int (*is_charging_enabled)(void);
+ int (*is_charger_enabled)(void);
+
+ /* set charging parameters */
+ int (*set_in_current_limit)(int uA);
+ int (*set_charge_current)(int
+struct power_supply_charger_control {
+ const char *name;
+ /* get charging status */
+ int (*is_charging_enabled)(void);
+ int (*is_charger_enabled)(void);
+
+ /* set charging parameters */
+ int (*set_in_current_limit)(int uA);
+ int (*set_charge_current)(int uA);
On Mon, Jan 07, 2013 at 05:23:36AM +, Tc, Jenny wrote:
+struct power_supply_charger_control {
+ const char *name;
+ /* get charging status */
+ int (*is_charging_enabled)(void);
+ int (*is_charger_enabled)(void);
+
+ /* set charging
+struct power_supply_charger_control {
+ const char *name;
+ /* get charging status */
+ int (*is_charging_enabled)(void);
+ int (*is_charger_enabled)(void);
+
+ /* set charging parameters */
+ int (*set_in_current_limit)(int uA);
+struct power_supply_charger_control {
+ const char *name;
+ /* get charging status */
+ int (*is_charging_enabled)(void);
+ int (*is_charger_enabled)(void);
+
+ /* set charging parameters */
+ int (*set_in_current_limit)(int uA);
On Mon, Jan 07, 2013 at 05:43:58AM +, Pallala, Ramakrishna wrote:
+struct power_supply_charger_control {
+ const char *name;
+ /* get charging status */
+ int (*is_charging_enabled)(void);
+ int (*is_charger_enabled)(void);
[...]
The similar
On Tue, Nov 27, 2012 at 01:17:02PM +0530, Ramakrishna Pallala wrote:
[...]
> +++ b/drivers/power/power_supply_core.c
> @@ -158,6 +158,24 @@ struct power_supply *power_supply_get_by_name(char *name)
> }
> EXPORT_SYMBOL_GPL(power_supply_get_by_name);
>
> +#ifdef CONFIG_PSY_CM_LOW_LEVEL_SUPPORT
>
On Tue, Nov 27, 2012 at 01:17:02PM +0530, Ramakrishna Pallala wrote:
[...]
+++ b/drivers/power/power_supply_core.c
@@ -158,6 +158,24 @@ struct power_supply *power_supply_get_by_name(char *name)
}
EXPORT_SYMBOL_GPL(power_supply_get_by_name);
+#ifdef CONFIG_PSY_CM_LOW_LEVEL_SUPPORT
This patch adds power supply charge control structure to power_supply struct
and add a Kconfig flag to use these controls by charger frameworks.
This patch also adds a helper function/API to return the charge control
struct to the charger frameworks.
Signed-off-by: Ramakrishna Pallala
---
This patch adds power supply charge control structure to power_supply struct
and add a Kconfig flag to use these controls by charger frameworks.
This patch also adds a helper function/API to return the charge control
struct to the charger frameworks.
Signed-off-by: Ramakrishna Pallala
---
This patch adds power supply charge control structure to power_supply struct
and add a Kconfig flag to use these controls by charger frameworks.
This patch also adds a helper function/API to return the charge control
struct to the charger frameworks.
Signed-off-by: Ramakrishna Pallala
This patch adds power supply charge control structure to power_supply struct
and add a Kconfig flag to use these controls by charger frameworks.
This patch also adds a helper function/API to return the charge control
struct to the charger frameworks.
Signed-off-by: Ramakrishna Pallala
18 matches
Mail list logo