

The choice of whether to use > the pins for GPIO or serial is made by adding configuration to a one-time > programable PROM in the chip and can not be changed at runtime. The GPIO have been configured in 2 separate banks as the choice to > configure the pins for GPIO is made separately for pins shared with each > of the 2 serial ports this device provides, though the choice is made for > all pins associated with that port in one go. Unlike the GPIO > provided by some of the other devices supported by the cp210x driver, the > GPIO on the CP2015 is muxed on pins otherwise used for serial control > lines.
#Linux kernel gps driver cp2102 Patch#
> This patch adds support for the GPIO found on the CP2105. Renamed tmp variable to make use clearer. Questionable buffer size logic and byte swapping. Reworked buffers and moved to byte accesses to remove the The pin be in open-drain mode and be pulled down externally whilst V3: - Tracking GPIO state so pins no longer get their state changed should V2: - Doesn't break build when gpiolib isn't selected. This patch applies to usb-next, which has a number of changes to the cp210xĭriver in it, so I assumed that would be the correct tree to base this on. The one-time programable PROM and can't be changed at runtime. Like with pin use, the mode is configured in Provide an explicit input mode, though the state of the GPIO can be read This device supports either push-pull or open-drain modes, it doesn't Programable PROM in the chip and can not be changed at runtime. The pins for GPIO or serial is made by adding configuration to a one-time Of the 2 serial ports this device provides, though the choice is made forĪll pins associated with that port in one go. The GPIO have been configured in 2 separate banks as the choice toĬonfigure the pins for GPIO is made separately for pins shared with each GPIO on the CP2015 is muxed on pins otherwise used for serial control Provided by some of the other devices supported by the cp210x driver, the This patch adds support for the GPIO found on the CP2105. Subject: USB: serial: cp210x: Adding GPIO support for CP2105 Received: from martyn by hermes with local (Exim 4.84) (Authenticated sender: martyn) with ESMTPSA id 95965265B25 Received: from .uk (:50071 "EHLOī.uk" rhost-flags-OK-OK-OK-OK) by X-Original-To: from ( )īy (Postfix) with ESMTP id CF097140662
