[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200713084200.GD215949@kroah.com>
Date: Mon, 13 Jul 2020 10:42:00 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Qiwu Huang <yanziily@...il.com>
Cc: sre@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, jiangfei1@...omi.com,
Qiwu Huang <huangqiwu@...omi.com>
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@...omi.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@...omi.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@...omi.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@...omi.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
Powered by blists - more mailing lists