Support for Silicon C2 Interface.

From: Rodolfo Giometti
Date: Fri Oct 03 2008 - 10:36:46 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.

I know that this (proposal) patch may be incomplete but I'd like to
know what you are thinking about it before continuing further. For example
I'd like to know if should I put the C2 port core here or into proper
subdirectory of linux/drivers/misc/ where clients can be placed also.

Thanks for your suggestions,

Rodolfo

--

drivers/misc/Kconfig | 13
drivers/misc/Makefile | 1
drivers/misc/c2port_core.c | 996 +++++++++++++++++++++++++++++++++++++++++++++
include/linux/c2port.h | 65 ++
4 files changed, 1075 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/