From: 吧!王婷 <zxc52fgh@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: sre@kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, wangting11 <wangting11@xiaomi.com>
Subject: Re: [PATCH v11 0/4] add some power supply properties about wireless/wired charging
Date: Thu, 5 Aug 2021 10:29:08 +0800 [thread overview]
Message-ID: <CAA=jPj2RVcQ3eyrcu2=2uPrZoTU0ffB9vsM-bpy8yGOu2w8odQ@mail.gmail.com> (raw)
In-Reply-To: <YQqCNKoLdwaCjmIl@kroah.com>
Hi Greg,
A demo of “The usage of quick charge type property” is uploaded in
PATCH v11 1/4 drivers/power/supply/qcom_smbb.c.
The usage of the other three properties is about wireless charging.The
code of our driver can refer to the link below.
POWER_SUPPLY_PROP_QUICK_CHARGE_TYPE:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L1434
POWER_SUPPLY_PROP_REVERSE_CHG_MODE:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L2572
POWER_SUPPLY_PROP_TX_ADAPTER:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L2633
POWER_SUPPLY_PROP_SIGNAL_STRENGTH:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L2609
Thanks,
Wangting
Greg KH <gregkh@linuxfoundation.org> 于2021年8月4日周三 下午8:04写道:
>
> On Wed, Aug 04, 2021 at 07:01:57PM +0800, Ting Wang wrote:
> > From: wangting11 <wangting11@xiaomi.com>
> >
> > 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_strength" shows the coupling level between TX and RX;
> > "reverse_chg_mode" provides the interface of enabling/disabling wireless reverse charging.
> >
> > Changes in V11
> > - Fix build error on linus/master
> > - Fix build error on power-supply/for-next
> > - Fix conflict
>
> Where are the users of these new properties? Shouldn't drivers be
> submitted with them as well, otherwise why would these be added?
>
> thanks,
>
> greg k-h
next prev parent reply other threads:[~2021-08-05 2:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-04 11:01 [PATCH v11 0/4] add some power supply properties about wireless/wired charging Ting Wang
2021-08-04 11:01 ` [PATCH v11 1/4] power: supply: core: add quick charge type property Ting Wang
2021-08-05 16:31 ` Sebastian Reichel
2021-08-04 11:01 ` [PATCH v11 2/4] power: supply: core: add wireless charger adapter " Ting Wang
2021-08-04 11:02 ` [PATCH v11 3/4] power: supply: core: add wireless signal strength property Ting Wang
2021-08-05 16:45 ` Sebastian Reichel
2021-08-04 11:02 ` [PATCH v11 4/4] power: supply: core: property to control reverse charge Ting Wang
2021-08-05 16:37 ` Sebastian Reichel
2021-08-04 12:04 ` [PATCH v11 0/4] add some power supply properties about wireless/wired charging Greg KH
2021-08-05 2:29 ` 吧!王婷 [this message]
2021-08-05 8:14 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA=jPj2RVcQ3eyrcu2=2uPrZoTU0ffB9vsM-bpy8yGOu2w8odQ@mail.gmail.com' \
--to=zxc52fgh@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.org \
--cc=wangting11@xiaomi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).