Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
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-capacity-celsius.
- Add some
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
Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
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-capacity-celsius.
- Add some
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 v4:
- None.
Changes from v3:
- Add reviewed
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 v4:
- None.
Changes from v3:
- Add reviewed
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v4:
- None.
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2:
- Rename the property.
- Improve the commit message
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v4:
- None.
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2:
- Rename the property.
- Improve the commit message
On 19 October 2018 at 00:51, Rob Herring wrote:
> On Mon, Oct 15, 2018 at 04:09:22PM +0800, Baolin Wang wrote:
>> Some battery driver will use the open circuit voltage (OCV) value to look
>> up the corresponding battery capacity percent in one certain degree Celsius.
>> Thu
On 19 October 2018 at 00:51, Rob Herring wrote:
> On Mon, Oct 15, 2018 at 04:09:22PM +0800, Baolin Wang wrote:
>> Some battery driver will use the open circuit voltage (OCV) value to look
>> up the corresponding battery capacity percent in one certain degree Celsius.
>> Thu
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 field to save the direction. It also fixes some issues
> for link-list transfer. Moreover this patchset adds new 2-stage transfer
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 field to save the direction. It also fixes some issues
> for link-list transfer. Moreover this patchset adds new 2-stage transfer
When registering one rtc device, it will check to see if there is an
alarm already set in rtc hardware by issuing __rtc_read_alarm(). So
we should not disable the RTC interrupts and clear the interrupts
status in probe() function.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c | 20
We should clear the SPG value update interrupt status once the SPG value
is updated successfully, in case incorrect status validation for next time.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc
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 time
we should always read the normal alarm put in always-on region by
checking the rtc->registered flag.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27x
Set wakeup capability before registering rtc device, in case the alarmtimer
can find one available rtc device.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-sc27xx.c b/drivers/rtc/rtc-sc27xx.c
We should clear the SPG value update interrupt status once the SPG value
is updated successfully, in case incorrect status validation for next time.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc
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 time
we should always read the normal alarm put in always-on region by
checking the rtc->registered flag.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27x
Set wakeup capability before registering rtc device, in case the alarmtimer
can find one available rtc device.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-sc27xx.c b/drivers/rtc/rtc-sc27xx.c
When registering one rtc device, it will check to see if there is an
alarm already set in rtc hardware by issuing __rtc_read_alarm(). So
we should not disable the RTC interrupts and clear the interrupts
status in probe() function.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c | 20
The RTC interrupt enable register is not put in always-power-on region
supplied by VDDRTC, so we should check if we need enable the alarm
interrupt when system booting.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c | 33 +
1 file changed, 33
The RTC interrupt enable register is not put in always-power-on region
supplied by VDDRTC, so we should check if we need enable the alarm
interrupt when system booting.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c | 33 +
1 file changed, 33
This patch set fixes some issues when setting one RTC alarm.
Baolin Wang (5):
rtc: sc27xx: Set wakeup capability before registering rtc device
rtc: sc27xx: Clear SPG value update interrupt status
rtc: sc27xx: Remove interrupts disable and clear in probe()
rtc: sc27xx: Add check to see
This patch set fixes some issues when setting one RTC alarm.
Baolin Wang (5):
rtc: sc27xx: Set wakeup capability before registering rtc device
rtc: sc27xx: Clear SPG value update interrupt status
rtc: sc27xx: Remove interrupts disable and clear in probe()
rtc: sc27xx: Add check to see
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 v3:
- New patch in v3, which splits code into one separate patch.
- Add Linusw reviewed tag.
---
drivers/power
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2:
- Rename the property.
- Improve the commit message.
Changes from v1:
- New
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 v3:
Add reviewed tag from Rob.
Changes from v2
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 v3:
- None.
Changes from v2:
- Use core helper functions to look up OCV
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 v3:
- New patch in v3, which splits code into one separate patch.
- Add Linusw reviewed tag.
---
drivers/power
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v3:
- Split binding into one separate patch.
- Add LinusW reviewed tag.
Changes from v2:
- Rename the property.
- Improve the commit message.
Changes from v1:
- New
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 v3:
Add reviewed tag from Rob.
Changes from v2
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 v3:
- None.
Changes from v2:
- Use core helper functions to look up OCV
Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v3:
- Split binding into one separate patch.
- Rename ocv-capacity-table-temperatures to ocv-capacity-celsius.
- Add some words to specify the OCV's unit.
Changes from v2:
- Use type __be32 to calculate the table
Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v3:
- Split binding into one separate patch.
- Rename ocv-capacity-table-temperatures to ocv-capacity-celsius.
- Add some words to specify the OCV's unit.
Changes from v2:
- Use type __be32 to calculate the table
Hi Rob,
On 12 October 2018 at 22:35, Rob Herring wrote:
> On Thu, Sep 27, 2018 at 03:26:55PM +0800, Baolin Wang wrote:
>> Some battery driver will use the open circuit voltage (OCV) value to look
>> up the corresponding battery capacity percent in one certain degree Celsius.
>
Hi Rob,
On 12 October 2018 at 22:35, Rob Herring wrote:
> On Thu, Sep 27, 2018 at 03:26:55PM +0800, Baolin Wang wrote:
>> Some battery driver will use the open circuit voltage (OCV) value to look
>> up the corresponding battery capacity percent in one certain degree Celsius.
>
Hi,
On 12 October 2018 at 04:07, Jacek Anaszewski
wrote:
> Hi Baolin,
>
> On 10/11/2018 06:07 AM, Baolin Wang wrote:
>> This patch adds a new led trigger that LED device can employ
>> software or hardware pattern engine.
>>
>> Consumers can write 'pattern' fi
Hi,
On 12 October 2018 at 04:07, Jacek Anaszewski
wrote:
> Hi Baolin,
>
> On 10/11/2018 06:07 AM, Baolin Wang wrote:
>> This patch adds a new led trigger that LED device can employ
>> software or hardware pattern engine.
>>
>> Consumers can write 'pattern' fi
to enable the hardware
pattern for some LED controllers which can autonomously control
brightness over time, according to some preprogrammed hardware
patterns.
Signed-off-by: Raphael Teysseyre
Signed-off-by: Baolin Wang
---
Changes from v14:
- Improve the commit message and ABI documentation.
- Fix
to enable the hardware
pattern for some LED controllers which can autonomously control
brightness over time, according to some preprogrammed hardware
patterns.
Signed-off-by: Raphael Teysseyre
Signed-off-by: Baolin Wang
---
Changes from v14:
- Improve the commit message and ABI documentation.
- Fix
This patch implements the 'pattern_set'and 'pattern_clear'
interfaces to support SC27XX LED breathing mode.
Signed-off-by: Baolin Wang
Acked-by: Pavel Machek
---
Chnages from v14:
- None.
Changes from v13:
- None.
Changes from v12:
- None.
Changes from v11:
- None.
Changes from v10
This patch implements the 'pattern_set'and 'pattern_clear'
interfaces to support SC27XX LED breathing mode.
Signed-off-by: Baolin Wang
Acked-by: Pavel Machek
---
Chnages from v14:
- None.
Changes from v13:
- None.
Changes from v12:
- None.
Changes from v11:
- None.
Changes from v10
i.e. the subsequent brightness will be
> applied without adding intervening dimming intervals"
For gradual dimming, we also do not need to limit the duration larger
than 50 ms. So below patterns are all valid now:
echo "10 1 10 0 20 1 20 0 30 1 30 0" > pattern
ec
i.e. the subsequent brightness will be
> applied without adding intervening dimming intervals"
For gradual dimming, we also do not need to limit the duration larger
than 50 ms. So below patterns are all valid now:
echo "10 1 10 0 20 1 20 0 30 1 30 0" > pattern
ec
ming_interval" knob, but I'd suggest waiting until
> such need arises.
>
> [Now, I don't have strong feelings here, and patch would probably be
> okay with me even if it has dimming_interval, but I'd prefer to keep
> it simple. We are at v14 of the patch...]
Make sense. I will leave this feature until someone has the
dimming_interval adjustment. Thanks.
--
Baolin Wang
Best Regards
ming_interval" knob, but I'd suggest waiting until
> such need arises.
>
> [Now, I don't have strong feelings here, and patch would probably be
> okay with me even if it has dimming_interval, but I'd prefer to keep
> it simple. We are at v14 of the patch...]
Make sense. I will leave this feature until someone has the
dimming_interval adjustment. Thanks.
--
Baolin Wang
Best Regards
Hi Jacek,
On 10 October 2018 at 02:37, Jacek Anaszewski
wrote:
> Hi Baolin,
>
> On 10/09/2018 02:01 PM, Baolin Wang wrote:
>> Hi Jacek and Pavel,
>>
>> On 5 October 2018 at 04:00, Jacek Anaszewski
>> wrote:
>>> Hi Baolin,
>>>
>>&
Hi Jacek,
On 10 October 2018 at 02:37, Jacek Anaszewski
wrote:
> Hi Baolin,
>
> On 10/09/2018 02:01 PM, Baolin Wang wrote:
>> Hi Jacek and Pavel,
>>
>> On 5 October 2018 at 04:00, Jacek Anaszewski
>> wrote:
>>> Hi Baolin,
>>>
>>&
Hi Jacek and Pavel,
On 5 October 2018 at 04:00, Jacek Anaszewski wrote:
> Hi Baolin,
>
> On 10/03/2018 03:21 AM, Baolin Wang wrote:
>> Hi Jacek,
>>
>> On 3 October 2018 at 04:25, Jacek Anaszewski
>> wrote:
>>> Hi Baolin,
>>>
>>
Hi Jacek and Pavel,
On 5 October 2018 at 04:00, Jacek Anaszewski wrote:
> Hi Baolin,
>
> On 10/03/2018 03:21 AM, Baolin Wang wrote:
>> Hi Jacek,
>>
>> On 3 October 2018 at 04:25, Jacek Anaszewski
>> wrote:
>>> Hi Baolin,
>>>
>>
Hi Jacek,
On 3 October 2018 at 04:25, Jacek Anaszewski wrote:
> Hi Baolin,
>
> Thank you for the v14. We'll probably need v15, though :-)
>
> I added the comments in the code below.
>
> On 10/02/2018 05:43 PM, Baolin Wang wrote:
>> This patch adds one new led
Hi Jacek,
On 3 October 2018 at 04:25, Jacek Anaszewski wrote:
> Hi Baolin,
>
> Thank you for the v14. We'll probably need v15, though :-)
>
> I added the comments in the code below.
>
> On 10/02/2018 05:43 PM, Baolin Wang wrote:
>> This patch adds one new led
This patch implements the 'pattern_set'and 'pattern_clear'
interfaces to support SC27XX LED breathing mode.
Signed-off-by: Baolin Wang
Acked-by: Pavel Machek
---
Changes from v13:
- None.
Changes from v12:
- None.
Changes from v11:
- None.
Changes from v10:
- Add duration alignment
This patch implements the 'pattern_set'and 'pattern_clear'
interfaces to support SC27XX LED breathing mode.
Signed-off-by: Baolin Wang
Acked-by: Pavel Machek
---
Changes from v13:
- None.
Changes from v12:
- None.
Changes from v11:
- None.
Changes from v10:
- Add duration alignment
'hw_pattern' file to enable the hardware
pattern for some LED controllers which can autonomously control
brightness over time, according to some preprogrammed hardware
patterns.
Signed-off-by: Raphael Teysseyre
Signed-off-by: Baolin Wang
---
Changes from v13:
- Add duration validation for gradual
'hw_pattern' file to enable the hardware
pattern for some LED controllers which can autonomously control
brightness over time, according to some preprogrammed hardware
patterns.
Signed-off-by: Raphael Teysseyre
Signed-off-by: Baolin Wang
---
Changes from v13:
- Add duration validation for gradual
11] secondary_startup_64+0xa4/0xb0
>
> Probably the best solution would be to avoid the dimming if
> delta_t is lower than UPDATE_INTERVAL.
Thanks for your testing. Yes, I will valid the delta_t value when user
use the gradual dimming, and add some comments in ABI to make it
clear, th
11] secondary_startup_64+0xa4/0xb0
>
> Probably the best solution would be to avoid the dimming if
> delta_t is lower than UPDATE_INTERVAL.
Thanks for your testing. Yes, I will valid the delta_t value when user
use the gradual dimming, and add some comments in ABI to make it
clear, th
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
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
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
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
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
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
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
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
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
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
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
-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
-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
.
Signed-off-by: Baolin Wang
---
drivers/pinctrl/sprd/pinctrl-sprd.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
index 78c2f54..4537b54 100644
--- a/drivers/pinctrl/sprd/pinctrl
.
Signed-off-by: Baolin Wang
---
drivers/pinctrl/sprd/pinctrl-sprd.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
index 78c2f54..4537b54 100644
--- a/drivers/pinctrl/sprd/pinctrl
some
helper functions to use the OCV capacity table for users.
Suggested-by: Sebastian Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v2:
- Use type __be32 to calculate the table length.
- Update error messages.
- Add some helper functions.
Changes from v1
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
---
Changes from v2:
- Add reviewed tag from Linus.
Changes from v1:
- Renamed GPIO
some
helper functions to use the OCV capacity table for users.
Suggested-by: Sebastian Reichel
Signed-off-by: Baolin Wang
Reviewed-by: Linus Walleij
---
Changes from v2:
- Use type __be32 to calculate the table length.
- Update error messages.
- Add some helper functions.
Changes from v1
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
---
Changes from v2:
- Add reviewed tag from Linus.
Changes from v1:
- Renamed GPIO
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 v2:
- Use core helper functions to look up OCV capacity table.
- Use
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 v2:
- Use core helper functions to look up OCV capacity table.
- Use
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
---
Changes from v2:
- Rename the property.
- Improve the commit message.
Changes from v1:
- New patch in v2.
---
.../devicetree/bindings/power/supply/battery.txt |2 ++
drivers/power/supply
factory internal resistance for battery information.
Signed-off-by: Baolin Wang
---
Changes from v2:
- Rename the property.
- Improve the commit message.
Changes from v1:
- New patch in v2.
---
.../devicetree/bindings/power/supply/battery.txt |2 ++
drivers/power/supply
On 26 September 2018 at 23:30, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Sep 26, 2018 at 10:59:14AM +0800, Baolin Wang wrote:
>> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
>> which is used to calculate the battery capacity.
>>
>> Ori
On 26 September 2018 at 23:30, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Sep 26, 2018 at 10:59:14AM +0800, Baolin Wang wrote:
>> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
>> which is used to calculate the battery capacity.
>>
>> Ori
This patch implements the 'pattern_set'and 'pattern_clear'
interfaces to support SC27XX LED breathing mode.
Signed-off-by: Baolin Wang
Acked-by: Pavel Machek
---
Changes from v12:
- None.
Changes from v11:
- None.
Changes from v10:
- Add duration alignment function suggested by Jacek
'hw_pattern' file to enable the hardware
pattern for some LED controllers which can autonomously control
brightness over time, according to some preprogrammed hardware
patterns.
Signed-off-by: Raphael Teysseyre
Signed-off-by: Baolin Wang
---
Changes from v12:
- Add gradual dimming support for software
This patch implements the 'pattern_set'and 'pattern_clear'
interfaces to support SC27XX LED breathing mode.
Signed-off-by: Baolin Wang
Acked-by: Pavel Machek
---
Changes from v12:
- None.
Changes from v11:
- None.
Changes from v10:
- Add duration alignment function suggested by Jacek
'hw_pattern' file to enable the hardware
pattern for some LED controllers which can autonomously control
brightness over time, according to some preprogrammed hardware
patterns.
Signed-off-by: Raphael Teysseyre
Signed-off-by: Baolin Wang
---
Changes from v12:
- Add gradual dimming support for software
On 26 September 2018 at 21:51, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Sep 26, 2018 at 10:59:12AM +0800, Baolin Wang wrote:
>> Some battery driver will use the open circuit voltage (OCV) value to look
>> up the corresponding battery capacity percent in one certain de
On 26 September 2018 at 21:51, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Sep 26, 2018 at 10:59:12AM +0800, Baolin Wang wrote:
>> Some battery driver will use the open circuit voltage (OCV) value to look
>> up the corresponding battery capacity percent in one certain de
On 26 September 2018 at 20:45, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Sep 26, 2018 at 04:30:39PM +0800, Baolin Wang wrote:
>> Hi Linus,
>>
>> On 26 September 2018 at 16:00, Linus Walleij
>> wrote:
>> > On Wed, Sep 26, 2018 at 4:59 AM Baolin Wang
On 26 September 2018 at 20:45, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Sep 26, 2018 at 04:30:39PM +0800, Baolin Wang wrote:
>> Hi Linus,
>>
>> On 26 September 2018 at 16:00, Linus Walleij
>> wrote:
>> > On Wed, Sep 26, 2018 at 4:59 AM Baolin Wang
section `.data' of drivers/spi/spi-sprd.o:
> defined in discarded section `.exit.text' of drivers/spi/spi-sprd.o
>
> Fixes: e7d973a31c24 ("spi: sprd: Add SPI driver for Spreadtrum SC9860")
> Signed-off-by: Arnd Bergmann
Thanks Arnd.
Acked-by: Baolin Wang
> ---
&g
section `.data' of drivers/spi/spi-sprd.o:
> defined in discarded section `.exit.text' of drivers/spi/spi-sprd.o
>
> Fixes: e7d973a31c24 ("spi: sprd: Add SPI driver for Spreadtrum SC9860")
> Signed-off-by: Arnd Bergmann
Thanks Arnd.
Acked-by: Baolin Wang
> ---
&g
Hi Linus,
On 26 September 2018 at 16:09, Linus Walleij wrote:
> On Wed, Sep 26, 2018 at 5:00 AM Baolin Wang wrote:
>
>> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
>> which is used to calculate the battery capacity.
>>
>> Original-b
701 - 800 of 3825 matches
Mail list logo