Re: [PATCH v6] i2c: designware: platdrv: Set class based on DMI

2020-07-04 Thread Wolfram Sang
On Thu, Jul 02, 2020 at 12:33:21PM +0200, Ricardo Ribalda wrote:
> 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 
> Reviewed-by: Andy Shevchenko 

Applied to for-current, thanks!



signature.asc
Description: PGP signature


Re: [PATCH v6] i2c: designware: platdrv: Set class based on DMI

2020-07-02 Thread Jarkko Nikula

On 7/2/20 1:33 PM, Ricardo Ribalda wrote:

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 
Reviewed-by: Andy Shevchenko 
---
v6: Removed extra line, sorry for the invalid v5
  drivers/i2c/busses/i2c-designware-platdrv.c | 15 ++-
  1 file changed, 14 insertions(+), 1 deletion(-)


Acked-by: Jarkko Nikula