Hi, Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> writes: > Sadly, to change the role ("host" and "peripheral") of USB3.0 DRD > controller on R-Car Gen3, software has to set the DRD_CON register > which is included in a usb3.0 peripheral controler's register. > To simply implementation, the previous code always set peripheral mode > as hardcoded. However, to support usb role swap in the future, > the hardcoded is not good. So, this patch adds sysfs "role" to set > the mode by a user. > After applied this patch, since the DRD controller will act as host > mode after probed, a user needs to change the mode via the sysfs. > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> in patch 3, you add extcon to monitor ID and VBUS pins. Do you really need this sysfs file at all? -- balbi -- 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