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)
commite14d796d8339405d0daff98cdaf1465706a90ffb
tree343f83360a1abf9d7fa52f2f34019476b5fa5bde
parent6b98bf01d2af40141cc7d831a1d2064f6f25e45e
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