commit | 6e2dbdddfe6e602dc0196cf0041a15f7363ce8bb | [log] [tgz] |
---|---|---|
author | Daisuke Nojiri <dnojiri@chromium.org> | Sat Jan 27 00:20:52 2024 |
committer | Abhishek Pandit-Subedi <abhishekpandit@google.com> | Fri Feb 02 17:44:42 2024 |
tree | a68a5e6dad78b7305df1188ed543f8cb069ede57 | |
parent | 4bea82cfd32a94d9c913f55c4a6d9fec1df244cb [diff] |
Fix copyright headers BUG=b:319124515 TEST=make local_tests && make um_ppm Change-Id: I893d4e02c8e0ec2f04e76a9958c4e8b8076ecd49 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/usb/um_ppm/+/5255580 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Abhishek Pandit-Subedi <abhishekpandit@google.com>
Usermode UCSI PPM implementation for evaluation and testing usage. Try using this with the ucsi_um_test
kernel driver.
For usermode implementations, we use libi2c and libgpiod to provide an smbus implementation. You will need the right libraries to build:
sudo apt-get install libi2c-dev libgpiod-dev
┌─────────┐ │OPM │ │kernel or│ │cli │ └────┬────┘ │ │ ▼ ┌───────────┐ ┌────────┐ │ PD Driver │ │ ├────►│ │ │ PPM │ ├───────────┤ │ │ │ │ └────────┘ │ I2C Driver│ └───────────┘
The usermode ppm implementation consists of the PPM task, the PD driver and the I2C driver backing it. The OPM will either be a CLI (for locally triggering some functionality) or the ucsi_um_test
kernel module.