Skip to contentSkip to conversation

usb: new driver for Cypress CY7C63xxx mirco controllers

PATCH In review Oliver Bock 3 participants 4 messages Jun 8, 2006 – Jun 10, 2006 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: new driver for Cypress CY7C63xxx mirco controllers

From: Oliver Bock <[email protected]>

This is a new driver for the Cypress CY7C63xxx mirco controller series. It currently supports the pre-programmed CYC63001A-PC by AK Modul-Bus GmbH. It's based on a kernel 2.4 driver (cyport) by Marcus Maul which I ported to kernel 2.6 using sysfs. I intend to support more controllers of this family (and more features) as soon as I get hold of the required IDs etc. Please see the source code's header for more information.

---

Please CC me as I'm not yet subscribed to LKML. Any comments are welcome. Special thanks to Greg K-H for his helpful support!

diff against 2.6.16.19

drivers/usb/Makefile        2006-06-04 21:03:24.000000000 +0200 renamed from drivers/usb/Makefile.orig   2006-05-31 02:31:44.000000000 +0200 +0 -0
@@ -62,6 +62,7 @@ obj-$(CONFIG_USB_MICROTEK)    += image/

 obj-$(CONFIG_USB_SERIAL)       += serial/

 obj-$(CONFIG_USB_AUERSWALD)    += misc/
+obj-$(CONFIG_USB_CY7C63)       += misc/
 obj-$(CONFIG_USB_CYTHERM)      += misc/
 obj-$(CONFIG_USB_EMI26)                += misc/
 obj-$(CONFIG_USB_EMI62)                += misc/

drivers/usb/misc/Kconfig    2006-06-04 21:02:21.000000000 +0200 renamed from drivers/usb/misc/Kconfig.orig       2006-05-31 02:31:44.000000000 +0200 +0 -0
@@ -88,6 +88,20 @@ config USB_LED

          To compile this driver as a module, choose M here: the module will be called usbled.

+config USB_CY7C63
+       tristate "Cypress CY7C63xxx USB driver support"
+       depends on USB
+       help
+         Say Y here if you want to connect a Cypress CY7C63xxx +         micro controller to your computer's USB port. This driver +         supports the pre-programmed devices (incl. firmware) by +         AK Modul-Bus Computer GmbH.
+
+         Please see: http://www.ak-modul-bus.de/stat/mikrocontroller.html
+
+         To compile this driver as a module, choose M here: the +         module will be called cy7c63.
+
 config USB_CYTHERM
        tristate "Cypress USB thermometer driver support" depends on USB

drivers/usb/misc/Makefile   2006-06-04 21:02:52.000000000 +0200 renamed from drivers/usb/misc/Makefile.orig      2006-05-31 02:31:44.000000000 +0200 +0 -0
@@ -4,6 +4,7 @@

 #

 obj-$(CONFIG_USB_AUERSWALD)    += auerswald.o +obj-$(CONFIG_USB_CY7C63)       += cy7c63.o obj-$(CONFIG_USB_CYTHERM)      += cytherm.o obj-$(CONFIG_USB_EMI26)                += emi26.o obj-$(CONFIG_USB_EMI62)                += emi62.o

drivers/usb/misc/cy7c63.c   2006-06-04 23:45:54.000000000 +0200 renamed from drivers/usb/misc/cy7c63.c.orig      1970-01-01 01:00:00.000000000 +0100 +244 -0

244 lines not on this page · raw message

#1 lore raw
Quoted 8 lines · Oliver Bock

From: Oliver Bock <[email protected]>

This is a new driver for the Cypress CY7C63xxx mirco controller series. It currently supports the pre-programmed CYC63001A-PC by AK Modul-Bus GmbH. It's based on a kernel 2.4 driver (cyport) by Marcus Maul which I ported to kernel 2.6 using sysfs. I intend to support more controllers of this family (and more features) as soon as I get hold of the required IDs etc. Please see the source code's header for more information.

I see "a" letters here tabs should have been. You probably need to resend...

Quoted 4 lines

Please CC me as I'm not yet subscribed to LKML. Any comments are welcome. Special thanks to Greg K-H for his helpful support!

diff against 2.6.16.19

Ugh, and new drivers should really go against 2.6.17-rcX.

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#2 lore raw
Quoted 10 lines · Pavel Machek
Quoted 8 lines · Oliver Bock

From: Oliver Bock <[email protected]>

This is a new driver for the Cypress CY7C63xxx mirco controller series. It currently supports the pre-programmed CYC63001A-PC by AK Modul-Bus GmbH. It's based on a kernel 2.4 driver (cyport) by Marcus Maul which I ported to kernel 2.6 using sysfs. I intend to support more controllers of this family (and more features) as soon as I get hold of the required IDs etc. Please see the source code's header for more information.

Quoted 2 lines

I see "a" letters here tabs should have been. You probably need to resend...

It's just mime, my tools can handle it, I hope...

Quoted 6 lines
Quoted 4 lines

Please CC me as I'm not yet subscribed to LKML. Any comments are welcome. Special thanks to Greg K-H for his helpful support!

diff against 2.6.16.19

Ugh, and new drivers should really go against 2.6.17-rcX.

Stand-alone drivers should work ok, I'll test this one and see...

thanks,

greg k-h

#3 lore raw

Hi Greg,
I submitted the patch again a few hours ago. Now the tabs are still there where they belong and it's a diff against 2.6.17-rc6.

Have a look at: http://lkml.org/lkml/2006/6/9/398

Thanks, Oliver

Quoted 29 lines · Greg KH
Quoted 11 lines · Pavel Machek
Quoted 9 lines · Oliver Bock

From: Oliver Bock <[email protected]>

This is a new driver for the Cypress CY7C63xxx mirco controller series. It currently supports the pre-programmed CYC63001A-PC by AK Modul-Bus GmbH. It's based on a kernel 2.4 driver (cyport) by Marcus Maul which I ported to kernel 2.6 using sysfs. I intend to support more controllers of this family (and more features) as soon as I get hold of the required IDs etc. Please see the source code's header for more information.

Quoted 2 lines

I see "a" letters here tabs should have been. You probably need to resend...

It's just mime, my tools can handle it, I hope...

Quoted 6 lines
Quoted 4 lines

Please CC me as I'm not yet subscribed to LKML. Any comments are welcome. Special thanks to Greg K-H for his helpful support!

diff against 2.6.16.19

Ugh, and new drivers should really go against 2.6.17-rcX.

Stand-alone drivers should work ok, I'll test this one and see...

thanks,

greg k-h