]> 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)
commit36aef0a2e3b7142d201437d04b3099faf99156c1
tree3b568c6a5bcc0836155b7b62c944c2dc7f9c9d77
parent8be7fc94be361e4acf73130934cc0742fef40978
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