]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: iproc: add support for SMBUS quick cmd
authorRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Sun, 22 Mar 2020 18:23:22 +0000 (23:53 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 26 Apr 2020 08:36:07 +0000 (10:36 +0200)
commit3fd3919b1b10c6ecb633991bad06e30174aa03d7
tree343f83360a1abf9d7fa52f2f34019476b5fa5bde
parent445fe71496fa618d8ffbf122d2765bbefe354159
i2c: iproc: add support for SMBUS quick cmd

Add support for SMBUS quick command.

SMBUS quick command passes single bit of information to the
slave (target) device. Can be used to turn slave device on or off.

By default i2c_detect tool uses the smbus quick cmd to try and
detect devices. Without this support it will not detect some slaves.

Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-bcm-iproc.c