diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-08-13 12:16:51 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-08-13 21:36:22 +0200 |
commit | 17a924bfe0af0f74625c19a41807e963a4f06936 (patch) | |
tree | f97bf1212d8cfd8fe3fcffe477eefa65f34715c1 /drivers/crypto/bfin_crc.c | |
parent | 0a1c7959acd9674a0e4e59f911f3e5fbf25fd693 (diff) | |
download | linux-17a924bfe0af0f74625c19a41807e963a4f06936.tar.bz2 |
i2c-cht-wc: Add Intel Cherry Trail Whiskey Cove SMBUS controller driver
The Intel Cherry Trail Whiskey Cove PMIC does not contain a builtin
battery charger, instead boards with this PMIC use an external TI
bq24292i charger IC, which is connected to a SMBUS controller built into
the PMIC.
This commit adds an i2c-bus driver for the PMIC's builtin SMBUS
controller. The probe function for this i2c-bus will also register an
i2c-client for the TI bq24292i charger after the i2c-bus has been
registered.
Note that several device-properties are set on the client-device to
tell the bq24190 power-supply driver to integrate the Whiskey Cove PMIC
and e.g. use the PMIC's BC1.2 detection (through extcon) to determine
the maximum input current.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/crypto/bfin_crc.c')
0 files changed, 0 insertions, 0 deletions