0008-mfd-intel_quark_i2c_gpio-Adjust-IOT2000-matching.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From 6e378b789ebcfcdc4ae957b25f1ac6eb2ef64edc Mon Sep 17 00:00:00 2001
  2. From: Su Bao Cheng <baocheng.su@siemens.com>
  3. Date: Fri, 12 Oct 2018 15:05:07 +0200
  4. Subject: [PATCH 08/18] mfd: intel_quark_i2c_gpio: Adjust IOT2000 matching
  5. Since there are more IOT2040 variants with identical hardware but
  6. different asset tags, the asset tag matching should be adjusted to
  7. support them.
  8. For the board name "SIMATIC IOT2000", currently there are 2 types of
  9. hardware, IOT2020 and IOT2040. Both are identical regarding the
  10. intel_quark_i2c_gpio. In the future there will be no other devices with
  11. the "SIMATIC IOT2000" DMI board name but different hardware. So remove
  12. the asset tag matching from this driver.
  13. Signed-off-by: Su Bao Cheng <baocheng.su@siemens.com>
  14. Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
  15. ---
  16. drivers/mfd/intel_quark_i2c_gpio.c | 10 ----------
  17. 1 file changed, 10 deletions(-)
  18. diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c
  19. index 1c09604978d3..ad70a058bea8 100644
  20. --- a/drivers/mfd/intel_quark_i2c_gpio.c
  21. +++ b/drivers/mfd/intel_quark_i2c_gpio.c
  22. @@ -76,16 +76,6 @@ static const struct dmi_system_id dmi_platform_info[] = {
  23. {
  24. .matches = {
  25. DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"),
  26. - DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG,
  27. - "6ES7647-0AA00-0YA2"),
  28. - },
  29. - .driver_data = (void *)400000,
  30. - },
  31. - {
  32. - .matches = {
  33. - DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"),
  34. - DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG,
  35. - "6ES7647-0AA00-1YA2"),
  36. },
  37. .driver_data = (void *)400000,
  38. },
  39. --
  40. 2.16.4