Messages in this thread | | | Date | Mon, 13 Jul 2020 10:42:00 +0200 | From | Greg KH <> | Subject | Re: [PATCH v2 2/5] power: supply: core: add wireless charger adapter type property |
| |
On Mon, Jul 13, 2020 at 12:03:37PM +0800, Qiwu Huang wrote: > From: Qiwu Huang <huangqiwu@xiaomi.com> > > 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 <huangqiwu@xiaomi.com> > --- > Documentation/ABI/testing/sysfs-class-power | 11 +++++++++++ > drivers/power/supply/power_supply_sysfs.c | 1 + > include/linux/power_supply.h | 1 + > 3 files changed, 13 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power > index d3169d47e359..cd07d3f4e8b1 100644 > --- a/Documentation/ABI/testing/sysfs-class-power > +++ b/Documentation/ABI/testing/sysfs-class-power > @@ -718,3 +718,14 @@ Contact: Fei Jiang <jiangfei1@xiaomi.com> > Access: Read-Only > Valid values: Reported as integer > > +===== Wireless Charger Properties ===== > +What: /sys/class/power_supply/<supply_name>/tx_adapter > +Date: Jul 2020 > +Contact: Fei Jiang <jiangfei1@xiaomi.com> > +Description: > + 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.
Same question as before, what are the allowed types here?
> + > + Access: Read-Only > + Valid values: Reported as integer
What integer maps to what values?
thanks,
greg k-h
| |