[v1,3/3] pinctrl: intel: Add ACPI ID to the generic platform driver

Message ID 20231030141034.3241674-4-andriy.shevchenko@linux.intel.com
State New
Headers
Series pinctrl: intel: Add generic platform driver |

Commit Message

Andy Shevchenko Oct. 30, 2023, 2:10 p.m. UTC
  The INTC105F is an ACPI _CID that reflects compatibility with
the _DSD shema supported by the generic Intel pin control
platform driver. Add it there.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/pinctrl/intel/pinctrl-intel-platform.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Mika Westerberg Nov. 1, 2023, 6:32 a.m. UTC | #1
On Mon, Oct 30, 2023 at 04:10:34PM +0200, Andy Shevchenko wrote:
> The INTC105F is an ACPI _CID that reflects compatibility with
> the _DSD shema supported by the generic Intel pin control
> platform driver. Add it there.

You can add this in the patch introducing the driver.
  

Patch

diff --git a/drivers/pinctrl/intel/pinctrl-intel-platform.c b/drivers/pinctrl/intel/pinctrl-intel-platform.c
index 2305d8befdd3..5605583b1a34 100644
--- a/drivers/pinctrl/intel/pinctrl-intel-platform.c
+++ b/drivers/pinctrl/intel/pinctrl-intel-platform.c
@@ -203,6 +203,7 @@  static int intel_platform_pinctrl_probe(struct platform_device *pdev)
 }
 
 static const struct acpi_device_id intel_platform_pinctrl_acpi_match[] = {
+	{ "INTC105F" },
 	{ }
 };
 MODULE_DEVICE_TABLE(acpi, intel_platform_pinctrl_acpi_match);