linux/drivers/staging/nvec
Thierry Reding 47e7b05001 staging/nvec: Do not pass resource to mfd_add_devices()
The mfd_add_devices() function takes a struct resource * as fifth
argument, but the nvec driver passes in a void __iomem *. The driver
gets away with it because none of the subdevices ever directly access
the registers.

Since subdevices never need to access the registers we can simply pass
NULL instead.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:18:47 -07:00
..
Kconfig drivers/staging/nvec/Kconfig: remove trailing whitespace 2013-10-30 09:24:40 -07:00
Makefile
nvec_kbd.c staging: nvec: Convert to use devm_input_allocate 2013-05-16 16:04:31 -07:00
nvec_paz00.c staging: nvec: insert blank lines after declarations 2014-07-09 12:14:06 -07:00
nvec_power.c staging: nvec: insert blank lines after declarations 2014-07-09 12:14:06 -07:00
nvec_ps2.c staging: nvec: insert blank lines after declarations 2014-07-09 12:14:06 -07:00
nvec-keytable.h
nvec.c staging/nvec: Do not pass resource to mfd_add_devices() 2014-07-30 17:18:47 -07:00
nvec.h staging: nvec: use reset framework 2013-12-11 16:44:10 -07:00
README
TODO staging: nvec: remove use of clk_get_sys 2013-01-28 11:19:33 -07:00

NVEC: An NVidia compliant Embedded Controller Protocol Implemenation

This is an implementation of the NVEC protocol used to communicate with an
embedded controller (EC) via I2C bus. The EC is an I2C master while the host
processor is the I2C slave. Requests from the host processor to the EC are
started by triggering a gpio line.

There is no written documentation of the protocol available to the public,
but the source code[1] of the published nvec reference drivers can be a guide.
This driver is currently only used by the AC100 project[2], but it is likely,
that other Tegra boards (not yet mainlined, if ever) also use it.

[1] e.g. http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=tree;f=arch/arm/mach-tegra/nvec;hb=android-tegra-2.6.32
[2] http://gitorious.org/ac100, http://launchpad.net/ac100