diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-07-04 05:28:59 +0200 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-07-10 08:31:59 +0200 |
commit | 500c20fe3ea4a241f7ea58a414343367ab2e4085 (patch) | |
tree | cb6802dea56fd2734e2488aa0cfc4dfb527b14ba /Documentation/i2c | |
parent | 711703013e340caac3e4a6a3a605324691292621 (diff) | |
download | linux-500c20fe3ea4a241f7ea58a414343367ab2e4085.tar.gz linux-500c20fe3ea4a241f7ea58a414343367ab2e4085.tar.bz2 linux-500c20fe3ea4a241f7ea58a414343367ab2e4085.zip |
i2c: add debug message for detected HostNotify alerts
Setting up HostNotify can be tricky. Support debugging by stating
when a HostNotify alert was received independent of the irq being
mapped. Especially useful with the in-kernel i2c testunit. Update
documentation as well.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r-- | Documentation/i2c/slave-testunit-backend.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/i2c/slave-testunit-backend.rst b/Documentation/i2c/slave-testunit-backend.rst index 0df60c7c0be4..37142a48ab35 100644 --- a/Documentation/i2c/slave-testunit-backend.rst +++ b/Documentation/i2c/slave-testunit-backend.rst @@ -99,6 +99,11 @@ Example to send a notification after 10ms:: # i2cset -y 0 0x30 0x02 0x42 0x64 0x01 i +If the host controller supports HostNotify, this message with debug level +should appear (Linux 6.11 and later):: + + Detected HostNotify from address 0x30 + 0x03 SMBUS_BLOCK_PROC_CALL ~~~~~~~~~~~~~~~~~~~~~~~~~~ |