Hi Sebastian,
On Friday, March 19, 2021 7:27 PM Sebastian Reichel wrote:
> Hi,
>
> On Fri, Mar 19, 2021 at 10:16:51AM +, LI Qingwu wrote:
> > About 4mA current, it's not the expected current, since we are working
> > remotely, the instrument was unattended.
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_MANUFACTURER=Texas Instruments
Signed-off-by: LI Qingwu
Reviewed-by: Krzysztof Kozlowski
---
drivers/power/supply/bq27xxx_battery.c | 44 ++
drivers/power/supply/bq27xxx_battery_i2c.c | 2 +
include/linux/power/bq27xxx_battery.h
Changes in V7:
AddPOWER_SUPPLY_CHARGE_NOW
Remove POWER_SUPPLY_PROP_ENERGY_NOW
Refresh result of dump uevent
LI Qingwu (2):
dt-bindings: power: bq27xxx: add bq78z100
power: supply: bq27xxx: Add support for BQ78Z100
.../bindings/power/supply/bq27xxx.yaml| 1 +
drivers/power
Add bindings for TI BQ78Z100. An I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
Signed-off-by: LI Qingwu
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/power/supply
9
POWER_SUPPLY_TIME_TO_EMPTY_NOW=1249920
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_FULL=6494000
POWER_SUPPLY_CHARGE_NOW=1736000
POWER_SUPPLY_CHARGE_FULL_DESIGN=600
POWER_SUPPLY_CYCLE_COUNT=1
POWER_SUPPLY_POWER_AVG=-2
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_MANUFACTURER=Texas Instr
Add bindings for TI BQ78Z100. An I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
Signed-off-by: LI Qingwu
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/power/supply
Add support for TI BQ78Z100, I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
The patch was tested with BQ78Z100 equipment.
Signed-off-by: LI Qingwu
Reviewed-by: Krzysztof Kozlowski
result
Changes in V6:
Reword the commit message,
add result of cat "/sys/class/power_supply//uevent"
LI Qingwu (2):
dt-bindings: power: bq27xxx: add bq78z100
power: supply: bq27xxx: Add support for BQ78Z100
.../bindings/power/supply/bq27xxx.yaml| 1 +
drivers/po
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_TEMP=260
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_FULL=6494000
POWER_SUPPLY_CHARGE_FULL_DESIGN=600
POWER_SUPPLY_CYCLE_COUNT=1
POWER_SUPPLY_ENERGY_NOW=0
POWER_SUPPLY_POWER_AVG=0
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_
Add support for ST magnetometer IIS2MDC,
an I2C/SPI interface 3-axis magnetometer sensor.
The patch was tested on the instrument with IIS2MDC via I2C interface.
Acked-by: Rob Herring
Signed-off-by: LI Qingwu
---
Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 1 +
1 file changed, 1
Add support for ST magnetometer IIS2MDC,
an I2C/SPI interface 3-axis magnetometer.
The patch was tested on the instrument with IIS2MDC via I2C interface.
Signed-off-by: LI Qingwu
---
drivers/iio/magnetometer/st_magn.h | 1 +
drivers/iio/magnetometer/st_magn_core.c | 1 +
drivers/iio
Changes in V3:
Reword the commit message, add "Acked-by: Rob Herring"
LI Qingwu (2):
dt-bindings: iio: st,st-sensors add IIS2MDC.
iio:magnetometer: Add Support for ST IIS2MDC
Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 1 +
drivers/iio/magnetometer
Hi Sebastian,
Thanks for your input, I will and dump message into next version patch.
Best Regards
**
Li Qingwu (Terry)
Senior Embedded Software Engineer
Leica Geosystems(Shanghai)Co.,Limited
(Tel): +86 21 61061036
(FAX): +86 21 61061008
(Mobile
Hi Andy,
Thanks a lot for your input, I just extend the existing driver in patch V2 for
the sersor.
Best Regards
**
Li Qingwu (Terry)
Senior Embedded Software Engineer
Leica Geosystems(Shanghai)Co.,Limited
(Tel): +86 21 61061036
(FAX): +86 21
Add support for ST magnetometer IIS2MDC,
an I2C/SPI interface 3-axis magnetometer.
The patch was tested on the instrument with IIS2MDC via I2C interface.
Signed-off-by: LI Qingwu
---
drivers/iio/magnetometer/st_magn.h | 2 ++
drivers/iio/magnetometer/st_magn_core.c | 1 +
drivers/iio
Changes in V2:
Extend the exist st_magn* to support IIS2MDC, instead of adding a new
driver.
LI Qingwu (2):
dt-bindings: iio: st,st-sensors add IIS2MDC.
iio:magnetometer: Add Support for ST IIS2MDC
Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 1 +
drivers/iio/magnetometer
Add support for ST magnetometer IIS2MDC,
an I2C/SPI interface 3-axis magnetometer sensor.
The patch was tested on the instrument with IIS2MDC via I2C interface.
Signed-off-by: LI Qingwu
---
Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 1 +
1 file changed, 1 insertion(+)
diff
Hi Jonathan,
Thanks for your input, I will integrate into existing magnetometers driver!
Best Regards
**
Li Qingwu (Terry)
**
-Original Message-
From: Jonathan Cameron
Sent: Sunday, March 7
Add support for STMicroelectronics digital magnetic sensors,
LSM303AH,LSM303AGR,LIS2MDL,ISM303DAC,IIS2MDC.
The patch tested with IIS2MDC instrument.
Signed-off-by: LI Qingwu
---
drivers/iio/magnetometer/Kconfig | 23 ++
drivers/iio/magnetometer/Makefile | 4 +
drivers/iio
Add support for ST magnetometer lsm303ah,sm303dac and iis2mdc.
The patch tested with IIS2MDC instrument.
Signed-off-by: LI Qingwu
---
Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/st,st
WxW)
#100: FILE: drivers/power/supply/bq27xxx_battery.c:1015:
+ [BQ78Z100] = BQ27XXX_DATA(bq78z100, 0 , BQ27Z561_O_BITS),
^
Best Regards
******
Li Qingwu (Terry)
Senior Embedded Softw
Add support for TI BQ78Z100, I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
The patch was tested with BQ78Z100 equipment.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: LI Qingwu
POWER_SUPPLY_PROP_TIME_TO_EMPTY_AVG, not support
by bq78z100
LI Qingwu (2):
dt-bindings: power: bq27xxx: add bq78z100
power: supply: bq27xxx: Add support for BQ78Z100
.../bindings/power/supply/bq27xxx.yaml| 1 +
drivers/power/supply/bq27xxx_battery.c| 44 +++
drivers/power
Add bindings for TI BQ78Z100. An I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
Acked-by: Rob Herring
Signed-off-by: LI Qingwu
---
Documentation/devicetree/bindings/power/supply
this is a friendly reminder.
Best Regards
**
Li Qingwu (Terry)
Senior Embedded Software Engineer
Leica Geosystems(Shanghai)Co.,Limited
(Tel): +86 21 61061036
(FAX): +86 21 61061008
(Mobile): +86 187 0185 9600
E-mail: qing-wu...@leica
Add support for TI BQ78Z100, I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
The patch was tested with BQ78Z100 equipment.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: LI Qingwu
Changes in V4:
Correct the wrong part number in the subject, bq78z100 instead of
bq78z10.
LI Qingwu (2):
dt-bindings: power: bq27xxx: add bq78z100
power: supply: bq27xxx: Add support for BQ78Z100
.../bindings/power/supply/bq27xxx.yaml| 1 +
drivers/power/supply/bq27xxx_battery.c
Add bindings for TI BQ78Z100. An I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
Acked-by: Rob Herring
Signed-off-by: LI Qingwu
---
Documentation/devicetree/bindings/power/supply
Add bindings for TI BQ78Z100. An I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
Signed-off-by: LI Qingwu
---
Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 +
1 file
Changes in V3:
Delete comma before "and" in commit comments.
Reorder commits to sending the bindings as the first patch.
LI Qingwu (2):
dt-bindings: power: bq27xxx: add bq78z10
power: supply: bq27xxx: Add support for BQ78Z100
.../bindings/power/supply/bq27xxx.yaml| 1
Add support for TI BQ78Z100, I2C interface gas gauge.
It provides a fully integrated safety protection
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
The patch was tested with BQ78Z100 equipment.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: LI Qingwu
pacity.
In the future, please send the bindings as first patch. The checkpatch should
point this - did you run it? >>yes, I run the checkpatch, I will reorder in V3.
Best Regards
**********
Li Qingwu (Terry)
Senior Embedded Software Engineer
Leica Geosyste
Add bindings for TI BQ78Z100. An I2C interface gas gauge.
It provides a fully integrated safety protection,
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
Signed-off-by: LI Qingwu
---
Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 +
1 file
PATCH V2: Fix typo of commit comments of previous version.
-replace "equippent" with "equipment"
LI Qingwu (2):
power: supply: bq27xxx: Add support for BQ78Z100
dt-bindings: power: bq27xxx: add bq78z10
.../bindings/power/supply/bq27xxx.yaml| 1 +
Add support for TI BQ78Z100, I2C interface gas gauge.
It provides a fully integrated safety protection,
and authentication for 1 to 2-series cell Li-Ion and
Li-Polymer battery packs.
The patch was tested with BQ78Z100 equipment.
Signed-off-by: LI Qingwu
---
drivers/power/supply
35 matches
Mail list logo