Browse Source

i2c: xlp9xx: update for ARCH_THUNDER2

ARCH_VULCAN arm64 platform (for Broadcom Vulcan ARM64 processors) has
been discontinued. Cavium's ThunderX2 CN99XX (ARCH_THUNDER2) will be
the next revision of the platform.

Update compile dependencies and ACPI ID to reflect this change. There
is not need to retain ARCH_VULCAN since the Vulcan processor was never
in production and the config option will be removed soon.

Signed-off-by: Jayachandran C <jnair@caviumnetworks.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Jayachandran C 8 years ago
parent
commit
4165bd4b91
2 changed files with 2 additions and 1 deletions
  1. 1 1
      drivers/i2c/busses/Kconfig
  2. 1 0
      drivers/i2c/busses/i2c-xlp9xx.c

+ 1 - 1
drivers/i2c/busses/Kconfig

@@ -1022,7 +1022,7 @@ config I2C_XLR
 
 
 config I2C_XLP9XX
 config I2C_XLP9XX
 	tristate "XLP9XX I2C support"
 	tristate "XLP9XX I2C support"
-	depends on CPU_XLP || ARCH_VULCAN || COMPILE_TEST
+	depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
 	help
 	help
 	  This driver enables support for the on-chip I2C interface of
 	  This driver enables support for the on-chip I2C interface of
 	  the Broadcom XLP9xx/XLP5xx MIPS and Vulcan ARM64 processors.
 	  the Broadcom XLP9xx/XLP5xx MIPS and Vulcan ARM64 processors.

+ 1 - 0
drivers/i2c/busses/i2c-xlp9xx.c

@@ -432,6 +432,7 @@ MODULE_DEVICE_TABLE(of, xlp9xx_i2c_of_match);
 #ifdef CONFIG_ACPI
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id xlp9xx_i2c_acpi_ids[] = {
 static const struct acpi_device_id xlp9xx_i2c_acpi_ids[] = {
 	{"BRCM9007", 0},
 	{"BRCM9007", 0},
+	{"CAV9007",  0},
 	{}
 	{}
 };
 };
 MODULE_DEVICE_TABLE(acpi, xlp9xx_i2c_acpi_ids);
 MODULE_DEVICE_TABLE(acpi, xlp9xx_i2c_acpi_ids);