summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCarlos Song <carlos.song@nxp.com>2024-12-30 11:38:46 +0800
committerAndi Shyti <andi.shyti@kernel.org>2025-01-07 23:46:11 +0100
commit1ee867e465c1b0216ec02d4c0d334c4e89919cec (patch)
tree766098cb726c2916b287a994a6b5a4bf59fd0efb /tools/perf/scripts/python/export-to-postgresql.py
parentfebe15218072eee5361a36f4510711a7cf7403e1 (diff)
i2c: imx-lpi2c: add target mode support
LPI2C support master controller and target controller enabled simultaneously. Both controllers share the same SDA/SCL lines and interrupt source but has a separate control and status registers. When target is enabled and an interrupt has been triggered, target register status will be checked to determine IRQ source. Then enter the corresponding interrupt handler function of master or target to handle the interrupt event. This patch supports basic target data read/write operations in 7-bit target address. LPI2C target mode can be enabled by using I2C slave backend. I2C slave backend behaves like a standard I2C client. For simple use and test, Linux I2C slave EEPROM backend can be used. Signed-off-by: Carlos Song <carlos.song@nxp.com> Link: https://lore.kernel.org/r/20241230033846.2302500-1-carlos.song@nxp.com Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions