Re: pl2303 GPIO pin control

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

 



Bjørn Mork wrote:
Balint Viragh <bviragh@xxxxxxxxxxx> writes:

The following patch introduces a new module parameter (gpio),
to initialize the GPIO control register of pl2303hx in pl2303_startup,
and a new ioctl to control it from user applications.

You should probably read the thread regarding GPIO support for cp210x
and use Alan Cox' proposed tty helper for controlling this:
https://lkml.org/lkml/2012/5/16/288


Bjørn
Thank you for suggesting that thread.
It seems to be a nice, generic way to control GPIO pins of various USB-serial chips. Once they agree in the exact interface of the tty helper, the pl2303 can be modified to use that. As far as I can see the exact function call to the underlying usb driver is missing from the proposal.

Regards,
Balint

--
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