This patch adds support to read calibration values from the eFuse controller
to calibrate the ADC values corresponding to current and voltage, which can
make the current and voltage data more accurate.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc27xx_fuel_gauge.c | 62
From: Yuanjiang Yu
Add low voltage alarm support to make sure the battery capacity
more accurate in lower voltage stage.
Signed-off-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc27xx_fuel_gauge.c | 171 +-
1 file changed, 170 insertions
.
Signed-off-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc27xx_fuel_gauge.c | 143 +-
1 file changed, 142 insertions(+), 1 deletion(-)
diff --git a/drivers/power/supply/sc27xx_fuel_gauge.c
b/drivers/power/supply/sc27xx_fuel_gauge.c
index
This patch adds support to read calibration values from the eFuse controller
to calibrate the ADC values corresponding to current and voltage, which can
make the current and voltage data more accurate.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc27xx_fuel_gauge.c | 62
From: Yuanjiang Yu
Add low voltage alarm support to make sure the battery capacity
more accurate in lower voltage stage.
Signed-off-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc27xx_fuel_gauge.c | 171 +-
1 file changed, 170 insertions
to be used as the initial
battery capacity if system is not first power-on.
Baolin Wang (2):
dt-bindings: power: supply: Add nvmem properties to calibrate FGU
power: supply: sc27xx: Add fuel gauge calibration
Yuanjiang Yu (3):
power: supply: sc27xx: Add fuel gauge low voltage alarm
power: supply
Add nvmem properties to calibrate FGU from eFuse controller.
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/power/supply/sc27xx-fg.txt |4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt
b/Documentation/devicetree
to be used as the initial
battery capacity if system is not first power-on.
Baolin Wang (2):
dt-bindings: power: supply: Add nvmem properties to calibrate FGU
power: supply: sc27xx: Add fuel gauge calibration
Yuanjiang Yu (3):
power: supply: sc27xx: Add fuel gauge low voltage alarm
power: supply
Add nvmem properties to calibrate FGU from eFuse controller.
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/power/supply/sc27xx-fg.txt |4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt
b/Documentation/devicetree
gt;
> Signed-off-by: Randy Dunlap
> Cc: Sebastian Reichel
> Cc: linux...@vger.kernel.org
> ---
Thanks for fixing this issue.
Acked-by: Baolin Wang
> drivers/power/supply/Kconfig |1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-next-20181112.orig/drivers/power/supply
gt;
> Signed-off-by: Randy Dunlap
> Cc: Sebastian Reichel
> Cc: linux...@vger.kernel.org
> ---
Thanks for fixing this issue.
Acked-by: Baolin Wang
> drivers/power/supply/Kconfig |1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-next-20181112.orig/drivers/power/supply
Free battery information in case of adding battery OCV tables.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/power/supply/sc2731_charger.c
b/drivers/power/supply/sc2731_charger.c
index 49b3f0c..335cb85
Since the USB notifier context is atomic, we can not start or stop charging
in atomic context. Thus this patch adds one work to help to charge or
discharge.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c | 30 ++
1 file changed, 22 insertions
The USB charger status can be notified before the charger driver registers
the USB phy notifier, so we should check the charger status in probe() in
case we missed the USB charger notification.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c | 20
1
Free battery information in case of adding battery OCV tables.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/power/supply/sc2731_charger.c
b/drivers/power/supply/sc2731_charger.c
index 49b3f0c..335cb85
Since the USB notifier context is atomic, we can not start or stop charging
in atomic context. Thus this patch adds one work to help to charge or
discharge.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c | 30 ++
1 file changed, 22 insertions
The USB charger status can be notified before the charger driver registers
the USB phy notifier, so we should check the charger status in probe() in
case we missed the USB charger notification.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c | 20
1
Add info->charging validation to avoid repeated charge or discharge
operation.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/sc2731_charger.c
b/drivers/power/sup
Add info->charging validation to avoid repeated charge or discharge
operation.
Signed-off-by: Baolin Wang
---
drivers/power/supply/sc2731_charger.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/sc2731_charger.c
b/drivers/power/sup
Hi Jonathan,
On 11 November 2018 at 20:40, Jonathan Cameron wrote:
> On Fri, 9 Nov 2018 11:25:31 +0800
> Baolin Wang wrote:
>
>> From: Freeman Liu
>>
>> Sometimes the ADC controller met some problems, and it will not complete
>> the data conversion, that will
Hi Jonathan,
On 11 November 2018 at 20:40, Jonathan Cameron wrote:
> On Fri, 9 Nov 2018 11:25:31 +0800
> Baolin Wang wrote:
>
>> From: Freeman Liu
>>
>> Sometimes the ADC controller met some problems, and it will not complete
>> the data conversion, that will
From: Freeman Liu
Sometimes the ADC controller met some problems, and it will not complete
the data conversion, that will can not wake up the read process any more
to block users. So we should add one maximum conversion time to avoid
this issue.
Signed-off-by: Freeman Liu
Signed-off-by: Baolin
From: Freeman Liu
Sometimes the ADC controller met some problems, and it will not complete
the data conversion, that will can not wake up the read process any more
to block users. So we should add one maximum conversion time to avoid
this issue.
Signed-off-by: Freeman Liu
Signed-off-by: Baolin
Hi Jacek,
On 9 November 2018 at 04:47, Jacek Anaszewski
wrote:
> Hi Baolin,
>
> Thanks for the review.
>
> On 11/07/2018 08:20 AM, Baolin Wang wrote:
>> Hi Jacek,
>>
>> On 7 November 2018 at 06:07, Jacek Anaszewski
>> wrote:
>>> Add public led_c
Hi Jacek,
On 9 November 2018 at 04:47, Jacek Anaszewski
wrote:
> Hi Baolin,
>
> Thanks for the review.
>
> On 11/07/2018 08:20 AM, Baolin Wang wrote:
>> Hi Jacek,
>>
>> On 7 November 2018 at 06:07, Jacek Anaszewski
>> wrote:
>>> Add public led_c
Hi Jacek,
On 7 November 2018 at 06:07, Jacek Anaszewski
wrote:
> Switch to using generic LED support for composing LED class
> device name.
>
> Signed-off-by: Jacek Anaszewski
> Cc: Xiaotong Lu
> Cc: Baolin Wang
Thanks for simplifying the code, it can work well for
Hi Jacek,
On 7 November 2018 at 06:07, Jacek Anaszewski
wrote:
> Switch to using generic LED support for composing LED class
> device name.
>
> Signed-off-by: Jacek Anaszewski
> Cc: Xiaotong Lu
> Cc: Baolin Wang
Thanks for simplifying the code, it can work well for
ault_desc argument.
>
> In case none of the aformentioned properties was found, then, for OF
> nodes, the node name is adopted for LED class device name.
>
> Signed-off-by: Jacek Anaszewski
> Cc: Baolin Wang
> Cc: Daniel Mack
> Cc: Dan Murphy
> Cc: Linus Wallei
ault_desc argument.
>
> In case none of the aformentioned properties was found, then, for OF
> nodes, the node name is adopted for LED class device name.
>
> Signed-off-by: Jacek Anaszewski
> Cc: Baolin Wang
> Cc: Daniel Mack
> Cc: Dan Murphy
> Cc: Linus Wallei
quot; property.
>
> Two existing users of devm_of_led_classdev_registers() are modified
> to use devm_led_classdev_register(), which will not impact their
> operation since they in fact didn't need to pass struct device_node on
> registration from the beginning.
>
> Signed-off-by: Jacek
quot; property.
>
> Two existing users of devm_of_led_classdev_registers() are modified
> to use devm_led_classdev_register(), which will not impact their
> operation since they in fact didn't need to pass struct device_node on
> registration from the beginning.
>
> Signed-off-by: Jacek
LED pattern trigger")
Reported-by: Geert Uytterhoeven
Signed-off-by: Baolin Wang
---
drivers/leds/trigger/ledtrig-pattern.c | 20
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/drivers/leds/trigger/ledtrig-pattern.c
b/drivers/leds/trigger/ledtrig
LED pattern trigger")
Reported-by: Geert Uytterhoeven
Signed-off-by: Baolin Wang
---
drivers/leds/trigger/ledtrig-pattern.c | 20
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/drivers/leds/trigger/ledtrig-pattern.c
b/drivers/leds/trigger/ledtrig
Hi Geert,
On 6 November 2018 at 23:57, Geert Uytterhoeven wrote:
> Hi Baolin,
>
> On Tue, Oct 2, 2018 at 6:39 PM Baolin Wang wrote:
>> This patch adds one new led trigger that LED device can configure
>> the software or hardware pattern and trigger it.
>>
>> C
Hi Geert,
On 6 November 2018 at 23:57, Geert Uytterhoeven wrote:
> Hi Baolin,
>
> On Tue, Oct 2, 2018 at 6:39 PM Baolin Wang wrote:
>> This patch adds one new led trigger that LED device can configure
>> the software or hardware pattern and trigger it.
>>
>> C
The direction field of struct dma_slave_config was marked deprecated,
thus remove the usage.
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 38d4e4f..c226dc93 100644
-by: Baolin Wang
---
drivers/dma/sprd-dma.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 4f3587b..e6a74dc 100644
--- a/drivers/dma/sprd-dma.c
+++ b/drivers/dma/sprd-dma.c
@@ -697,7 +697,8 @@ static int
From: Eric Long
Add one field to save the transfer direction for struct sprd_dma_desc,
which is used to get correct transfer residue depending on the transfer
direction.
[Baolin Wang adds one field to present the transfer direction]
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
automatically
by hardware signal.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 98 +-
include/linux/dma/sprd-dma.h | 62 --
2 files changed, 156 insertions(+), 4 deletions(-)
diff --git
From: Eric Long
Add me as one of the module authors.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 50d6569..e2f0167 100644
--- a/drivers/dma/sprd
This patchset removes the direction usage from struct dma_slave_config,
and add one new field to save the direction. It also fixes some issues
for link-list transfer. Moreover this patchset adds new 2-stage transfer
support for our DMA.
Baolin Wang (1):
dmaengine: sprd: Remove direction usage
The direction field of struct dma_slave_config was marked deprecated,
thus remove the usage.
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 38d4e4f..c226dc93 100644
-by: Baolin Wang
---
drivers/dma/sprd-dma.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 4f3587b..e6a74dc 100644
--- a/drivers/dma/sprd-dma.c
+++ b/drivers/dma/sprd-dma.c
@@ -697,7 +697,8 @@ static int
From: Eric Long
Add one field to save the transfer direction for struct sprd_dma_desc,
which is used to get correct transfer residue depending on the transfer
direction.
[Baolin Wang adds one field to present the transfer direction]
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
automatically
by hardware signal.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 98 +-
include/linux/dma/sprd-dma.h | 62 --
2 files changed, 156 insertions(+), 4 deletions(-)
diff --git
From: Eric Long
Add me as one of the module authors.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 50d6569..e2f0167 100644
--- a/drivers/dma/sprd
This patchset removes the direction usage from struct dma_slave_config,
and add one new field to save the direction. It also fixes some issues
for link-list transfer. Moreover this patchset adds new 2-stage transfer
support for our DMA.
Baolin Wang (1):
dmaengine: sprd: Remove direction usage
hannel to
avoid this issue.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index e6a74dc..1b39661 100644
--- a/drivers/dma/sprd-dma.c
+++ b/drivers/dma/sprd
From: Eric Long
The Spreadtrum DMA link-list mode is always one cyclic transfer,
so we should clear the SPRD_DMA_LLIST_END flag for the link-list
configuration. Moreover add cyclic callback support for the cyclic
transfer.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma
hannel to
avoid this issue.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index e6a74dc..1b39661 100644
--- a/drivers/dma/sprd-dma.c
+++ b/drivers/dma/sprd
From: Eric Long
The Spreadtrum DMA link-list mode is always one cyclic transfer,
so we should clear the SPRD_DMA_LLIST_END flag for the link-list
configuration. Moreover add cyclic callback support for the cyclic
transfer.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
which is used to calculate the battery capacity.
Original-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
Acked-by: Linus Walleij
---
Changes from v6:
- Use DIV_ROUND_CLOSEST macro to simplify code.
Changes from v5:
- Save
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
which is used to calculate the battery capacity.
Original-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
Acked-by: Linus Walleij
---
Changes from v6:
- Use DIV_ROUND_CLOSEST macro to simplify code.
Changes from v5:
- Save
Add one field for 'struct power_supply_battery_info' to present the battery
factory internal resistance.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v6:
- None.
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- New patch in v3, which splits
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v6:
- None.
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v6:
- None.
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2
Add one field for 'struct power_supply_battery_info' to present the battery
factory internal resistance.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v6:
- None.
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- New patch in v3, which splits
We have introduced some battery properties to present the OCV table
temperatures and OCV capacity table values. Thus this patch add OCV
temperature and OCV table for battery information, as well as providing
some helper functions to use the OCV capacity table for users.
Signed-off-by: Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs
fuel gauge unit device, which is used to calculate the battery capacity.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
Reviewed-by: Rob Herring
---
Changes from v6:
- None.
Changes from v5:
- None.
Changes
Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
Reviewed-by: Rob Herring
---
Changes from v6:
- Add reviewed tag from Rob.
Changes from v5:
- None.
Changes from v4:
- Improve the description of ocv-capacity-table-n to make the order clear.
Changes from v3:
- Split binding
We have introduced some battery properties to present the OCV table
temperatures and OCV capacity table values. Thus this patch add OCV
temperature and OCV table for battery information, as well as providing
some helper functions to use the OCV capacity table for users.
Signed-off-by: Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs
fuel gauge unit device, which is used to calculate the battery capacity.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
Reviewed-by: Rob Herring
---
Changes from v6:
- None.
Changes from v5:
- None.
Changes
Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
Reviewed-by: Rob Herring
---
Changes from v6:
- Add reviewed tag from Rob.
Changes from v5:
- None.
Changes from v4:
- Improve the description of ocv-capacity-table-n to make the order clear.
Changes from v3:
- Split binding
Hi Quentin,
On 1 November 2018 at 21:50, Quentin Schulz wrote:
> Hi Baolin,
>
> On Thu, Nov 01, 2018 at 03:22:18PM +0800, Baolin Wang wrote:
>> Hi Quentin,
>>
>> On 29 October 2018 at 22:48, Quentin Schulz
>> wrote:
> [...]
>> >
>> >
Hi Quentin,
On 1 November 2018 at 21:50, Quentin Schulz wrote:
> Hi Baolin,
>
> On Thu, Nov 01, 2018 at 03:22:18PM +0800, Baolin Wang wrote:
>> Hi Quentin,
>>
>> On 29 October 2018 at 22:48, Quentin Schulz
>> wrote:
> [...]
>> >
>> >
mperatures and OCV capacity table values. Thus this patch add OCV
>> temperature and OCV table for battery information, as well as providing
>> some helper functions to use the OCV capacity table for users.
>>
>> Signed-off-by: Baolin Wang
>> Reviewed-by: Linus Wallei
mperatures and OCV capacity table values. Thus this patch add OCV
>> temperature and OCV table for battery information, as well as providing
>> some helper functions to use the OCV capacity table for users.
>>
>> Signed-off-by: Baolin Wang
>> Reviewed-by: Linus Wallei
On 31 October 2018 at 16:56, Linus Walleij wrote:
> On Mon, Oct 22, 2018 at 9:44 AM Baolin Wang wrote:
>
>> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
>> which is used to calculate the battery capacity.
>>
>> Original-by: Yuanjiang Yu
On 31 October 2018 at 16:56, Linus Walleij wrote:
> On Mon, Oct 22, 2018 at 9:44 AM Baolin Wang wrote:
>
>> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
>> which is used to calculate the battery capacity.
>>
>> Original-by: Yuanjiang Yu
ink: https://github.com/ClangBuiltLinux/linux/issues/138
> Signed-off-by: Nathan Chancellor
> ---
Looks reasonable to me. Thanks.
Reviewed-by: Baolin Wang
--
Baolin Wang
Best Regards
ink: https://github.com/ClangBuiltLinux/linux/issues/138
> Signed-off-by: Nathan Chancellor
> ---
Looks reasonable to me. Thanks.
Reviewed-by: Baolin Wang
--
Baolin Wang
Best Regards
if (ccount != 2) {
> data->npatterns = 0;
> err = -EINVAL;
>
>
>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures)
> http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
Baolin Wang
Best Regards
if (ccount != 2) {
> data->npatterns = 0;
> err = -EINVAL;
>
>
>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures)
> http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
Baolin Wang
Best Regards
On 26 October 2018 at 04:13, Sebastian Reichel
wrote:
> Hi Baolin,
>
> On Thu, Oct 25, 2018 at 10:01:55AM +0800, Baolin Wang wrote:
>> Hi Sebastian,
>>
>> On 22 October 2018 at 15:43, Baolin Wang wrote:
>> > The internal resistance of a battery
On 26 October 2018 at 04:13, Sebastian Reichel
wrote:
> Hi Baolin,
>
> On Thu, Oct 25, 2018 at 10:01:55AM +0800, Baolin Wang wrote:
>> Hi Sebastian,
>>
>> On 22 October 2018 at 15:43, Baolin Wang wrote:
>> > The internal resistance of a battery
Hi Sebastian,
On 22 October 2018 at 15:43, Baolin Wang wrote:
> The internal resistance of a battery is not a constant in its life cycle,
> this varies over the age of the battery or temperature and so on. But we
> just want use one constant battery internal resistance to estimate the
Hi Sebastian,
On 22 October 2018 at 15:43, Baolin Wang wrote:
> The internal resistance of a battery is not a constant in its life cycle,
> this varies over the age of the battery or temperature and so on. But we
> just want use one constant battery internal resistance to estimate the
Hi Alexandre,
On 25 October 2018 at 08:34, Alexandre Belloni
wrote:
> Hello,
>
> On 18/10/2018 16:52:30+0800, Baolin Wang wrote:
>> When registering one RTC device, it will check to see if there is an
>> alarm already set in RTC hardware by reading RTC alarm, at this tim
Hi Alexandre,
On 25 October 2018 at 08:34, Alexandre Belloni
wrote:
> Hello,
>
> On 18/10/2018 16:52:30+0800, Baolin Wang wrote:
>> When registering one RTC device, it will check to see if there is an
>> alarm already set in RTC hardware by reading RTC alarm, at this tim
On 22 October 2018 at 18:43, Sebastian Reichel wrote:
> Hi,
>
> On Mon, Oct 22, 2018 at 01:54:50PM +0800, Baolin Wang wrote:
>> Hi Sebastian,
>>
>> On 22 October 2018 at 00:52, Sebastian Reichel wrote:
>> > Hi,
>> >
>> > On Fr
On 22 October 2018 at 18:43, Sebastian Reichel wrote:
> Hi,
>
> On Mon, Oct 22, 2018 at 01:54:50PM +0800, Baolin Wang wrote:
>> Hi Sebastian,
>>
>> On 22 October 2018 at 00:52, Sebastian Reichel wrote:
>> > Hi,
>> >
>> > On Fr
Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v5:
- None.
Changes from v4:
- Improve the description of ocv-capacity-table-n to make the order clear.
Changes from v3:
- Split binding into one separate patch.
- Rename ocv-capacity-table-temperatures to ocv
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2:
- Rename the property
Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v5:
- None.
Changes from v4:
- Improve the description of ocv-capacity-table-n to make the order clear.
Changes from v3:
- Split binding into one separate patch.
- Rename ocv-capacity-table-temperatures to ocv
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2:
- Rename the property
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs
fuel gauge unit device, which is used to calculate the battery capacity.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
Reviewed-by: Rob Herring
---
Changes from v5:
- None.
Changes from v4:
- None.
Changes
Add one field for 'struct power_supply_battery_info' to present the battery
factory internal resistance.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- New patch in v3, which splits code into one separate patch
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
which is used to calculate the battery capacity.
Original-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
Acked-by: Linus Walleij
---
Changes from v5:
- Save the OCV values in micro volts for OCV capacity table.
- Use
We have introduced some battery properties to present the OCV table
temperatures and OCV capacity table values. Thus this patch add OCV
temperature and OCV table for battery information, as well as providing
some helper functions to use the OCV capacity table for users.
Signed-off-by: Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs
fuel gauge unit device, which is used to calculate the battery capacity.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
Reviewed-by: Rob Herring
---
Changes from v5:
- None.
Changes from v4:
- None.
Changes
Add one field for 'struct power_supply_battery_info' to present the battery
factory internal resistance.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v5:
- None.
Changes from v4:
- None.
Changes from v3:
- New patch in v3, which splits code into one separate patch
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
which is used to calculate the battery capacity.
Original-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
Acked-by: Linus Walleij
---
Changes from v5:
- Save the OCV values in micro volts for OCV capacity table.
- Use
We have introduced some battery properties to present the OCV table
temperatures and OCV capacity table values. Thus this patch add OCV
temperature and OCV table for battery information, as well as providing
some helper functions to use the OCV capacity table for users.
Signed-off-by: Baolin Wang
On 21 October 2018 at 00:30, Vinod wrote:
> On 18-10-18, 17:29, Baolin Wang wrote:
>> Hi Vinod,
>>
>> On 29 September 2018 at 13:48, Baolin Wang wrote:
>> > This patchset removes the direction usage from struct dma_slave_config,
>> > and add one new fie
On 21 October 2018 at 00:30, Vinod wrote:
> On 18-10-18, 17:29, Baolin Wang wrote:
>> Hi Vinod,
>>
>> On 29 September 2018 at 13:48, Baolin Wang wrote:
>> > This patchset removes the direction usage from struct dma_slave_config,
>> > and add one new fie
Hi Sebastian,
On 22 October 2018 at 00:52, Sebastian Reichel wrote:
> Hi,
>
> On Fri, Oct 19, 2018 at 06:53:15PM +0800, Baolin Wang wrote:
>> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
>> which is used to calculate the battery capacity.
>>
&
Hi Sebastian,
On 22 October 2018 at 00:52, Sebastian Reichel wrote:
> Hi,
>
> On Fri, Oct 19, 2018 at 06:53:15PM +0800, Baolin Wang wrote:
>> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
>> which is used to calculate the battery capacity.
>>
&
We have introduced some battery properties to present the OCV table
temperatures and OCV capacity table values. Thus this patch add OCV
temperature and OCV table for battery information, as well as providing
some helper functions to use the OCV capacity table for users.
Signed-off-by: Baolin Wang
Add one field for 'struct power_supply_battery_info' to present the battery
factory internal resistance.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v4:
- None.
Changes from v3:
- New patch in v3, which splits code into one separate patch.
- Add Linusw reviewed
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
which is used to calculate the battery capacity.
Original-by: Yuanjiang Yu
Signed-off-by: Baolin Wang
Acked-by: Linus Walleij
---
Changes from v4:
- None.
Changes from v3:
- None.
Changes from v2:
- Use core helper
601 - 700 of 3825 matches
Mail list logo