linux/drivers/staging/nvec
Kumar Kartikeya Dwivedi aca1bf728a staging: nvec: Switch from strlcpy to strscpy
strlcpy is marked as deprecated in Documentation/process/deprecated.rst,
and there is no functional difference when the caller expects truncation
(when not checking the return value). strscpy is relatively better as it
also avoids scanning the whole source string.

This silences the related checkpatch warnings from:
5dbdb2d87c ("checkpatch: prefer strscpy to strlcpy")

Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20210131172838.146706-6-memxor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-04 17:16:06 +01:00
..
Kconfig staging: nvec: Fix Kconfig indentation 2019-11-20 15:20:29 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nvec_kbd.c staging: nvec: check return value 2019-12-19 19:23:29 +01:00
nvec_paz00.c staging: nvec: remove redundant license text 2018-01-15 16:03:45 +01:00
nvec_power.c staging: nvec: remove redundant license text 2018-01-15 16:03:45 +01:00
nvec_ps2.c staging: nvec: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
nvec-keytable.h staging: nvec: remove redundant license text 2018-01-15 16:03:45 +01:00
nvec.c Staging: nvec: Removes repeated word typo in comment 2020-10-01 10:55:17 +02:00
nvec.h staging: nvec: convert to use GPIO descriptors 2018-04-23 14:38:00 +02:00
README Staging: nvec: Replace HTTP links with HTTPS ones 2020-07-10 13:52:46 +02:00
TODO Revert "staging: nvec: Augment TODO file with GPIO work item" 2018-04-23 18:49:51 +02:00

NVEC: An NVidia compliant Embedded Controller Protocol Implementation

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. https://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