supply them.
Rhyland Klein (3):
power_supply: Define Binding for power-supplies
power: power_supply: Add core support for supplied_from
power: power_supply_core: Add support for supplied_from
.../bindings/power_supply/power_supply.txt | 23 +++
drivers/power/power_supply_core.c
This property is meant to be used in device nodes which represent
power_supply devices that wish to provide a list of supplies which
provide them power, such as a battery listing its chargers.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2:
- no changes
v1:
- changed from RFC v2 - patch
-by: Rhyland Klein rkl...@nvidia.com
---
v2:
- changed __power_supply_is_supplied_by to a boolean function
- fixed up return paths with correct return values
- moved loop invariant checks outside of loops
v1:
- changed from RFC v2 - patch v1
- removed list logic and instead added supplied_from char
Adding support for supplied_from char * array. This is meant to store the
list of suppliers for a given supply, i.e. chargers for a battery. This
list can be populated through devicetree readily as well as passed
directly from the driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2
On 3/27/2013 12:30 PM, Stephen Warren wrote:
On 03/25/2013 08:24 PM, Rhyland Klein wrote:
This patch adds support for supplies to register a list of char *'s
which represent the list of supplies which supply them. This is the
opposite as the supplied_to list.
This change maintains support
) contain a list of
the supplies (chargers) which supply them.
Rhyland Klein (3):
power_supply: Define Binding for power-supplies
power: power_supply: Add core support for supplied_from
power: power_supply_core: Add support for supplied_from
.../bindings/power_supply/power_supply.txt
This property is meant to be used in device nodes which represent
power_supply devices that wish to provide a list of supplies which
provide them power, such as a battery listing its chargers.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v1:
- changed from RFC v2 - patch v1
- made
-by: Rhyland Klein rkl...@nvidia.com
---
v1:
- changed from RFC v2 - patch v1
- removed list logic and instead added supplied_from char ** array and
num_supplies field
v2 (RFC):
- changed from struct device_node * contained in suppliers to a list
stored in the supplies.
- changed logic
Adding support for supplied_from char * array. This is meant to store the
list of suppliers for a given supply, i.e. chargers for a battery. This
list can be populated through devicetree readily as well as passed
directly from the driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v1
This updates the DT documentation to reflect that the tps65090-charger
should be represented as a child node of the tps65090 device itself.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../devicetree/bindings/power_supply/tps65090.txt | 18 ++
1 file changed, 6
Setup the compatible property so that when this device is registered
through device tree, it can match the expected compatiblity string
used in the tps65090 driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/tps65090-charger.c | 10 --
1 file changed, 8 insertions
On 3/20/2013 9:44 AM, Laxman Dewangan wrote:
NVIDIA's Tegra114 platform, Dalmore, uses the TPS65090 as
secondary PMICs which mainly act as voltage switch controlled
by I2C communication.
Add regulator node for this device.
Signed-off-by: Laxman Dewangan ldewan...@nvidia.com
---
On 3/18/2013 10:24 PM, Anton Vorontsov wrote:
On Tue, Mar 12, 2013 at 06:08:05PM -0400, Rhyland Klein wrote:
This patchset adds support for the TPS65090-charger. This charger is
registered as a subdevice of the TPS65090 PMIC.
This series includes a fix for the tps65090 header file where all
On 3/19/2013 11:59 AM, Anton Vorontsov wrote:
On Tue, Mar 19, 2013 at 11:55:33AM -0400, Rhyland Klein wrote:
On 3/18/2013 10:24 PM, Anton Vorontsov wrote:
On Tue, Mar 12, 2013 at 06:08:05PM -0400, Rhyland Klein wrote:
This patchset adds support for the TPS65090-charger. This charger
On 3/12/2013 6:08 PM, Rhyland Klein wrote:
Add irq resources to pass to the charger mfd sub dev so
the charger can listen for interrupts.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3:
- no changes since v2
v2:
- no changes since v1
drivers/mfd/tps65090.c | 10
On 3/12/2013 7:10 PM, Stephen Warren wrote:
On 03/12/2013 04:08 PM, Rhyland Klein wrote:
This change adds the binding documentation for the tps65090-charger.
diff --git a/Documentation/devicetree/bindings/power_supply/tps65090.txt
b/Documentation/devicetree/bindings/power_supply/tps65090.txt
On 3/13/2013 4:41 PM, Stephen Warren wrote:
On 03/13/2013 01:25 PM, Rhyland Klein wrote:
On 3/12/2013 7:10 PM, Stephen Warren wrote:
On 03/12/2013 04:08 PM, Rhyland Klein wrote:
This change adds the binding documentation for the tps65090-charger.
diff --git
a/Documentation/devicetree/bindings
:
- cleaned up tps65090 driver per comments (mostly var naming)
- flushed out commit description for driver
- reordered probe so irq is registered after power_supply and cleaned up 1st
Rhyland Klein (4):
mfd: tps65090: Fix enum in header file
mfd: tps65090: Add resources for charger
Add irq resources to pass to the charger mfd sub dev so
the charger can listen for interrupts.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3:
- no changes since v2
v2:
- no changes since v1
drivers/mfd/tps65090.c | 10 ++
1 file changed, 10 insertions(+)
diff --git
This change adds the binding documentation for the tps65090-charger.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3:
- no changes since v2
v2:
- no changes since v1
.../devicetree/bindings/power_supply/tps65090.txt | 23
1 file changed, 23 insertions(+)
create
The enum is missing the definition for the first bit, which makes all
the rest off by one. Add definition for the TPS65090_IRQ_INTERRUPT bit
which at 0.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3:
- no changes since v2
v2:
- no changes since v1
include/linux/mfd/tps65090.h |1
above which are not yet supported.
Based on work by:
Syed Rafiuddin srafiud...@nvidia.com
Laxman Dewangan ldewan...@nvidia.com
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3:
- fixed build errors/warnings around devm_free_irq and unused irq label
v2:
- updated commit description with more
On 3/5/2013 1:15 PM, Stephen Warren wrote:
On 03/04/2013 12:01 PM, Rhyland Klein wrote:
This change adds the binding documentation for the tps65090-charger.
diff --git a/Documentation/devicetree/bindings/power_supply/tps65090.txt
b/Documentation/devicetree/bindings/power_supply/tps65090.txt
On 3/2/2013 7:03 PM, Anton Vorontsov wrote:
Hello Rhyland,
Thanks for the driver! A few comments down below...
On Wed, Feb 27, 2013 at 06:07:30PM -0500, Rhyland Klein wrote:
This patch adds support for the tps65090 charger driver.
Would be nice to get a few more words about the hardware
On 3/2/2013 5:48 PM, Anton Vorontsov wrote:
On Thu, Feb 28, 2013 at 02:48:03PM -0500, Rhyland Klein wrote:
[...]
Anton, David, would you be adverse to the changing of supplied_to
from being a
list of batteries stored in a charger to being a list of chargers
stored in batteries?
I wonder if we
The enum is missing the definition for the first bit, which makes all
the rest off by one. Add definition for the TPS65090_IRQ_INTERRUPT bit
which at 0.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2:
- no changes since v1
include/linux/mfd/tps65090.h |1 +
1 file changed, 1
above which are not yet supported.
Based on work by:
Syed Rafiuddin srafiud...@nvidia.com
Laxman Dewangan ldewan...@nvidia.com
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2:
- updated commit description with more info
- cleaned up misc comments (var names, spacing, etc)
- reordered probe
) contain a list of
the supplies (chargers) which supply them.
Rhyland Klein (3):
power_supply: Define Binding for power-supplies
power: power_supply: Add core support for supplied_from
power: power_supply_core: Add support for supplied_from
.../bindings/power_supply/power_supply.txt
This property is meant to be used in device nodes which represent
power_supply devices that wish to provide a list of supplies which
provide them power, such as a battery listing its chargers.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v1:
- changed from RFC v2 - patch v1
- made
-by: Rhyland Klein rkl...@nvidia.com
---
v1:
- changed from RFC v2 - patch v1
- removed list logic and instead added supplied_from char ** array and
num_supplies field
v2 (RFC):
- changed from struct device_node * contained in suppliers to a list
stored in the supplies.
- changed logic
Adding support for supplied_from char * array. This is meant to store the
list of suppliers for a given supply, i.e. chargers for a battery. This
list can be populated through devicetree readily as well as passed
directly from the driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v1
On 2/22/2013 4:58 PM, Rhyland Klein wrote:
On 2/22/2013 3:09 PM, Stephen Warren wrote:
On 02/21/2013 04:11 PM, Rhyland Klein wrote:
With the growing support for dt, it make sense to try to make use of
dt features to make the general code cleaner. This patch is an
attempt to commonize how
On 2/22/2013 6:01 PM, Stephen Warren wrote:
On 02/22/2013 02:55 PM, Rhyland Klein wrote:
On 2/22/2013 2:49 PM, Stephen Warren wrote:
On 02/21/2013 04:11 PM, Rhyland Klein wrote:
With the growing support for dt, it make sense to try to make use of
dt features to make the general code cleaner
This patchset adds support for the TPS65090-charger. This charger is
registered as a subdevice of the TPS65090 PMIC.
This series includes a fix for the tps65090 header file where all
the interrupts were shifted by 1.
Rhyland Klein (4):
mfd: tps65090: Fix enum in header file
mfd: tps65090
Add irq resources to pass to the charger mfd sub dev so
the charger can listen for interrupts.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/mfd/tps65090.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c
index
This change adds the binding documentation for the tps65090-charger.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../devicetree/bindings/power_supply/tps65090.txt | 23
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings
This patch adds support for the tps65090 charger driver.
Based on work by:
Syed Rafiuddin srafiud...@nvidia.com
Laxman Dewangan ldewan...@nvidia.com
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/Kconfig|7 +
drivers/power/Makefile |1 +
drivers
On 2/22/2013 2:49 PM, Stephen Warren wrote:
On 02/21/2013 04:11 PM, Rhyland Klein wrote:
With the growing support for dt, it make sense to try to make use of
dt features to make the general code cleaner. This patch is an
attempt to commonize how chargers and their supplies are linked
On 2/22/2013 3:09 PM, Stephen Warren wrote:
On 02/21/2013 04:11 PM, Rhyland Klein wrote:
With the growing support for dt, it make sense to try to make use of
dt features to make the general code cleaner. This patch is an
attempt to commonize how chargers and their supplies are linked
On 2/22/2013 2:46 PM, Stephen Warren wrote:
On 02/21/2013 04:11 PM, Rhyland Klein wrote:
This property is meant to be used in device nodes which represent
power_supply devices that wish to provide a list of supplies to
which they provide power. A common case is a AC Charger with
the batteries
This property is meant to be used in device nodes which represent
power_supply devices that wish to provide a list of supplies to
which they provide power. A common case is a AC Charger with
the batteries it powers.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2:
- Changed property
and define a common function which can retrieve them
automatically.
Changes:
- v2: Inverted the logic so that supplies (batteries) contain a list
of the supplies (chargers) which supply them.
Rhyland Klein (3):
power_supply: Define Binding for supplied-nodes
power: power_supply: Add core
in the supplies of their chargers,
however this seems to be the only way to support this.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2:
- Changed from struct device_node* contained in suppliers to a list stored
in the supplies.
- changed logic for the is_supplied_by check to handle
of supplies and store it in the
power_supply structure. In this way, it shouldn't break existing
drivers, but allow for transition cleanly.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2:
- Simplified and renamed the logic to parse dt for the charger list.
- Tied the dt parsing directly
On 2/16/2013 5:38 PM, Anton Vorontsov wrote:
On Fri, Feb 15, 2013 at 06:36:54PM -0500, Rhyland Klein wrote:
This property is meant to be used in device nodes which represent
power_supply devices that wish to provide a list of supplies to
which they provide power. A common case is a AC Charger
and define a common function which can retrieve them
automatically.
Rhyland Klein (3):
power_supply: Define Binding for supplied-nodes
power: power_supply: Add core support for supplied_nodes
power: power_supply: add support for getting supplied-nodes from dt
.../bindings/power_supply
This property is meant to be used in device nodes which represent
power_supply devices that wish to provide a list of supplies to
which they provide power. A common case is a AC Charger with
the batteries it powers.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../bindings/power_supply
reference without having to hard code in names.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/power_supply_core.c | 25 +++--
include/linux/power_supply.h |4
2 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/drivers/power
With the addition of the device_nodes to use similar to how
supplied_to works, add a helper function which will parse out the
phandles for the supplied-nodes directly from the node. This
implmentation requires the property name to be supplied-nodes.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
On 2/1/2013 5:18 AM, Peter De Schrijver wrote:
Tegra114 introduces new PLL types. This requires new clocktypes as well
as some new fields in the pll structure.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk-pll.c | 719
This patch set updates the tps65910 driver to boot using devicetree.
This patch set now uses the new addition to the of_regulator code,
of_regulator_match to find all the regulator init data for the device.
Rhyland Klein (6):
mfd: tps65910: Commonize regmap access through header
regulator
This change removes the read/write callback functions in favor of common
regmap accessors inside the header file. This change also makes use of
regmap_read/write for single register access which maps better onto what this
driver actually needs.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
Add device tree based initialization support for TI's tps65910 pmic.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3: no change since v2.
v2: split mfd portion into single change to add dt support
added of_node to config before calling regulator_register
removed passing pdata
Add device tree bindings for TI's tps65910 pmic.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3: No change since v2.
v2: Moved ext-sleep-control into regulator nodes
Documentation/devicetree/bindings/mfd/tps65910.txt | 133
1 files changed, 133 insertions(+), 0
Add devicetree based initialization support for TI tps65910 regulators.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3: Modified to use new api of_regulator_match to fetch all regulator
init data from device node.
v2: split off regulator specific dt initialization
drivers
Add support for the tps65910 pmic on cardhu.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3: no change from v2.
v2: updated to move ext-sleep-control into the regulator nodes
arch/arm/boot/dts/tegra-cardhu.dts | 91
1 files changed, 91 insertions
On Tue, 2012-05-08 at 08:48 -0700, Mark Brown wrote:
* PGP Signed by an unknown key
On Tue, May 08, 2012 at 11:42:42AM -0700, Rhyland Klein wrote:
+ if (pdata-irq_base = 0)
+ pdata-irq_base = irq_alloc_descs(-1, 0, tps65910-irq_num, -1);
+
+ if (pdata-irq_base = 0
On Tue, 2012-05-08 at 09:29 -0700, Mark Brown wrote:
* PGP Signed by an unknown key
On Tue, May 08, 2012 at 12:11:31PM -0700, Rhyland Klein wrote:
Is this more what you would expect? If the dt code initialized the
irq_base to 0 instead of -1 then this should also work.
pdata-irq_base
introduced
by this patch looks up the children of a given node by names specified
in a match table and fills that match table with information parsed from
the DT.
This is based on work by Rhyland Klein rkl...@nvidia.com.
Rhyland, does this new interface work for you?
I believe Rhyland is OOTO
the pointers to the regulator_init_data structures.
Rhyland Klein (8):
regulator: add generic of node parsing for regulators
regulator: add node validation checks
mfd: tps65910: Commonize regmap access through header
regulator: tps65910: Add device tree bindings
mfd: tps65910: Add device-tree
-by: Rhyland Klein rkl...@nvidia.com
---
v2: split off from tps65910 particular code to a more generic form based
on initial reviews.
drivers/regulator/of_regulator.c | 42
include/linux/regulator/of_regulator.h |9 +++
2 files changed, 51 insertions
This change adds some validation logic to the logic for parsing nodes for
regulator init data. The idea is to catch nodes that are defined but not used
which likely means invalid nodes.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: split off some node validation checks from original
This change removes the read/write callback functions in favor of common
regmap accessors inside the header file. This change also makes use of
regmap_read/write for single register access which maps better onto what this
driver actually needs.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
Add device tree bindings for TI's tps65910 pmic.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: Moved ext-sleep-control into regulator nodes
Documentation/devicetree/bindings/mfd/tps65910.txt | 133
1 files changed, 133 insertions(+), 0 deletions(-)
create mode
Add devicetree based initialization support for TI tps65910 regulators.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: split off regulator specific dt initialization
made use of new function to match regulator nodes to names to fill in
init_data
drivers/regulator/tps65910
Add support for initializing when boot using devicetree. The main difference
is that the irq_base will not be setup, so it needs to be manually handled.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: split off irq specific changes based on previous review comments
drivers/mfd/tps65910
Add support for the tps65910 pmic on cardhu.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: updated to move the ext-sleep-control into the regulator nodes
arch/arm/boot/dts/tegra-cardhu.dts | 91
1 files changed, 91 insertions(+), 0 deletions
On Wed, 2012-04-18 at 02:25 -0700, Mark Brown wrote:
* PGP Signed by an unknown key
On Tue, Apr 17, 2012 at 06:00:26PM -0700, Rhyland Klein wrote:
When accessing the regmap via the read/write functions, we need to use a
unsigned int * instead of a u8 * otherwise corruption will occur
On Wed, 2012-04-18 at 13:03 -0700, Rhyland Klein wrote:
On Wed, 2012-04-18 at 02:25 -0700, Mark Brown wrote:
* PGP Signed by an unknown key
On Tue, Apr 17, 2012 at 06:00:26PM -0700, Rhyland Klein wrote:
When accessing the regmap via the read/write functions, we need to use a
unsigned
On Thu, 2012-04-12 at 18:38 -0700, Rhyland Klein wrote:
So I am working on adding DT support for the tps65910 pmic. It (amongst
other things) is an interrupt controller. I am looking to convert that
code as well, and I am curious if there is a good example to work off.
The driver's irq_base
was to
maintain the list of regulator names solely inside the tps65910-regulator
code as it already was.
Rhyland Klein (4):
regulator: tps65910: update type for regmap
regulator: tps65910: Add device tree bindings
mfd: tps65910: Add device-tree support
ARM: Tegra: Add support for TPS65910 PMIC
Add support for the tps65910 pmic on cardhu.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
arch/arm/boot/dts/tegra-cardhu.dts | 92
1 files changed, 92 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/tegra-cardhu.dts
b/arch/arm/boot/dts
Add device tree bindings for TI's tps65910 pmic.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
Documentation/devicetree/bindings/mfd/tps65910.txt | 132
1 files changed, 132 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd
When accessing the regmap via the read/write functions, we need to use a
unsigned int * instead of a u8 * otherwise corruption will occur.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/regulator/tps65910-regulator.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
Add device tree based initialization support for TI's tps65910 pmic.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/gpio/gpio-tps65910.c | 39 ++-
drivers/mfd/tps65910-irq.c | 21 ++--
drivers/mfd/tps65910.c | 78
So I am working on adding DT support for the tps65910 pmic. It (amongst
other things) is an interrupt controller. I am looking to convert that
code as well, and I am curious if there is a good example to work off.
The driver's irq_base is not set, so it needs to use a dynamic domain.
The examples
: Ibdfae134c7af9dc1b730d01b36f010f9a1923968
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/Kconfig |8 +-
drivers/power/Makefile|2 +-
drivers/power/bq20z75.c | 792 -
drivers/power/sbs-battery.c | 775
This driver for the bq20z75 implemented the register spec defined
by the SBS standard. As this is not unique to this the TI part this
was originally written for, we can generalize this driver to
show its support for any SBS compliant battery.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
This driver for the bq20z75 implemented the register spec defined
by the SBS standard. As this is not unique to this the TI part this
was originally written for, we can generalize this driver to
show its support for any SBS compliant battery.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
On Tue, 2011-12-06 at 09:41 -0800, Matthew Garrett wrote:
On Mon, Dec 05, 2011 at 03:58:03PM -0800, Rhyland Klein wrote:
+config BATTERY_SBS
+tristate SBS Compliant gas gauge
This could potentially be confusing with the ACPI SBS code - I guess the
long term ideal would
Change-Id: Ib0a41ff9ac8c1fc97aa7a87320f8d95be7988d71
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/sbs-battery.c |2 +-
include/linux/power/sbs-battery.h |2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/power/sbs-battery.c b/drivers
On Mon, 2011-12-05 at 15:57 -0800, Rhyland Klein wrote:
Change-Id: Ib0a41ff9ac8c1fc97aa7a87320f8d95be7988d71
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/sbs-battery.c |2 +-
include/linux/power/sbs-battery.h |2 ++
2 files changed, 3 insertions(+), 1
Now that this driver is named more generally, this change updates
the internal variables, defines and functions to use this new name.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/sbs-battery.c | 425 ++---
include/linux/power/sbs
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../bindings/power_supply/sbs_sbs-battery.txt | 23
.../bindings/power_supply/ti_bq20z75.txt | 23
2 files changed, 23 insertions(+), 23 deletions(-)
create mode 100644
Documentation
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../devicetree/bindings/vendor-prefixes.txt|1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
index
The power supply name used to be fixed as battery. This change allows
for multiple batteries by generating the name rather than using a fixed
value.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/sbs-battery.c | 21 ++---
1 files changed, 18 insertions(+), 3
On Mon, 2011-12-05 at 17:20 -0800, Anton Vorontsov wrote:
On Mon, Dec 05, 2011 at 03:58:04PM -0800, Rhyland Klein wrote:
[...]
-static const struct i2c_device_id bq20z75_id[] = {
- { bq20z75, 0 },
+static const struct i2c_device_id sbs_id[] = {
+ { sbs-battery, 0 },
You have
Now that this driver is named more generally, this change updates
the internal variables, defines and functions to use this new name.
v2: Added back in ids for bq20z75 to maintain compatibility.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/sbs-battery.c | 423
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../devicetree/bindings/vendor-prefixes.txt|1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
index
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../bindings/power_supply/sbs_sbs-battery.txt | 23
.../bindings/power_supply/ti_bq20z75.txt | 23
2 files changed, 23 insertions(+), 23 deletions(-)
create mode 100644
Documentation
The power supply name used to be fixed as battery. This change allows
for multiple batteries by generating the name rather than using a fixed
value.
v2: simplified kasprintf and cleaned up unneeded member of sbs_info.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/sbs
only once for each function it appears in
drivers/power/bq20z75.c:630:21: warning: unused variable ‘gpio_flags’
[-Wunused-variable]
drivers/power/bq20z75.c:627:29: warning: unused variable ‘dtid’
[-Wunused-variable]
I fixed this by...
On Wed, Sep 14, 2011 at 01:19:07PM -0700, Rhyland
On Wed, 2011-09-14 at 13:19 -0700, Rhyland Klein wrote:
Adding support to generate platform data when kernel is configured
through device tree.
Also adding the binding for the TI bq20z75 fuel gadge and the
bq20z75 driver.
v2: Fixed typo in binding description.
v3: Changed to use ti
Adding support to generate platform data when kernel is configured
through device tree.
Also adding the binding for the TI bq20z75 fuel gadge and the
bq20z75 driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: Fixed typo in binding description
v3: Changed to use ti
Adding support to generate platform data when kernel is configured
through device tree.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v3: Changed to use ti, properties
Changed to use gpio property with flag for polarity
Removed unnecessary call
Adding the binding for the TI bq20z75 fuel gadge and the
bq20z75 driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: Fixed typo in binding description
v3: Changed unique properties to be use ti,
Changed to use single gpio entry for gpio info
.../bindings
Adding support to generate platform data when kernel is configured
through device tree.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
v2: Fixed typo in binding description
drivers/power/bq20z75.c | 73 +++
1 files changed, 73 insertions
Adding the binding for the TI bq20z75 fuel gadge and the
bq20z75 driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../bindings/power_supply/ti_bq20z75.txt | 25
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644
Documentation
Adding support to generate platform data when kernel is configured
through device tree.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
drivers/power/bq20z75.c | 73 +++
1 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/drivers/power
Adding the binding for the TI bq20z75 fuel gadge and the
bq20z75 driver.
Signed-off-by: Rhyland Klein rkl...@nvidia.com
---
.../bindings/power_supply/ti_bq20z75.txt | 25
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644
Documentation
100 matches
Mail list logo