Re: [PATCH v4] USB: serial: cp210x: Adding GPIO support for CP2105

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martyn Welch <martyn.welch@xxxxxxxxxxxxxxx> wrote:
> 
> 
> 
> The cp2105 is the only one of these devices that muxes GPIO
> with serial control signals. The cp2102, cp2103 and cp2108
> provide both GPIO and serial control signals separately, so the
> logic to configure the GPIO for those devices will be much
> simpler. (Hence why I called this cp210x_shared_gpio_init, as I
> figured the best approach for supporting the other devices
> would be through a separate init routine).
> 
> > What about the other configurations supported for these pins (e.g.
> > traffic indication, rs485, ...). Would you also end up with non-zero
> > values for those?
> >
> 
> Will investigate.
> 

CP2105 is configured by OTP rom, so should those options even be
configurable? It's _very_ easy to blow through your settings
trying to configure these. Especially given that cp2102 and
cp2104 and cp2108 all have proper EEPROM for these settings. (And
the "dual" ports aren't remotely equal, the cp2105 is a kinda
ugly stepchild really)

Cheers,
Karl P

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJWsIfxAAoJEBmotQ/U1cr2MZIQAKG+N/qiXbv0VYB3nglB/xss
d9Jhx9BuCHFcMdxH/zKipqxn43v7/QRJvCdXNRYyDWWjbNvgi7VjqaGo+ywcgE9P
KZxF3DgvUD0ybrrkEV2p9p7Gu2y2tGQazQLAKXAuRTmHRJnASasOVTEBXI8n7IR1
oTO0WctaTITHl7cA7BcZe3oIN9E5XU1GLTqaOP5pWqwiz55xDbFUVHkfhq+psHPR
X8P5Vn9yKWYWa4qw/Xg8p6SdW83sdlAIIN+XXrM8kHH1S3YHT0oi2KcDuIY4wsxD
WkqnPnzsJG7yFTXcXqyEaV4s54ALsKTcFIIMLfP+O6H7OYD/BIxCbWa7RfBBB0ts
tfml5cx7gfy7SUwmaZVs9hCbwQskx8jU2mnl685dbGQH6zAV4DfAPYQb3aYQxkP8
B+klSwBPTptYvZLMiuvb9cUF6XpdQqDmdC820APAaEv1cl+uuqjtn2YkLlEv/JqV
sZmkpiNH4yVwvTRcqOYtaMZbLndnXJaz667dkYGfEOO6njWFmYHy0MJBY8O1OKzO
ZZtpoa6oAT6kmbF5DR0wUpl9hu7O423qogLngDYYP5jUZUwxQtvsSsdYRWfF+wCX
FAcwzYVZ/EiyAU/jeyOZhxoMZ5+x6Ikze1Kb4KJJKvKnLJu57bHHGPsby0ZJPa6b
tWxRfTEBA5limAc0NXSF
=ZPkX
-----END PGP SIGNATURE-----

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

  Powered by Linux