]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i2c: i801: Add support for Intel Panther Lake
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 23 Sep 2024 13:27:19 +0000 (16:27 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 13 Nov 2024 22:29:46 +0000 (23:29 +0100)
Add SMBus PCI IDs on Intel Panther Lake-P and -U.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Documentation/i2c/busses/i2c-i801.rst
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-i801.c

index c840b597912c8778c7a1ae6845915a2ee8c0f3d1..47e8ac5b7099f767c0d8e90ba0beeabfc7a6a2ca 100644 (file)
@@ -49,6 +49,7 @@ Supported adapters:
   * Intel Meteor Lake (SOC and PCH)
   * Intel Birch Stream (SOC)
   * Intel Arrow Lake (SOC)
+  * Intel Panther Lake (SOC)
 
    Datasheets: Publicly available at the Intel website
 
index 6b3ba7e5723aa1b9ac3f6814306b08e27b009b33..2254abda5c46c9e19eb6ae22c920f6f982be5116 100644 (file)
@@ -160,6 +160,7 @@ config I2C_I801
            Meteor Lake (SOC and PCH)
            Birch Stream (SOC)
            Arrow Lake (SOC)
+           Panther Lake (SOC)
 
          This driver can also be built as a module.  If so, the module
          will be called i2c-i801.
index 299fe9d3afab0a4f03843173820de407979182ae..75dab01d43a750ccdd98b5dafccc5e2475a01fe0 100644 (file)
@@ -81,6 +81,8 @@
  * Meteor Lake PCH-S (PCH)     0x7f23  32      hard    yes     yes     yes
  * Birch Stream (SOC)          0x5796  32      hard    yes     yes     yes
  * Arrow Lake-H (SOC)          0x7722  32      hard    yes     yes     yes
+ * Panther Lake-H (SOC)                0xe322  32      hard    yes     yes     yes
+ * Panther Lake-P (SOC)                0xe422  32      hard    yes     yes     yes
  *
  * Features supported by this driver:
  * Software PEC                                no
 #define PCI_DEVICE_ID_INTEL_CANNONLAKE_H_SMBUS         0xa323
 #define PCI_DEVICE_ID_INTEL_COMETLAKE_V_SMBUS          0xa3a3
 #define PCI_DEVICE_ID_INTEL_METEOR_LAKE_SOC_S_SMBUS    0xae22
+#define PCI_DEVICE_ID_INTEL_PANTHER_LAKE_H_SMBUS       0xe322
+#define PCI_DEVICE_ID_INTEL_PANTHER_LAKE_P_SMBUS       0xe422
 
 struct i801_mux_config {
        char *gpio_chip;
@@ -1055,6 +1059,8 @@ static const struct pci_device_id i801_ids[] = {
        { PCI_DEVICE_DATA(INTEL, METEOR_LAKE_PCH_S_SMBUS,       FEATURES_ICH5 | FEATURE_TCO_CNL) },
        { PCI_DEVICE_DATA(INTEL, BIRCH_STREAM_SMBUS,            FEATURES_ICH5 | FEATURE_TCO_CNL) },
        { PCI_DEVICE_DATA(INTEL, ARROW_LAKE_H_SMBUS,            FEATURES_ICH5 | FEATURE_TCO_CNL) },
+       { PCI_DEVICE_DATA(INTEL, PANTHER_LAKE_H_SMBUS,          FEATURES_ICH5 | FEATURE_TCO_CNL) },
+       { PCI_DEVICE_DATA(INTEL, PANTHER_LAKE_P_SMBUS,          FEATURES_ICH5 | FEATURE_TCO_CNL) },
        { 0, }
 };