diff options
author | Ricardo Ribalda <ribalda@kernel.org> | 2020-07-02 12:33:21 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-07-04 08:17:53 +0200 |
commit | db2a8b6f1df93d5311970cca03052c01178de674 (patch) | |
tree | c6d5703418b45d139443e164151ce76c6abfbfc1 /drivers/i2c/busses/i2c-eg20t.c | |
parent | cd217f2300793a106b49c7dfcbfb26e348bc7593 (diff) |
i2c: designware: platdrv: Set class based on DMI
Current AMD's zen-based APUs use this core for some of its i2c-buses.
With this patch we re-enable autodetection of hwmon-alike devices, so
lm-sensors will be able to work automatically.
It does not affect the boot-time of embedded devices, as the class is
set based on the DMI information.
DMI is probed only on Qtechnology QT5222 Industrial Camera Platform.
DocLink: https://qtec.com/camera-technology-camera-platforms/
Fixes: 3eddad96c439 ("i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller"")
Signed-off-by: Ricardo Ribalda <ribalda@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-eg20t.c')
0 files changed, 0 insertions, 0 deletions