Re: [PATCH] usb: musb: USB Test Mode control from sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 30, 2011 at 2:44 PM, Praveena Nadahally
<praveen.nadahally@xxxxxxxxxxxxxx> wrote:
> This patch enables USB Test Mode control
> from a new "testmode" file in sysfs:
>  - write "-1" to this file to get some help
>  - write another value to select a test mode
>  - read this file to get current TM register value
>
> This control can be used in USB Host or Device mode.
> This will be very useful in case of host mode.
>

Can't you use the existing interfaces in debugfs for this?

See drivers/usb/musb/musb_debugfs.c.

- Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux