> Subject: [PATCH 1/1] atmel uaba : Adding invert vbus_pin > > Thanks to Ben Nizette [bn@xxxxxxxxxxxxxxx] and Sergei Shtylyov > [sshtylyov@xxxxxxxxxxxxx] for good feedback > > Adding vbus_pin_inverted so that the usb detect pin can be active high > or low. > This because depending on HW implementation it is better to have active > low. > Also replaced the pio_get_value(udc->vbus_pin); with a call to > vbus_is_present(udc); > > Signed-off-by: Eirik Aanonsen <eaa@xxxxxxxxxxxxxx> > --- ... No one that have any comments on this? Haavard is it possible to get this upstream? The patch allows the USB driver to be active and when the USB bus is disconnected (with reversed signaling). I observe a drop in power consumption of 150mW, and for people dependent on battery that is a lot. And in our design we need to have this pin inverted. Regards ____________________________________________________ Eirik Aanonsen SW Developer E-mail: eaa@xxxxxxxxxxxxxx Phone: +47 90 68 11 92 Fax: +47 37 03 56 77 ____________________________________________________ -- 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