Re: [PATCH] usb: typec: ucsi: psy: Expose the charge-type property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux