On Mon, May 14, 2012 at 03:19:50PM +0300, Felipe Balbi wrote: > Hi, > > On Mon, May 14, 2012 at 12:58:24PM +0300, Alexander Shishkin wrote: > > Now that the ChipIdea driver has support for role switching, describe > > it in the Documentation/ABI as a "testing" interface. > > > > Signed-off-by: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> > > --- > > Documentation/ABI/testing/sysfs-driver-chipidea | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > create mode 100644 Documentation/ABI/testing/sysfs-driver-chipidea > > > > diff --git a/Documentation/ABI/testing/sysfs-driver-chipidea b/Documentation/ABI/testing/sysfs-driver-chipidea > > new file mode 100644 > > index 0000000..e96fb71 > > --- /dev/null > > +++ b/Documentation/ABI/testing/sysfs-driver-chipidea > > @@ -0,0 +1,11 @@ > > +What: /sys/bus/platform/drivers/ci_hdrc/role > > +Date: May, 2012 > > +KernelVersion: 3.5 > > +Contact: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> > > +Description: ChipIdea USB High-speed Dual Role Controller allows for > > + manual switching of roles, which is useful on boards or > > + platforms that have the ID pin fixed (like SheevaPlug). > > + This file can be used for forcing the driver into one > > + of the two modes, by writing "host" or "gadget" to it. > > + Both these roles need to be enabled in the kernel config > > + in order for this switch to work. > > -- > > 1.7.10 > > I would like to see it under debugfs. Greg, should you take this anyway > considering Alexander has to move this to debugfs ?? No, you are right, this should go into debugfs, so a ABI file isn't needed. Alexander, please remove this file from sysfs and move it to debugfs. thanks, greg k-h -- 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