On Thu, Jul 23, 2015 at 08:39:41AM -0700, John D. Blair wrote: > Silicon Labs provides GPIOs on the CP210x USB serial hardware. Silicon > Labs also supplies a version of the cp210x driver which provides ioctl() > support allowing control of these GPIOs. > > Support of the ioctl() requires adding some additional code to read the > specific cp210x chip version, as GPIO support varies across the product > line. > > My question is: do you know why this GPIO support hasn't been integrated > into the mainline kernel? Is it just Silicon Labs being lazy, or is > there a technical reason this vendor-specific extension has been left > out? The short answer is that we do not want custom driver ioctls. Any gpio implementation needs to based on gpiolib, which provides a standardised interface. > Our application uses one of these GPIOs and we prefer to submit all our > required changes upstream to simplify future maintenance. Patches are always welcome if you're willing to work on this. Thanks, Johan -- 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