c2port (Version 3): support for Silicon C2 Interface.

From: Rodolfo Giometti
Date: Wed Oct 22 2008 - 16:54:20 EST


C2 port implements a two wire serial communication protocol (bit
banging) designed to enable in-system programming, debugging, and
boundary-scan testing on low pin-count Silicon Labs devices.

Main references are at Silicon Laboratories site:

* AN127: FLASH Programming via the C2 Interface
http://www.silabs.com/public/documents/tpub_doc/anote/Microcontrollers/Small_Form_Factor/en/an127.pdf

* C2 Specification
http://www.silabs.com/public/documents/tpub_doc/spec/Microcontrollers/en/C2spec.pdf

Currently this code supports only flash programming through sysfs
interface but extensions shoud be easy to add.

Changelog
=========

Version 2 -> 3:
---------------

* Static variables fix up.

* Update_lock is now initialised at compile-time, not at runtime.

* Memory leak in c2port_device_register fixed.

* Comments review.

Version 1 -> 2:
---------------

* Documentation added.

* One client added.


Rodolfo

--

b/Documentation/ABI/testing/sysfs-c2port | 88 ++
b/Documentation/c2port.txt | 90 ++
b/drivers/misc/Kconfig | 2
b/drivers/misc/Makefile | 1
b/drivers/misc/c2port/Kconfig | 24
b/drivers/misc/c2port/Makefile | 1
b/drivers/misc/c2port/c2port-duramar2150.c | 158 ++++
b/drivers/misc/c2port/core.c | 1002 +++++++++++++++++++++++++++++
b/include/linux/c2port.h | 65 +
drivers/misc/c2port/Kconfig | 11
drivers/misc/c2port/Makefile | 2
11 files changed, 1444 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/