On Mon, Jul 13, 2020 at 12:03:37PM +0800, Qiwu Huang wrote: > From: Qiwu Huang <huangq...@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 <huangq...@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 <jiangf...@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 <jiangf...@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