public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: Alexander Stein <alexander.stein@systec-electronic.com>,
	Mathias Nyman <mathias.nyman@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, "Wang,
	Yu" <yu.y.wang@intel.com>,
	"Li, Guanglei" <guangleix.li@intel.com>,
	"Wu, Hao" <hao.wu@intel.com>
Subject: Re: [PATCH v2 1/1] xhci: add USB2 test mode support
Date: Wed, 8 Feb 2017 16:17:45 +0200	[thread overview]
Message-ID: <589B2889.3050708@linux.intel.com> (raw)
In-Reply-To: <20170208134444.18369-1-alexander.stein@systec-electronic.com>

On 08.02.2017 15:44, Alexander Stein wrote:
> This patch adds support for USB2 test mode (Test_J, Test_K,
> Test_SE0_NAK and Test_Packet) per XHCI spec 4.19.6.
>
> USB2 test mode is a required hardware feature for system integrators
> validating their hardware according to USB spec, regarding signal
> strength and stuff. It is purely a hardware test feature.
>
> Usually you need an oscilloscope and have to enable those test modes on
> the hardware. This will send some specific test patterns on D+/D-. There
> is no report available (in Linux itself) as it is purely externally
> visible. Regular USB usage is not possible at that time.
> Anyone (well access to e.g. /dev/bus/usb/001/001 provided) can use it by
> sending appropriate USB_PORT_FEAT_TEST requests to the hub.
> The same feature for ehci based hosts is already available at
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/host/ehci-hub.c#n1267
>
> Signed-off-by: "Wang, Yu" <yu.y.wang@intel.com>
> Signed-off-by: "Li, Guanglei" <guangleix.li@intel.com>
> Signed-off-by: "Wu, Hao" <hao.wu@intel.com>
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---

I think there's a reworked series of this feature already posted at:

http://marc.info/?l=linux-usb&m=148050258916147&w=2

But this change log is now better
I was thinking about adding that to 4.12

-Mathias

  parent reply	other threads:[~2017-02-08 14:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 13:44 [PATCH v2 1/1] xhci: add USB2 test mode support Alexander Stein
2017-02-08 13:51 ` Greg Kroah-Hartman
2017-02-08 14:17 ` Mathias Nyman [this message]
2017-02-08 15:10   ` Alexander Stein

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=589B2889.3050708@linux.intel.com \
    --to=mathias.nyman@linux.intel.com \
    --cc=alexander.stein@systec-electronic.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=guangleix.li@intel.com \
    --cc=hao.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=yu.y.wang@intel.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