summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-03-01 15:13:48 -0800
committerCommit Bot <commit-bot@chromium.org>2022-03-03 23:47:16 +0000
commit49838b717e66fb85762df52a82dbe0acc461e672 (patch)
treea989d0c2dc6225311d211facdc311d262f9102a4 /docs
parent6071699953a94c31e76988ceb3ba6b857f6ef191 (diff)
downloadchrome-ec-49838b717e66fb85762df52a82dbe0acc461e672.tar.gz
docs/fingerprint: Add links to Linux kernel driver
BRANCH=none BUG=b:217390997 TEST=view in gitiles Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: If0a1d6a48cf039491b88bb2d1d7ccd22a94e7fbe Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3498718 Reviewed-by: Andrea Grandi <agrandi@google.com> Reviewed-by: Bobby Casey <bobbycasey@google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/fingerprint/fingerprint.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/fingerprint/fingerprint.md b/docs/fingerprint/fingerprint.md
index 95a0b6b6e5..a111daafce 100644
--- a/docs/fingerprint/fingerprint.md
+++ b/docs/fingerprint/fingerprint.md
@@ -528,6 +528,13 @@ determines the [SKU information][Chrome OS Config SKU] (and thus the
[fingerprint config][Chrome OS Config fingerprint]) from [CBI Info]. The SKU for
a given device can be found by viewing `chrome://system/#platform_identity_sku`.
+## Kernel Driver
+
+The kernel driver responsible for handling communication between the AP and
+FPMCU is called [`cros_ec`] and is enabled with [`CONFIG_CROS_EC`] in the Linux
+kernel. FPMCUs that are connected via SPI use [`cros_ec_spi.c`], while FPMCUs
+that are connected via UART use [`cros_ec_uart.c`].
+
[`common/fpsensor`]: https://chromium.googlesource.com/chromiumos/platform/ec/+/HEAD/common/fpsensor/
[`driver/fingerprint`]: https://chromium.googlesource.com/chromiumos/platform/ec/+/HEAD/driver/fingerprint
[`nocturne_fp`]: https://chromium.googlesource.com/chromiumos/platform/ec/+/HEAD/board/nocturne_fp/
@@ -591,3 +598,7 @@ a given device can be found by viewing `chrome://system/#platform_identity_sku`.
[regenerate the config]: https://chromium.googlesource.com/chromiumos/config/+/HEAD/README.md#making-configuration-changes-for-your-project
[`CLFactory`]: https://chromium.googlesource.com/chromiumos/config/+/HEAD/README.md#making-bulk-changes-across-repos
[Fingerprint MCU RAM and Flash]: ./fingerprint-ram-and-flash.md
+[`CONFIG_CROS_EC`]: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/kernel/upstream/drivers/platform/chrome/Makefile;l=11;drc=a4e493ca59115fc0692151c1818e5aadf0e79ad0
+[`cros_ec`]: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/kernel/upstream/drivers/platform/chrome/cros_ec.c
+[`cros_ec_spi.c`]: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/kernel/upstream/drivers/platform/chrome/cros_ec_spi.c
+[`cros_ec_uart.c`]: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/kernel/upstream/drivers/platform/chrome/cros_ec_uart.c