From: Sascha Hauer <s.hauer@pengutronix.de>
To: linux-kernel@vger.kernel.org
Cc: Samuel Ortiz <sameo@linux.intel.com>,
Jean Delvare <khali@linux-fr.org>,
Wim Van Sebroeck <wim@iguana.be>
Subject: [RFC] Congatec CGEB base, i2c and watchdog driver support
Date: Mon, 16 Jan 2012 16:32:17 +0100 [thread overview]
Message-ID: <1326727940-6078-1-git-send-email-s.hauer@pengutronix.de> (raw)
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
next reply other threads:[~2012-01-16 15:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-16 15:32 Sascha Hauer [this message]
2012-01-16 15:32 ` [PATCH 1/3] mfd: Add basic support for the Congatec CGEB BIOS interface Sascha Hauer
2012-01-16 15:32 ` [PATCH 2/3] i2c: Add Congatec CGEB I2C driver Sascha Hauer
2012-01-16 21:21 ` Jean Delvare
2012-01-18 11:49 ` Sascha Hauer
2012-01-16 15:32 ` [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326727940-6078-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).