From: Greg KH <gregkh@linuxfoundation.org>
To: Peter Chen <peter.chen@nxp.com>
Cc: balbi@kernel.org, linux-usb@vger.kernel.org, linux-imx@nxp.com
Subject: Re: [PATCH v3 2/2] Doc: ABI: add usb charger uevent
Date: Tue, 14 Jan 2020 10:48:13 +0100 [thread overview]
Message-ID: <20200114094813.GB1422952@kroah.com> (raw)
In-Reply-To: <1578994738-8872-2-git-send-email-peter.chen@nxp.com>
On Tue, Jan 14, 2020 at 05:38:58PM +0800, Peter Chen wrote:
> When the USB charger is inserted or removed, the users could get
> USB charger state and type through the uevent.
>
> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> ---
> Changes for v3:
> - Change kernel version for 5.6, and delete the kernel printk time
>
> Documentation/ABI/testing/usb-charger-uevent | 45 ++++++++++++++++++++
> 1 file changed, 45 insertions(+)
> create mode 100644 Documentation/ABI/testing/usb-charger-uevent
>
> diff --git a/Documentation/ABI/testing/usb-charger-uevent b/Documentation/ABI/testing/usb-charger-uevent
> new file mode 100644
> index 000000000000..94ab16768e49
> --- /dev/null
> +++ b/Documentation/ABI/testing/usb-charger-uevent
> @@ -0,0 +1,45 @@
> +What: Raise a uevent when a USB charger is inserted or removed
> +Date: 2020-01-14
> +KernelVersion: 5.6
> +Contact: linux-usb@vger.kernel.org
> +Description: There are two USB charger states:
> + USB_CHARGER_ABSENT
> + USB_CHARGER_PRESENT
> + There are five USB charger types:
> + USB_CHARGER_UNKNOWN_TYPE
> + USB_CHARGER_SDP_TYPE
> + USB_CHARGER_CDP_TYPE
> + USB_CHARGER_DCP_TYPE
> + USB_CHARGER_ACA_TYPE
Any explaination for what these different types really are? What is a
"CDP"? "ACA"? where would one find that information out?
thanks,
greg k-h
next prev parent reply other threads:[~2020-01-14 9:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-14 9:38 [PATCH v3 1/2] usb: phy: show USB charger type for user Peter Chen
2020-01-14 9:38 ` [PATCH v3 2/2] Doc: ABI: add usb charger uevent Peter Chen
2020-01-14 9:48 ` Greg KH [this message]
2020-01-15 1:58 ` Peter Chen
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=20200114094813.GB1422952@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=balbi@kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-usb@vger.kernel.org \
--cc=peter.chen@nxp.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;
as well as URLs for NNTP newsgroup(s).