Re: [PATCH] USB: serial: cp210x: add GPIO support for CP2104

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

 



On Mon, Jan 28, 2019 at 01:57:17PM +0800, Icenowy Zheng wrote:
> The CP2104 chips feature 4 controllable GPIO pins, which are similar to
> the ones on CP2102N chip (output-only when push-pull, output or
> simulated input mode when open-drain).
> 
> Add support for the GPIO pins for cp210x driver. The pin get/set routine
> is shared with CP2102N, but the pinconf initialization code is not
> shared because the acquisition of GPIO configuration in OTP ROM is
> similar to CP2105, not CP2102N.
> 
> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx>

Thanks for the patch, all nice and clean.

Now applied.

Johan



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux