Re: [RFC 3/4] power_supply: Introduce charger control interface

2015-03-09 Thread Sebastian Reichel
Hi, On Mon, Mar 09, 2015 at 12:47:18PM +, Tc, Jenny wrote: > > > +struct power_supply_charger { > > > + int (*get_property)(struct power_supply_charger *psyc, > > > + enum psy_charger_control_property pspc, > > > + union power_supply_propval *val); > >

RE: [RFC 3/4] power_supply: Introduce charger control interface

2015-03-09 Thread Tc, Jenny
Hi, > > +struct power_supply_charger { > > + int (*get_property)(struct power_supply_charger *psyc, > > + enum psy_charger_control_property pspc, > > + union power_supply_propval *val); > > The charging framework can simply call the same get_property

Re: [RFC 3/4] power_supply: Introduce charger control interface

2015-03-07 Thread Sebastian Reichel
Hi, On Fri, Mar 06, 2015 at 04:03:26PM +0530, Jenny TC wrote: > Introduce power_supply charger control interfaces to control > charging from charging framework like charger-manager. The interfaces > are similar to the existing power supply get/set interfaces, but > introduce a different set of pro