[PATCH v10 3/4] power: supply: core: add wireless signal strength property

2020-08-25 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 22 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v10 1/4] power: supply: core: add quick charge type property

2020-08-25 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 ++ drivers/power/supply/power_supply_sysfs.c | 1 + drivers/power/supply/qcom_smbb.c| 81

[PATCH v10 4/4] power: supply: core: property to control reverse charge

2020-08-25 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 14 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1 + 3 files changed, 16 insertions

[PATCH v10 0/4] add some power supply properties about wireless/wired charging

2020-08-25 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_stre

[PATCH v10 2/4] power: supply: core: add wireless charger adapter type property

2020-08-25 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v9 2/4] power: supply: core: add wireless charger adapter type property

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v9 0/4] add some power supply properties about wireless/wired charging

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_stre

[PATCH v9 4/4] power: supply: core: property to control reverse charge

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 14 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1 + 3 files changed, 16 insertions

[PATCH v9 3/4] power: supply: core: add wireless signal strength property

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 22 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v9 1/4] power: supply: core: add quick charge type property

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 ++ drivers/power/supply/power_supply_sysfs.c | 1 + drivers/power/supply/qcom_smbb.c| 79

Re: [PATCH v8 1/4] power: supply: core: add quick charge type property

2020-08-24 Thread Qiwu Huang
On Mon, Aug 24, 2020 at 3:43 PM Greg KH wrote: > > On Mon, Aug 24, 2020 at 08:54:56AM +0800, Qiwu Huang wrote: > > On Tue, Aug 18, 2020 at 2:07 PM Greg KH wrote: > > > > > > On Tue, Aug 18, 2020 at 09:56:28AM +0800, Qiwu Huang wrote: > > > &g

Re: [PATCH v8 1/4] power: supply: core: add quick charge type property

2020-08-23 Thread Qiwu Huang
On Tue, Aug 18, 2020 at 2:07 PM Greg KH wrote: > > On Tue, Aug 18, 2020 at 09:56:28AM +0800, Qiwu Huang wrote: > > On Fri, Aug 14, 2020 at 2:09 PM Greg KH wrote: > > > > > > On Fri, Aug 14, 2020 at 11:46:54AM +0800, Qiwu Huang wrote: > > > > From: Qiwu

Re: [PATCH v8 1/4] power: supply: core: add quick charge type property

2020-08-17 Thread Qiwu Huang
On Fri, Aug 14, 2020 at 2:09 PM Greg KH wrote: > > On Fri, Aug 14, 2020 at 11:46:54AM +0800, Qiwu Huang wrote: > > From: Qiwu Huang > > > > Reports the kind of quick charge type based on > > different adapter power. > > > > Signed-off-by: Qiwu Huang &g

[PATCH v8 2/4] power: supply: core: add wireless charger adapter type property

2020-08-13 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v8 4/4] power: supply: core: property to control reverse charge

2020-08-13 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 14 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1 + 3 files changed, 16 insertions

[PATCH v8 3/4] power: supply: core: add wireless signal strength property

2020-08-13 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 22 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v8 0/4] add some power supply properties about wireless/wired charging

2020-08-13 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_stre

[PATCH v8 1/4] power: supply: core: add quick charge type property

2020-08-13 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + drivers/power/supply/qcom_smbb.c| 51

[PATCH v7 3/4] power: supply: core: add wireless signal strength property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 22 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v7 4/4] power: supply: core: property to control reverse charge

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 14 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1 + 3 files changed, 16 insertions

[PATCH v7 2/4] power: supply: core: add wireless charger adapter type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v7 0/4] add some power supply properties about wireless/wired charging

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_stre

[PATCH v7 1/4] power: supply: core: add quick charge type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 10

[PATCH v6 1/4] power: supply: core: add quick charge type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 10

[PATCH v6 2/4] power: supply: core: add wireless charger adapter type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v6 4/4] power: supply: core: property to control reverse charge

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 14 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1 + 3 files changed, 16 insertions

