Linux USB
 help / color / mirror / Atom feed
From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Mario Limonciello <mario.limonciello@amd.com>,
	Sebastian Reichel <sebastian.reichel@collabora.com>,
	linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: typec: ucsi: psy: Expose the charge-type property
Date: Mon, 17 Jun 2024 16:22:14 +0300	[thread overview]
Message-ID: <ZnA4hhsAIPrUO6pz@kuha.fi.intel.com> (raw)
In-Reply-To: <2024061701-overeater-purifier-beca@gregkh>

On Mon, Jun 17, 2024 at 01:39:17PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Jun 17, 2024 at 01:55:54PM +0300, Heikki Krogerus wrote:
> > UCSI has this information in the Battery Charging Capability
> > Status, so making it available for the user.
> 
> Make it availble how?  To what user?  Through what api?

This is for the power supply interface. The charge type sysfs
attribute file [1] is hidden with the UCSI power supplies. This would
"unhide" it.

I'll rewrite the commit message.

[1] https://docs.kernel.org/admin-guide/abi-testing.html#abi-sys-class-power-supply-supply-name-charge-type

thanks,

-- 
heikki

  reply	other threads:[~2024-06-17 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17 10:55 [PATCH] usb: typec: ucsi: psy: Expose the charge-type property Heikki Krogerus
2024-06-17 11:39 ` Greg Kroah-Hartman
2024-06-17 13:22   ` Heikki Krogerus [this message]
2024-06-17 14:28 ` Sebastian Reichel

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=ZnA4hhsAIPrUO6pz@kuha.fi.intel.com \
    --to=heikki.krogerus@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=sebastian.reichel@collabora.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