pinctrl: intel: merrifield: Introduce ACPI device table
PATCH v3 1/1 pinctrl: intel: merrifield: Introduce ACPI device table
On Intel Merrifield the pin control device is a separate IP block without any PCI ID assigned.
Though, recently we got an allocated ACPI ID for it, so, let's use fresh ID.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/pinctrl/intel/pinctrl-merrifield.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/pinctrl/intel/pinctrl-merrifield.c +7 -0
@@ -931,10 +931,17 @@ static int mrfld_pinctrl_probe(struct platform_device *pdev)return 0 ; } +static const struct acpi_device_id mrfld_acpi_table[] = { + {"INTC1002" }, + { } +}; +MODULE_DEVICE_TABLE (acpi, mrfld_acpi_table); +static struct platform_driver mrfld_pinctrl_driver = { .probe = mrfld_pinctrl_probe, .driver = { .name ="pinctrl-merrifield" , + .acpi_match_table = mrfld_acpi_table, }, };
Signature · 1 line
2.14.2
Quoted 7 lines · Andy Shevchenko
On Intel Merrifield the pin control device is a separate IP block without any PCI ID assigned.
Though, recently we got an allocated ACPI ID for it, so, let's use fresh ID.
Signed-off-by Andy Shevchenko <[email protected]>
Acked-by Mika Westerberg <[email protected]>
Quoted 7 lines · Andy Shevchenko
On Intel Merrifield the pin control device is a separate IP block without any PCI ID assigned.
Though, recently we got an allocated ACPI ID for it, so, let's use fresh ID.
Signed-off-by Andy Shevchenko <[email protected]>
Patch applied with Mika's ACK.
Yours,
Linus Walleij