This patch series adds the support for TI BQ24261 charger driver.
TI BQ24261 charger driver relies on extcon notifications to get the
charger cable type and based on that it will set the charging parameters.
Ramakrishna Pallala (2):
dt: power: Add support for BQ24261 charger
power: Add
Add new charger driver support for TI BQ24261 charger IC.
TI BQ24261 charger driver relies on extcon notifications to get the
charger cable type and based on that it will set the charging parameters.
Signed-off-by: Ramakrishna Pallala
Signed-off-by: Jenny TC
---
drivers/power/Kconfig
This patch adds the device tree documentation for TI BQ24261 charger.
Signed-off-by: Ramakrishna Pallala
Signed-off-by: Jenny TC
---
.../devicetree/bindings/power/bq24261.txt | 34
1 file changed, 34 insertions(+)
create mode 100644 Documentation/devicetree
Add new charger driver support for TI BQ24261 charger IC.
TI BQ24261 charger driver relies on extcon notifications to get the
charger cable type and based on that it will set the charging parameters.
Signed-off-by: Ramakrishna Pallala
Signed-off-by: Jennt TC
---
drivers/power/Kconfig
This patch adds the device tree documentation for TI BQ24261 charger.
Signed-off-by: Ramakrishna Pallala
Signed-off-by: Jennt TC
---
.../devicetree/bindings/power/bq24261.txt | 34
1 file changed, 34 insertions(+)
create mode 100644 Documentation/devicetree
This patch series adds the support for TI BQ24261 charger driver.
TI BQ24261 charger driver relies on extcon notifications to get the
charger cable type and based on that it will set the charging parameters.
Ramakrishna Pallala (2):
dt: power: Add support for BQ24261 charger
power: Add
Add new charger driver support for BQ24261 charger IC.
BQ24261 charger driver relies on extcon notifications to get the
charger cable type and based on that it will set the charging parameters.
Signed-off-by: Ramakrishna Pallala
Signed-off-by: Jennt TC
---
.../devicetree/bindings/power
Add new charger driver support for BQ24261 charger IC.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/Kconfig |6 +
drivers/power/Makefile|1 +
drivers/power/bq24261_charger.c | 1127 +
include/linux/power
Add new charger driver support for BQ24261 charger IC.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/Kconfig |6 +
drivers/power/Makefile|1 +
drivers/power/bq24261_charger.c | 1127 +
include/linux/power
This patch adds the support for following battery properties
to max17042 fuel gauge driver.
POWER_SUPPLY_PROP_TEMP_ALERT_MIN
POWER_SUPPLY_PROP_TEMP_ALERT_MAX
POWER_SUPPLY_PROP_TEMP_MIN
POWER_SUPPLY_PROP_TEMP_MAX
POWER_SUPPLY_PROP_HEALTH
Signed-off-by: Ramakrishna Pallala
Reviewed-by: Krzysztof
This patch adds the support for following battery properties
to max17042 fuel gauge driver.
POWER_SUPPLY_PROP_TEMP_ALERT_MIN
POWER_SUPPLY_PROP_TEMP_ALERT_MAX
POWER_SUPPLY_PROP_TEMP_MIN
POWER_SUPPLY_PROP_TEMP_MAX
POWER_SUPPLY_PROP_HEALTH
Signed-off-by: Ramakrishna Pallala
Reviewed-by: Krzysztof
This patch adds the support for following battery properties
to max17042 fuel gauge driver.
POWER_SUPPLY_PROP_TEMP_ALERT_MIN
POWER_SUPPLY_PROP_TEMP_ALERT_MAX
POWER_SUPPLY_PROP_TEMP_MIN
POWER_SUPPLY_PROP_TEMP_MAX
POWER_SUPPLY_PROP_HEALTH
Signed-off-by: Ramakrishna Pallala
---
drivers/power
This patch adds new power supply charger driver support
for X-Power AXP288 PMIC integrated charger.
This driver interfaces with the axp20x mfd driver as a cell
and listens to extcon cable events for setting up charging.
Signed-off-by: Ramakrishna Pallala
Acked-by: Lee Jones
---
drivers/power
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
Acked-by: Lee Jones
---
drivers/extcon/Kconfig |7
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds new power supply charger driver support
for X-Power AXP288 PMIC integrated charger.
This driver interfaces with the axp20x mfd driver as a cell
and listens to extcon cable events for setting up charging.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/Kconfig
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds new power supply charger driver support
for X-Power AXP288 PMIC integrated charger.
This driver interfaces with the axp20x mfd driver as a cell
and listens to extcon cable events for setting up charging.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/Kconfig
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds the mfd cell info for axp288 extcon device.
Signed-off-by: Ramakrishna Pallala
---
drivers/mfd/axp20x.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index b1b580a..4c8e0e9 100644
--- a/drivers/mfd
This patch series adds the support for axp288 extcon driver
and also adds the cell info for extcon device in axp20x mfd driver.
Ramakrishna Pallala (2):
mfd/axp20x: add support for extcon cell
extcon-axp288: Add axp288 extcon driver support
drivers/extcon/Kconfig |7 +
drivers
This patch series adds the support for axp288 extcon driver
and also adds the cell info for extcon device in axp20x mfd driver.
Ramakrishna Pallala (2):
mfd/axp20x: add support for extcon cell
extcon-axp288: Add axp288 extcon driver support
drivers/extcon/Kconfig |7 +
drivers
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds the mfd cell info for axp288 extcon device.
Signed-off-by: Ramakrishna Pallala
---
drivers/mfd/axp20x.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index 0acbe52..a569721 100644
--- a/drivers/mfd
This patch adds the mfd cell info for axp288 extcon device.
Signed-off-by: Ramakrishna Pallala
---
drivers/mfd/axp20x.c | 28
include/linux/mfd/axp20x.h |5 +
2 files changed, 33 insertions(+)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch series adds the support for axp288 extcon driver
and also adds the cell info for extcon device in axp20x mfd driver.
Ramakrishna Pallala (2):
mfd/axp20x: add support for extcon cell
extcon-axp288: Add axp288 extcon driver support
drivers/extcon/Kconfig |7 +
drivers
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds the mfd cell info for axp288 extcon device.
Signed-off-by: Ramakrishna Pallala
---
drivers/mfd/axp20x.c | 28
include/linux/mfd/axp20x.h |5 +
2 files changed, 33 insertions(+)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
This patch series adds the support for axp288 extcon driver
and also adds the cell info for extcon device in axp20x mfd driver.
Ramakrishna Pallala (2):
mfd/axp20x: add support for extcon cell
extcon-axp288: Add axp288 extcon driver support
drivers/extcon/Kconfig |7 +
drivers
This patch adds the extcon support for AXP288 PMIC which
has the BC1.2 charger detection capability. Additionally
it also adds the USB mux switching support b/w SOC and PMIC
based on GPIO control.
Signed-off-by: Ramakrishna Pallala
---
drivers/extcon/Kconfig |7 +
drivers/extcon
This patch adds the mfd cell info for axp288 extcon device.
Signed-off-by: Ramakrishna Pallala
---
drivers/mfd/axp20x.c | 28
include/linux/mfd/axp20x.h |5 +
2 files changed, 33 insertions(+)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
This patch series adds the support for axp288 extcon driver
and also adds the cell info for extcon device in axp20x mfd driver.
Ramakrishna Pallala (2):
mfd/axp20x: add support for extcon cell
extcon-axp288: Add axp288 extcon driver support
drivers/extcon/Kconfig |7 +
drivers
Add the original author details of the axp288_fuel_gauge driver.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/axp288_fuel_gauge.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/axp288_fuel_gauge.c
b/drivers/power/axp288_fuel_gauge.c
index c86e709..fc38979 100644
power supply attributes
to report bootup voltage and current.
This patch also adds CALIBRATE power supply attribute which useful is
for calibrating the battery/coulomb counter.
Signed-off-by: Ramakrishna Pallala
---
Documentation/power/power_supply_class.txt |6 ++
drivers/
safety timer
timeout driver could notify the user space accurately about the fault
and will also be helpful for debug.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/power_supply_sysfs.c |3 ++-
include/linux/power_supply.h |2 ++
2 files changed, 4 insertions(+), 1 deletions
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
source code reader/developer.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/charger-manager.c | 23 +
include/linux/power/charger-manager.h | 84 +
2 files changed, 96 insertions(+), 11 deletions(-)
diff --git a/drivers/power/charger
drivers usable with charger managers.
And also enables charegr manager to use power supply drivers
for charge controls.
Ramakrishna Pallala (2):
power_supply: Add charge control struct in power supply class
charger_manager: Enable power supply driver support for charge
controls
drivers/power
source code reader/developer.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/charger-manager.c | 23 +
include/linux/power/charger-manager.h | 84 +
2 files changed, 96 insertions(+), 11 deletions(-)
diff --git a/drivers/power/charger-manager.c
drivers usable with charger managers.
And also enables charegr manager to use power supply drivers
for charge controls.
Ramakrishna Pallala (2):
power_supply: Add charge control struct in power supply class
charger_manager: Enable power supply driver support for charge
controls
drivers/power
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 registers the power supply as a cooling device if the
power supply has support for charge throttling.
Now with this change low level drivers need not register with
thermal framework as it is automatically done by power supply framework.
Signed-off-by: Ramakrishna Pallala
---
drivers
Add support for power supply attributes CHARGE_CONTROL_LIMIT
and CHARGE_CONTROL_LIMIT_MAX.
These new attributes will enable the user space to implement
custom charging algorithms based on platform state.
Signed-off-by: Ramakrishna Pallala
---
Documentation/power/power_supply_class.txt |3
+
4 files changed, 108 insertions(+), 0 deletions(-)
Thanks,
Ramakrishna Pallala
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
.
Resending this patch because previous patch missed Anton's attention
Signed-off-by: Ramakrishna Pallala
---
drivers/power/smb347-charger.c | 97 +--
1 files changed, 82 insertions(+), 15 deletions(-)
diff --git a/drivers/power/smb347-charger.c b/drivers/
.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/smb347-charger.c | 97 +--
1 files changed, 82 insertions(+), 15 deletions(-)
diff --git a/drivers/power/smb347-charger.c b/drivers/power/smb347-charger.c
index 332dd01..c5b482b 100644
--- a/drivers/power
It is possible that users can use non-standard chargers
or use invalid batteries especially with mobile devices.
This patch adds a new power supply property called 'AUTHENTIC' to
indicate this to the user(user space).
Signed-off-by: Ramakrishna Pallala
---
Documenta
batteries also come with charge current and voltage ratings and
these ratings vary depending on its capacity and the technology used.
This patch adds two new power supply properties CONSTANT_CHARGE_CURRENT_MAX and
CONSTANT_CHARGE_CURRENT_MAX.
Signed-off-by: Ramakrishna Pallala
---
Documentation/power
batteries also come with charge current and voltage ratings and
these ratings vary depending on its capacity and the technology used.
This patch adds two new power supply properties CONSTANT_CHARGE_CURRENT_MAX and
CONSTANT_CHARGE_CURRENT_MAX.
Signed-off-by: Ramakrishna Pallala
---
Documentation/power
It is possible that users can use non-standard chargers
or use invalid batteries especially with mobile devices.
This patch adds a new power supply property called 'VALID' to
indicate this to the user(user space).
Signed-off-by: Ramakrishna Pallala
---
Documenta
This patch adds the support to report the battery power supply attributes
STATUS and CHARGE_TYPE. This patch makes use of power_supply_get_external_attr()
API to get these attributes through power supply core.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/max17042_battery.c | 19
agreement on the
power supply attribute sources registration.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/smb347-charger.c | 124 +-
include/linux/power/smb347-charger.h |1 +
2 files changed, 108 insertions(+), 17 deletions(-)
diff --git a
selection by passing the source string in the query struct.
Signed-off-by: Ramakrishna Pallala
---
Documentation/power/power_supply_class.txt | 30 ++
drivers/power/power_supply_core.c | 81
include/linux/power_supply.h | 32
This patch adds a helper function in the power supply core to get the
power supply object from supplied_to list based on power supply attribute.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/power_supply_core.c | 19 +++
include/linux/power_supply.h |3 +++
2
This patch adds an API in the power supply core to get the
power supply object from supplied_to list based on power
supply attribute(present/online).
Signed-off-by: Ramakrishna Pallala
---
drivers/power/power_supply_core.c | 19 +++
include/linux/power_supply.h |3
.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/smb347-charger.c | 96 +--
1 files changed, 81 insertions(+), 15 deletions(-)
diff --git a/drivers/power/smb347-charger.c b/drivers/power/smb347-charger.c
index 332dd01..b6a8c59 100644
--- a/drivers/power
60 matches
Mail list logo