]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: int3496: Add support for binding to plain platform devices
authorHans de Goede <hdegoede@redhat.com>
Tue, 28 Dec 2021 17:01:40 +0000 (18:01 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 13 May 2022 08:03:40 +0000 (17:03 +0900)
commitfbd548cc9cdcd0ff20b8961905e271f4f3857786
tree3b568c6a5bcc0836155b7b62c944c2dc7f9c9d77
parent1ead276bddd0ad8c69d67195c91b3f59515802e8
extcon: int3496: Add support for binding to plain platform devices

On some X86 Android tablets the DSTD lack the INT3496 ACPI device,
while also not handling micro USB port ID pin events inside the DSDT
(instead the forked factory image kernel has things hardcoded).

The new drivers/platform/x86/x86-android-tablets.c module manually
instantiates an intel-int3496 device for these tablets.

Add support to the extcon-intel-int3496 driver to bind to devices
without an ACPI companion and export a normal platform_device
modalias for automatic module loading.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-intel-int3496.c