From: Pho Tran
Similar to other CP210x devices, GPIO interfaces (gpiochip) should be
supported for CP2108.
CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared
to all of those interfaces. So, just need to initialize GPIOs of CP2108
with only one interface (I use interface 0
From: Pho Tran
Similar to other CP210x devices, GPIO interfaces (gpiochip) should be
supported for CP2108.
CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared
to all of those interfaces. So, just need to initialize GPIOs of CP2108
with only one interface (I use interface 0
Hi Greg!
Should I send the Patch with new version (PATCH v8) or keep version of the
Patch is v7?
-Original Message-
From: 'Greg KH'
Sent: Tuesday, April 6, 2021 4:11 PM
To: Pho Tran
Cc: 'Pho Tran' ; 'jo...@kernel.org'
; 'linux-...@vger.kernel.org' ;
'linux-kernel@vger.kernel.org
ot "
to my new Patch.
Could you tell me what I need to do in the next step to submit this patch to
the kernel mainline?
Once again, Thank you a lot!
-Original Message-
From: Greg KH
Sent: Tuesday, April 6, 2021 12:15 PM
To: Pho Tran
Cc: jo...@kernel.org; linux-...@vger.kern
From: Pho Tran
Similar to other CP210x devices, GPIO interfaces (gpiochip) should be
supported for CP2108.
CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared
to all of those interfaces. So, just need to initialize GPIOs of CP2108
with only one interface (I use interface 0
From: Pho Tran
Similar to other CP210x devices, GPIO interfaces (gpiochip) should be
supported for CP2108.
CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared
to all of those interfaces. So, just need to initialize GPIOs of CP2108
with only one interface (I use interface 0
From: Pho Tran
Similar to other CP210x devices, GPIO interfaces (gpiochip) should be
supported for CP2108.
CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared
to all of those interfaces. So, just need to initialize GPIOs of CP2108
with only one interface (I use interface 0
.
Signed-off-by: Pho Tran
---
drivers/usb/serial/cp210x.c | 199 +++-
1 file changed, 172 insertions(+), 27 deletions(-)
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 7bec1e730b20..0e92e41bacc5 100644
--- a/drivers/usb/serial/cp210x.c
are not in GPIO mode.
Signed-off-by: Pho Tran
---
drivers/usb/serial/cp210x.c | 199 +++-
1 file changed, 172 insertions(+), 27 deletions(-)
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 7bec1e730b20..6bad65b3a971 100644
--- a/drivers
Information pid/vid of WSDA-200-USB, Lord corporation company:
vid: 199b
pid: ba30
Signed-off-by: Pho Tran
---
drivers/usb/serial/cp210x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index fbb10dfc56e3..669f52107f94 100644
will be controlled by hardware only,
any attempt to control those pins will cause error 32 from the device.
This fix will block MHS command(command to control RTS/DTR pins) to the device
if hardware flow control is being used.
Signed-off-by: Pho Tran
---
01/21/2021: Patch v3 modified based on comment from
will be controlled by hardware only,
any attempt to control those pins will cause error 32 from the device.
This fix will block MHS command(command to control RTS/DTR pins) to the device
if hardware flow control is being used.
Signed-off-by: Pho Tran
---
01/19/2021: Patch v2 Modified based on comment from
will be controlled by hardware only,
any attempt to control those pins will cause error 32 from the device.
This fix will block MHS command(command to control RTS/DTR pins) to the device
if hardware flow control is being used.
Signed-off-by: Pho Tran
---
drivers/usb/serial/cp210x.c | 27
will be controlled by hardware only,
any attempt to control those pin will cause error 32 from the device.
This fix will block MHS command(command to control RTS/DTR pins) to the device
if hardware flow control is being used.
Signed-off-by: Pho Tran
---
drivers/usb/serial/cp210x.c | 24
When hardware flow control is enabled,
don't allow host send MHS command to cp210x.
Signed-off-by: Pho Tran
---
drivers/usb/serial/cp210x.c | 32 +++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial
15 matches
Mail list logo