diff options
author | Xinpeng Sun <xinpeng.sun@intel.com> | 2025-01-06 10:31:33 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-01-09 10:14:15 +0100 |
commit | e584b13571845783d916294bc201a5e2278e5d7e (patch) | |
tree | ae5c72603c4a0a345eafc8402535acce27bb6b44 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 050427e3abcf1959eafa876d2ca9f687878f9c7a (diff) |
HID: intel-thc-hid: intel-thc: Add THC PIO operation APIs
THC PIO (programmed I/O) operations are very similar with general
SPI/I2C read/write operation to access external slave device on the bus
through internal FIFO.
THC PIO operations are split into 4 steps:
1. prepare: configure hardware with correct opcode, slave address, and
fill the PIO FIFO
2. start: set start bit to issue a bus send/receive
3. wait: wait for bus sending/receiving completion
4. complete: check send/receive data in FIFO and return
Co-developed-by: Even Xu <even.xu@intel.com>
Signed-off-by: Even Xu <even.xu@intel.com>
Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com>
Tested-by: Rui Zhang <rui1.zhang@intel.com>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Tested-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions