Skip to content

Show CP210x part number in sysfs

Petr Tesarik lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cp210x: Replace USB magic numbers with symbolic namesdrivers/usb/serial/cp210x.c+10 -40 replies
2/4cp210x: Unify code for set/get config control messagesdrivers/usb/serial/cp210x.c+49 -601 reply
3/4cp210x: Store part numberdrivers/usb/serial/cp210x.c+20 -03 replies
4/4cp210x: Expose the part number in sysfsdrivers/usb/serial/cp210x.c+20 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Show CP210x part number in sysfs

The cp210x driver can be used for several devices (CP2101/2/3/4). It is sometimes useful to know the actual part number, because there are slight differences in their capabilities.

The first two patches are cleanups and not necessary to implement the feature. I can send them in a separate patch set if that's preferred.

Petr Tesarik (4):
cp210x: Replace USB magic numbers with symbolic names
cp210x: Unify code for set/get config control messages
cp210x: Store part number
cp210x: Expose the part number in sysfs

 drivers/usb/serial/cp210x.c | 164 ++++++++++++++++++++++++++------------------
 1 file changed, 99 insertions(+), 65 deletions(-)
Signature · 1 line
2.1.4