From: Greg KH <gregkh@linuxfoundation.org>
To: Qiwu Huang <yanziily@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Qiwu Huang <huangqiwu@xiaomi.com>
Subject: Re: [PATCH v8 1/4] power: supply: core: add quick charge type property
Date: Mon, 24 Aug 2020 10:57:16 +0200 [thread overview]
Message-ID: <20200824085715.GB402243@kroah.com> (raw)
In-Reply-To: <CAPtXDt0yW7Kh6a9JGfXaha_wKVjae7U74m6K=631Ofh8_m4uvg@mail.gmail.com>
On Mon, Aug 24, 2020 at 04:42:06PM +0800, Qiwu Huang wrote:
> On Mon, Aug 24, 2020 at 3:43 PM Greg KH <gregkh@linuxfoundation.org> 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 <gregkh@linuxfoundation.org> 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 <gregkh@linuxfoundation.org> wrote:
> > > > > >
> > > > > > On Fri, Aug 14, 2020 at 11:46:54AM +0800, Qiwu Huang wrote:
> > > > > > > From: Qiwu Huang <huangqiwu@xiaomi.com>
> > > > > > >
> > > > > > > Reports the kind of quick charge type based on
> > > > > > > different adapter power.
> > > > > > >
> > > > > > > Signed-off-by: Qiwu Huang <huangqiwu@xiaomi.com>
> > > > > > > ---
> > > > > > > Documentation/ABI/testing/sysfs-class-power | 21 +++++++++
> > > > > > > drivers/power/supply/power_supply_sysfs.c | 1 +
> > > > > > > drivers/power/supply/qcom_smbb.c | 51 +++++++++++++++++++++
> > > > > > > include/linux/power_supply.h | 14 ++++++
> > > > > > > 4 files changed, 87 insertions(+)
> > > > > >
> > > > > > You should also submit your driver that uses these new attributes at the
> > > > > > same time. What happened to that request? Otherwise no one really
> > > > > > knows how these are being used, or if they even are used by anyone.
> > > > > >
> > > > >
> > > > > I don't think I can submit the whole driver because our drivers are
> > > > > divided into three parts, the first part is in ADSP, the second part
> > > > > is in kernel and the third part is in Android Hal.This is the second
> > > > > part.
> > > >
> > > > WHat is "ADSP"?
> > >
> > > ADSP: advanced digital signal processor
> >
> > Ok, then just send the kernel driver.
> >
> > > > Just submit your kernel driver code, that's all we care about here.
> > > > Userspace code is not anything we can do anything with :)
> > >
> > > If we ported the full driver, we would break the existing driver
> > > structure because we would introduce more Qualcomm code. I think
> > > that's an unreasonable change.
> >
> > That doesn't make much sense. You have a working driver for these apis,
> > just submit it for inclusion, it should never break any existing
> > drivers, otherwise your code wouldn't work either.
>
> We're an Android device, we're working on a Qualcomm based code, and
> from the current code tree, the current code tree is missing the QTI
> Charger code
I don't know what that means, sorry. Just submit your driver, and any
needed dependencies as well. There's no other way to evaluate this api
addition without that, right?
thanks,
greg k-h
next prev parent reply other threads:[~2020-08-24 8:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-14 3:46 [PATCH v8 0/4] add some power supply properties about wireless/wired charging Qiwu Huang
2020-08-14 3:46 ` [PATCH v8 1/4] power: supply: core: add quick charge type property Qiwu Huang
2020-08-14 6:09 ` Greg KH
2020-08-18 1:56 ` Qiwu Huang
2020-08-18 6:07 ` Greg KH
2020-08-24 0:54 ` Qiwu Huang
2020-08-24 7:43 ` Greg KH
2020-08-24 8:42 ` Qiwu Huang
2020-08-24 8:57 ` Greg KH [this message]
2020-08-25 18:19 ` Pavel Machek
2020-08-14 3:46 ` [PATCH v8 2/4] power: supply: core: add wireless charger adapter " Qiwu Huang
2020-08-14 3:46 ` [PATCH v8 3/4] power: supply: core: add wireless signal strength property Qiwu Huang
2020-08-14 3:46 ` [PATCH v8 4/4] power: supply: core: property to control reverse charge Qiwu Huang
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=20200824085715.GB402243@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=huangqiwu@xiaomi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.org \
--cc=yanziily@gmail.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
all inboxes | Powered by JetHome®