i2c: icy: Add LTC2990 present on 2019 board revision
authorMax Staudt <max@enpas.org>
Mon, 19 Aug 2019 12:16:18 +0000 (14:16 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 29 Aug 2019 19:05:35 +0000 (21:05 +0200)
commit724041ae15ed9639b72bb54dabfac3279c6b4e55
tree8538fe83e784124610e37cd894acb484d6ce8155
parent4768e90ecaec6b503ff64229bda5d91186d2edd3
i2c: icy: Add LTC2990 present on 2019 board revision

Since the 2019 a1k.org community re-print of these PCBs sports an
LTC2990 hwmon chip as an example use case, let this driver autoprobe
for that as well. If it is present, modprobing ltc2990 is sufficient.

The property_entry enables the three additional inputs available on
this particular board:

  in1 will be the voltage of the 5V rail, divided by 2.
  in2 will be the voltage of the 12V rail, divided by 4.
  temp3 will be measured using a PCB loop next the chip.

Signed-off-by: Max Staudt <max@enpas.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-icy.c