[RFC] Congatec CGEB base, i2c and watchdog driver support

From: Sascha Hauer
Date: Mon Jan 16 2012 - 10:33:25 EST


The following series adds support for the Congatec CGEB interface
found on some Congatec x86 boards. The CGEB interface is a BIOS
interface which provides access to onboard peripherals like I2C
busses and watchdogs. It works by mapping BIOS code and searching
for magic values which specify the entry points to the CGEB call.
The CGEB call is an API provided by the BIOS which provides access
to the functions in an ioctl like fashion.

For more information about the CGEB API have a look at:

http://www.congatec.com/single_news+M5d58c9cd155.html

This document only describes the C API, unfortunately not the
underlying BIOS interface.

Comments very appreciated.

Sascha

Sascha Hauer (3):
mfd: Add basic support for the Congatec CGEB BIOS interface
i2c: Add Congatec CGEB I2C driver
watchdog: Add Congatec CGEB watchdog driver

drivers/i2c/busses/Kconfig | 7 +
drivers/i2c/busses/Makefile | 1 +
drivers/i2c/busses/i2c-congatec-cgeb.c | 206 ++++++++++
drivers/mfd/Kconfig | 10 +
drivers/mfd/Makefile | 1 +
drivers/mfd/congatec-cgeb.c | 590 +++++++++++++++++++++++++++++
drivers/watchdog/Kconfig | 9 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/congatec_cgeb_watchdog.c | 181 +++++++++
include/linux/mfd/congatec-cgeb.h | 105 +++++
10 files changed, 1111 insertions(+), 0 deletions(-)
create mode 100644 drivers/i2c/busses/i2c-congatec-cgeb.c
create mode 100644 drivers/mfd/congatec-cgeb.c
create mode 100644 drivers/watchdog/congatec_cgeb_watchdog.c
create mode 100644 include/linux/mfd/congatec-cgeb.h

--
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/