[PATCH v6 3/4] power: supply: core: add wireless signal strength property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 22 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v5 0/4] add some power supply properties about wireless/wired charging

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_stre

[PATCH v5 4/4] power: supply: core: property to control reverse charge

2020-07-20 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Supply reverse charge function when enabled. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 12 drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v5 2/4] power: supply: core: add wireless charger adapter type property

2020-07-20 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v5 3/4] power: supply: core: add wireless signal strength property

2020-07-20 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 10 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v5 0/4] add some power supply properties about wireless/wired charging

2020-07-20 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_stre

[PATCH v5 1/4] power: supply: core: add quick charge type property

2020-07-20 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 10

[PATCH v4 4/4] power: supply: core: property to control reverse charge

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Supply reverse charge function when enabled. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 12 drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v4 1/4] power: supply: core: add quick charge type property

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 10

[PATCH v4 2/4] power: supply: core: add wireless charger adapter type property

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v4 0/4] add some power supply properties about wireless/wired charging

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang quick_charge_type reports quick charge type based on charging power. tx_adapter shows wireless charging adapter type. signal_strength shows degree of coupling between tx and rx when wireless charging. reverse_chg_mode supply interface to enable/disable wireless reverse charging

[PATCH v4 3/4] power: supply: core: add wireless signal strength property

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 10 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v3 2/5] power: supply: core: add wireless charger adapter type property

2020-07-14 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active forthe supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply

[PATCH v3 4/5] power: supply: core: property to control reverse charge

2020-07-14 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Supply reverse charge function when enabled. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 12 drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v3 5/5] power: supply: core: supply battery soc with decimal form

2020-07-14 Thread Qiwu Huang
From: Qiwu Huang Broadcast battery soc with decimal form. soc_decimal is the decimal part of battery soc. soc_decimal_rate is update frequency of decimal part of battery soc. We want to report such as 0.01 to 99.99% to user space to improve user experience when do very quick charging. Signed

[PATCH v3 3/5] power: supply: core: add wireless signal strength property

2020-07-14 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 10 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v3 1/5] power: supply: core: add quick charge type property

2020-07-14 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. UI will show different animation effect for different quick charge type. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply

[PATCH v2 5/5] power: supply: core: supply battery soc with decimal form

2020-07-12 Thread Qiwu Huang
From: Qiwu Huang Broadcast battery soc with decimal form. soc_decimal is the decimal part of battery soc. soc_decimal_rate is update frequency of decimal part of battery soc. We want to report such as 0.01 to 99.99% to user space to improve user experience when do very quick charging. Signed

[PATCH v2 3/5] power: supply: core: add wireless signal strength property

2020-07-12 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 11 +++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v2 2/5] power: supply: core: add wireless charger adapter type property

2020-07-12 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active forthe supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 11 +++ drivers/power/supply

[PATCH v2 1/5] power: supply: core: add quick charge type property

2020-07-12 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. UI will show different animation effect for different quick charge type. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 10 ++ drivers/power/supply

[PATCH v2 4/5] power: supply: core: property to control reverse charge

2020-07-12 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Supply reverse charge function when enabled. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 12 drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH 2/5] power: supply: core: add wireless charger adapter type property

2020-07-10 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active forthe supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 13 + drivers/power/supply

[PATCH 4/5] power: supply: core: property to control reverse charge

2020-07-10 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Supply reverse charge function when enabled. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 13 - drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH 3/5] power: supply: core: add wireless signal strength property

2020-07-10 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 9 - drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1

[PATCH 5/5] power: supply: core: supply battery soc with decimal form

2020-07-10 Thread Qiwu Huang
From: Qiwu Huang Broadcast battery soc with decimal form. soc_decimal is the decimal part of battery soc. soc_decimal_rate is update frequency of decimal part of battery soc. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 20 drivers/power

[PATCH 1/5] power: supply: core: add quick charge type property

2020-07-10 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. UI will show different animation effect for different quick charge type. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 10 ++ drivers/power/supply